@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root{
    --main-color: #2f78de;
    --box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.5);
}

*{
    font-family: "Nunito", serif;
    border: none;  outline: none;
    margin: 0; padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    padding-top: 7rem;
    scroll-behavior: smooth;
}

::-webkit-scrollbar{
    width: 1rem;
}

::-webkit-scrollbar-track{
    background: #444;
}

::-webkit-scrollbar-thumb{
    border-radius: .5rem;
    background: var(--main-color);
}

body{
    background: #bbb;
}

section{
    padding: 2rem 9%;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3rem;
    font-size: 1.7rem;
    border-radius: .5rem;
    background: #666;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover{
    background: var(--main-color);
}

.heading{
    text-align: center;
    padding-bottom: 2rem;
    color: #fff;
    text-transform: uppercase;
    font-size: 4rem;

}

.heading span{
    color: var(--main-color);
    text-transform: uppercase;
}

.header{
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 9%;
    box-shadow: var(--box-shadow);
    
}

.header .logo{
    font-size: 2.5rem;
    color: #fff;
    font-weight: bolder;
}

.header .logo span{
    color: var(--main-color);
}

.header .navbar a{
    font-size: 1.7rem;
    color: #fff;
    margin-left: 1rem;
}

.header .navbar a:hover{
    color: var(--main-color);
}

.header .fa-bars{
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    display: none;
}

.home .content {
    padding-top: 6rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 80rem;
}

.home .content h3{
    font-size: 4.5rem;
    color: #fff;
    text-transform: uppercase;
}

.home .content h3 span{
    color: var(--main-color);
    text-transform: uppercase;
}

.home .home-slider .swiper-slide{
    overflow: hidden;
    border-radius: .5rem;
    height: 50rem;
    width: 35rem;
}

.home .home-slider .swiper-slide img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.marketeru{
    position: fixed;
    bottom: 5rem; right: 5rem;
    z-index: 10000;
}

.marketeru .content i{
    width: 4.5rem;
    line-height: 4.5rem;
    height: 4.5rem;
    color: #ddd;
    background-color: #222;
    cursor: pointer;
    z-index: 10000;
    border: 1px solid #fff;
    border-radius: 5rem;
    margin-right: 1rem;
}

.marketeru .content div{
    font-size: 1.7rem;
    padding: 1rem 3rem;
    
    
    border-radius: .5rem;
    text-align: center;
    color: #ddd;
    background-color: #222;
    
    cursor: pointer;
    z-index: 10000;
    border: 1px solid #fff;

}

.marketeru .content a{
    color: #ddd;
}

.services .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 1.5rem;
}

.services .box-container .box{
    border-radius: .5rem;
    background: #333;
    text-align: center;
    padding: 2.5rem;
}

.services .box-container .box i{
    height: 6rem;
    width: 6rem;
    line-height: 6rem;
    border-radius: 50%;
    font-size: 2.5rem;
    background: var(--main-color);
    color: #fff;
}

.services .box-container .box h3{
    font-size: 2rem;
    color: #fff;
    padding: 1rem 0;
}

.services .box-container .box p{
    font-size: 1.4rem;
    color: #eee;
    line-height: 1.8;
}

.about .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.about .row .image{
    flex: 1 1 45rem;
    padding: 1rem;
}


.about .row .image img{
    width: 100%;
    border-radius: .5rem;
    border: 1rem solid #333;
}

.about .row .content{
    flex: 1 1 45rem;
}

.about .row .content h3{
    font-size: 3.5rem;
    color: #fff;
}

.about .row .content p{
    font-size: 1.5rem;
    color: #eee;
    padding: 1rem 0;
    line-height: 2;
}

.gallery .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 1.5rem;
}

.gallery .box-container .box{
    position: relative;
    border: 1rem solid #333;
    border-radius: .5rem;
    height: 25rem;
    overflow: hidden;
    cursor: pointer;
}

.gallery .box-container .box img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.gallery .box-container .box:hover img{
    transform: scale(1.1);
    filter: grayscale();
}

.gallery .box-container .box h3{
    position: absolute;
    top: -10; right: 0; left: 0;
    background: #333;
    color: #fff;
    padding-bottom: 1rem;
    font-size: 2rem;
    text-align: center;

}

.gallery .box-container .box:hover h3{
    top: 0;
}



.gallery .box-container .box .iconos{
    position: absolute;
    bottom: -10; right: 0; left: 0;
    background: #333;
    padding-top: 1rem;
    text-align: center;

}

.gallery .box-container .box:hover .iconos{
    bottom: 0;
    
}

.gallery .box-container .box .iconos a{
    font-size: 2rem;
    color: #fff;
    margin: .5rem 1rem;
}

.gallery .box-container .box .iconos a:hover{
    color: var(--main-color);
}

