.nav-link {
    color: green;
}

.container-fluid {
    justify-content: space-evenly;
}

.btn {
    padding: 0.375rem 1rem;
}

.nav-item {
    margin-left: 2rem;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-brand {
    display: contents;
}

.navbar-brand img {
    width: 10%;
    height: auto;
}

a {
    outline: none;
    text-decoration: none;
    color: white;
}

.header-fondo a {
    outline: none;
    text-decoration: none;
    font-size: 2rem;
    position: absolute;
}

.header-fondo a:link {
    color: #a45e4d;
}

.header-fondo a:visited {
    color: white;
}

.header-fondo a:focus {
    background: #a45e4d;
}

.header-fondo a:hover {
    background: #a45e4d;
}

.header-fondo {
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: baseline;
    color: white;
}

.header-fondo img {
    position: initial;
    z-index: -100;
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.content-primer {
    width: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
}

.content-primer {
    width: 100%;
    height: auto;
    background-size: 100% 100%;
    background-image: url(../img/Textura_fondo.png);
    background-position: center center;
    display: flex;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#textoiso {
    width: 50vw;
    font-size: calc(0.1em + 1vw);
    text-align: justify;
    margin-top: 2rem;
}

.comple {
    margin: 2rem;
}

.comple h2 {
    color: rgb(43, 129, 43);
}

.comple p {
    font-size: calc(0.2em + 1vw);
}

.content-segundo {
    width: 100vw;
    height: auto;
    display: flex;
    position: relative;
    overflow: hidden;
    flex-direction: column;
}

.header-segundo {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    flex-direction: column;
}

.header-segundo h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 30px;
}

.header-segundo p {
    font-size: 1.5rem;
    color: #fff;
    margin-left: 10rem;
    margin-right: 10rem;
}

.body-segundo {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 2rem;
}

.video-segundo video {
    width: 100%;
    height: auto;
}

.header-video {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -100;
}

.body-segundo a img {
    height: 3rem;
}

.content-tercer {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
    background-color: white;
    flex-direction: column;
    align-items: center;
}

.header-tercer {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
    margin-top: 2rem;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.header-tercer-text {
    position: absolute;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-tercer h1 {
    color: white;
    display: block;
    font-size: 3rem;
    line-height: 3.5rem;
}

.header-tercer p {
    color: white;
    display: block;
    font-size: 1.5rem;
    margin-top: 1rem;
    width: 70%;
}

.text-tercer {
    margin: 1rem;
    width: 50vw;
    display: flex;
    font-size: 1.2rem;
    text-align: justify;
    line-height: 1.5rem;
}

.header-tercer span {
    display: block;
    font-size: 4.5rem;
}

.content-tercer img {
    width: 100%;
    height: auto;
    position: relative;
}

.rooms {
    margin: 1rem;
    width: 50vw;
    color: white;
    font-size: 2rem;
    display: flex;
    float: left;
    flex-wrap: wrap;
    justify-content: center;
}

.rooms div {
    display: grid;
    justify-items: center;
    margin: 1rem;
}

.rooms div a {
    display: grid;
    color: white;
    text-decoration: none;
    justify-items: center;
}

.rooms div a img {
    width: 5rem;
    height: auto;
}

.center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.enviar {
    position: absolute;
    width: 60%;
    bottom: -5%;
    text-align: -webkit-center;
}

.precio {
    color: #026a02;
    font-size: calc(1.5em + 1vw);
    text-align: center;
    margin-bottom: 0;
    line-height: 110%;
}

.close,
.close1,
.close2,
.close3,
.close4,
.close5,
.close6,
.close7,
.close8,
.close9 {
    position: absolute;
    right: 1%;
    top: 0;
    color: black;
    font-size: 2rem;
    margin-top: -0.5rem;
}

.modal,
.modal1,
.modal2,
.modal3,
.modal4,
.modal5,
.modal6,
.modal7,
.modal8,
.modal9 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #111111bd;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s .9s;
    --transform: translateY(-100vh);
    --transition: transform .8s;
}

.modal--show,
.modal1--show,
.modal2--show,
.modal3--show,
.modal4--show {
    opacity: 1;
    pointer-events: unset;
    transition: opacity .6s;
    --transform: translateY(0);
    --transition: transform .8s .8s;
    z-index: 1000;
}

.modal__container {
    margin: auto;
    width: 90%;
    max-height: auto;
    background-image: url(../img/Hab_Eter.jpg);
    background-size: 100% 100%;
    border-radius: 6px;
    padding: 2em 1.5em;
    display: flex;
    gap: 0.5em;
    place-items: center;
    grid-auto-columns: 100%;
    transform: var(--transform);
    transition: var(--transition);
    flex-direction: column;
    align-items: flex-end;
}

.aire {
    background-image: url(../img/Hab_Aire.jpg);
}

.fuego {
    background-image: url(../img/Hab_Fuego.jpg);
}

.tierra {
    background-image: url(../img/Hab_Tierra.jpg);
}

.agua {
    background-image: url(../img/Hab_Agua.jpg);
}

.modal__title {
    width: 60%;
    text-align: center;
    font-size: calc(3.5em + 1vw);
    color: rgb(43, 129, 43);
    margin-bottom: 0;
}

.modal__paragraph {
    width: 60%;
    text-align: justify;
    font-size: calc(0.4em + 1vw);
    margin-bottom: 3%;
}

.modal__img {
    width: 90%;
    max-width: 300px;
}

.modal__close {
    display: flex;
    justify-content: center;
    transition: background-color .3s;
    background-color: rgb(43, 129, 43);
    width: fit-content;
    flex-direction: column;
    padding: 0rem 0.5rem 0rem 0.5rem;
}

.modal__close a {
    font-size: calc(0.5rem + 1vw);
}

.modal__close p {
    margin: 0;
    font-size: calc(0.5rem + 1vw);
}

.modal__close h1 {
    margin: 0;
    font-size: calc(1.5rem + 1.5vw);
}

.fo_content {
    display: flex;
    position: relative;
    height: auto;
    width: 100%;
    flex-direction: column;
    background-size: 100% 100%;
    background-image: url(../img/Footer_green.jpg);
    background-position: center center;
}

.footer_uno {
    display: flex;
    height: 50%;
    color: white;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
}

.footer_dos {
    display: flex;
    height: 50%;
    color: white;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.gale {
    width: 80vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.galeimg,
.galeimg1,
.galeimg2,
.galeimg3,
.galeimg4,
.galeimg5 {
    width: 30%;
    height: auto;
    margin: 0.1rem;
    float: left;
}

.galeimg img,
.galeimg1 img,
.galeimg2 img,
.galeimg3 img,
.galeimg4 img,
.galeimg5 img {
    width: 100%;
    height: auto;
    border-color: white;
    border-width: 0.5rem;
    border-style: solid;
    z-index: 1;
}

.galeimg.active,
.galeimg1.active,
.galeimg2.active,
.galeimg3.active,
.galeimg4.active,
.galeimg5.active {
    position: fixed;
    width: 65%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0.5rem;
}

.galeimg.active::after,
.galeimg1.active::after,
.galeimg2.active::after,
.galeimg3.active::after,
.galeimg4.active::after,
.galeimg5.active::after {
    content: '';
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.56);
    z-index: 0;
}

.fo-one {
    margin: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fo-one p {
    font-size: 2rem;
}

.logos a {
    margin: 0.2rem;
}

.logos a img {
    width: 30%;
    height: auto;
}

.via {
    width: 20rem;
    height: auto;
    border-color: white;
    border-width: 0.5rem;
    border-style: solid;
}

.fo-one p img {
    width: 2rem;
    height: auto;
}

.via {
    width: 25rem;
    height: auto;
    border-color: white;
    border-width: 0.5rem;
    border-style: solid;
}

.fo-two {
    display: flex;
    margin: 2rem;
}

.fo-two iframe {
    height: 23rem;
    width: 35rem;
}

.footer_dos p {
    font-size: 5rem;
}

.fo_content_two {
    display: flex;
    height: auto;
    width: 100%;
    background-color: black;
    color: white;
}

.fo-left {
    width: 50%;
    margin: 1rem;
    margin-left: 4rem;
}

.fo-left img {
    width: 1rem;
    height: auto;
    margin-right: 1rem;
}

.fo_right {
    width: 50%;
    margin-top: 1rem;
}

.fo_right img {
    width: 90%;
    height: auto;
}

.insta {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 2rem;
    margin-left: 4rem;
}

.insta div {
    line-height: 0.5;
    margin-left: 1rem;
}

.insta img {
    width: 2rem;
}

.email {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
}

.email img {
    width: 1rem;
    margin-right: 1rem
}

.correos {
    line-height: 0.5rem;
}

.social img {
    width: 2rem;
    height: auto;
}

.social {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 2rem;
    margin-left: 2rem;
}

.social div {
    line-height: 0.5;
    margin-left: 1rem;
}

.social img {
    width: 4rem;
}

.credits {
    background-color: black;
}

.credits p {
    margin-bottom: 0;
    color: white;
    font-size: 0.8rem;
}

.slideshow-container {
    max-width: 60%;
    position: relative;
}


/* Hide the images by default */

.mySlides,
.mySlides2,
.mySlides3,
.mySlides4,
.mySlides5 {
    display: none;
}


/* Next & previous buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}


/* Position the "next button" to the right */

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Caption text */

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}


/* Number text (1/3 etc) */

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}


/* The dots/bullets/indicators */

.dot,
.dot2,
.dot3,
.dot4,
.dot5 {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #3aa536;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-m,
.dot:hover,
.dot2:hover,
.dot3:hover,
.dot4:hover,
.dot5:hover {
    background-color: rgb(43, 129, 43);
}


/* Fading animation */

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@media (min-aspect-ratio: 16/9) {
    .header-video video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .header-video video {
        width: auto;
        height: 100%;
    }
}

@media screen and (max-width: 800px) {
    .header-fondo a {
        font-size: 1rem;
    }

    #textoiso {
        font-size: 0.8rem;
    }

    div#imageniso img {
        max-width: 50%;
        height: auto;
    }

    div#imagenmenu img {
        max-width: 50%;
        height: auto;
    }

    .header-segundo h1 {
        font-size: 3rem;
    }

    .header-segundo p {
        font-size: 1rem;
        margin-left: 5rem;
        margin-right: 5rem;
    }

    .body-segundo {
        flex-direction: column;
    }

    .text-segundo {
        font-size: 1rem;
    }

    .video-segundo {
        margin: 3rem;
        width: 70vw;
    }

    .header-tercer p {
        font-size: 2rem;
        line-height: 2.5rem;
        margin-bottom: 4rem;
    }

    .header-tercer span {
        display: block;
        font-size: 3.5rem;
    }

    .text-tercer {
        width: 70vw;
        font-size: 0.8rem;
        line-height: 1.2rem;
    }

    .fo_content_two {
        flex-wrap: wrap;
        justify-content: center;
    }

    .fo-left {
        width: 100%;
    }

    .fo_right {
        width: 100%;
        margin-left: 4rem;
    }

    .modal__title {
        font-size: calc(2em + 1vw);
    }

    .modal__paragraph {
        font-size: calc(0.4em + 1vw);
    }

    .header-tercer h1 {
        font-size: 1.5rem;
        line-height: 1.5rem;
        margin-top: 3rem;
    }

    .header-tercer p {
        font-size: 1rem;
        margin-top: 0.5rem;
        width: 90%;
    }

    .header-tercer span {
        font-size: 2.5rem;
        margin-top: 1rem;
    }
}

