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

html,
body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

main {
    height: 100%;
    flex-grow: 1;
}

body {
    background-image: url("/assets/img/Background_Desktop.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.ds-flex {
    display: flex;
}

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

.main-content-mobile {
    display: none;
}


nav {
    justify-content: right;
    padding-right: 1%;
    padding-top: 1%;
}

.main-content {
    /*min-width: 1100px;
    width: 1100px;*/
    min-height: 100%;
    margin: auto;
}

.main-content #contacta {
    position: absolute;
    bottom: 11%;
    text-align: center;
}

.main-content .flecha {
    width: 13%;
}

.main-content .contacta {
    width: 40%;
}

#video-play-btn {
    position: absolute;
    right: 25%;
    bottom: 24%;
    background-image: url("/assets/img/Play.png");
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
}

@media(min-width: 1920px) {
    body {
        overflow-y: hidden;
    }

    .main-content .img-text1 {
        position: absolute;
        top: 20%;
        width: 22%;
    }

    .main-content .img-text2 {
        position: absolute;
        top: 24.5%;
        width: 32%;
    }

    .main-content .img-text3 {
        width: 23%;
        position: absolute;
        top: 29.8%;
    }

    .main-content .img-text4 {
        width: 56%;
        position: absolute;
        top: 43%;
    }

    /*.main-content .flecha {
        position: absolute;
        top: 61.5%;
        left: 46.5%;
    }*/
    .main-content #contacta {
        position: absolute;
        bottom: 11%;
        text-align: center;
    }

    .main-content .flecha {
        width: 13%;
    }

    .main-content .contacta {
        width: 40%;
    }

    .main-content .img-text5 {
        position: absolute;
        width: 22%;
        bottom: 23%;
    }

    #video-play-btn {
        position: absolute;
        right: 26%;
        bottom: 24%;
        background-image: url("/assets/img/Play.png");
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        justify-content: center;
    }

    .play-big {
        position: absolute;
        right: 52%;
        top: 32%;
        width: 20%;
        transition: all 0.5s ease-in-out;
        visibility: hidden;
    }

    .play-small {
        position: absolute;
        right: 48%;
        top: 38%;
        transition: all 0.5s ease-in-out;
        visibility: hidden;
    }

    .spinner-big {
        width: 85%;
        position: relative;
        transition: all 0.5s ease-in-out;
    }

    .spinner-small {
        width: 70%;
        position: relative;
        transition: all 0.5s ease-in-out;
    }


    .coming-soon {
        display: flex;
        justify-content: start;
        padding: 2%;
    }

    .close {
        position: absolute;
        right: -8.5%;
        top: 9%;
        cursor: pointer;
    }

    .close img {
        width: 40px;
    }
}

@media (min-width: 1451px)and (max-width: 1919px) {
    .main-content #contacta {
        position: absolute;
        bottom: 13%;
        text-align: center;
    }

    .main-content .flecha {
        width: 11%;
    }

    .main-content .contacta {
        width: 35%;
    }
}

@media (min-width: 1025px)and (max-width: 1919px) {
    body {
        overflow-y: hidden;
    }

    .main-content {
        min-height: 100%;
        margin: auto;
    }

    .main-content .img-text1 {
        position: absolute;
        top: 20%;
        width: 22%;
    }

    .main-content .img-text2 {
        position: absolute;
        top: 24.5%;
        width: 32%;
    }

    .main-content .img-text3 {
        width: 23%;
        position: absolute;
        top: 29.8%;
    }

    .main-content .img-text4 {
        width: 55%;
        position: absolute;
        top: 43.5%;
    }

    /* .main-content .flecha {
        position: absolute;
        top: 59%;
        left: 46.5%;
        width: 100px;
    }*/
    .main-content div {
        bottom: 11%;
    }

    .main-content .img-text5 {
        position: absolute;
        width: 22%;
        bottom: 20%;
    }

    #video-play-btn {
        position: absolute;
        right: 27%;
        bottom: 24%;
        background-image: url("/assets/img/Play.png");
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        justify-content: center;
    }

    .play-small {
        position: absolute;
        right: 61%;
        top: 38%;
        transition: all 0.5s ease-in-out;
        width: 11%;
        visibility: hidden;
    }

    .play-big {
        position: absolute;
        right: 60%;
        top: 28%;
        transition: all 0.5s ease-in-out;
        width: 18%;
        visibility: hidden;
    }

    .spinner-small {
        width: 55%;
        transition: all 0.5s ease-in-out;
    }

    .spinner-big {
        width: 75%;
        transition: all 0.5s ease-in-out;
    }

    .coming-soon {
        display: flex;
        justify-content: start;
        padding: 2%;
    }

    .close {
        position: absolute;
        right: -8.5%;
        top: 9%;
        cursor: pointer;
    }

    .close img {
        width: 40px;
    }
}

