@import url("root.css");
html {
    font-size: 62.5%; /* 1 rem = 10px */ 
}
*, *:before, *:after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: var(--fuente);
    font-size: 1.6rem;
    line-height: 1.5;
    min-height: 100vh;
}

/*Globales*/



/* HEADER*/
header {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    padding: 20px 80px;
    height: 80px;
    align-items: center;
    
    justify-content: space-around;
    transition:  0.5s;
    
}

header.down{
    background: var(--color1);
    box-shadow:  1px 9px 20px -5px rgba(0, 0, 0, 0.59);
    padding: 15px 80px; 
}

header .logo{
    position: relative;
    color: var(--color3);
    font-weight: bold;
    font-size: 2em;
    letter-spacing: 2px;
    transition: 0.7ms;
    text-decoration: none;
}

header .brand img{
    height: 60px;
    width: 150px;
    transition: 0.3s;

}

header .brand img:hover{
    background-color:var(--color4);
    border-radius: 30px;
}

header .menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}


header .menu ul{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .menu ul li{
    list-style: none;
}

header .menu a{
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 20px;
    margin: 0 30px;
    text-decoration: none;
    color: var(--color3);
    letter-spacing: 2px;
    font-weight: 500;
    transition: 0.3s;
    padding: 7px 12px;
    transition-property: color, background;
}

header .menu a:hover{
    color: var(--color2);
    background-color: var(--color4);

}

header .btn{
    color: var(--color3);
    font-size: 25px;
    cursor: pointer;
    display: none;
}

/*Section main*/

.titulo{
    background-image: url("/img/mejores-fondos-de-pantalla.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;    width: 100%;
    height: 20vh;
    justify-content: right;
    margin-bottom: none;
    border-bottom: 4px solid var(--color3);
}

.titulo h1{
    color: var(--blanco);
    padding-top: 6%;
    text-transform: uppercase;
    color: var(--blanco);
    text-align: right;
    padding-bottom: none;
    
}

.main{
    width: 100%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
}

.main .gallery .box{
    align-items: center;
    margin-left: 2%;
    margin-bottom: 2%;
    float: left;
    width: 30%;
}

.main .gallery img{
    width: 100%;
    height: auto;
}

.main .gallery h2{
    font-size: 20px;
    text-transform: uppercase;
    color: var(--color5);
    text-align: center;
    background-color: #6a665a36;
}

a{
    text-decoration: none;
}

/*Formulario de contacto*/
.is-invalid{
    color: red;
    font-size: 10px;
    font-weight: bold;
}

.section-two{
    position: relative;
    width: 100%;
    height: fit-content;
    display: grid;
    place-items: center;
    padding: 20px;
    padding-top: 80px;
    box-shadow:  1px 9px 20px 10px rgba(0, 0, 0, 0.59);  
    background-image: url("/img/pattern3.png");
}

.section-two .contactForm{
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    padding: 5%;
    width: 90%;
    height: fit-content;
    background-color: var(--color4);
    box-shadow: 1px 9px 20px -5px rgba(0, 0, 0, 0.59);
    border-radius: 30px;
}

.section-two .contactForm .form{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 85%;
    height: fit-content;
    margin-left: 10%;
}

.section-two .contactForm .form form{
    width: 100%;
    height: 100%;
}

.section-two .contactForm .form .texto h2{
    color: var(--color1);
    font-size: 1.5em;
    margin-bottom: 10px;

}

.section-two .contactForm .form .texto p{
    color: var(--color2);
    text-align: justify;
    -webkit-text-stroke: 0.6px var(--color5);
    font-size: 1em;
    margin-bottom: 20px;
}

.section-two .contactForm .form form .inputBox{
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.section-two .contactForm .form form .inputBox label{
    color: var(--color1);
    width: 100%;
    text-align: left;
    font-weight: 700;
}

.section-two .contactForm .form form .inputBox input[type="text"],
.section-two .contactForm .form form .inputBox input[type="email"],
.section-two .contactForm .form form .inputBox input[type="tel"],
.section-two .contactForm .form form .inputBox textarea{
    border: none;
    width: 90%;
    height: 10%;
    background: #6a665a;
    padding: 10px;
    border-radius: 15px;
    color: var(--color1);
}

.section-two .contactForm .form form .inputBox input[type="text"]:focus,
.section-two .contactForm .form form .inputBox input[type="email"]:focus,
.section-two .contactForm .form form .inputBox input[type="tel"]:focus,
.section-two .contactForm .form form .inputBox textarea:focus{
    outline: 2px solid var(--color1);
}

.form-termsAndCond [type="checkbox"]{
    display: none;
}
.form-termsAndCond [type="checkbox"]:checked + label::before{
    background-color: var(--color5);
    transition: 0.5s;
    transform: rotate(180deg);
}
.form-termsAndCond{
    margin: 20px;
    margin-top: 0px;
    margin-left: 15px;
    font-size: 12px;
    position: relative;
}
.form-termsAndCond label::before {
    content: "";
    width: 8px;
    height: 8px;
    border: 1px solid var(--color5);
    position: absolute;
    top: 4px;
    left: -14px;
}

.section-two .contactForm .form form  input[type="submit"]{
    background: var(--color1);
    color: var(--color4);
    display: inline-block;
    text-align: center;
    width: 250px;
    padding: 10px;
    border-radius: 15px;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow:  1px 9px 20px -5px rgba(0, 0, 0, 0.59);
    transition: 0.3s;
}

.section-two .contactForm .form form  input[type="submit"]:hover{
    background-color: var(--blanco);
    color: var(--color2);
}

.form-termsAndCond a{
    color: inherit;
    text-decoration: none;
    font-weight: 500;

}
.section-two .contactForm .info {
    width: 70%;
    padding: auto;
    height: fit-content;
}

.section-two .contactForm .info .llamanos {
    display: flex;
    justify-content: center;
    margin-top: 5%; 
    margin-bottom: 5%;   
}

.section-two .contactForm .info .numero{
    font-size: 5em;
    font-weight: bold;
    width: 100%;
    color: var(--color3);
    text-shadow:2px 2px 4px var(--color5)
    
}

.section-two .contactForm .info .social-media{
    font-size: 5em;
    float: left;
    margin-right: 10px;
    color: var(--color3);
    text-shadow: -2px -2px 4px var(--color5);
    
}

.section-two .contactForm .info .social-media a{
    color: inherit;
    
    transition: scale(5%) 2s
    
}

.section-two .contactForm .info .social-media a:hover{
    color: var(--color2);
    ;
}
.footer .grupo-2 .autor{
    font-size: 10px;
    text-align: right;
}

/*Footer*/

.footer{
    width: 100%;
    background-color: var(--color1);
}

.footer .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 50px;
    padding: 45px 0px;
}

.footer .grupo-1 .box h5{
    color: var(--color4);
    text-transform: uppercase;
    margin-bottom: 25px;
    font-size: 20px;
}

.footer .grupo-1 .box p{
    margin-bottom: 10px;
    color: var(--color2);
}

.footer .grupo-1 .contacto{
    color: var(--color3);
    display: inline-block;
}

.footer .grupo-1 .contacto ul #icono{
    display: flex;
    margin-top: 1em;
    list-style: none;
    margin-bottom: 1em;
    align-items: center;
    gap: 10px;
}

.footer .grupo-1 .contacto ul #icono li{
    text-decoration: none;
}

