@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

:root {
    --fuentePrincipal: "Roboto Mono", monospace;
    --primario: #DAEAF0;
    --primarioOscuro: #666667;
    --secundarioOscuro: rgb(233, 287, 2);
    --blanco: #fff;
    --negro: #000;
    --gris: #9b9b9b;
    --sobraTexto: rgba(255, 255, 255, .75);
    --fondoBody: rgba(255, 255, 255, .3);
    --sombraCard: #EBEBEB;

}


html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}


/**Globales**/


ul,
li {
    list-style: none;
    font-size: 2rem;
    line-height: 4rem;
    padding-left: 1rem;
}


img {
    min-width: 100%;
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto;
}

h1,
h2,
h3 {
    text-align: center;
    color: var(--secundario);
    font-family: var(--fuentePrincipal);
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    font-size: 2rem;
}

a {
    text-decoration: none;
}

/**Globales**/

/**utilidades**/
.centrar__texto {
    text-align: center;
}

/**utilides**/



/* header */

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    color: var(--blanco);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar h1 {
    font-size: 2rem;
}

.navbar a {
    font-family: var(--fuentePrincipal);
    font-size: 2rem;
    padding: 1rem;
    color: var(--blanco);
}

.navbar a:hover {
    color: var(--primarioOscuro);
}

.img_logo{
    padding-top: .5rem;
    padding-bottom: .5rem;
    width: 35rem;
    height: 4rem;
}

@media (max-width:640px) {
    .navbar {
        justify-content: center;
    }

    .navbar a {
        display: none;
        justify-content: space-around;
        text-align: center;
        color: var(--blanco);
    }
}


/*hero*/

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
}

.content {
    max-width: 49rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: auto;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video video {
    min-width: 100%;
    min-height: 100%;
}

.hero-overlay {
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    background: #f6d5aa;
    z-index: 1;
    opacity: .5;
}

.hero-content {
    z-index: 2;
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 0;
}

.hero-content p {
    font-size: 1.5rem;
    display: block;
    padding-bottom: 2rem;
}

.btn {
    background: #c44569;
    color: #fff;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    text-decoration: none;
}

@media (max-width:960px) {
    .content {
        padding: 0 3rem 0 3rem;
    }

    .hero-content h1 {
        font-size: 40px;
        margin-bottom: 0;
    }
}

/*hero*/


/*faq*/

.faq {
    height: 60rem;
    padding-top: 15rem;
    padding-bottom: 15rem;
    padding-left: 2rem;
    padding-right: 2rem;
    line-height: 4rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.faq h2 {
    padding-bottom: 2rem;
}

@media (max-width:960px) {
    .faq {
        height: 100rem;
        flex-direction: column;

    }
}


/*faq*/

/*inicia estilos about*/

.about {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/assets/img/about_img.svg);
    height: 80rem;
}

.about_texto {
    height: 80rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    padding-right: 10rem;
    padding-left: 10rem;
    padding-bottom: 5rem;
    font-weight: 900;
}

.about_texto h2 {
    padding-bottom: 4rem;
    font-size: 4rem;
    font-weight: lighter;
}


@media (max-width:960px) {
    .about_texto {
        padding: 0 3rem 0 3rem;
    }
}

/*termina estilos about*/


/*galeria*/
.galeria {
    padding-top: 10rem;
    padding-bottom: 10rem;
}


.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
    padding: 2rem;
    gap: 1rem;
}

.gallery__item {
    position: relative;
}

.gallery__item:hover {
    transform: scale(1.1);
    transition: all.3s ease-in-out;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    z-index: 1;
    opacity: 0.8;
    overflow: hidden;
    transition: all.3s ease-in-out;

}

.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__title {
    position: absolute;
    bottom: 0;
    color: var(--blanco);
    /* background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 1)); */
    width: 100%;
    margin: 0;
    font-size: 1.5rem;
    padding: 1rem;
}

.gallery__item:nth-child(4) {
    grid-column-start: span 2;
    
}

.gallery__item:nth-child(5) {
    grid-row-start: span 2;
}

.gallery__item:nth-child(9) {
    grid-column-start: span 2;
}


@media (min-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery__item:nth-child(3) {
        grid-column-start: span 1;
    }

    .gallery__item:nth-child(4) {
        grid-column-start: span 3;
        
    }

    .gallery__item:nth-child(5) {
        grid-row-start: span 3;
    }

    .gallery__item:nth-child(9) {
        grid-column-start: span 1;
    }
}