@media (min-width: 1200px)and (max-width: 1450px) {
    .main-content #contacta {
        position: absolute;
        bottom: 13%;
        text-align: center;
    }

    .main-content .flecha {
        width: 9%;
    }

    .main-content .contacta {
        width: 29%;
    }
    .spinner-big {
        width: 70%;
    }
    #video-play-btn {
        position: absolute;
        right: 25%;
        bottom: 29%;
    }
}

@media (min-width: 1025px)and (max-width: 1350px) {

    .main-content .flecha {
        width: 8%;
        margin-right: 1%;
    }

    .contacto-img {
        width: 24%;
    }

    .main-content div {
        bottom: 13%;
    }

}

@media (min-width: 1025px)and (max-width: 1199px) {
    .main-content .flecha {
        width: 10%;
        margin-right: 1%;
    }

    .main-content .contacta {
        width: 32%;
    }

    .main-content .img-text5 {
        position: absolute;
        width: 40%;
        bottom: 15%;
    }

    .main-content #contacta {
        bottom: 10%;
    }

    #video-play-btn {
        position: absolute;
        right: 10%;
        bottom: 24%;
        width: 30%;
    }
        .spinner-big {
    width: 50%;
    }

    .main-content .img-text1 {
        position: absolute;
        top: 20%;
        width: 40%;
    }

    .main-content .img-text2 {
        position: absolute;
        top: 24.5%;
        width: 52%;
    }

    .main-content .img-text3 {
        width: 38%;
        position: absolute;
        top: 29.8%;
    }

    .main-content .img-text4 {
        width: 80%;
        position: absolute;
        top: 43.5%;
    }
    .main-content #contacta {
        position: absolute;
        bottom: 8%;
        text-align: center;
    }

    .main-content .flecha {
        width: 11%;
    }

    .main-content .contacta {
        width: 32%;
    }

}

/*ipad pro*/
@media (min-width: 821px)and (max-width: 1024px) {
    body {
        background-image: url("/assets/img/Background_Phone.png");
        background-repeat: no-repeat;
    }

    nav {
        margin: 4% 4% 15% 0;
        justify-content: end;
    }

    nav img {
        width: 19%;
    }

    .main-content {
        display: none;
    }

    .main-content-mobile {
        display: flex;
    }

    .main-content-mobile {
        display: flex;
        background-image: url("/assets/img/Elipse.png");
        background-size: 66%;
        background-repeat: no-repeat;
        background-position-x: 53.5%;
        background-position-y: 7%;
    }

    .main-content-mobile .img-text1 {
        margin: 2%;
        width: 60%;
        content: url("/assets/img/SiTodoCambia_Desktop.png");
    }

    .main-content-mobile .img-text2 {
        width: 60%;
        content: url("/assets/img/HacerLoDe_Desktop.png");
    }

    .main-content-mobile .img-text3 {
        position: relative;
        top: -2px;
        width: 48%;
        content: url("/assets/img/Siempre_Desktop.png");
    }

    .main-content-mobile .img-text4 {
        content: url("/assets/img/NoTieneSentido_Desktop.png");
        width: 100%
    }

    /*  .main-content-mobile .flecha {
        width: 50px;
*/
    .main-content-mobile #contacta {
        margin: 3%;
        text-align: center;
    }

    .main-content-mobile .flecha {
        width: 13%;
    }

    .main-content-mobile .contacta {
        width: 43%;
    }

    .main-content-mobile .img-text5 {
        width: 60%;
        content: url("/assets/img/TextoFinal_Desktop.png");
    }

    #video-play-btn {
        margin: 5% auto;
        display: flex;
        justify-content: center;
        background-image: url("/assets/img/Play.png");
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
        left: 0;
    }

    .play-small {
        position: absolute;
        right: 44%;
        top: 144%;
        transition: all 0.5s ease-in-out;
        width: 8%;
        visibility: hidden;
    }

    .spinner-big {
        width: 75%;
        transition: all 0.5s ease-in-out;
    }

    .coming-soon {
        display: flex;
        justify-content: start;
    }

    .coming-soon img {
        width: 20%;
        margin: 3%;
    }

    .close {
        position: absolute;
        right: -8.5%;
        top: 9%;
        cursor: pointer;
    }

    .close img {
        width: 6%;
    }

}

