
@font-face {
  font-family: 'raleway-bold';
  src: url(../fonts/static/Raleway-Bold.ttf) format('woff2');
}

@font-face {
  font-family: 'raleway-regular';
  src: url(../fonts/static/Raleway-Regular.ttf) format('woff2');
}

@font-face {
  font-family: 'raleway-semiBold';
  src: url(../fonts/static/Raleway-SemiBold.ttf) format('woff2');
}

@font-face {
  font-family: 'raleway-medium';
  src: url(../fonts/static/Raleway-Medium.ttf) format('woff2');
}


:root {
  --regular: 'raleway-regular', 'sans-serif';
  --semiBold: 'raleway-semiBold', 'sans-serif';
  --bold: 'raleway-bold', 'sans-serif';
  --medium: 'raleway-medium', 'sans-serif';
  --main-color:#EEBF00;
  --dark-color:#232B38;
  --text-color:#595C5E;
  --white-color:#fff;
  --transition: all .3s linear
}

::-webkit-scrollbar {
  width: 8px;     
}

::-webkit-scrollbar-track {
  background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  transition: var(--transition);
}



html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--regular);
}

::selection {
  background: var(--main-color);
  color: var(--white-color);
}



/* start globals */
.sec-title{
  margin-bottom: 50px;
  text-align: center;
}

.sec-title h2{
  text-transform: capitalize;
  font-family: var(--bold);
  font-size: 40px;
  color: var(--dark-color);
  margin-bottom: 10px;
  font-style: oblique;
}


.sec-padding{
  padding-block: 80px;
}

@media(max-width: 576px) {
  .sec-title h2{
    font-size: 30px;
  }

}
/* end globals */

/* start components */
.btn{
  border: 1px solid transparent;
  outline: none;
  background: transparent;
  padding: 10px 15px;
  color: var(--white-color);
  background: #333;
  font-size: 16px;
  text-transform: capitalize;
  border-radius: 5px;
  cursor: pointer;
}

.viewMore-btn{
  margin-top: 25px;
  margin-inline: auto;
  display: block;
  border: 3px solid var(--dark-color);
  color: var(--dark-color);
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 16px;
  text-transform: capitalize;
  cursor: pointer;
  background: transparent;
  font-family: var(--semiBold);
  font-style: oblique;
  position: relative;
  /* overflow: hidden; */
}

.viewMore-btn::after,
.viewMore-btn::before{
  content: '';
  position: absolute;
  top: 35%;
  transform: translateY(-35%);
  width: 15px;
  height: 15px;
  background: var(--main-color);
  border-radius: 50%;
  transition: var(--transition);
}

.viewMore-btn::after{
  left: -30px;
}

.viewMore-btn::before{
  right: -30px;
}

.viewMore-btn:hover::after,
.viewMore-btn:hover::before{
  height: 100%;
  width: 50%;
  border-radius: 0%;
  opacity: 0;
}

.viewMore-btn:hover::after{
    left: 0px;
}

.viewMore-btn:hover::before{
    right: 0px;
}

.viewMore-btn:hover{
  color: var(--white-color);
  border-color: var(--main-color);
  letter-spacing: 1px;
  transition-delay: .3s;
  background: var(--main-color);
}
/* end components */

/* ====================================================== */

/* Start Top Header (login-header) */
.login-header{
  background: var(--dark-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 3%;
  position: fixed;
  width: 100%;
  z-index: 10;
}

@media(max-width: 576px) {
  .login-header{
    padding: 10px 1%;
  }
}

.login-header .left{
  display: flex;
  gap: 15px;
}

.login-header .right{
  display: flex;
  align-items: center;
  gap: 20px;
}

.login-header .right > div:nth-child(2){
  border-inline: 1px solid var(--white-color);
  padding: 0px 15px;
}

.login-header .right > div img{
  margin-right: 5px;
}

.login-header .right > div a{
  color: var(--white-color);
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-header .right > div a:hover{
  color: var(--main-color);
}

.login-header  .cart{
  position: relative;
  cursor: pointer;
}

.login-header  .cart > img{
  width: 20px;
}

.login-header  .cart:hover > img{
  transform: rotate(360deg);
}

.login-header  .cart span{
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--main-color);
  color: var(--white-color);
  font-size: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  top: -7px;
  right: -10px;
}

.bars{
  display: none;
}

.bars i{
  cursor: pointer;
  font-size: 20px;
  color: var(--white-color);
}

@media(max-width:768px) {
  .bars{
    display: block;
  }

  .login-header{
    justify-content: center;
  }

  .login-header .left{
    display: none;
  }
}
/* End Top Header */

/* Start Header */
header{
  position: fixed;
  width: 100%;
  top: 45px;
  padding-top: 1%;
  overflow: hidden;
  z-index: 10;
  background-color: var(--white-color);
}

header::after{
  content: "";
  position: absolute;
  left: 0;
  top: 85%;
  width: 100%;
  background: url(../images/shadow.svg) center no-repeat;
  height: 70px;
}

@media(max-width: 768px) {
  header::after{
    display: none;
  }

  .header-content .right{
    display: none;
  }
}

header .header-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0px 3%;
}