.price .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
    gap: 1.5rem;
}

.price .box-container .box{
    border-radius: .5rem;
    background: #333;
    text-align: center;
    padding: 2rem 0;
}

.price .box-container .box:hover{
    transform: scale(1.03);
}

.price .box-container .box .title{
    background: var(--main-color);
    color: #fff;
    font-size: 2rem;
    padding: 1.5rem 0;
}

.price .box-container .box .precio{
    color: #fff;
    font-size: 4rem;
    padding-top: 1.5rem;
}

.price .box-container .box ul{
    list-style: none;
    padding: 1rem 0;
}

.price .box-container .box ul li{
    color: #eee;
    font-size: 1.5rem;
    padding: 1rem 0;
}

.price .box-container .box li i{
    font-size: 1.5rem;
    color: var(--main-color);
    padding-right: .5rem;
}

.review .review-slider{
    overflow-x: hidden;
}

.review .box{
    border-radius: .5rem;
    background: #333;
    padding: 2rem;
    position: relative;
}

.review .fa-quote-right{
    position: absolute;
    top: 2rem; right: 2rem;
    color: var(--main-color);
    font-size: 5rem;
} 

.review .box .user{
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.review .box .user img{
    height: 7rem;
    width: 7rem;
    object-fit: cover;
    border-radius: 50%;
}
.review .box .user .user-info h3{
    font-size: 2rem;
    color: #fff;
}

.review .box .user .user-info span{
    color: #eee;
    font-size: 1.5rem;
}

.review .box p{
    line-height: 2;
    padding: .5rem 0;
    color: #eee;
    font-size: 1.5rem;
}

.contact form{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
}

.contact form .inputBox{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .inputBox input, 
.contact form textarea{
    width: 100%;
    background: #333;
    border-radius: .5rem;
    padding: 1rem;
    margin: .7rem 0;
    font-size: 1.5rem;
    color: #fff;
    text-transform: none;

}

.contact form .inputBox input::placeholder, 
.contact form textarea::placeholder{
    color: #eee;
    text-transform: capitalize;
}

.contact form .inputBox input:focus, 
.contact form textarea:focus{
    background: #444;
}

.contact form .inputBox input{
    width: 49%;
}

.contact form textarea{
    resize: none;
}

.footer{
    background: #111;
}

.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
    gap: 1.5rem;
}

.footer .box-container .box h3{
    font-size: 2.5rem;
    padding: 1rem 0;
    color: #fff;
}

.footer .box-container .box a{
    display: block;
    color: #eee;
    font-size: 1.5rem;
    padding: 1rem 0;
}

.footer .box-container .box a i{
    padding-right: 0.5rem;
    color: var(--main-color);
}

.footer .box-container .box a:hover i{
    padding-right: 1.5rem;
    color: #fff;
}

.footer .credit{
    text-align: center;
    border-top: 1rem solid #222;
    color: #fff;
    padding: 2rem;
    padding-top: 2.5rem;
    margin-top: 1rem;
    font-size: 2.5rem;
}

.footer .credit span{
    color: var(--main-color);
}

.theme-toogler{
    position: fixed;
    top: 10rem; right: -20rem;
    background: #333;
    z-index: 1000;
    width: 20rem;
    text-align: center;
}

.theme-toogler.active{
    right: 0;
}

.theme-toogler h3{
    color: #fff;
    padding: 1rem 0;
    font-size: 2rem;
}

.theme-toogler .buttons{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
}

.theme-toogler .buttons div{
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    cursor: pointer;
}

.theme-toogler .toogle-btn{
    position: absolute;
    top: 0; left: -5.9rem;
    padding: 1.3rem 1.5rem;
    background: #333;
    cursor: pointer;

}

.theme-toogler .toogle-btn i{
    color: #fff;
    font-size: 3rem;
    animation: spin 4s linear infinite;
}

@keyframes spin{
    0%{
        transform: rotate(360deg);
    }
}

/* queries media */
@media (max-width:991px){

    html{
        font-size: 55%;
    }

    .header{
        padding: 1.5rem 2rem;
    }

    .section{
        padding: 2rem;
    }
}

@media (max-width:768px){
    .header .fa-bars{
        display: initial;
    }

    .header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #333;
        border-top: .1rem solid #222;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar a{
        display: flex;
        background: #222;
        border-radius: .5rem;
        margin: 1.3rem;
        padding: 1.3rem;
        font-size: 2rem;
        
    }

    .fa-xmark{
        transform: rotate(180deg);
    }

    .home .content {
        padding-top: 1rem;
    }

    .home .content h3{
        font-size: 3rem;
    }

    .contact form .inputBox input{
        width: 100%;
    }
}

@media (max-width:450px){
    html{
        font-size: 50%;
    }

    .home .home-slider .swiper-slide{
        width: 27rem;
    }

    
}