@media (max-width: 819px) {
    body {
        background-image: url("/assets/img/Background_Phone.png");
        background-repeat: no-repeat;
    }

    nav {
        margin: 18% 0;
        justify-content: center;
    }

    nav img {
        width: 19%;
    }

    .main-content-mobile {
        display: flex;
    }

    .main-content {
        display: none;
    }


    .main-content-mobile .img-text1 {
        margin: 4%;
    }

    .main-content-mobile .img-text3 {
        position: relative;
        top: -2px;
    }

    .main-content-mobile .img-text4 {
        margin-top: 1%;
    }

    .main-content-mobile .img-text5 {
        width: 80%;
        ;
        position: absolute;
        bottom: 26%;
    }

    .main-content-mobile #contacta {
        position: absolute;
        bottom: 12%;
        text-align: center;
    }

    .main-content-mobile .flecha {
        width: 13%;
    }

    .main-content-mobile .contacta {
        width: 43%;
    }

    #video-play-btn {
        margin: 7% auto;
        display: flex;
        justify-content: center;
        background-image: url("/assets/img/Play.png");
        background-repeat: no-repeat;
        background-position: center;
    }

    .play-small {
        position: absolute;
        right: 46%;
        top: 70.5%;
        transition: all 0.5s ease-in-out;
        width: 6%;
        visibility: hidden;
    }

    .spinner-big {
        width: 70%;
        transition: all 0.5s ease-in-out;
    }

    .coming-soon {
        display: flex;
        justify-content: flex-start;
        margin-left: 5%;
        margin-bottom: 5%;
    }


    .close {
        position: absolute;
        left: 1%;
        top: 3%;
        cursor: pointer;
    }

    .close img {
        width: 6%;
    }

    #video-modal2 {
        position: fixed;
        height: 200px;
    }

    @media (orientation: landscape) {
        #video-modal2 {
            position: absolute;
            top: 10%;
            height: 320px;
            overflow: visible;
        }

        .close {
            position: absolute;
            left: 2%;
            top: 2%;
            cursor: pointer;
        }

        .close img {
            width: 4%;
        }
    }
}

@media (min-width: 769px)and (max-width: 820px) {
    .main-content-mobile {
        background-image: url("/assets/img/Elipse.png");
        background-size: 66%;
        background-repeat: no-repeat;
        background-position-x: 50%;
        background-position-y: 24%;
    
    }
    .main-content {
        display: none;
    }
    .main-content-mobile {
        display: flex;
    }

    nav {
        margin: 4% 5% 12% 0;
        justify-content: end;
    }
    nav img {
        width: 15%;
    }
        .main-content-mobile .img-text1 {
        margin: 4%;
        width: 55%;
    
    }

    .main-content-mobile .img-text2 {
        width: 55%;
    
    }

    .main-content-mobile .img-text3 {
        width: 55%;
    
    }

    .main-content-mobile .img-text4 {
        width: 55%;
    
    }

    .main-content-mobile .img-text5 {
        width: 55%;
        position: absolute;
        bottom: 19%;
    
    }

    .main-content-mobile #contacta {
        position: absolute;
        bottom: 11%;
            text-align: center
    }
    .main-content-mobile .flecha {
        width: 13%;
    
    }
        .main-content-mobile .contacta{
        width: 43%;
    
    }
    #video-play-btn {
        margin-top: 4%;
        position: initial;
    
    }
    .spinner-big {
        width: 80%
    }
    .coming-soon {
        margin: 4%;
    }
}

/*IPAD MINI*/
@media (min-width: 431px)and (max-width: 768px) {
    .main-content {
        display: none;
    }

    .main-content-mobile .img-text1 {
        margin: 4%;
        width: 60%;
    }

    .main-content-mobile .img-text2 {

        width: 60%;
    }

    .main-content-mobile .img-text3 {

        width: 60%;
    }

    .main-content-mobile .img-text4 {

        width: 60%;
    }

    .main-content-mobile .img-text5 {

        width: 60%;
    }

    .main-content-mobile {
        background-image: url("/assets/img/Elipse.png");
        background-size: 73%;
        background-repeat: no-repeat;
        background-position-x: 52%;
        background-position-y: 26%;
    }

    nav {
        margin: 4% 5% 10% 0;
        justify-content: end;
    }

    .main-content-mobile #contacta {
        margin: 0;
    }

    #video-play-btn {
        position: initial;
        margin: 3%;
    }

    .main-content-mobile .img-text5 {
        margin-top: 6%;
        position: absolute;
        bottom: 20%;
    }
}

