@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@1,400;1,700 &display=swap');

* {
    color: rgb(119, 40, 53);
    font-family: 'PT Serif', serif;
    margin: 0;
}

body {
    background-color: #80244f;
}

.movimiento {
    /* Establecemos la iamgen de fondo del texto */
    display: block;
    background: url('../img/rosa.jpeg');
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;

    -webkit-text-fill-color: transparent;

    /* Establecemos la animación */
    animation: fire 20s linear infinite;
    -webkit-animation: fire 20s linear infinite;
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

}

@keyframes fire {
    /* Definimos el paso a paso de la animación */
    0% {
        background-position: left 0 top 10px;
    }
    15% {
        background-position: left 500px top 5px;
    }
    30% {
        background-position: left 1000px top 0;
    }
    70% {
        background-position: left 2000px top -5px;
    }
    100% {
        background-position: left 3000px top 10px;
    }
}

.titulo {
    font-family: 'PT Serif', serif;
    font-size: 10vmin;
    color: rgb(119, 40, 53);
    background-color: inherit;
}

.cabecera {
    width: 100vw;
    height: 2vmax;
    background-color: #80244f;
    border-style: solid;
    border-color: #f1e5eb;
    position: fixed;
    top: 0;
    z-index: 10;
}

h3 {
    color: #f1e5eb;
    font-size: 1.5vmax;
}

p {
    color: #80244f;
    font-family: 'PT Serif', serif;
    font-size: larger;
}

.botonera {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    order: 0;
    flex: 0 1 auto;
    align-self: stretch;
    border-style: solid;
    border-color: #f1e5eb;
    background-color: #80244f;
}

button {
    width: 10vmax;
    height: 2.8vmax;
    font-size: 1.5vmax;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
    color: white;
    font-family: 'PT Serif', serif;
    font-weight: 700;
    position: relative;
    transition: all 0.5s;
    z-index: 1;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: white;
    z-index: -1;
    transition: all 0.5s;
}

button:hover::before {
    width: 100%;
}

button:hover {
    color: #80244f;
}

button:active:before {
    background: #f8cdcd;
}

.pie {
    width: 100%;
    height: 10vh;
    background-color: #f1e5eb;
    color: rgb(119, 40, 53);
    position: fixed;
    top: 0;
}

.cuerpo {
    width: 90vw;
    margin: auto;
    padding-top: 10vh;
    display: flex;
    flex-direction: column;
    background-color: #80244f;
}

.seccion {
    width: 100%;
    /* max-height: 100vh; */
    min-height: 80vh;
    border-top: 1vh solid #f1e5eb;
    background-color: #f8cdcd;
}

.subtitulo {
    font-family: 'PT Serif', serif;
    font-size: 6vmin;
    color: silver;
    letter-spacing: 0.25em;
    background-color: transparent;
    text-align: center;
    text-shadow: 2px 2px 2px #80244f;
    padding-top: 1%;

}

.preguntas {
    background-color: pink;
    font-size: 2.5vmin;
    line-height: 4.5vmin;
    padding-top: 14vh;
    background-image: url("../img/fondo_preguntas.jpg");
    background-size: cover;
}

.izq {
    background-color: pink;
    opacity: 60%;
    margin-left: 5%;
    padding-left: 5%;
    margin-right: 5%;
    text-align: left;
    color: #80244f;
    border-left: 1vmax solid #80244f;

}

.izq::before {
    content: "🤍";
    padding-right: 2%;

}

.der {
    background-color: pink;
    opacity: 60%;
    margin-right: 5%;
    padding-right: 5%;
    margin-left: 5%;
    text-align: right;
    color: #80244f;
    border-right: 1vmax solid #80244f;

}

.der::after {
    content: "🤍";
    padding-right: 2%;

}

.respuesta {
    font-family: 'PT Serif', serif;
    background-color: transparent;
    color: #80244f;
    font-weight: bold;
    font-size: 2.5vmin;
}

