@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300&display=swap');

:root{
    --yellow:#FCDD26;
}

*{
    font-family: 'Poppins', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none;
    text-transform: none;
    transition: .3s cubic-bezier(.38,1.15,.7,1.12);
}

*::selection{
    background:#333;
    color:var(--yellow);
}

html{
    font-size: 72.5%;
    overflow-x: hidden;
}

html::-webkit-scrollbar{
    width:1.3rem;
}

html::-webkit-scrollbar-track{
    background:#333;
}

html::-webkit-scrollbar-thumb{
    background:var(--yellow);
}

section{
    padding:1rem 5%;
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    padding:.7rem 2.5rem;
    font-size: 1.5rem;
    border-radius: .5rem;
    color:#333;
    background:var(--yellow);
    position: relative;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    overflow: hidden;
    z-index: 0;
}

.btn::before{
    content: '';
    position: absolute;
    top:0; left:0;
    height: 100%;
    width:100%;
    clip-path: polygon(0 0, 100% 0, 10% 25%, 0 100%);
    z-index: -1;
    background:#444;
    transition: .3s cubic-bezier(.38,1.15,.7,1.12);
}

.btn:hover:before{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.btn:hover{
    color:var(--yellow);
}

.heading{
    text-align: center;
    padding:1rem;
    color:#333;
    text-shadow: 0 .3rem .5rem rgba(0,0,0,.1);
    font-size: 3rem;
    padding-top: 8rem;
}

.heading i{
    padding:0 .5rem;
    color:var(--yellow);
}

header{
    width:100%;
    background:#fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:2rem;
    position: relative;
}

#search-box{
    position: absolute;
    top:100%; left:0;
    width: 100%;
    display: flex;
    align-items: center;
    background:var(--yellow);
    padding:2rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    transform-origin: top;
    transform:scaleY(0);
    opacity: 0;
}

#search-box.active{
    transform:scaleY(1);
    opacity: 1;
}

#search-box #search{
    width:100%;
    padding:1rem;
    text-transform: none;
    font-size: 2rem;
}

#search-box #search::placeholder{
    text-transform: capitalize;
}

#search-box label{
    font-size: 3rem;
    color:#333;
    padding-left: 2rem;
    cursor: pointer;
}

header .logo{
    font-size: 2.5rem;
    color:#333;
}

header .logo i{
    transform:rotate(-65deg);
    color:var(--yellow);
}

header .navbar a{
    color:#333;
    font-size: 1.7rem;
    padding:0 1rem;
}

header .navbar a:hover{
    color:var(--yellow);
}

header .icons div {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    font-size: 2rem;
    background: #f7f7f7;
    color: #130f40;
    border-radius: .5rem;
    margin-left: .3rem;
    cursor: pointer;
    text-align: center;
  }
  
  header .icons div:hover {
    color: #fff;
    background: #27ae60;
  }
/*
header .icons i, header .icons a{
    font-size: 2.5rem;
    color:#333;
    padding-left: 1.5rem;
    cursor: pointer;
}

header .icons i:hover, header .icons a:hover{
    color:var(--yellow);
}
*/
.fa-times{
    transform:rotate(-360deg);
}

#menu{
    font-size: 3rem;
    color:#333;
    cursor: pointer;
    display: none;
}

header.sticky{
    position: fixed;
    top:0; left:0;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    z-index: 1000;
}