@media (max-width: 430px) {
    .main-content {
        display: none;
    }

    .main-content-mobile {
        background-image: url("/assets/img/Elipse.png");
        background-size: 84%;
        background-repeat: no-repeat;
        background-position-x: 52%;
        background-position-y: 13%;
    }
    .main-content-mobile .img-text5 {
        position: absolute;
        bottom: 20%;
    }
    .main-content-mobile #contacta {
        bottom: 12%;
    }

    .main-content-mobile .flecha {
        width: 19%;
    }

    .main-content-mobile .contacta {
        width: 60%;
    }

    nav {
        margin: 5% 5% 20% 0;
        justify-content: end;
    }

    #video-play-btn {
        position: initial;
        margin-top: 5%;
    }
}

/*MOBILE SMALL*/
@media (max-width: 375px) {
    .main-content {
        display: none;
    }

    #video-play-btn {
        position: initial;
        margin-top: 0;
    }

    nav {
        margin: 5% 5% 15% 0;
        justify-content: end;
    }

    .main-content-mobile #contacta {
        bottom: 11%;
    }

    .main-content-mobile .img-text5 {
        position: absolute;
        bottom: 20%;
    }
}

/*
#video-modal {
    display: none;
}
*/

#video-modal2 {
    overflow: hidden;
    display: none;
}

.spinner {
    transform: translateZ(0);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-duration: 20s;
    animation-name: spinner-circle
}

@keyframes spinner-circle {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

/* Estilo para el modal del vídeo */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

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

.video-modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 99999;
}

/* Estilo para el modal del vídeo en versión desktop */
@media (min-width: 1024px) {
    .video-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 9999;
        justify-content: center;
        align-items: center;
    }

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

    .video-modal .close {
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        z-index: 99999;
    }
}

/*MEDIA QUERIES ELIPSE DESKTOP*/
@media (min-width: 1921px)and (max-width: 2560px) {
    .main-content {
        background-image: url("/assets/img/ElipseconEstrellas_Desktop.png");
        background-size: 29.5%;
        background-repeat: no-repeat;
        background-position-x: 50%;
        background-position-y: 43%;
    }
}

@media (min-width: 1601px)and (max-width: 1920px) {
    .main-content {
        background-image: url("/assets/img/ElipseconEstrellas_Desktop.png");
        background-size: 29%;
        background-repeat: no-repeat;
        background-position-x: 49.5%;
        background-position-y: 42%;
    }
}

@media (min-width: 1401px)and (max-width: 1600px) {
    .main-content {
        background-image: url("/assets/img/ElipseconEstrellas_Desktop.png");
        background-size: 31.5%;
        background-repeat: no-repeat;
        background-position-x: 50%;
        background-position-y: 40%;
    }
}

@media (min-width: 1281px)and (max-width: 1400px) {
    .main-content {
        background-image: url("/assets/img/ElipseconEstrellas_Desktop.png");
        background-size: 33%;
        background-repeat: no-repeat;
        background-position-x: 51%;
        background-position-y: 39%;
    }
}

@media (min-width: 1025px)and (max-width: 1280px) {
    .main-content {
        background-image: url("/assets/img/ElipseconEstrellas_Desktop.png");
        background-size: 35%;
        background-repeat: no-repeat;
        background-position-x: 51.5%;
        background-position-y: 38%;
    }
}
/* Portrait */
@media only screen 
  and (max-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 
     .main-content-mobile .img-text1 {
        margin: 4%;
        width: 60%;
    }

    .main-content-mobile .img-text2 {

        width: 60%;
    }

    .main-content-mobile .img-text3 {

        width: 60%;
    }

    .main-content-mobile .img-text4 {

        width: 60%;
    }

    .main-content-mobile .img-text5 {

        width: 60%;
    }
     .main-content {
        display: none;
    }

    #video-play-btn {
        margin: 3% auto;
        width: 40%
    }

    nav {
        margin: 5% 5% 15% 0;
        justify-content: end;
    }

    .main-content-mobile #contacta {
        bottom: 11%;
        width: 80%;
    }

    .main-content-mobile .img-text5 {
        position: absolute;
        bottom: 20%;
    }
}