.presentacion {
    background-color: pink;
    color: #80244f;
    padding-top: 18vh;
    align-content: center;
    font-size: large;
    flex-direction: column;
    text-align: center;
}

.presentacion img {
    width: 50%;
}

.illia {
    background-color: pink;
    color: #80244f;
    padding-top: 10vh;
    font-size: large;
    flex-direction: column;
    justify-content: center;

}

.no-touch{
  height: max-content;
}

.wrap {
    overflow: hidden;
    margin: 10px;
    
}
.box {
    float: left;
    position: relative;
    width: 20%;
    padding-bottom: 20%;
}
.boxInner {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    overflow: hidden;
}
.boxInner img {
    width: 100%;
}
.boxInner .titleBox {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: -50px;
    background: #fff;
    background: rgba(0, 0, 0, 0.5);
    color: #FFF;
    padding: 10px;
    text-align: center;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
section.no-touch .boxInner:hover .titleBox,
section.touch .boxInner.touchFocus .titleBox {
    margin-bottom: 0;
}
@media only screen and(max-width : 480px) {
    /* Smartphone view: 1 tile */
    .box {
        width: 100%;
        padding-bottom: 100%;
    }
}
@media only screen and(max-width : 650px) and(min-width : 481px) {
    /* Tablet view: 2 tiles */
    .box {
        width: 50%;
        padding-bottom: 50%;
    }
}
@media only screen and(max-width : 1050px) and(min-width : 651px) {
    /* Small desktop / ipad view: 3 tiles */
    .box {
        width: 33.3%;
        padding-bottom: 33.3%;
    }
}
@media only screen and(max-width : 1290px) and(min-width : 1051px) {
    /* Medium desktop: 4 tiles */
    .box {
        width: 25%;
        padding-bottom: 25%;
    }
}

.preferencias {
    background-color: pink;
    color: #80244f;
    padding-top: 10vh;
    font-size: large;
    flex-direction: row;
}

.contenedor {
    padding-top: 12vh;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    position: inherit;
    row-gap: 5vw;
    column-gap: 2em;
    align-items: center;
    height: 8vh;
}

.contenedor figure {
    position: relative;
    height: 10vw;
    cursor: pointer;
    width: 16vw;
    overflow: hidden;
    border-radius: 6vw;
    box-shadow: 0 1.5vw 2.5vw rgba(134, 50, 78, 0.5);

}
.contenedor figure img {
    width: 100%;
    height: 100%;
    transition: all 400ms ease-out;
    will-change: transform;
    background-color: transparent;
    z-index: -10;
}
.contenedor figure .capa {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 244, 247, 0.7);
    transition: all 400ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}
.contenedor figure:hover > .capa {
    opacity: 1;
    visibility: visible;
}
.contenedor figure:hover > .capa h3 {
    margin-top: 7vw;
    margin-bottom: 1.5vw;
}
.contenedor figure:hover > img {
    transform: scale(1.3);
}
.contenedor figure .capa h3 {
    color: #80244f;
    font-weight: 400;
    margin-bottom: 1.2vw;
    transition: all 400ms ease-out;
    margin-top: 3vw;
}
.contenedor figure .capa p {
    color: #fff;
    font-size: 1.5vw;
    line-height: 1.5;
    width: 100%;
    max-width: 22vw;
    margin: auto;
}


.futuro {
    background-color: pink;
    color: #80244f;
    padding-top: 10vh;
}

.collage_v,
.collage_h {
    display: none;

    width: 90%;
    margin: auto;
}

.collage_v img {
    width: 100%;
}
.collage_h img {
    width: 100%;
    height: 50%;
}

@media(orientation:landscape) {
    .collage_h {
        display: block;
    }
}

@media(orientation:portrait) {
    .collage_v {
        display: block;
    }
}

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    background-color: #80244f;
    border-style: solid;
    border-color: #f1e5eb;
    height: fit-content;
    width: 100%;
}

.contactos {
    width: 12vh;
}
