@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,600;0,700;0,900;1,200;1,300&display=swap');
:root{
   --primary-color:rgb(17, 184, 40);
}
/* reset*/
html {
   scroll-behavior: smooth;
 }

*{
   margin:0;
   padding:0;
   box-sizing: border-box;
}

body{
   font-family: 'Nunito', sans-serif;
   background: #000;
   color:#fff;
   font-size: 1.1rem;
   line-height: 1.6rem;
   
}
h1, h2 ,h3 ,h4{

   line-height: 3rem;
}
a{
   text-decoration:none;
   color: #fff;
}
ul{
   list-style: none;
}
img{
   width: 100%;
}
/*header*/
.main-header{
   width: 100%;
   height: 100vh;
   position:relative;
   background: url(../image/beef_grill_steak.jpg) no-repeat center center/cover;
}
.main-header::after{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.header-top{
   position:relative;
   height: 90px;
   z-index: 2;
}
.header-top .logo{
   position: relative;
   top:50%;
   align-items: center;
   justify-content: center;
   text-align: center;
   transform: translate(-50% -50%);
}
 .login{
   position: absolute;
   top:40%;
   right: 0;
   transform: translate(-50% -50%);
   margin-right: 6rem;
}
.header-top a{
   position: absolute;
   top:40%;
   right: 0;
   transform: translate(-50% -50%);
   
}
.header-content{
   position: relative;
   margin: auto;
   display: flex;
   flex-direction: column;
   justify-content: center;
   text-align: center;
   align-items: center;
   margin-top: 9rem;
   z-index: 2;
}
.header-content h1{
   font-weight:700;
   font-size: 5.2rem;
   line-height: 1.3rem;
   margin: 0 0 2rem;
}
.header-content p{
   text-transform: uppercase;
   font-weight:400;
   font-size: 1.6rem;
   line-height: 1.3rem;
   margin: 1rem 2rem;
}
.header-content a{
   margin-top: 2rem;
}
/* section gallery*/
section.gallery{
   background:#000;
   width: 100%;
}
section.gallery .gallery-container{
   display: grid;
   justify-content: center;
   align-items: center;
   grid-template-columns: 2fr 1fr 1fr;
   grid-template-rows: auto;
   grid-template-areas:"box1 box2 box2" "box1 box3  box3";
}
section.gallery .gallery-container a:first-child{
   grid-area: box1;
   padding: 1rem;
}
section.gallery .gallery-container a:nth-child(2){
   grid-area: box2;
   padding: 1rem;
}
section.gallery .gallery-container a:last-child{
   grid-area: box3;
   padding: 1rem;
}
.img-container{
   position: relative;
   display:inline-block;
}
.img-container .text-container{
   opacity: 0;
   position: absolute;
   display: flex;
   justify-content: center;
   align-items: center;
   text-align: center;
   top: 0;
   left:0;
   height: 100%;
   width: 100%;
   background: rgba(0, 0, 0, 0.5);
   transition: all .3s ease-in-out;
}
.img-container .text-container:hover{
  opacity: 1;
}
 .img-container .text-container {
   font-size: 3rem;
   line-height: 3rem;
  
 }
 .about-section{
    position: relative;
    background: url(../image/fruit_slad.jpg)no-repeat center center/cover;
    height: 600px;
 }
 .about-section-inner{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto;
    max-width: 860px;
    padding: 5rem 0;

 }
 .about-section-inner h3{
    font-size: 4rem;
 }
 .about-section-inner h2{
   font-size: 2rem;
   line-height: 3rem;
   margin-top: 1rem;
}
/* news letter section*/
.news-letter{
   width:100%;
   height: 400px;
   background: rgb(27, 27, 27);
   text-align: center;
   align-content: center;
   align-items: center;
   margin: 0;
}
input[type=email] {
   width: 30%;
   background-color: rgb(248, 243, 237);
   padding: 14px 10px;
   margin: 8px 0;
   display: inline-block;
   border: 1px solid rgb(250, 239, 239);
   border-radius: 5px;
   box-sizing: border-box;
 }
 /* submit button */
   input[type=submit] {
   font-weight: 700;
   font-size: 1.1rem;
   width: 100px;
   transform: translate(-50% -50%);
   text-transform: uppercase;
   background-color: #4CAF50;
   color: white;
   padding: 12px ;
   margin-right:1%;
   border: none;
   border-radius: 5px;
   cursor: pointer;
 }
 
 input[type=submit]:hover {
   background-color: rgba(54, 54, 201,0.7);
   transform: scale(1.1);
   transition: ease-in-out;
 }
 /* footer */
 .footer{
    max-width: 75%;
    margin: 2rem auto;
    overflow: auto;
    align-content: center;
    align-items: center;
    text-align: center;
 }
 .footer, .footer a{
    color: #999;
    font-size: 0.9rem;
 }
 .footer p{
    margin-bottom: 1.5rem;
 }
 .footer .footer-col{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
 }
 .footer li{
    line-height: 1.9rem;
 }
/* utilities*/
.overlay{
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
   width: 100%;
   background: rgba(0, 0, 0, 0.4);
}
.btn{
   display: inline-block;
   background: var(--primary-color);
   color: #fff;
   padding: 0.4rem 1.3rem;
   font-size: 1rem;
   text-align:center;
   cursor: pointer;
   margin-right: 0.5rem;
   outline: none;
   box-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
   border-radius: 2px;
}
.btn:hover{
   background-color: rgba(54, 54, 201,0.8);
   transition: ease-in-out;
}
.btn{
   border-radius: 5px;
}
.btn-xl{
   font-size: 1.8rem;
   padding: 0.8 rem 1.3rem;
   text-transform: uppercase;
}
.btn-lg{
   font-size: 1.2rem;
   padding: 1 rem 2.1rem;
   text-transform: uppercase;
}
.fa-fw{
   margin-left: 1rem;
}
@media screen and (max-width: 700px){
   .header-top a{
      margin-top: 80px;
      right: 15%;
      transform: translate(-90%, -15%);
   }
   .login{
       
         right:15%;
         transform: translate(-90%, -15%);
   }  
   
   .header-content{
      margin-top: 25%;
   }
   .header-content h1{
      font-size: 4.5rem;
      line-height: 4rem;
   }
   .header-content p{
      font-size: 1.6rem;
      padding: 0.6rem 2rem;
   }
   .btn-xl{
      font-size: 1.5rem;
      line-height: 1.6rem;
   }
   section.gallery .gallery-container{
      grid-template-columns: 1fr;
      grid-template-areas: "box1" "box2" "box3";

   }
   .about-section-inner h3{
      font-size: 3rem;
   }
   .about-section-inner h2{
      font-size: 1.6rem;
   }
   input[type=email] {
      width: 30%;
      background-color: rgb(248, 243, 237);
      padding: 10px;
    }

   input[type=submit] {
      font-weight: 600;
      font-size: .9rem;
      width: 90px;
      padding: 10px ;
     
    }
    .footer .footer-col{
       grid-template-columns: repeat(2, 1fr);
    }
}