@media (min-width: 1024px) {
    .gallery-container {
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
        margin: auto;
    }

    .gallery__item:nth-child(1) {
        grid-column-start: span 1;
        grid-row-start: span 2;
    }

    .gallery__item:nth-child(2) {
        grid-column-start: span 2;
        grid-row-start: span 3;
    }

    .gallery__item:nth-child(3) {
        grid-column-start: span 1;
        grid-row-start: span 2;
    }

    .gallery__item:nth-child(4) {
        grid-column-start: span 1;
        grid-row-start: span 2;
    }
    .gallery__item:nth-child(5) {
        grid-column-start: span 1;
        grid-row-start: span 2;
    }
    .gallery__item:nth-child(6) {
        grid-column-start: span 1;
        grid-row-start: span 3;
    }
    .gallery__item:nth-child(7) {
        grid-column-start: span 1;
        grid-row-start: span 3;
    }
    .gallery__item:nth-child(8) {
        grid-column-start: span 1;
        grid-row-start: span 2;
    }
    .gallery__item:nth-child(9) {
        grid-column-start: span 1;
        grid-row-start: span 2;
    }

    
}

/* termina galeria*/


/*estilos servicios*/

.section2 {
    padding-top: 0rem;
    padding-bottom: 10rem;
}

.section2 h2 {
    padding-bottom: 5rem;
}

.servicios {
    display: flex;
    flex-direction: row;
    padding-top: 0;
    padding-bottom: 0;
}

.servicios__texto {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5rem;
    padding-right: 5rem;
}

.servicios__texto h2 {
    padding-bottom: 4rem;
}

.servicios__texto li {
    padding-left: 0;
    text-align: center;
    font-size: 2rem;
    line-height: 3rem;
}


.servicios__imagen {
    flex-basis: 50%;
}



@media (max-width: 688px) {
    .servicios {
        flex-direction: column;
    }

    .servicios__imagen {
        flex-basis: 100%;
    }

    .servicios__texto {
        flex-basis: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: start;
    }

    .servicios__texto h2{
        padding-top: 2rem;
        padding-bottom: 1rem;
        font-size: 2.5rem;
    }
    
    .servicios__texto li {
        padding-left: 1rem;
        padding-bottom: 1rem;
        text-align: center;
        font-size: 1.5rem;
    }

    .vivenda {
        flex-direction: column-reverse;

    }

}




/*Slide de Clientes*/

.slider {
    width: 100vw;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 5rem;
}

.slider h2 {
    padding-bottom: 10rem;
}

.slide-track {
    padding-bottom: 5rem;
}

.slider .slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
    /* -webkit-animation: scroll 40s linear infinite; */
    width: calc(300px * 12);
}

.slide{
    padding-left: 2rem;
    padding-right: 2rem;
}


.slider .slide img {
    width: 100%;
}

.img_slide{
    width: 50%;
    height: 50%;
    object-fit: contain;
    padding-left: 2rem;
    padding-right: 2rem;
}





@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 6));
    }
}

/*Termina Slide de Clientes*/


/*Estilos de contacto*/

.contacto {
    padding-bottom: 10rem;
    font-family: var(--fuentePrincipal);
    font-size: 2rem;
    width: 80rem;
}

::placeholder {
    font-size: 2rem;
}

.btn {
    font-size: 2rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    background: #050505;
    color: #fff;
    cursor: pointer;
}


@media (max-width: 840px) {
    .contacto {
        width: auto;
        text-align: center;
    }

    .btn {

        font-size: 1.5rem;
        padding: 1rem 1rem;
    }
}




/*footer*/


.footer {
    padding-left: 10rem;
    padding-right: 10rem;
    padding-bottom: 5rem;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    border-top: solid 2px var(--negro);
}


.footer__contacto {
    flex-basis: 33.3%;
    padding: 3rem;
    gap: 2rem;
}

.footer__contacto p {
    padding-bottom: 2rem;
    font-weight: lighter;
    font-size: 2rem;
    line-height: normal;
    text-align: justify;
}

.footer input {
    border-bottom: 1rem solid #000;
    background: none;
    font-weight: 500;
    transition: border 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    border-radius: 0;
    width: 100%;
    font-size: 2rem;
    font-weight: bolder;

}

.footer input:focus {
    outline: none;
    
}

input::placeholder {
    color: var(--negro);
}



.btn-forma {
    padding-top: 2rem;

}

.img_logo_footer{
    padding-top: 5rem;
    flex-basis: 33.3;
    justify-content: center;
}

.img_logo_footer img{
    width: 50%;
    height: 50%;
    object-fit: contain;
}





.footer__menu {
    flex-basis: 33.3%;
    font-weight: 900;
    padding: 1rem;
    text-align: center;
}

.footer__menu h3 {
    padding-top: 4rem;
    padding-bottom: 2rem;

}

.footer__menu ul,
li {
    list-style: none;
    font-size: 1.5rem;
    line-height: 2.5rem;
    padding-left: 0;
}

footer a{
    text-decoration: none;
    color: var(--negro);
}

footer a:hover{
    color: var(--primarioOscuro);
    
}

@media (max-width: 840px) {
    .footer {
        flex-direction: column;
        padding: 0;
    }

    .footer__contacto {
        flex-basis: 100%;
    }

    .footer__contacto p {
        font-size: 2rem;
    }

    .footer__menu {
        flex-basis: 100%;
        padding-left: 0;
    }

    .btn-forma{
        display: flex;
        flex-direction: column;
    }

}