.shopping-cart-container {
    position: fixed;
    top: 8.5rem;
    left: 0;
    right: 0;
    z-index: 1000;
    height: calc(100vh - 8.5rem);
    background: #fff;
    overflow-y: scroll;
    padding-bottom: 8rem;
    display: none;
  }
  
  .shopping-cart-container.active {
    display: block;
  }
  
  .shopping-cart-container::-webkit-scrollbar {
    width: 1rem;
  }
  
  .shopping-cart-container::-webkit-scrollbar-track {
    background: #fff;
  }
  
  .shopping-cart-container::-webkit-scrollbar-thumb {
    background: #130f40;
    border-radius: 5rem;
  }
  
  .shopping-cart-container .title {
    font-size: 2.5rem;
    padding: 1rem;
    color: #130f40;
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.2);
    text-align: center;
  }
  
  .shopping-cart-container .products-container {
    border: 0.1rem solid rgba(0, 0, 0, 0.2);
    border-radius: .5rem;
    -webkit-animation: fadeUp .4s linear;
            animation: fadeUp .4s linear;
  }
  
  .shopping-cart-container .products-container .box-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(30rem, 1fr))[auto-fit];
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .shopping-cart-container .products-container .box-container .box {
    border-radius: .5rem;
    background: #f7f7f7;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    position: relative;
  }
  
  .shopping-cart-container .products-container .box-container .box .fa-times {
    position: absolute;
    top: .7rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #130f40;
  }
  
  .shopping-cart-container .products-container .box-container .box .fa-times:hover {
    color: #27ae60;
  }
  
  .shopping-cart-container .products-container .box-container .box img {
    height: 8rem;
  }
  
  .shopping-cart-container .products-container .box-container .box .content h3 {
    font-size: 2rem;
    color: #130f40;
  }
  
  .shopping-cart-container .products-container .box-container .box .content span {
    font-size: 1.5rem;
    color: #666;
  }
  
  .shopping-cart-container .products-container .box-container .box .content span.price {
    color: #27ae60;
    font-size: 1.7rem;
  }
  
  .shopping-cart-container .products-container .box-container .box .content input {
    width: 8rem;
    padding: .5rem 1.2rem;
    font-size: 1.5rem;
    color: #130f40;
    margin: .7rem 0;
  }
  
  .shopping-cart-container .cart-total {
    margin-top: 2rem;
    border: 0.1rem solid rgba(0, 0, 0, 0.2);
    border-radius: .5rem;
    -webkit-animation: fadeUp .4s linear .4s backwards;
            animation: fadeUp .4s linear .4s backwards;
  }
  
  .shopping-cart-container .cart-total .box {
    padding: 1.5rem;
  }
  
  .shopping-cart-container .cart-total .box h3 {
    color: #130f40;
    font-size: 2rem;
    padding-bottom: .7rem;
  }
  
  .shopping-cart-container .cart-total .box h3 span {
    color: #27ae60;
  }
  
 
.header .login-form.active {
    display: block;
    -webkit-animation: fadeIn .4s linear;
            animation: fadeIn .4s linear;
  }
  
  .header .login-form h3 {
    color: #130f40;
    font-size: 2.5rem;
    padding-bottom: .5rem;
  }
  
  .header .login-form .box {
    width: 100%;
    border-bottom: 0.2rem solid #130f40;
    border-width: .1rem;
    padding: 1.5rem 0;
    font-size: 1.6rem;
    color: #130f40;
    text-transform: none;
    margin: 1rem 0;
  }
  
  .header .login-form .remember {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: .5rem;
    padding: 1rem 0;
  }
  
  .header .login-form .remember label {
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
  }
  
  .header .login-form .links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 1rem;
  }
  
  .header .login-form .links a {
    font-size: 1.4rem;
    color: #27ae60;
  }
  
  .header .login-form .links a:hover {
    color: #130f40;
    text-decoration: underline;
  }
  
  /* Űrlap bezárása */
/*
  .login-form #close-login-form{
    position: absolute;
    top:1.5rem; right:2.5rem;
    font-size: 5rem;
    color:var(--black);
    cursor: pointer;
}

/* Regisztrálás */

.regiszter-form-container {
    position: fixed;
    top: 8.5rem;
    left: 0;
    right: 0;
    z-index: 1000;
    height: calc(100vh - 8.5rem);
    background: #fff;
    padding: 0 2rem;
    display: none;
  }
  
  .register-form-container.active {
    display: block;
  }
  
  .register-form-container form {
    margin: 2rem auto;
    max-width: 40rem;
    -webkit-box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.05);
            box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.05);
    border: 0.1rem solid rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: .5rem;
    -webkit-animation: fadeUp .4s linear;
            animation: fadeUp .4s linear;
  }
  
  .register-form-container form h3 {
    padding-bottom: 1rem;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #130f40;
  }
  
  .register-form-container form .box {
    margin: .7rem 0;
    border-radius: .5rem;
    background: #f7f7f7;
    padding: 1rem 1.2rem;
    font-size: 1.6rem;
    color: #130f40;
    text-transform: none;
    width: 100%;
  }
    
  .register-form-container form .btn {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
  }
  
  .register-form-container form p {
    padding-top: 1rem;
    font-size: 1.5rem;
    color: #666;
  }
  
  .register-form-container form p a {
    color: #27ae60;
  }
  
  .register-form-container form p a:hover {
    color: #130f40;
    text-decoration: underline;
  }

  /* Űrlap bezárása */
