@import url('https://fonts.googleapis.com/css2?family=Cookie&family=Ephesis&display=swap');



.fondo {
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-position: center;
    background-size: cover;
    /* max-height: 1080px; */
    background-color: white;
    padding: 0;
    margin: 0;
    overflow: hidden;

}

h1 {
    font-family: "Ephesis", cursive;
    font-style: normal;
    font-weight: 400;
    font-size: xxx-large;
}

p {
    font-size: x-large;
}

h2,
h3,
p,
.button,
#text {
    font-family: "Cookie", cursive;
    font-style: normal;
    font-weight: 400;

}

a {
    font-family: "Cookie", cursive;
    font-style: normal;
    font-weight: 400;
    color: black;
    text-decoration: none;
}

body {
    margin: 0;
    padding: 0;
}

.fondo2 {
    width: 100%;
    height: 100vh;
    text-align: center;
    /* line-height: 50vh; */
}

.fondo2>h1 {
    animation-duration: 3s;
    
}

.fondo2>div{
    position: relative;
    height: 50vh;
    margin: 0;
    animation-duration: 3s;
    animation-name: slidein;
    top: 5vh;
}

.divButton{
    align-content: center;
}

@keyframes slidein {
    from {
        top: 0;
        /* padding-left: 50%; */
        /* width: 300%; */
    }

    to {
        top: 5vh;
        /* padding-left: 0; */
        /* width: 100%; */
    }
}

#uno {
    background-image: url("./img/OYTY5549-3.jpeg");
    /* background-color: rgba(0, 0, 0, 0.5); */
    opacity: 0.5;

    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: -1;
    pointer-events: none;
    margin-bottom: -100vh;
}

#dos {
    background-image: url("./img/IMG_7978.JPG");
}

#tres {
    background-image: url("./img/SDKG8816-2.jpg");
    /* opacity: 0.5; */
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contacto {
    width: 100%;
    text-align: center;
}

.contactoNuestro {
    text-align: center;
    width: 50%;
}

.sitioImg {
    /* background-image: url("./img/sitio.jpg"); */
    width: calc(50% - 0.5px);
    image-rendering: optimizeQuality;
    object-fit: cover;
    /* opacity: 0.5; */
    /* transition: opacity 0.5s; */
    height: calc(60vh);
    z-index: 1;
    /* background-color: white; */

}

#sitio {
    background-color: transparent;
    align-content: center;
    margin: 0;
    height: 60vh;
    /* height: auto; */
}

.sitioContainer {
    height: 60vh;
    border: 1px solid black;
    display: flex;
    flex-wrap: wrap;
    /* min-width: 750px; */
}

.sitioText {
    width: calc(50% - 0.5px);
    border-left: 1px solid black;
    height: calc(60vh - 1px);
}

.sitioText>iframe {
    width: 100%;
    height: calc(30vh);
    border: 0;
}

.sitioText>h3 {
    text-align: center;
}

.sitioTextText {
    align-items: center;
    text-align: center;
    height: calc(60vh - 1px);
    background-color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.sitioTextText>p {
    margin: 0;
}

#sitio>h1 {
    text-align: center;
    margin: 20px;
}

.button {
    color: black;
    background-color: transparent;
    border-radius: 5px;
    font-size: xx-large;
}

.button:hover {
    background-color: rgba(200, 200, 200, 0.5);
}

.textCelebarcion>img {
    height: 15vh;
    opacity: 0.5;
}

.textCelebarcion {
    height: 15vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: linear-gradient(transparent 0%, white 6%);
}

.textCelebarcion>h1 {
    margin: 0;
    text-align: center;
}





#cuando {
    height: 70vh;
    width: 100%;
    display: flex;
}

.cuandoText>h1 {
    margin: 0;
}

.cuandoContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    height: 70vh;
    width: 50%;
}

.cuandoText,
.cuandoText2 {
    width: 50%;
    height: 70vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.cuandoText {
    display: none;
}

.cuandoImg {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.cuandoImg>img {
    width: 100%;
    max-width: 500px;
    z-index: 1;
}

.cuandoImg>.uno {
    position: absolute;
    width: 50%;
    /* max-width: 500px; */
    height: 70vh;
    /* background-image: url("./img/IMG_4704.JPG"); */
    /* background-position: bottom;
    background-size: cover; */
    opacity: 0.8;
    /* background-color: rgb(150, 150, 150); */
}

.cuandoImg>.dos {
    position: absolute;
    width: 50%;
    /* max-width: 500px; */
    height: 70vh;
    background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 98%, rgba(255, 255, 255, 1) 100%);
    opacity: 1;
}






@media screen and (max-width: 850px) {
    #sitio {
        height: 55vh;
    }

    .sitioContainer,
    .sitioImg,
    .sitioText {
        height: 55vh;
    }

    .sitioText>iframe,
    .sitioTextText {
        height: 55vh;
    }
}

@media screen and (max-width: 1400px) {
    #uno {
        background-image: url("./img/OYTY5549-2.jpeg");
    }
}

@media screen and (max-width: 700px) {
    #sitio {
        width: calc(100% - 1px);
        height: 40vh;
    }

    .sitioContainer,
    .cuandoImg,
    .cuandoText2,
    .cuandoContainer {
        width: 100%;
    }

    .sitioImg,
    .sitioText,
    .sitioText>iframe {
        width: calc(100% - 1px);
        border-left: 0;

    }

    .sitioText {
        /* border-top: 1px solid black; */
        border: 1px solid black;
    }

    .sitioImg,
    .sitioText,
    .sitioTextText {
        height: 20vh;
    }

    .sitioContainer {
        height: 40vh
    }

    .cuandoImg,
    .cuandoImg>.uno,
    .cuandoImg>.dos,
    .cuandoContainer {
        width: 100%;
        height: 50vh;
    }

    .cuandoImg>img {
        width: 70%;
    }

    .cuandoText {
        height: 20vh;
        display: flex;
        width: 100%;
    }

    .cuandoText>a,
    .cuandoText2>a {
        text-decoration: underline;
    }

    .cuandoText2 {
        display: none;

    }

    #cuando {
        display: block;
    }
}