body {
  margin: 0;
  background: repeating-linear-gradient(
    to right,
    #ffb9da 0 4%,
    #ffd6e9 4% 8%
  );
  font-family: "Comic Sans MS";
  
}

@media (max-width: 600px) {
  body {
  margin: 0;
  background: repeating-linear-gradient(
    to right,
    #ffb9da 0 20%,
    #ffd6e9 20% 40%
    );
    font-family: "Comic Sans MS";
  }
}

#header{
  position: fixed;
  width: 100%;
  transition: 0.4s ease;
   top: 0;

   z-index: 1;
}



/* NAVBAR */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  background-color: #ffb9da;
  padding: 0 20px;
  
}

/* LEFT LOGO */
.nav-left img {
  
  width: 45px;
  
}

/* CENTER LOGO (perfectly centered on page) */
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  
  
}

.nav-center img {
  
  width: 100px;
  
}

@media (max-width: 600px) {
  .nav-center {
    position: absolute;
    left: 35%;
    
    
    
  }

  .nav-center img {
  
    width: 80px;
  
  } 


}

/* RIGHT BUTTONS */
.nav-right {
  display: flex;
  gap: 12px;
}

.nav-right a {
  height: 45px;
  aspect-ratio: 1/1;
  
  border-radius: 22.5px;
  border: 1px solid black;
  background-color: #ffd6e9;
  cursor: pointer;
 
  text-align: center;
  align-content: center;
  text-decoration: none;
  color: black;
}

.nav-right a img {
  
  
  width: 30px;
  
  
}

.nav-right a:hover {
  background-color: #ffb9da;
  text-decoration: underline;
}

/* DIVIDER LINE */
.outline {
  background-color: black;
  height:2px;
  width: 100%;
}



.menu-box{



    position:fixed;
    top: 20%;
    
    padding: 5%;
    
    
    aspect-ratio: 1/2;
    font-size: 2vw;
    font-weight: bolder;

  
    background-image: url("Button_background.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; 
}


main{

    padding: 4%;
    padding-left: 25%;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    
}



h1{
    margin: 0;
    
    font-size: 5vw;
    text-decoration: underline;
    width: 100%;
    text-align: center;


}

.sec{
    width: 100%;
  display: flex;
  justify-content: center;
  

  
  
  
  flex-wrap: wrap;
  
   
}

.sec1{
    
    
    
    

    width: 15vw;  
  margin: 4%;
  height: 15vw;
  margin-bottom:8vw;
  
  
  outline: 3px solid black;
  background-color: white;
   transition: width 1s,height 1s;
}

.aler{
  margin-top:4% ;
  margin-left:-3% ;
  width: 4%;
  
}

.aler img{
  width: 100%;
  margin-bottom: 10%;
}

#fish{
  background-image: url("fish.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
    align-content: end;
}

#wheat{
  background-image: url("wheat.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
    align-content: end;
}

#nuts{
  background-image: url("nuts.png ");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
    align-content: end;
}

#cow{
  background-image: url("cow.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
    align-content: end;
}

#cownuts{
  background-image: url("cownuts.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
    align-content: end;
}

#egg{

  background-image: url("egg.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
    align-content: end;
}

#doublenuts{
  background-image: url("doublenuts.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
    align-content: end;
}

#egg2{
  background-image: url("egg2.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
    align-content: end;
}

#cowfish{

  background-image: url("cowfish.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
    align-content: end;
}

.sec1:hover{
    width: 20vw;
    height: 20vw;
   
}

.sec p{
    text-align: center;
    text-decoration: underline;
    font-weight: bolder;
    font-size: 3.5vw;
    translate:0 8vw;


    
}





@media (max-width: 600px) {



  .aler{
    width: 10%;
  }

  h1{
    font-size: 20vw;
  }


    .sec1{
    
    
    
    

    width: 82%;  
  margin: 4%;
  
  height: auto;
  margin-bottom:30vw;
  aspect-ratio: 1/1;

  
  
  } 

  .sec1:hover{
      width: 82%;
      height: auto;
      aspect-ratio: 1/1;
      
      
    
  }

    .sec{
        flex-direction: row;
    }

    .sec p{
    
    font-size:10vw;
    translate:0 30vw;

    
  }

    main{
    padding: 4%;}



    .menu-box{



            position:relative;
        
            
        
            padding:25%;
            margin-top: 70px;
        
        
            aspect-ratio: 1/2;
            font-size: 8vw;
            font-weight: bolder;


        
            background-image: url("Button_background.png");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center; 
        }

}



.transition{
  margin: 0;
  padding: 0;
    position:fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 10;
    pointer-events: none;
}

.transition-row{
   margin: 0;
  padding: 0;
    flex:1;
    display: flex;
    
    width: 100%;

}

.transition-row.row-1 .block{
   margin: 0;
  padding: 0;
    transform-origin: top;
}

.transition-row.row-2 .block{
   margin: 0;
  padding: 0;
    transform-origin: bottom;
    
}

.block {
   
  
  padding: 0;
    flex:1;
    
    transform: scaleY(1.02);
    transform: scaleX(1.02);
    min-width: 0;
    will-change: transform;

    transition: ease;
    
}

.one{
  
  
  background-color: #ffb9da;
}

.two{
  background-color:  #ffd6e9 ;
}

.block img{
 
  width: 100%;
}


a{
    color: black;
    text-decoration: none;
}

.active{
    text-decoration: underline;
}

a:hover{
    text-decoration: underline;
}

button:hover{
    cursor: pointer;

}










