body{
  background-color: rgb(246, 246, 246);
  font-size: 1.8em;
  /* font-family: 'Times New Roman', Times, serif; */
  color:#172713;
  font-family: "Quicksand", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin:0;

}

img{
  width: 100%;
  border-radius:8px;
}

/*For Hover Changing images*/

#dynamicImage {
    width: 100%; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
    transition: opacity 0.5s ease-in-out; /* Smooth transition for opacity */
    opacity: 1; /* Initial opacity */
}
#dynamicImage.fade-out {
    opacity: 0; /* Fade out effect */
}



.img-left{
  text-align: left;
  width: 66.666%;
}
.img-center{
  margin:0 auto 2em;
  display: block;
  width: 90%;
}

.img-right{
  text-align: right;
  width:50%;
}

.container{
  width: 90%;
    max-width: 1240px;
    margin: 10px auto;
    margin-bottom: 5em;
    padding-top: 300px;
}

.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #f2ad78;
  color: #172713;
  /* padding: 10px 50px 20px; */
  transition: transform 0.8s ease;
  z-index: 1000;
  margin-bottom: 40px;
  border-radius: 0px 0px 30px 32px;


}

.header.hidden {
    transform: translateY(-120%);
}

 .logo{

  font-size: 2.8em;
  font-family: "Quintessential", serif;
  font-weight: 400;
  font-style: normal;
  transition: 0.5s ease-in-out;
  transform: translateY(-20px);
  padding: 0 1.5em;
} 

/*logo first v*/
/* .logo{
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 2.8em;
  font-family: "Quintessential", serif;
  font-weight: 400;
  font-style: normal;
  transition: 0.5s ease-in-out;
}  */
.logo img{
  width:2.5em;
  transform: translateY(40px);
  margin-right: 15px;
}



/* ————————  NAVIGATION  ———————— */

nav{
  /* position:fixed;
  top:70px;
  right: 50px; */
  display: block;
  font-size: 0.8em;
  /* background-color: #90ae69; */
  padding: 0px 0px 10px;
  margin: 0 auto;
  border-radius: 20px;
  /* width: 20%; */
}

li {
  display: inline;
  white-space:nowrap;
  padding-left: 10px;
}

ul {
  display: flex;
  /* background-color: #f5f19b; */
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  justify-content: center;
}

nav a{
  text-decoration: none;
  padding: 19px 28px;
  color: #172713;
  /* border-bottom: 2px solid transparent; */
  display: block;
  font-weight: 550;
  transition: 0.4s ease-in-out;
}
nav a:hover{
  text-decoration: none;
  
  color: #f5f5b8;
  /* border-bottom: 2px solid #ff5ec4; */

}

a{
  color:#172713;
  transition: ease-in-out 0.3s;
}

a:hover{
  color:#486e3e;
}


.koira-navi{
  padding: 30px;
  display: inline-block;
}

.koira-navi a{
  display: inline-block;
  padding: 10px 40px;
  border: 2px solid;
  width: 15%;
  min-width: 140px;
  margin-bottom: 12px;
  text-align: center;
  border-radius: 25px;
}

.koira-navi a:hover{
  display: inline-block;
  padding: 10px 40px;
  border: 2px solid;
  width: 15%;
  min-width: 140px;
  margin-bottom: 12px;
  text-align: center;
  background-color: #172713;
}

/* 2 PALSTAA */


/* container */
.two-column-grid {
  display:block;
  margin-bottom: 1.2em;
  grid-gap: 1.5em;
}

.two-column-grid img {
  margin-bottom: 1.5em;
}

/*columns*/

/* .two-column-grid > * {
  padding:1rem;
} */

/* mobile breakpoint */
@media (min-width:1075px) {
  .two-column-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
  }
}

/*1 palsta*/

.one-column-center {
  text-align: center;
  margin-bottom: 2.5em;
}


.footer{
  /* position: fixed; */
  /* bottom: 20px;
  right: 20px; */
  background-color: #172713;
  color:#f5f5b8;
  /* background-color: #6c2b11; */
  padding: 2em 2em 1em 2em;
  border-radius: 30px 30px 0px 0px;
  margin-top:30px;
  height: 240px;
}

.footer-top{
  display: block;
}

.footer-bottom{
  display: block;
  margin-top: 200px;
}

.footer-left{
    float: left;
    width: 40%;


}

.footer-right{
    float: right;
    width: 60%;
    display: flex;
    justify-content: flex-end;

}

.footer-left img{
  width: 118px;
  display: block;
  margin-top: 13px;
}

.footer-right img{
  padding-left: 20px;
  width:48px;
}

.footer-mini-text{
  font-size: 0.5em;
  text-align: right;
}

.some{
  font-size: 0.6em;
}

img.nutrolin {
    width: 50px;
    display: block;
    transform: translateY(2px);
}

p{
  margin-bottom:1.5em;
  margin-top:0;
  line-height: 1.5em;
  font-size: 1em;
  letter-spacing: 0.02em;
}

.malli{
  color:#6e96c4;
}

h1{
  font-weight: 500;
}

.title{
font-size:0.8em;
font-weight: 500;
}

.title-center{
  font-size:0.8em;
  font-weight: 500;
  text-align: center;
  }

.ingressi{
  font-size:1.2em;
  padding-bottom: 1em;
}

.tiedot{
  font-size: 0.8em;
  border: 1px solid;
  margin: 4px 20px 32px;
  padding: 15px;
  border-radius: 3px;
  word-wrap:break-word;
}

.tiedot p{
margin-bottom:10px;
}

.tiedot h2 {
    text-align: center;
    font-size: 1em;
}


@media (max-width: 1080px) {

  body{
    font-size: 1.5em;
  }

  .header{
    font-size: 0.7em;
  }

  .container{
    margin-bottom:3em;
    padding-top: 200px;
  }

  .title{
    text-align:center;
  }

  .logo{

    transform: translateY(-10px);

  
  }
  
  .logo img {

    transform: translateY(25px);
    margin-right: 15px;
  }

  nav a{
    padding: 17px 20px;
  }

    }

@media (max-width: 620px) {


body{
  font-size: 1.2em;
}

.header{
  font-size: 0.6em;
}

.container{
  margin-bottom:3em;
  padding-top: 210px;
}

.title{
  text-align:center;
}

nav a{
  padding: 17px 3px;
  font-size: 1.2em;
}

.logo{

  transform: translateY(0px);
  text-align: center;
}

.logo img {
  display: block;
  margin: 0 auto;
  width: 120px;
  transform: translateY(5px);}


}
