@import url("https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@400;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Martian+Mono:wdth,wght@112.5,300&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-image: url(https://i.pinimg.com/originals/53/18/3e/53183edd3a8cba0b1eae7b679c67fc56.gif);
    background-position: center;
    background-size: auto;
    font-family: "Martian Mono", monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;min-width:100%;
}

h1 { color: rgba(93, 151, 112, 0.829) ;
    font-size: 8vw;
    margin: 0; font-family: "Mountains of Christmas", serif; margin-left: 10%; text-decoration-line: underline;
}

h1:hover {
    color:  rgb(250, 229, 198);
}

h2 {
    font-size: 5.5vw;
    font-family: "Mountains of Christmas", serif;
    margin-left: 15%;
    color: rgba(93, 151, 112, 0.829); margin-bottom: 0%; 
}

h3 {
    font-size: 3vw;
    margin: 0;
}

h4 {
    font-size: 3.5vw;
    color: rgb(250, 229, 198);
}

h5 {
    font-size: 1vw;
    font-family: "Martian Mono", monospace;
}

p {
    background-color: rgba(0, 0, 0, 0.67);
    color: rgb(250, 229, 198);
    font-size: 2vw; 
    line-height: 1.5;
    font-family: "Martian Mono", monospace;
    padding: 20px;
    border-radius: 8px;
    margin-left: 5%;
}

.contenedor-portada {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5% 0;
    max-width: 80%;
}

.contenedor-imagen img {
    flex: 1;
    width: 750px;
    height: auto;
    border-radius: 28%;
    margin-left: 10%;
}

.contenedor-texto {
    color: rgba(93, 151, 112, 0.829);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: "Mountains of Christmas", serif;
    font-size: 4vw;
    margin-left: 15%;
    text-align: justify;
    flex: 1;
}

.seccion-botones {
    background-color: transparent;
    padding: 8% 0;
    text-align: center;
    color: rgba(93, 151, 112, 0.829);
}

.contenedor-botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-family: "Martian Mono", monospace; margin-top: 0%;
}

.boton {
    font-size: 2vw;
    display: inline-block;
    padding: 10px 20px;
    margin: 2%;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    color: rgb(0, 0, 0);
    background-color: rgba(63, 104, 77, 0.829);
    position: relative;
    overflow: hidden;
}

.boton::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: url('path/to/your/star-image.png') repeat;
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: sparkle 1.5s infinite;
}

.boton:hover::before {
    opacity: 0.6;
}

.boton:hover {
    background-color: rgb(250, 229, 198);
    color: rgba(63, 104, 77, 0.829);
}

@keyframes sparkle {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

/* Polaroid style */
.polaroid {
    display: inline-block;
    width: auto;
    height: 500px;
    max-width: 450px;
    background-color: rgb(250, 229, 198);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 10px solid rgb(250, 229, 198);
    margin: 3%;
    font-size: 1vw;
    margin-top: 10%;
}

.polaroid-caption {
    color: black;
    font-family: "Martian Mono", monospace; font-size: 1vw; margin-top: 5%;
}

/* Letterboxd style */
.letterboxd {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.letterboxd img {
    width: 90%;
    max-width: 1000px;
    height: auto;
    border-radius: 50%;
    border: 2px solid rgb(250, 229, 198);
}

.letterboxd img:hover {
    transform: scale(1.1);
}

/* Future card styles */
.BOX-TIRADA-FUTURO {
    display: flex;
    margin: 0 15% 10% 75%; align-items: center;align-self: center; margin-left: 15%; margin-right: 50%;
}

.contenedor-carta,
.contenedor-carta2,
.contenedor-carta3,
.contenedor-carta4 {
    display: flex;
    margin: 0 3%; 
}

.carta-futuro {
    width: 220px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.carta-futuro:hover {
    transform: rotateY(180deg);
}

.carta-cara {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.carta-frente,
.carta-atras {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carta-frente {
    background: rgb(250, 229, 198);
    z-index: 2;
}

.carta-atras {
    background: #000;
    color: rgba(63, 104, 77, 0.829);
    transform: rotateY(180deg);
}

.carta-frente img,
.carta-atras img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Button to return */
.botonmenu {
    font-size: 4vw;
    transition: background-color 0.3s;
    color: rgba(93, 151, 112, 0.829);
    background-color: #000000ab;
    position: fixed;
    bottom: 10px;
    right: 15px;
    z-index: 2;
    font-family: "Mountains of Christmas", serif;
}

.botonvolver {
    font-size: 4vw;
    transition: background-color 0.3s;
    color: rgba(93, 151, 112, 0.829);
    background-color: #000000ab;
    position: fixed;
    bottom: 10px;
    left: 15px;
    z-index: 2;
    font-family: "Mountains of Christmas", serif;
}



/* Footer styles */
footer {
    background: rgba(63, 104, 77, 0.829);
    height: 70px;
    border-top: 2px solid rgba(0, 0, 0, 0);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    line-height: 70px;
    font-family: "Martian Mono", monospace;
}

/* Media queries */
@media (max-width: 768px) {
    .contenedor-portada {
        flex-direction: column;
        align-items: center;
        max-width: 95%;
    }

    .contenedor-texto {
        margin-left: 0;
        text-align: center;
    }

    h1, h2, h3, h4, h5 {
        font-size: 8vw;
    }
}

@media (max-width: 480px) {
    .boton {
        font-size: 3vw;
    }

    p {
        font-size: 2vw;
    }

    .contenedor-texto {
        font-size: 3vw;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .contenedor-portada {
        max-width: 90%;
    }

    h1 {
        font-size: 5vw;
    }
}

/* Slideshow styles */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.prev,
.next {
    cursor: pointer;
    position: absolute
}
