/* Google fonts import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;400&family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');

:root {
--primary-font: "Poppins";
--secondary-font:"Roboto";
--primary-color:#314b21;
--secondary-color:#7c3931;
--highlight-color:#7a9981;
}
/* Asterisk wildcard selector to a override default styles added by browser */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box; 
}


/* Global styles*/

body {
    min-height:100vh; ;
    font-family: var(--primary-font);
    background-color:#f5f5f5;
    color: var(--primary-color);
    margin: 0;
    padding: 0;
}
 


h1,
h2,
h3 
{
    font-family: var(--primary-font);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    
}
h4{
    font-family: var(--secondary-font);
    color: var(--highlight-color);
}


img {
    width: 100%;
    border-radius: 10px;
    display: block;
    margin: 20px auto;
    margin-top: 2px;
    
}

header {
    top: 0;
    display:flex;
    padding: 0 1rem;
    position: fixed;
    width: 100%;
    background-color: #f5f5f5;
    box-shadow: 0 2px 2px var(--secondary-color);
    justify-content: space-between;
    align-items: baseline;
    z-index: 99; 
}


header a {
   text-decoration: none;
   color: inherit;
}

#menu {
    font-size: 110%;
    letter-spacing: 3px;
    list-style-type: none;
}
#menu > li {
    margin-bottom: 1em;
}
.active {
    border-bottom: 1px solid var(--secondary-color);

}

/*navbar styles with dropdown toggle*/
nav {
    position: absolute;
    background-color: #f5f5f5;
    width: 100%;
    left:0;
    padding: 0 1rem;
    box-shadow: 0 2px 2px var(--secondary-color);
    display: none;
    top: 100%;
}
/*Nav Toggle*/
#nav-toggle:checked~nav {
    display: block;   

}
#nav-toggle {
    display: none;
}
#nav-toggle-label {
    font-size: 2rem;
}
#logo {
    font-size: 200%;
    line-height: 70px;
    margin: 0 0.5rem;
}
/*Main content*/
main {
    background-color:#f5f5f5;
    flex: 1 0 auto;
}
.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    margin: 15px;
    width: 65%;
    font-size: 20px;
    font-family: var(--primary-font);
}
/*hero*/
#hero{
   height:600px;
   width: 100%;
   background: url("../images/welcome.webp") no-repeat center/cover;
   position: relative;

}
#cover-text {
    background-color:rgb(122, 153, 129, .8 );
    font-size: 130%;
    position: absolute;
    bottom: 30px;
    width: 80%;
    min-height: 200px;
    padding-top: 40px;
    padding-left: 10px;
   
}
#energy {
    width: 85%;
    margin: 30px auto;
}
#energy h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 250%;}

#why {
    width: 85%;
    margin: 30px auto;
}
#why h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 250%;
}
#benefits>div {
    line-height: 20px;
    margin-bottom: 30px;
}
#benefits {
    margin-bottom:15px ;
    
}

hr {
    border-top: 1px solid var(--secondary-color);
    margin:5px 0;
}
#circle-cover-bg{
    background: url("../images/food_1.webp")no-repeat top center / cover;
    height: 90vw;
    width: 90vw;
    margin-bottom: 20px;
    border-radius: 50%;
    max-width: 300px;
    max-height: 300px;
}
#benefits-image {
    display: flex;
    align-items: center;
    justify-content: center;

}
#discover {
    margin-top: 15px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.btn1 {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    margin: 15px;
    width: 92%;
    font-size: 20px;
    font-family: var(--primary-font);
}

   



/*Recipes page*/
.container {
    margin-top: 78px;
}
.recipe-card {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    
    
}
.recipe-card p {
    font-weight: bold;
}

#photos img {
    width: 100%;
    line-height: 1rem;
    display: grid;
}

#photos {
    line-height: 0;
}
.photos {
    text-align: center;
}
/*About*/

#mission {
    padding-top: 80px;
    width: 100%;
    margin: 30px;
}
#mission h2 {
   
    margin-bottom: 20px;
    text-align: center;
    font-size: 150%;
}
#team {
   
    width: 100%;
    margin: 30px;
}
#team h2 {
   
    margin-bottom: 20px;
    text-align: center;
    font-size: 150%;
}
#contact {

    width: 100%;
    margin: 3px;
}
#contact h2 {
   
    margin-bottom: 20px;
    text-align: center;
    font-size: 150%;
}

/* Video */
#video {
    text-align: center;
}

video {
    width: 40%;
}
/* Contact Us Section */
.contact-us {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-us h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-us p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Labels */
#contact label {
    font-weight: 600;
    text-align: left;
    display: block;
    color: var(--primary-color);
}

/* Input & Textarea Fields */
#contact input,
#contact textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease-in-out;
}

#contact input:focus,
#contact textarea:focus {
    border-color: var(--highlight-color);
    outline: none;
}
.btn1 {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    margin: 15px;
    width: 92%;
    font-size: 20px;
    font-family: var(--primary-font);
}

.btn:hover {
    background-color: var(--secondary-color);
}

/*Footer*/
footer {
  text-align: center;
}

#social-networks {
    text-align: center;
    padding: 20px 0;
    display: flex;
    justify-content: space-evenly;
    list-style-type: none;

}
#social-networks i {
    font-size: 160%;
    padding:5%;
    color: var(--primary-color);
}




/* Media Queries for Different Screen Types */

/* phones (max 576px and up) */
@media screen and (min-width: 576px) {
  
    button {
      width: 92%;
      padding: 25px;
      font-size: 25px;
    }
  }
  
  /* Tablets (768px and up) */
  @media screen and (min-width: 768px) {
  
    nav {
      display: block;
      position: relative;
      font-size: 1.4rem;
      box-shadow: none;
      width:fit-content;
      padding-right: 1rem;
    }
    #menu {
        display: flex;
    }
    #menu > li {
        padding-left: 2rem;
    }
    .nav-toggle-label {
        display:none;
    }
    #logo {
        font-size: 200%;
        line-height: 75px;
        margin: 0 0.5rem;
    }
    .recipe-card {
        column-count: 2;
    }
    
    /*hero*/
    #cover-text {
        width: 300px;
        right: 50px;
    }
    #photos {
        column-count: 3;
    }
    .contact-us {
        width: 90%;
        padding: 20px;
    }

}
    

    
  
    
/* Large devices (laptops and desktops, 992px and up) */
@media screen and (min-width: 992px) {
    #menu a:hover{
        border-bottom: 1px solid var(--secondary-color);
    }

      /*gallery*/
      #photos {
        column-count: 3;
    }


} 
   


