* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
}

.contenedor {
    padding: 25px 0px;
    width: 80%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo {

    background: #43C6AC;
    background: -webkit-linear-gradient(to right, #191654, #43C6AC);
    background: linear-gradient(to right, #191654, #43C6AC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 40px;
    text-align: center;
    margin-bottom: 50px;

}

/* header */
header {
    width: 100%;
    height: 550px;
    position: relative;
}

nav {
    position: relative;
    text-align: right;
    padding: 30px 50px 0 0;
    font-size: 16px;
}

nav>a {
    color: #ffffff;
    font-weight: 300;
    text-decoration: none;
    margin-right: 10px;
}

nav>a:hover {
    text-decoration: underline;
}

.carousel {
    height: 600px;
    width: 100%;
    top: 0;
    overflow: hidden;
    position: fixed;
    background: #43C6AC;
    background: -webkit-linear-gradient(to right, #191654, #43C6AC);
    background: linear-gradient(to right, #191654, #43C6AC);
    z-index: -10;
}

.carousel-inner {
    display: flex;
    animation: carousel-scroll 100s linear infinite;
}

.carousel-slide {
    min-width: 100%;
    /* Each slide takes full width */
    position: relative;
    /* For positioning captions */
}

.carousel-slide img {
    width: 100%;
    height: 600px;
    opacity: 0.19;
}


@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }

    33.33% {
        transform: translateX(-100%);
    }

    66.66% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(-300%);
    }

    /*regresa al inicio sin salto*/
}

.logo {
    position: absolute;
    top: 20px;
}

header .textos-header {
    top: 10px;
    display: flex;
    height: 430px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header h1 {
    font-size: 50px;
    color: #ffffff;

}

.textos-header h6 {
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;

}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* about us*/

.nosotros {
    background: #ffffff;

}

.contenedor-sobre-nosotros {
    display: flex;
    justify-content: space-evenly;
}

.imagen-about-us {
    margin-top: 20px;
    width: 47%;
    height: 300px;
}

.sobre-nosotros .contenedor-textos {
    width: 47%;
}

.contenedor-textos h3 {
    margin-bottom: 15px;
}

.contenedor-textos h3 span {
    background: #43C6AC;
    background: -webkit-linear-gradient(to right, #191654, #43C6AC);
    background: linear-gradient(to right, #191654, #43C6AC);
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .5);
    margin-right: 5px;
}

.contenedor-textos p {
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
}


/*galeria*/
.portafolio {
    background-color: #dddddd;

}

.galeria-port {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port {
    height: 180px;
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0, 0, 0, .5);
}

.imagen-port a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galeria {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;

    transform: scale(1);
    background: #43C6AC;
    background: -webkit-linear-gradient(to right, #19165483, #43c6ac88);
    background: linear-gradient(to right, #19165483, #43c6ac88);
    transition: transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.hover-galeria p {
    color: #ffffff;
    font-size: 100%;
    font-weight: bolder;
}

.imagen-port:hover .hover-galeria {
    transform: scale(0);
}

/* Clientes */

.cliente {
    background: #ffffff;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;

}

.cards .card {
    background: #43C6AC;
    background: -webkit-linear-gradient(to right, #191654, #43C6AC);
    background: linear-gradient(to right, #191654, #43C6AC);
    display: flex;
    width: 40%;
    height: 180px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.6);
}

.cards .card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
}

.cards .card>.contenido-texto-card {
    width: 50%;
    color: #fff;

}

.cards .card>.contenido-texto-card p {
    font-weight: 300;
    padding-top: 5px;
}

/* ort team*/
.about-services {
    background: #dddddd;
    padding-bottom: 30px;
}

.servicio-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-ind {
    width: 30%;
    text-align: center;
}

.servicio-ind img {
    width: 70%;
    height: 110px;
}

.servicio-ind h3 {
    margin: 10px 0;
}

.servicio-ind p {
    font-weight: 300;
    text-align: center;
}

/* footer */

footer {
    background: #414141;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer {
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 50px;
    border-bottom: 1px solid #ccc;
}

.contenedor-foo {
    text-align: center;
}

.contenedor-foo h4 {
    color: #fff;
    border-bottom: 3px solid #43C6AC;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.contenedor-foo p {
    color: #ccc;
}

.contenedor-foo a {
    color: #ccc;
    text-decoration: none;
}

.contenedor-foo>a:hover {
    text-decoration: underline;

}

.titulo-final {
    text-align: center;
    font-size: 15px;
    margin: 20px 0 0;
    color: #9e9797;
}

@media screen and (max-width:850px) {


    header {
        background-position: center;
        height: 430px;
    }

    .wave {
        margin-bottom: -3px;
    }

    .textos-header h1 {
        font-size: 30px;
    }

    .textos-header h6 {
        font-size: 15px;
        margin-bottom: 50px;
    }

    .carousel-slide>img {
        height: 360px;
    }


    .contenedor-sobre-nosotros {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .contenedor-sobre-nosotros>img {
        height: auto;
        margin-bottom: 40px;
        margin-top: 0;
    }

    .sobre-nosotros .contenedor-textos {
        width: 90%;
    }

    .imagen-about-us {
        width: 90%;
    }

    /*galeria*/

    .imagen-port {
        width: 44%;
    }

    .hover-galeria p {
       text-align: center;
    }



    /* clientes */
    .cards {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cards .card {
        width: 90%;
    }

    .cards .card:first-child {
        margin-bottom: 30pxs;
    }

    .servicio-cont {
        justify-content: center;
        flex-direction: column;
    }

    .servicio-ind {
        width: 100%;
        text-align: center;
    }

    .servicio-ind:nth-child(1),
    .servicio-ind:nth-child(2) {
        margin-bottom: 60px;
    }

    .servicio-ind img {
        width: 80%;
        height: 180px;

    }
}

@media screen and (max-width:500px) {

    header {
        background-position: center;
        height: 350px;
    }

    .carousel-slide>img {
        height: 280px;
    }

    .wave {
        width: 100%;

    }

    .logo>img {
        margin-top: 10px;
        width: 100px;
        height: 100px;

    }

    header>nav {
        font-size: 12px;
    }

    .textos-header h1 {
        font-size: 25px;
    }

    .textos-header h6 {
        font-size: 14px;
        margin-bottom: 190px;
    }

    main .sobre-nosotros {
        padding: 0 0 0 0;
    }

    .titulo {
        font-size: 25px;
    }

    .contenedor-textos h3{
         font-size: 17px;
    }

    .hover-galeria>p {
        font-size: 13px;
    }

    .contenedor-footer {
        display: flex;
        flex-direction: column;
        width: 60%;
        height: 280px;
        margin-top: -50px;
    }

    .contenedor-foo {
        margin: 15px 0 -25px 0;
    }
}

/*
@keyframes show {
    from {
        opacity: 0;
        scale: 35%;
    }

    to {
        opacity: 1;
        scale: 100%;
    }
}
*/

.contenedor {
    view-timeline-name: --imagen;
    view-timeline-axis: block;

    animation-timeline: --imagen;
    animation-name: show;
    animation-range: entry 25% cover 30%;
    animation-fill-mode: both;
}