@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600;700&display=swap');

/* Ahora puedes usar la fuente Open Sans en tu CSS */
body {
    font-family: 'Open Sans', sans-serif;
}

/* Ejemplo de uso de la fuente en otro elemento */
h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700; /* Puedes especificar diferentes pesos de fuente */
}

@font-face {
    font-family: 'Rodina';
    src: url(Rodina-Regular.otf);
}

:root {
    --color-primary: hsl(21, 99%, 48%);
    --color-primary-dark: hsla(21, 98%, 40%, 0.75);
    --color-gray: hsla(0, 0%, 15%);
    --color-gray-ligth: hsla(0, 0%, 25%);
    --color-black: hsla(0, 0%, 5%);
    --color-primary-background: hsla(22, 100%, 50%, 0.75);

    --size-nav: 1.4rem;
}

@page {
    size: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Open Sans', sans-serif;
}

h1 {
    font-family: 'Rodina', 'Open Sans', sans-serif;
}

li {
    list-style: none;
}

.contenedor {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo {
    margin: 50px 0;
    color: var(--color-primary);
    font-size: 30px;
    text-align: center;
}

.primer_titulo {
    margin-top: 0;
}

/* Header */
header {
    width: 100%;
    height: 500px;
    background: var(--color-primary-background);
    background: -webkit-linear-gradient(to right, hsla(39, 100%, 50%, 0.35), rgba(245, 90, 0, 0.35)), url(https://raw.githubusercontent.com/juancalvino/llego/master/img/Img2.jpg);
    background: linear-gradient(to right, hsla(32, 92%, 60%, 0.7), rgba(255, 94, 1, 0.75)), url(https://raw.githubusercontent.com/juancalvino/llego/master/img/Img2.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

header .textos-header {
    display: flex;
    height: 330px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.menu_button {
    display: none;
}

.nav_list {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    font-size: var(--size-nav);
}

.nav_list a {
    padding: 10px;
    text-decoration: none;
    font-weight: 600;
    color: white;
}

.nav_list a:hover {
    border-radius: 10px;
    background-color: var(--color-primary-dark);
    color: var(--color-gray);
}


figure > img {
    height: 2vw;
    min-height: 22vh;
    max-width: 100%;
    max-height: 65vw;
}


.img-header-300px {
    margin-left: 1rem;
}

.img-header-text-300px {
    display: none;
}

.textos-header h1 {
    font-size: 50px;
    color: #fff;
    display: none;
}

.textos-header h2 {
    font-size: 30px;
    font-weight: 300;
    color: #fff;
}

.textos-header br {
    display: none;
}


.wave {
    position: absolute;
    bottom: 0;
    width: 100%;

}


/* About us */
.main.sobre-nosotros {
    padding: 30px 0 60px 0;
}

.contenedor-sobre-nosotros {
    display: flex;
    justify-content: space-evenly;
}

.imagen-about-us {
    width: 48%;
    padding-right: 20px;
}

.sobre-nosotros .contenido-textos {
    width: 48%;
}

.contenido-textos h3 {
    margin-bottom: 15px;
}


.contenido-textos h3 span {
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
    margin-right: 5px;
}

.contenidos-textos p {
    padding: 0 0 30px 15px;
    font-weight: 300;
    text-align: justify;
}

/* Galeria */

.portafolio {
    background: white;
}

.galeria-port {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port {
    width: 24%;
    margin-bottom: 10px;
    height: 200px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
}

.imagen-port > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.hover-galeria {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(27, 100%, 50%, 0.7);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img {
    width: 50px;
}

.hover-galeria p {
    color: white;
}

.imagen-port:hover .hover-galeria {
    transform: scale(1);
}

/* Clientes */

.cards {
    display: flex;
    justify-content: space-evenly;
}

.cards .card {
    background: var(--color-primary);
    display: flex;
    width: 46%;
    height: 200px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
}

.cards .card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid white;
    border-radius: 50%;
    display: block;
}

.cards .card > .contenido-texto-card {
    width: 60%;
    color: white;
}

.cards .card > .contenido-texto-card p {
    font-weight: 300;
    padding-top: 5px;
}


/*  Our team */

.about-services {
    background: white;
}

.servicio-cont {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 5vw;
}

.servicio-ind {
    width: 60%;
    font-size: 1.3rem;
}

.servicio-cont-img {
    width: 40%;
}

.servicio-cont-img img {
    width: 100%;
    max-height: 250px;
}

.servicio-cont:nth-child(odd) {
    flex-direction: row-reverse;
}

.servicio-ind h3 {
}

.servicio-ind p {
}

footer {
    display: flex;
    justify-content: center;
    background: var(--color-black);
    padding: 40px 0;
    margin-top: 30px;
    overflow: hidden;
}

.contenedor-footer {
    display: flex;
    width: 90%;
    justify-content: space-evenly;
}

.content-foo {
    text-align: center;
}

.content-foo h4 {
    color: white;
    font-size: 1.4em;
    border-bottom: 3px solid var(--color-primary);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p {
    color: grey;
    font-size: 1.7em;
}

a {
    text-decoration: none;
}

.button_fixed {
}

/* Whatsapp Float */
.button_fixed {
    position: sticky;
    padding: 0 1rem;
    display: flex;
    justify-content: end;
    width: 100%;
    bottom: 5%;
}


.button_fixed img {
    width: 3rem;
    filter: drop-shadow(1.5px 0.3px 2px #444);
}

.whatsapp_fixed img {
}

.client_fixed {
    display: none;
}

.client_fixed img {
    width: 2.4rem;
}

@media screen and (max-width: 900px) {

    header {
        height: 450px;
        background-position: center;
    }

    .imagotipo-header {
        padding: 0 30px;
    }

    .contenedor-sobre-nosotros {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos {
        width: 90%;
    }

    .imagen-about-us {
        width: 90%;
    }

    /* Galeria */
    .imagen-port {
        width: 44%;
    }

    /*  Clientes */
    .cards {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cards .card {
        width: 90%;
    }

    .cards .card:first-child {
        margin-bottom: 30px;
    }

    /* Servicios */
    .servicio-cont,
    .servicio-cont:nth-child(odd) {
        flex-direction: column;
    }

    .servicio-ind {
    }

    .servicio-ind:nth-child(1) .servicio-ind:nth-child(2) {
    }

    .servicio-ind img {
    }

    .servicio-ind:first-child img {


    }

    .content-foo h4 {
        font-size: 4vw;
    }

    .content-foo p {
        font-size: 4vw;
        padding: 0 20px 0 20px
    }

    .content-foo:nth-child(2) {
        display: none;
    }

    @media screen and (max-width: 760px) {

        .img-header-300px {
            width: 100px;
        }

        .img-header-text {
            width: 300px;
        }

        .servicio-ind img {
        }
    }

    @media screen and (max-width: 500px) {
        header {
            height: 400px;
        }
        .nav {
            display: flex;
            justify-content: center;
        }

        .nav.active {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 1;
            background-color: hsla(0, 0%, 27%, 0.85);
            transition: width 0.5s, height 0.5s, background-color 0.5s, opacity 0.5s;
        }

        .nav_list a:hover {
            padding: 6px;
            background-color: var(--color-gray-ligth);
            color: var(--color-primary);
        }

        .nav_list a:hover {
        }


        .nav_list {
            display: none;
            opacity: 0;
            transition: opacity 0.5s;
        }

        .nav_list.active {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 1;
        }

        .img-header-text {
            display: none;
        }

        .img-header-300px {
            display: none;
        }

        .img-header-text-300px {
            display: inline;
        }

        .textos-header h2 {
            font-size: 27px;
        }


        .menu_button {
            padding: 0.5rem;
            display: flex;
            position: absolute;
            top: 0.5em;
            font-size: 2rem;
            color: var(--color-gray);
        }

        .menu_button.active {
            border-radius: 10px;
            background-color: var(--color-primary);
        }

        .imagotipo-header {
            margin: 0 20px;
            min-width: 300px;

        }

        figure > img {
            min-width: 200px;
            min-height: 150px;
        }


        /*ABOUT US*/
        .imagen-about-us {
            margin-bottom: 60px;
            width: 99%;
        }

        .sobre-nosotros .contenido-textos {
            width: 90%;
        }

        /* GALERIA */
        .imagen-port {
            width: 95%;
        }

        /* CLIENTES */
        .cards .card {
            height: 350px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .cards .card img {
            width: 90px;
            height: 90px;
        }

        /* FOOTER */
        .contenedor-footer {
            flex-direction: column;
            border: none;
        }

        .content-foo {
            margin-bottom: 20px;
            text-align: center;
        }

        .content-foo h4 {
            border: none;
        }

        .content-foo p {
            color: white;
            padding-bottom: 20px;
        }

        .button_fixed {
            position: fixed;
            justify-content: space-between;
        }

        .client_fixed {
            display: block;
        }
    }

    @media screen and (max-width: 300px) {

        .img-header-text {
            display: none;
        }

        figure {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: nowrap;
        }

    }


    @media screen and (max-width: 250px) {
        .img-header-text-300px {
            display: none;
        }

        .textos-header h2:before {
            content: 'llegó ';
        }

        .textos-header h2:after {
            content: '!';
        }


        .img-header-300px {
            display: inline-block;
            width: 1px;
        }
    }
}
    