@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
  }
  
  .nav-container {
    background: linear-gradient(90deg, rgb(177, 177, 177) 5%, rgb(231, 232, 244) 96%);
    height: 80px;
    width: 100%;
  }
  
  label.logo {
    color: white;
    font-size: 35px;
    line-height: 80px;
    padding: 0 100px;
    font-weight: bold;
  }
  
  nav ul{
    float: right;
  }
  
  nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
  }
  
  nav ul li a{
    color: rgb(0, 0, 0);
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
  }
   
  a.active, a:hover{
    background: #60666a;
    transition: .5s;
  }





  .checkbtn{
    font-size: 30px;
    color: rgb(17, 16, 16);
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
  }
  #check{
    display: none;
  }
  
  @media (max-width: 952px){
    label.logo{
      font-size: 30px;
      padding-left: 50px;
    }
    nav ul li a{
      font-size: 16px;
    }
  }
  @media (max-width: 858px){
    .checkbtn{
      display: block;
    }
    ul{
      position: fixed;
      width: 100%;
      background: rgb(47, 61, 90);
      top: 80px;
      left: -100%;
      text-align: center;
      transition: all .5s;
    }
    nav ul li{
      display: block;
      margin: 50px 0;
      line-height: 30px;
    }
    nav ul li a{
      font-size: 20px;
    }
    a:hover,a.active{
      background: none;
      color: #0082e6;
    }
    #check:checked ~ ul{
      left: 0;
    }
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-bottom: 50px;
}
.bg-glutenfree{
    background-image: url(4964059.jpg);
    width: 100%;
    height: 100%;
}
.bg-lowcalories {
    background-image: url(4964059.jpg);
    width: 100%;
    height: 100%;
}
.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    padding: 50px;
}

.container .card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 350px;
    max-width: 100%;
    height: 300px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
    border-radius: 10px;
}

.container .card .img-box {
    position: absolute;
    top: 20px;
    width: 300px;
    height: 220px;
    overflow: hidden;
    border-radius: 20px;
    transition: 0.5s;
}

.container .card .img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container .card .content {
    position: absolute;
    top: 252px;
    width: 100%;
    padding: 0 30px;   
    height: 35px;
    text-align: center;
    overflow: hidden;   
    transition: 0.5s;
}

.container .card:hover {
    height: 600px; 
}

.container .card:hover .img-box {
    top: -100px;
    transform: scale(0.75);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.container .card:hover .content {
    top: 190px; 
    height: 340px; 
}
.container .card .content h2{
    font-size: 1.5rem;
    font-weight: 700;
}

.container .card .content p{
    color: black;
    margin-top: 10px;
    text-align: justify;
}

.container .card .content a{
    position: relative;
    top: 15px;
    display: inline-block;
    padding: 12px 25px;
    background-color: rgb(122, 243, 243);
    text-decoration: none;
    color: rgb(6, 6, 6);
    font-weight: 500;
    border-radius: 5px;
}

.container .card .content a:hover {
    opacity: 0.8;
}



.container2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    padding: 50px;
}

.container2 .card2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 350px;
    max-width: 100%;
    height: 300px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
    border-radius: 10px;
}

.container2 .card2 .img-box2 {
    position: absolute;
    top: 20px;
    width: 300px;
    height: 220px;
    overflow: hidden;
    border-radius: 20px;
    transition: 0.5s;
}

.container2 .card2 .img-box2 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container2 .card2 .content2 {
    position: absolute;
    top: 252px;
    width: 100%;
    padding: 0 30px;   
    height: 35px;
    text-align: center;
    overflow: hidden;   
    transition: 0.5s;
}

.container2 .card2:hover {
    height: 600px; 
}

.container2 .card2:hover .img-box2 {
    top: -100px;
    transform: scale(0.75);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.container2 .card2:hover .content2 {
    top: 190px; 
    height: 340px; 
}
.container2 .card2 .content2 h2{
    font-size: 1.5rem;
    font-weight: 700;
}

.container2 .card2 .content2 p{
    color: black;
    margin-top: 10px;
    text-align: justify;
}

.container2 .card2 .content2 a{
    position: relative;
    top: 15px;
    display: inline-block;
    padding: 12px 25px;
    background-color: rgb(122, 243, 243);
    text-decoration: none;
    color: rgb(6, 6, 6);
    font-weight: 500;
    border-radius: 5px;
}

.container2 .card2 .content2 a:hover {
    opacity: 0.8;
}

footer {
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    position: absolute;
    font-style: italic
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-container a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.footer-container a:hover {
    opacity: 0.7;
}