.footer .grupo-1 .enlaces {
    margin-top: 1em;
    list-style: none;
    margin-bottom: 1em;
    align-items: center;
    gap: 10px;
    
}

.footer .grupo-1 .enlaces li{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-size: 1em;
}

.footer .grupo-1 .enlaces a{
    text-decoration: none;
    color: var(--color2);
    margin-top: 1em;
    margin-bottom: 1em;
}


.footer .grupo-1 .box .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: var(--color3);
    margin-right: 10px;
    text-align: center;
    font-size: 2em;
    transition: all 300ms ease;
}

.footer .grupo-1 .box .red-social a:hover{
    color: var(--color2);
}

.footer .grupo-2{
    background-color: var(--color5);
    padding: 15px 10px;
    text-align: center;
    color: var(--color4);
}

.footer .grupo-2 small{
    font-size: 12px;
}

.footer .grupo-2 .autor{
    font-size: 10px;
    text-align: right;
}

@media screen and (max-width: 1024px) {

    header, header.down{
        padding: 20px 40px;
    }
    
    header .btn{
        display: block;
    }
    
    header .menu{
        position: fixed;
        background-color: var(--color1);
        min-width: 33px;
        height: 100vh;
        top: 0;
        right: -100%;
        transition: 0.5s;
        transition-property: right;
    }
    
    header .menu ul{
        flex-direction: column;
    }
    
    header .menu.activate{
        right: 0;
    }
    
    header .menu .close-btn{
       position: absolute;
       top:0;
       left: 0;
       margin: 25px; 
    }
    
    header .menu a{
        display: block;
        font-size: 20px;
        margin: 20px;
        padding: 0 15px;
    }
    
    nav, article {
        width: 100%;
        height: auto;
    }
    .titulo{
        height: fit-content;
    }
    .titulo h1{
        padding-top: 10%;
        text-align: center;
    }
    
    .main .gallery .box{
        margin-left: 3%;
    }
    .main .gallery .box h2{
        font-size: 1em;
    }
      
    .section-two{
        width: 100%;
        height: fit-content;
        }
    .section-two .contactForm{
        width: 90%;
        height: fit-content;
        margin-top: 10px;
        margin-bottom: 10px;
        grid-template-columns: repeat(auto-fit, minmax( 300px, 1fr));
    }
    
    .section-two .contactForm .form p{
        width: 70%;
        margin-bottom: -3%;
    }
    
    .section-two .contactForm .info .numero{
        margin-top: 0.2em;
        width: 70%;
        margin-bottom: 0.5em;
        font-size: 3.3em;
    }
    .footer .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1,1fr);
        grid-gap: 30px;
        padding: 35px 0px;
    }
    
    }
 
    /*Lapotops y tablets*/
    
    @media only screen and (max-width:768px){
        .titulo h1{
            padding-top: 15%;
            text-align: center;
        }
        
        .main .gallery .box{
            margin-left: 3%;
            width: 30%;
        }
        .main .gallery .box h2{
            font-size: 0.6em;
        }
        .section-two{
            height: fit-content;
        }
        .section-two .contactForm{
            margin-top: 10%;
            height: fit-content;
        }
        .section-two .contactForm .info{
            width: 100%;
            height: fit-content;
        }
    
        .section-two .contactForm .info .numero{
            font-size: 4em;
        }
    }
    /*Celulares*/
    
    @media (max-width:600px){
        .titulo h1{
            padding-top: 25%;
            text-align: center;
        }
        .main .gallery .box{
            width: 100%;
            margin-left: 0%;
            margin-bottom: 10%;
        }
        .main .gallery .box h2{
            font-size: 1em;
        }
        .main .gallery .box img{
            width: 100%;
        }
        .section-two{
            height: fit-content;
        }
    
        .section-two .contactForm {
            margin-left: 0px;
            width: 100%;
            height: fit-content;
        }
        .section-two .contactForm .info{
            width: 70%;
            
        }
        .section-two .contactForm .info h2{
            font-size: 1em;
        }
    
        .section-two .contactForm .info .numero{
            font-size: 2em;
            margin-bottom: 0.5em;
    
        }
        .section-two .contactForm .info .social-media{
            font-size: 2.5em;
        }
    }
    @media (max-width:375px){
        
        .main .gallery {
            width: 70%;   
        }
        .main .gallery .box{
            width: 100%;
            
        }
        .main .box img{
            width: 100%;
        }
        .section-two {
            width: 100%;
            height: fit-content;
        }
        .section-two .contactForm{
            width: 80%;
            height: fit-content;
            margin-top: 20%;
        }
    
        .section-two .contactForm .form .texto h2{
            font-size: 1.5em;
        }
        .section-two .contactForm .form .texto p{
            width: 70%;
            height: fit-content;
            font-size: 0.8em;
        }
        .section-two .contactForm .form{
            width: 70%;
            
        }
        .section-two .contactForm .info{
            width: 70%;
        }
        .section-two .contactForm .info h2{
            font-size: 1em;
        }
        .section-two .contactForm .info .numero{
            font-size: 1.8em;
        }
       
        .section-two .contactForm .form form .inputBox input[type="text"],
        .section-two .contactForm .form form .inputBox input[type="email"],
        .section-two .contactForm .form form .inputBox input[type="tel"],
        .section-two .contactForm .form form .inputBox textarea{
            width: 70%;
        }
    
        .section-two .contactForm .form form  input[type="submit"]{
        width: 70%;
        }
    }
    
    @media (max-width:280px){
        .titulo h1{
            padding-top: 30%;
            font-size: 1em;
            text-align: center;
        }
        .main{
            padding: 10%;
        }
        .main .gallery .box{
            width: 100%;
            margin: 0 auto;
            margin-left: 1%;
        }
        
        .main .gallery .box img{
            width: 100%;
        }
        .main .gallery .box h2{
            font-size: 1em;
            text-align: center;
            margin-bottom: 10%;
            margin-top: -3%;
        }
        .is-invalid{
            width: 70%;
            text-align:justify;
        }
        .section-two{
            width: 100%;
            height: 180vh;
        }
        .section-two .contactForm{
            width: 80%;
            height: 150vh;
            margin: 0 auto;
            padding-top: 15%;
            margin-left: -3px;
        }
        .section-two .contactForm .form .texto h2{
            font-size: 1.5em;
        }
        .section-two .contactForm .form .texto p{
            width: 70%;
            font-size: 0.8em;
        }
        .section-two .contactForm .form form .inputBox input[type="text"],
        .section-two .contactForm .form form .inputBox input[type="email"],
        .section-two .contactForm .form form .inputBox input[type="tel"],
        .section-two .contactForm .form form .inputBox textarea{
            width: 70%;
    
        }
    
        .section-two .contactForm .form form  input[type="submit"]{
        width: 70%;
        }
        .section-two .contactForm .info{
            margin: 0 auto;
            margin-top: -15%;
            margin-left:20px ;
        }
        .section-two .contactForm .info h2{
            font-size: 0.8em;
        }
        .section-two .contactForm .info .numero{
            font-size: 1.5em;
        }
    }