@media screen and (max-width: 650px) {
    .header-fondo a {
        font-size: 1rem;
    }

    #textoiso {
        font-size: 0.6rem;
    }

    div#imageniso img {
        max-width: 50%;
        height: auto;
    }

    div#imagenmenu img {
        max-width: 50%;
        height: auto;
    }

    .header-segundo h1 {
        font-size: 1.5rem;
    }

    .header-segundo p {
        font-size: 0.8rem;
        margin-left: 3rem;
        margin-right: 3rem;
    }

    .text-segundo {
        font-size: 0.6rem;
    }

    .header-tercer p {
        font-size: 1rem;
        line-height: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .header-tercer span {
        display: block;
        font-size: 1.5rem;
    }

    .text-tercer {
        width: 70vw;
        font-size: 0.6rem;
        line-height: 1rem;
    }

    .fo_content_two {
        flex-wrap: wrap;
        justify-content: left;
    }

    .fo-left {
        width: 100%;
        margin-left: 1rem;
    }

    .fo_right {
        width: 100%;
        margin-left: 1rem;
    }

    .correos p {
        font-size: 0.7rem;
    }

    .galeimg.active {
        width: 90%;
        top: 10rem;
    }

    .galeimg1.active {
        width: 90%;
        top: 10rem;
    }

    .galeimg2.active {
        width: 90%;
        top: 10rem;
    }

    .galeimg3.active {
        width: 90%;
        top: 10rem;
    }

    .galeimg4.active {
        width: 90%;
        top: 10rem;
    }

    .galeimg5.active {
        width: 90%;
        top: 10rem;
    }

    .modal__title {
        font-size: calc(1.5em + 1vw);
    }

    .modal__paragraph {
        font-size: calc(0.4em + 1vw);
        width: 80%;
    }

    .modal__container {
        background-image: url(../img/Hab_Eter_ver.jpg);
        align-items: center;
        padding: 0.5em;
        padding-bottom: 6rem;
    }

    .aire {
        background-image: url(../img/Hab_Aire_ver.jpg);
        align-items: center;
        padding: 0.5em;
        padding-bottom: 6rem;
    }

    .fuego {
        background-image: url(../img/Hab_Fuego_ver.jpg);
        align-items: center;
        padding: 0.5em;
        padding-bottom: 6rem;
    }

    .tierra {
        background-image: url(../img/Hab_Tierra_ver.jpg);
        align-items: center;
        padding: 0.5em;
        padding-bottom: 6rem;
    }

    .agua {
        background-image: url(../img/Hab_gua_ver.jpg);
        align-items: center;
        padding: 0.5em;
        padding-bottom: 6rem;
    }

    .navbar-brand img {
        width: 40%;
        height: auto;
    }

    .credits p {
        font-size: 0.5rem;
    }

    .header-tercer h1 {
        font-size: 1rem;
        line-height: 1.5rem;
        margin-top: 2rem;
        margin-bottom: 0.2rem;
    }

    .header-tercer p {
        font-size: 0.5rem;
        margin-top: 0rem;
        width: 100%;
        line-height: 0.5REM;
    }

    .header-tercer span {
        font-size: 1.5rem;
        margin-top: 0.1rem;
    }

    .slideshow-container {
        max-width: 90%;
    }
}