/*
  .register-form-container #close-register-form{
    position: absolute;
    top:1.5rem; right:2.5rem;
    font-size: 5rem;
    color:var(--black);
    cursor: pointer;
}*/

/*
.register-form-container{
  position: fixed;
  top:-105%; left:0;
  height:100%;
  width:100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:rgba(255,255,255,.9);
  z-index: 10000;
}

.register-form-container.active{
  top:0;
}

.register-form-container form{
  margin:2rem;
  text-align: center;
  padding:2rem;
  width:40rem;
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
  border:var(--border);
  background: #fff;
}

.register-form-container form .buttons{
  display: flex;
  gap:1rem;
  align-items: center;
}

.register-form-container form .btn{
  display: block;
  width:100%;
  margin:.5rem 0;
}

.register-form-container form .box{
  margin:.7rem 0;
  width: 100%;
  font-size: 1.6rem;
  color:var(--black);
  text-transform: none;
  border:var(--border);
  padding:1rem 1.2rem;
  border-radius: .5rem;
}

.register-form-container form p{
  padding:1rem 0;
  font-size: 1.5rem;
  color:var(--light-color);
}

.register-form-container form p a{
  color:var(--yellow);
  text-decoration: underline;
}

.register-form-container form h3{
  padding-bottom:1rem;
  font-size: 2.5rem;
  color:var(--black);
  text-transform: uppercase;
}

/* Űrlap bezárása */
/*
.register-form-container #close-register-form{
  position: absolute;
  top:1.5rem; right:2.5rem;
  font-size: 5rem;
  color:var(--black);
  cursor: pointer;
}
  */
.home{
    min-height: 75vh;
    background:url(../images/home-bg.webp) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.home .content span{
    color:#333;
    font-size: 2rem;
}

.home .content h3{
    color:#333;
    font-size: 5.5rem;
}

.home .content .btn{
    background:#fff;
}

.category .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:1rem 0;
}

.category .box-container .box{
    width:25rem;
    margin:2rem;
    text-align: center;
}

.category .box-container .box img{
    width: 100%;
}

.category .box-container .box h3{
    color:#333;
    font-size: 2rem;
    padding:1rem 0;
}

.featured .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:1rem 0;
}

