:root {
    --marquee-width: 80vw;
    --marquee-height: 20vh;
    /* --marquee-elements: 12; */
    /* defined with JavaScript */
    --marquee-elements-displayed: 5;
    --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
    --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
}

.main-banner {
    padding: 0;
    margin: 0;
}

.header-area .main-nav .logo {
    width: 9%;
}

.cabecera {
    /* Create grid spanning viewport width & height */
    display: grid;
    grid-template-rows: 100vh;
    overflow: hidden;
    box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.5);
}

.video-bg {
    /* Span the full grid */
    grid-area: 1 / 1 / -1 / -1;
    ;

    /* Re-size video to cover full screen while maintaining aspect ratio */
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;

    /* Display video below overlay */
    z-index: -1;
}

.video-bg::-webkit-media-controls {
    display: none !important;
}

.video-overlay {
    /* Span the full grid */
    grid-area: 1 / 1 / -1 / -1;
    ;

    /* Center Content */
    display: grid;
    justify-content: center;
    align-content: center;
    text-align: center;
    /* Semi-transparent background */
}

.main-banner .left-content .crea {
    font-size: 13em;
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: 50px;
    color: #fff;
    text-shadow: 0.05em 0.05em 0.05em rgba(0, 0, 0, 0.4);
    text-align: center;
    color: orange;
}

.main-banner .left-content .amigos {
    font-size: 9em;
    font-weight: 700;
    color: #fff;
    letter-spacing: 11px;
}

.main-banner .left-content p {
    color: #fff;
    font-size: 20px;
    text-align: left;
}

.main-banner .left-content .linea {
    width: 37em;
    height: 0px;
    border: orange solid 3px;
    margin: auto;
    margin-top: auto;
    margin-top: 2em;
}

.cintillo {
    padding-top: none;
    height: 3em;
}

.cintillo .marquee {
    width: 100%;
    height: 100%;
    background-color: #C31952;
    color: #eee;
    overflow: hidden;
    position: relative;
}

.cintillo .marquee-content {
    list-style: none;
    height: 100%;
    display: flex;
    animation: scrolling var(--marquee-animation-duration) linear infinite;
}

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

    100% {
        transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements)));
    }
}

.cintillo .marquee-content li {
    display: flex;
    justify-content: center;
    align-items: center;
    /* text-align: center; */
    flex-shrink: 0;
    width: var(--marquee-element-width);
    max-height: 100%;
    font-size: 11px;
    /* 5rem; */
    white-space: nowrap;
    margin-left: 100px;
    margin-right: 100px;
}

@media (max-width: 600px) {
    html {
        font-size: 12px;
    }

    :root {
        --marquee-width: 100vw;
        --marquee-height: 16vh;
        --marquee-elements-displayed: 3;
    }

    .marquee:before,
    .marquee:after {
        width: 5rem;
    }
}


.services .tarjetas {
    padding: 15px;
}

.services .card {
    box-shadow: 3px 5px 7px 6px rgba(0, 0, 0, 0.27);
    border: none;
    margin-bottom: 30px;
    overflow: hidden;
    max-height: 34em;
    height: 80%;
    width: 80%;
    padding: 0em;
}

.services .card .card-img {
    width: 52em;
}

.services .card .img2 {
    width: 56em;
}

.services .card .img3 {
    width: 75em;
}

.services .card .card-img-overlay {
    top: 14em;
    width: fit-content;
    height: fit-content;
}

.services .card .card-img-overlay h5 {
    font-size: 2em;
    font-weight: 500;
    text-align: center;
}

.services .card:hover {
    transform: scale(1.05);
    transition: all 1s ease;
    z-index: 999;
}

.services .cuadros {
    overflow: hidden;
    height: 37em;
}

.services .cuadros img:nth-child(1) {
    position: relative;
    width: 10em;
    height: 10em;
    border: #fff solid 3px;
    border-radius: 3em;
    top: 14%;
    left: 65%;
}

.services .cuadros img:nth-child(2) {
    position: relative;
    width: 10em;
    height: 10em;
    border: #fff solid 3px;
    border-radius: 3em;
    top: 40%;
    left: -20%;
}

.services .cuadros img:nth-child(3) {
    position: relative;
    width: 10em;
    height: 10em;
    border: #fff solid 2px;
    border-radius: 3em;
    top: 70%;
    left: 15%;
}