@media(max-width: 576px) {
  header .header-content{
    justify-content: center;
    gap: 15px;
  }
}

header .left,
header .right{
  display: flex;
  min-width: 20%
}

header .center{
  text-align: center;
}

header .left > img,
header .right > img{
  padding-right: 5%;
}

header nav{
  margin: 5px 0px 10px;
}

header nav ul{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

header nav li{
  padding: 12px 15px;
  cursor: pointer;
}

header nav li a{
  color: var(--dark-color);
  font-family: var(--bold);
}

header nav li.active,
header nav li:hover{
  background: var(--main-color);
}

header nav li.active a,
header nav li:hover a{
  color: var(--white-color);
}

@media(max-width:768px) {
  header{
    overflow: visible;
  }

  nav{
    position: absolute;
    width: 100%;
    background: var(--dark-color);
    transform: translateY(100px);
    top: 96%;
    opacity: 0;
    visibility: hidden;
  }

  header nav ul{
    flex-direction: column;
    gap: 0px;
  }

  nav ul li {
    width: 100%;
    text-align: center;
    padding: 15px 0px;
  }

   nav ul li a{
    color: var(--white-color);
   }
}

nav.toggleMenu{
  transform: translateY(0px);
  opacity: 1;
  visibility: visible;
  border-bottom: 3px dotted var(--main-color);
}
/* End Header */

/* Start Home */
.home{
  position: relative;
  top: 180px;
  background: url(../images/hero.png) center bottom/ cover;
  padding: 5% 0px;
  margin-bottom: 11%;
}

@media(max-width: 768px) {
  .home{
    margin-bottom: 30%;
  }
}

.home .container{
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.home .right,
.home .left{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home .right {
  align-items: flex-end;
}

.home .right > img{
  max-width: 300px;
  animation: translatey 2s linear infinite alternate;
}

@keyframes translatey {
  0%{
    transform: translateY(-10px);
  }
  
  50%{
    
    transform: translateY(0px);
  }

  100%{
    transform: translateY(10px);
  }
}

@media(max-width: 715px) {
  .home .right {
  align-items: center;
  padding-block: 15px;
}

.home .right > img {
  animation: translatex 2s linear infinite alternate;
}

@keyframes translatex {
  0%{
    transform: translateX(-20px);
  }
  
  50%{
    
    transform: translateX(0px);
  }

  100%{
    transform: translateX(20px);
  }
}
}

.home .left > div{
  display: flex;
  align-items: center;
  gap: 20px;
}

.home .left > div b{
  font-style:oblique;
}

.home .left  h1{
  font-family: var(--bold);
  font-size: 37px;
  color: var(--dark-color);
  padding-block: 10px;
}

.home .left  h1 span{
  color: var(--main-color);
}

.home .left p{
  color: var(--text-color);
  font-family: var(--medium);
  text-transform: capitalize;
}
.home-btns{
  margin-top: 10px;
}

.home-btns .btn:nth-child(1){
  background: var(--main-color);
}

.home-btns .btn:nth-child(1):hover{
  background: var(--white-color);
  color: var(--main-color);
  border: 1px solid var(--main-color)
} 

.home-btns .btn:nth-child(2):hover{
  background: var(--white-color);
  color: var(--dark-color);
  border: 1px solid var(--dark-color)
} 
/* End Home */

.top-products .container,
.about .container,
.services .container,
.blog .container,
.subscribe .container,
.contact .container{
  margin: auto;
  width: 80%;
}

/* Start Top Products */
.top-products{
  background: #eee;
}

.top-products .container{
  position: relative;
}

.top-products .card{
  background: var(--white-color);
  padding: 10px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, .3);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.top-products .card::after{
  content: "";
  position: absolute;
  background: url(../images/shadow-sm.svg) center / cover;
  bottom: -50px;
  height: 65px;
  left: 10%;
  width: 80%;
  margin: auto;
}

.top-products .card-img{
  height: 250px;
  width: 70%;
  margin: auto;
}

.top-products .card-img img{
  width: 100%;
  height: 90%;
  object-fit: contain;
}

.top-products .slick-slide {
  margin: 0px 20px;
}

.top-products .desc{
  border-top: 1px solid #eee;
  margin-top: 10px;
  padding-top: 20px;
}

.top-products .desc .stars{
  display: flex;
  justify-content: center;
  gap: 3px;
  padding-block: 10px;
}

.top-products .desc h3{
  font-size: 25px;
  font-family: var(--semiBold);
}

.top-products .desc p{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 800;
}
.top-products .desc p span{
  color: green;
}

.top-products .desc p del{
  text-decoration: line-through;
  color: red;
}

.top-products .card-btn{
  display: flex;
  align-items: center;
  border: 1px solid var(--main-color);
  margin: 15px auto;
  border-radius: 5px;
  width: 180px;
  cursor: pointer;
  position: relative;
  z-index: 1
}

.top-products .card-btn::before{
 content: "";
 position: absolute;
 left: 0px;
 top: 0px;
 height: 100%;
 width: 0px;
 background-color: var(--main-color);
 z-index: -1;
 transition:var(--transition);
}

.top-products .card-btn:hover::before{
  width: 100%;
}

.top-products .card-btn:hover span{
  color: var(--white-color);
}

.top-products .card-btn > div{
  background: var(--main-color);
  width: 60px;
  height: 30px;
  display: grid;
  place-items: center;
}

.top-products .card-btn > div img{
  width: 20px;
}

.top-products .card-btn span{
  display: inline-block;
  color: var(--dark-color);
  font-family: var(--semiBold);
  text-transform: capitalize;
  height: 20px;
  line-height: 20px;
  text-align: center;
  width: 100%;
}

@media(max-width: 600px) {
  .arrows{
    display: none;
  }
}

.arrows button{
  width: 30px;
  height: 30px;
  background: var(--main-color);
  color: var(--white-color);
  border-radius: 5px;
  outline: 0;
  border: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  left: -40px;
}

.arrows button:nth-child(2){
  left: unset;
  right: -40px;
}

.arrows button img{
  width: 10px;
}
/* End Top Products */

/* Start About */
.about-content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.about .left > img{
  width: 90%;
}

.about .right{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.about .right h3{
  font-size: 25px;
  font-family: var(--bold);
  font-style: oblique;
}

.about .right p{
  color: var(--text-color);
  line-height: 1.6;
  font-size: 15px;
  font-family: var(--medium);
}
/* End About */

/* Start Services */
.services{
  background: #eee;
}

.service-content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card{
  text-align: center;
  background-color: var(--white-color);
  position: relative;
  padding: 0px 30px 25px;
  margin-top: 50px;
} 

.service-card::after,
.service-card::before{
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 3px;
  height: 0px;
  background: var(--main-color);
  transition: var(--transition);
}

.service-card::after{
  left: unset;
  right: 0px;
}

.service-card:hover::after,
.service-card:hover::before{
  height: 100%;
}

.service-card img{
  position: absolute;
  left: 50%;
  transform: translate(-50%, -45px);
}

.service-card:hover img{
  transform: translate(-50%, -55px);
}

.service-card .desc{
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 70px;
}

.service-card .desc h3{
  font-family: var(--bold);
  font-size: 25px;
}

.service-card .desc p{
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.5;
}
.service-card .desc button{
  width: max-content;
  margin: auto;
}

.service-card:nth-child(2) .desc h3{
  color: var(--main-color);
}

.service-card:nth-child(2) .desc button{
  background: var(--main-color);
}

/* End Services */

/* Start Deals */
.deal{
  background: linear-gradient(rgba(33, 43, 56, 0.9), rgba(33, 43, 56, 0.9)), url(../images/food-table.jpg) center / cover fixed;
}

.deal .sec-title h2{
  color: var(--white-color);
}

.deal .container{
  width: 60%;
  margin: auto;
}

.deal-content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 37px;
}

.deal-card{
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin: 80px 0px 50px;
}

.deal-card::after{
  content: "";
  position: absolute;
  background: var(--dark-color);
  width: 150px;
  height: 150px;
  transform: rotate(135deg);
  z-index: -1;
  border: 5px double var(--main-color);
  outline: 6px double var(--white-color);
  outline-offset: 10px;
}

.deal-card p{
  color: var(--main-color);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 5px;
}

.deal-card span{
  color: var(--white-color);
  font-size: 20px;
  font-weight: 600;
}
/* End Deals */

/* Start Blog */
.blog-content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card{
  position: relative;
  height: 300px;
  perspective: 1000px;
  padding: 20px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, .3);
  overflow: hidden;
}

@media(max-width: 576px){
  .blog-card{
    height: 400px;
  }
}

.blog-card::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px;
  background: linear-gradient(135deg , rgba(16, 8, 8, 0.551), rgba(21, 52, 55, 0.436));
  transition: var(--transition);
  transition-delay: .5s;
  z-index: -1
}

.blog-card:hover{
  box-shadow: none;
}

.blog-card:hover::after{
  height: 100%;
}

.blog-card:hover .blog-desc h3{
  color: var(--main-color);
  transition-delay: 1s;
  
}

.blog-card:hover .blog-desc p{
  color: var(--white-color);
  transition-delay: 1s;
}

.blog-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: left center;
  transform: rotateY(110deg);
  z-index: -2;

}