.featured .box-container .box{
    display: flex;
    align-items: center;
    justify-content: center;
    padding:1rem;
    margin:2rem;
    flex:1 1 40rem;
    position: relative;
    border-radius: .5rem;
    border:.1rem solid rgba(0,0,0,.1);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

.featured .box-container .box img{
    width: 20rem;
}

.featured .box-container .box .price{
    position: absolute;
    top:1rem; right:1rem;
    height:6rem;
    width:6rem;
    text-align: center;
    line-height: 6rem;
    border-radius: 50%;
    background:var(--yellow);
    color:#333;
    font-size: 1.5rem;
}

.featured .box-container .box .content{
    padding:1rem;
}

.featured .box-container .box .content .stars i{
    color:var(--yellow);
    font-size: 1.5rem;
}

.featured .box-container .box .content h3{
    font-size: 2rem;
    color:#333;
    padding-top: .5rem;
}

.featured .box-container .box .content p{
    font-size: 1.5rem;
    color:#666;
    padding: 1rem 0;
}

.deal{
    min-height: 75vh;
    background:url(../images/deal-bg.webp) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
}

.deal span{
    color:#eee;
    font-size: 2rem;
}

.deal h3{
    color:#fff;
    font-size: 4.5rem;
    padding:1rem 0;
    width:45rem;
    text-align: center;
}

.products .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.products .box-container .box{
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    border:.1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    padding:1rem;
    margin:1.5rem;
    flex:1 1 30rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products .box-container .box img{
    width:15rem;
}

.products .box-container .box .content{
    padding:1rem;
}

.products .box-container .box .content .stars i{
    font-size: 1.5rem;
    color:var(--yellow);
}

.products .box-container .box .content h3{
    font-size: 2rem;
    color:#333;
    padding:.5rem 0;
}

.products .box-container .box .content .price{
    font-size: 2rem;
    color:#666;
}

.products .box-container .box .content .price span{
    font-size: 1.5rem;
    text-decoration: line-through;
}

.offer .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.offer .box-container .box{
    flex:1 1 40rem;
    margin:2rem;
    position: relative;
}

.offer .box-container .box img{
    width:100%;
}

.offer .box-container .box .content{
    position: absolute;
    top:50%; left:10%;
    transform:translateY(-50%);
    color:#333;
}

.offer .box-container .box .content span{
    font-size: 2rem;
}

.offer .box-container .box .content h3{
    font-size: 3.5rem;
}

.offer .box-container .box:first-child .content .btn{
    background:#fff;
}

.offer .box-container .box:last-child .content{
    color:#fff;
}

.contact{
    background:url(../images/contact-bg.webp) no-repeat;
    background-size: cover;
    background-position: center;
    padding-bottom: 7rem;
}

.contact .heading i{
    color:#fff;
}

.contact form{
    padding:2rem 10%;
    text-align: center;
}
 
.contact form .inputBox{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact form .inputBox input, .contact form textarea{
    padding:1rem 2rem;
    margin:1rem 0;
    width:49%;
    font-size: 1.7rem;
    border-radius: .5rem;
    text-transform: none;
}

.contact form .inputBox input::placeholder, .contact form textarea::placeholder{
    text-transform: capitalize;
}

.contact form textarea{
    height: 15rem;
    resize: none;
    width:100%;
}

.contact form .btn{
    cursor: pointer;
    background:#fff;
}

.contact form .btn:hover{
    background:#333;
}

.footer .share{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:1rem 0;
}

.footer .share a{
    height:5rem;
    width: 5rem;
    line-height: 5rem;
    border-radius: 50%;
    margin:1rem;
    font-size: 2rem;
    text-align: center;
    padding:0;
}

.footer .credit{
    padding: 2rem 1rem;
    font-size: 2rem;
    border-top: .1rem solid rgba(0,0,0,.1);
    text-align: center;
    color:#333;
}

.footer .credit span{
    color:var(--yellow);
}















/* media queries  */

@media (max-width:991px){

    html{
        font-size: 55%;
    }

    #menu{
        display: block;
    }

    header .navbar{
        position: absolute;
        top:100%; left:0;
        width:100%;
        background:#fff;
        text-align: center;
        padding:2rem;
        z-index: 1000;
        border-top: .1rem solid rgba(0,0,0,.1);
        transform-origin: top;
        transform:scaleY(0);
        opacity: 0;
    }

    header .navbar a{
        font-size: 2rem;
        padding:1.5rem;
        display: block;
    }

    header .navbar.nav-toggle{
        transform:scaleY(1);
        opacity: 1;
    }

    section{
        padding:1rem 3%;
    }

    .home{
        background-position: left;
    }

    .home .content h3{
        font-size: 4.3rem;
    }

    .featured .box-container .box{
        flex-flow: column;
    }

    .featured .box-container .box img{
        width:100%;
    }

    .products .box-container .box{
        flex-flow: column;
    }

    .products .box-container .box img{
        width:100%;
    }

    .products .box-container .box .content{
        text-align: center;
    }

    .offer .box-container .box .content h3{
        font-size: 2.5rem;
    }

    .contact form{
        padding:2rem;
    }

    .contact form .inputBox input{
        width:100%;
    }

}

@media (max-width:400px){

    html{
        font-size: 50%;
    }

    .heading{
        font-size: 2.2rem;
    }

    .home{
        justify-content: center;
    }

    .home .content{
        text-align: center;
    }

    .category .box-container .box{
        width:100%;
    }

    .deal h3{
        width:auto;
        font-size: 4rem;
    }

    .offer .box-container .box .content span{
        font-size: 1.5rem;
    }

}