.services .cuadros img:nth-child(4) {
    width: 20em;
    height: 20em;
    left: 25%;
    position: relative;
    z-index: 1;
    border: #fff solid 2px;
    border-radius: 4em;
    top: 0%;
}

.services .contenido h1 {
    font-size: 2em;
    font-weight: 700;
    color: #2693D9;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 3em;
}

.services .contenido p {
    color: black;
    font-size: 18px;
    line-height: 36px;
    font-weight: 500;
    text-align: center;
}

.services .contenido .white-button {
    position: relative;
    left: 41%;
    top: 2em;
    width: fit-content;
}

.services .contenido .white-button a {
    color: #fff !important;
    background-color: orange;
}

.about-us .right-image .img1 {
    height: 100%;
    background-image: url('../../imagenes/2.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.about-us .right-image .img1 .overlay {
    height: 40em;
    width: 100%;
    background-color: rgba(255, 255, 255, .6);
}

.about-us .right-image .img1 .overlay .carousel {
    height: 424px;
    width: 30em;
    position: relative;
    top: 3em;
    left: 6em;
    border: #fff solid 4px;
    border-radius: 30px;
    box-shadow: 3px 5px 7px 6px rgba(0, 0, 0, 0.27);
}

.about-us .right-image .img1 .overlay .carousel .carousel-indicators {
    top: 1em;
}

.about-us .right-image .img1 .overlay .carousel .carousel-inner {
    max-height: 30em;
    height: 26em;
    border-radius: 30px;
}

.about-us .right-image .img1 .overlay .carousel .carousel-inner .carousel-item {
    height: 100%;
    width: 100%;
}

.about-us .right-image .img1 .overlay .carousel .carousel-inner .carousel-item img {
    height: 100%;
}

.about-us .right-image .img1 .overlay .texto-ad {
    border: #fff solid 2px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #000;
    position: relative;
    top: -2em;
    left: 2em;
    box-shadow: 3px 5px 7px 6px rgba(0, 0, 0, 0.27);
}

.about-us .right-image .img1 .overlay .texto-ad h1:nth-child(1) {
    font-size: 2em;
    letter-spacing: 10px;
    margin: 34px 25px 0px 28px;
    color: orange;
    font-weight: 300;
}

.about-us .right-image .img1 .overlay .texto-ad h1:nth-child(2) {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4px;
    margin: 0px 0px 0px 20px;
}

.about-us .section-heading h4 {
    font-size: 2em;
    font-weight: 700;
    color: #2693D9;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 3em;
}

.about-us .section-heading p {
    color: black;
    font-size: 18px;
    line-height: 36px;
    font-weight: 500;
    text-align: center;
}

.about-us .section-heading .white-button {
    position: relative;
    left: 38%;
    top: 2em;
    width: fit-content;
}

.about-us .section-heading .white-button a {
    color: #fff !important;
    background-color: orange;
}

.the-clients .container {
    overflow: hidden;
    height: 65em;
}

.the-clients .container .overlay {
    position: relative;
    top: -67em;
}

.the-clients .container .overlay .mapa {
    height: 62em;
}

.the-clients .container .overlay form {
    background: #fff;
    border-radius: 50px;
    margin: 7em;
    height: 45em;
}

.the-clients .container .overlay form h1 {
    padding: 10px 100px 10px 100px;
    text-align: center;
    font-weight: 600;
    font-size: 32px;
}

.the-clients .container .overlay form h3 {
    padding: 10px 100px 10px 100px;
    font-weight: 500;
    font-size: 25px;
    text-align: center;
}

.the-clients .container .overlay form .inputs {
    width: 18em;
    margin: auto;
    margin-top: 2em;
}

.the-clients .container .overlay form .inputs input {
    margin: 20px 0px 20px 0px;
}

.input {
    line-height: 28px;
    border: 2px solid transparent;
    border-bottom-color: #777;
    padding: .2rem 0;
    outline: none;
    background-color: transparent;
    color: #0d0c22;
    transition: .3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.input:focus,
input:hover {
    outline: none;
    padding: .2rem 1rem;
    border-radius: 1rem;
    border-color: #7a9cc6;
}

.input::placeholder {
    color: #777;
}

.input:focus::placeholder {
    opacity: 0;
    transition: opacity .3s;
}

.the-clients .container .overlay form .white-button {
    position: relative;
    left: 30%;
    top: 2em;
    width: fit-content;
}

.the-clients .container .overlay form .white-button a {
    color: #fff !important;
    background-color: orange;
}