.blog-card:hover img{
  transform: rotateY(0deg);
}

.blog-desc{
  position: absolute;
  height: 100%;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.blog-desc h3{
  font-size: 25px;
  text-align: center;
}

.blog-desc p{
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-color);
  font-family: var(--semiBold);
}
/* End Blog */

/* Start subscribe */
.subscribe{
  background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
  backdrop-filter: blur(10px);
}

.subscribe-content{
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  align-items: center;
  background: linear-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, .1));
}

.subscribe-content .left img{
  width: 100%;
}

.subscribe-content .right h2{
  font-family: var(--bold);
  font-size: 33px;
}

.subscribe-content .right p{
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-color);
  margin-block: 20px;
}

.subscribe-content form {
  display: flex;
}
.subscribe-content form input{
  height: 40px;
  padding: 0px 5px;
  flex: 3;
  border: 1px solid #eee;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  outline: 0px;
}
.subscribe-content form button{
  flex: 1;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

/* End subscribe */

/* Start Contact */
.contact-content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
}

.contact-info{
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info > div{
  display: flex;
  align-items: center;
  gap: 25px;
}

.contact-info p{
  color: var(--text-color);
  font-size: 14px;
  margin-top: 5px;
}

.contact-info p a{
  color: var(--text-color);
}

.contact .right iframe{
  width: 100%;
  height: 320px;
  border: none;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, .3);
}
/* End Contact */

