@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{ 
      font-family: Merryweather, Poppins, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body{
  display: flex;
    flex-direction: column;
    align-items: center;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right bottom, #010b00, #010a00, #000901, #000701, #000601, #0b1b0e, #0e2c16, #0d3d1d, #04481b, #095a1b, #034503, #123e02, rgb(132, 234, 132))no-repeat;
}
.title{
   
    display:flex;
    width: 100%;
    height: 15vw;
    background-image: linear-gradient(to right, #73ed60, #7ced6d, #85ed7a, #8eec86, #97ec91, #9deb99, #a2e9a0, #a8e8a7, #ace6ac, #b0e4b1, #b5e2b6, #b9e0bb);
    justify-content: center;
}
.home{
   position: fixed;
  background-color: #ecf1ee;
  opacity: 0.6;
  
   left:1vw;
   top: 0.6vw;
   padding: 0.5vw;
   border-radius: 1em;
}
.home a{
    text-decoration: none;
   color:#000701;
     font-size: 1.2vw;
     font-weight: 600;

}
.text{    
    background: url(/public/images/logocicala.jpeg) no-repeat center left,
    url(/public/images/logocicala.jpeg) no-repeat center right;
    background-size: 19% 100%;
    color:rgb(2, 104, 70);
    text-shadow: #0f100f 2px 2px 1px;
    text-align: center;
    width: 100%;
    height: 100%;
    padding-top: 2vw;
    font-size: 2vw;
}
.explain{
    color:white;
    text-align: justify;
    padding:5vw 12vw 2vw 12vw;
}
.intro{
    display: flex;
    justify-content: space-around;
    margin-bottom: 3vw;
    
}
.problem{
   position: relative;
   background: url(/public/images/casacicala/cicalaproblem.jpg)no-repeat bottom;
   background-size: 100% 80%;
   width: 20vw;
   height: 20vw; 
   z-index: 0;
   border: #85ed7a 0.5vw solid;
   border-radius: .5em;
}
.problem h1{
    font-size: 3vw;
    background-color: #85ed7a;
    text-shadow: #0f100f 2px 2px 1px;
    text-align: center;
}
.idea{
   position: relative;
   background: url(/public/images/casacicala/formicaidea.jpg)no-repeat bottom;
   background-size: 100% 80%;
   width: 20vw;
   height: 20vw; 
    z-index: 0;
   border: #85ed7a 0.5vw solid;
   border-radius: .5em;
}
.idea h1{
    font-size: 3vw;
    background-color: #85ed7a;
    text-shadow: #0f100f 2px 2px 1px;
    text-align: center;
}
.house{
    text-align: center;
    margin-bottom:2vw;
    text-shadow: #79f222 2px 2px 1px;
    font-size: 3vw;;
}
.how{
    margin-top: 2vw;
    margin-bottom: 2vw;
    font-size: 3vw;
    text-shadow: #79f222 1px 1px 0.5px;
}

.grid{
    display: grid;
    width: 100%;
    height: 40vw;
    grid-template-areas:
    "box-1 box-2 box-3"
    "box-4 box-5 box-5";
    gap: 1vw;
    margin-top: 3vw;
    margin-bottom: 3vw;
    z-index: 3;
}
.grid img{
    width: 100%;
    height: 100%;
    border-radius: .5em;
    transition: 100ms ease;
}

#box01{
    background:url(/public/images/casacicala/ddn/cena.jpg);
   background-size:100% 100%; 
}
#box02{
    background:url(/public/images/casacicala/ddn/spesa1.jpg);
    background-size:100% 100%;
}
#box03{
    background:url(/public/images/casacicala/ddn/cenatavola.jpg);
    background-size:100% 100%;
}
#box04{
    background:url(/public/images/casacicala/ddn/booling.jpg);
    background-size:100% 120%;
}
#box05{
    background:url(/public/images/casacicala/ddn/spesa2.jpg) no-repeat;
    background-size:100% 190%;
}
#box01:hover, #box02:hover, #box03:hover, #box04:hover, #box05:hover{
    scale: 1.1;
}
.box{
    border-top: white 0.2em solid;
    border-bottom: white 0.2em solid;
    
}
.box:hover{
    border-top:none;
    border-bottom:none;
    box-shadow: 1px 1px 20px 8px rgb(141, 243, 243) inset;
    transition: 1000ms ease;
}
.bottom{
    color:white;
    width: 100%;
    text-shadow: #0f100f 3px 3px 2px;
   
}
 .donationtext{
    margin-top:4vw;
    margin-bottom: 3vw;
    width: 100%;
    text-align: center; 
    color:rgb(121, 174, 238);
    
 }
 
 .end{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 12vw;
     text-align: justify;

 }
 .end h1{
    text-align: center;
 }
 .policy{
    display: flex;
    gap: 2vw;
    margin-bottom: 2vw;
 }
 /*Reference*/
 #howabout{
    display:flex;
    flex-direction: column;
    width: 100%;
    position:relative;
    align-items: center;
    margin-bottom: 4vw;
}
   .w-how{
    font-size: 2vw;
   text-shadow: 3px 2px 2px rgb(108, 165, 226);
   }
   .open-how{
    display: flex;
    position: relative;
    cursor: pointer;

   }
  
  
   .bestbh-how{
    color:rgb(239, 223, 223);
    cursor: pointer;
}
#sidebar-how{
    display: none;
}
#overlay-how{
    display: none;
}
  
#sidebar-how:checked ~ #overlay-how{
   cursor: pointer;
text-align: center;
   position: block;
   display:flex;
   font-size: 1.2vw;
}
   #sidebar-how:checked ~ .open-how{
    display: none;
}

.dev{
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size:2vw;
    width: 100%;
    height: 10vw;
    text-align: center;
    background:url(/public/images/deviltailnoback.png)top center no-repeat ;
    background-size: 18%;
    color: white;
   text-shadow: 10px 8px 8px black;
   margin-top: 10vw;
   margin-bottom: 5vw;
}
 

@media(max-width:640px){
    .grid{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 280vw;
        margin-bottom:10vw;
        margin-top: 10vw;
        gap:4vw;
    }
    .end{
      width: 88%;    
    }
    .home{
        display: flex;
     }

}