/* Start Footer */
footer:first-of-type{
  background: #2D333F;
  padding: 30px 5%;
}

.footer-content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  color: var(--white-color);
}

.footer-content > div{
  text-align: center;
}

.footer-content > div h3{
  font-family: var(--semiBold);
  font-size: 28px;
  letter-spacing: 1px;
}

.footer-content > div hr{
  background: var(--main-color);
  height: 2.5px;
  margin-block: 20px;
}

.footer-content > div p{
  color: var(--white-color);
  font-size: 15px;
  margin-bottom: 10px;
  font-family: var(--medium);
  line-height: 1.6;
}

.footer-content > div button{
  background-color: var(--main-color);
}

.footer-content > div ul li{
  margin-bottom: 20px;
}

.footer-content > div:nth-child(2) ul li a,
.footer-content > div:nth-child(3) ul li a{
  color: var(--white-color);
  font-family: var(--main-color);
}

.footer-content > div:nth-child(3) ul li a{
  text-align: left;
  width:130px;
  display: block;
  margin: auto;
}

.footer-content > div ul li:hover a{
  letter-spacing: 1px;
  color: var(--main-color);
}

.footer-content > div:nth-child(3) ul li a img{
  width: 12px;
}

.footer-content > div ul li a span{
  margin-left: 10px;
}

.footer-content .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  column-gap: 10px;
}

.footer-content .gallery div{
  overflow: hidden;
}

.footer-content .gallery img{
  width: 100%;
  object-fit: cover;
}

.footer-content .gallery > div:hover img{
  transform: scale(1.2);
}

footer:last-of-type{
  background: var(--dark-color);
  text-align: center;
  color: var(--white-color);
  padding: 15px 0px;
  font-size: 14px;
}
/* End Footer */

/*  Scroll top button */
.top-btn{
  background: var(--dark-color);
  width: 30px;
  height: 30px;
  border-radius: 5px;
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--white-color);
  animation: upButton 1s linear infinite alternate;
  opacity: 0;
}

@keyframes upButton {
  0%{
    transform: translateY(-5px);
  }
  
  50%{
    
    transform: translateY(0px);
  }

  100%{
    transform: translateY(5px);
  }
}

.top-btn:active{
  transform: scale(0.9);
  background: var(--main-color);
}

.top-btn:hover{
  animation-play-state: paused;
}

/* Loading screen */
.screenLoading{
  width: 100%;
  height: 100vh;
  top: 0px;
  left: 0px;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  z-index: 100;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(10px);
}

.screenLoading img{
  width: 100px;
}

.screenLoading h2{
  color: var(--white-color);
  font-size: 35px;
}

.screenLoading.hide{
  opacity: 0;
  visibility: hidden;
}