/* Variables*/
:root {
    --rosa-viejo: #B76E79;
    --rosa-chicle: #E98BA8;

    --rose-gold: #C98B8B;
    --rose-gold-claro: #E4B6B2;

    --dorado: #C9A45C;
    --dorado-claro: #E5CC91;

    --rosa-palido: #F9E8EC;
    --marfil: #FFF9F6;

    --rosa-oscuro: #713F4A;
    --texto: #4A3940;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100vh;
}

body {
    min-height: 100vh;

    background:
        linear-gradient(rgba(255, 249, 246, 0.55),
            rgba(255, 249, 246, 0.55)),
        url("fondo.jpg") center / cover no-repeat fixed;

    color: var(--texto);

    font-family: 'Montserrat', sans-serif;
    font-weight: 300;

    display: flex;
    flex-direction: column;
}

/*Header*/
header {
    width: 100%;
    text-align: center;
    padding-top: 15vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*Titulo - Nombre*/
#tituloHeader {
    font-family: 'Parisienne', cursive;
    font-size: clamp(20rem, 16vw, 12rem);
    font-weight: 400;
    line-height: 1;
    text-shadow:
        2px 3px 6px rgba(113, 63, 74, 0.25);

    background: linear-gradient(180deg,
            #713F4A 0%,
            #A84F68 18%,
            #D47B92 32%,
            #F0B8C5 45%,
            #B95F78 55%,
            #E29AAA 68%,
            #8F4359 85%,
            #633640 100%);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    margin: 0;
    /* Animación */
    animation: aparecerNombre 2.2s ease-out both;
}

/*Subtitulo - Mis XV*/
#subtituloHeader {
    margin-top: 35px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(7rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: 10px;
    color: var(--dorado-claro);
    text-transform: uppercase;
    background: linear-gradient(180deg,
            #6B3D0C 0%,
            #B87922 20%,
            #E5B653 35%,
            #F3D27A 45%,
            #C38A2C 55%,
            #E8BD5A 72%,
            #8A5315 100%);

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    text-shadow:
        1px 1px 2px rgba(90, 48, 20, 0.20);
    /* Animación */
    animation: aparecerSubtitulo 2.2s ease-out both;
}

/*Estrella*/
header::after {
    content: "✦";
    display: block;
    color: var(--rose-gold-claro);
    font-size: 3rem;
    /* Animación */
    animation: aparecerEstrella 3s ease-out both;

}

/*Animaciones*/

@keyframes aparecerNombre {

    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.94);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


@keyframes aparecerSubtitulo {

    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes aparecerEstrella {

    0% {
        opacity: 0;
        transform: scale(0.4) rotate(-30deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

}

/*Main*/
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;

}

#pMain {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 3.5rem;
    text-shadow:
        1px 2px 4px rgba(113, 63, 74, 0.18);
    color: var(--rose-gold);
}

/* ========================= SOBRE ========================= */
.sobre {
    position: relative;
    width: min(1000px, 75vw, 70vh);
    transition: transform 0.5s ease;
}

.sobre img {
    display: block;
    width: 100%;
    height: auto;
    filter:
        drop-shadow(0 12px 12px rgba(80, 45, 55, 0.12)) drop-shadow(0 25px 25px rgba(80, 45, 55, 0.10));
    border-radius: 15px;
    padding: 10px;
}

/* ========================= ÁREA CLICKEABLE ========================= */
.sobre a {
    position: absolute;
    inset: 5%;
    display: block;
    cursor: pointer;
}

/* ========================= HOVER ========================= */
.sobre:hover {
    transform: translateY(-8px);
}

.sobre:hover a::after {
    opacity: 1;
}

.sobre:after {
    content: "✦";
    display: block;
    text-align: center;
    color: var(--rose-gold-claro);
    font-size: 3rem;
    /* Animación */
    animation: aparecerEstrella 3s ease-out both;
}

/* ========================= FOOTER ========================= */

footer {
    text-align: center;

    padding: 35px 20px 45px;

    animation: aparecerFecha 2.2s ease-out both;
}

#fchFooter {
    font-family: 'Newsreader', serif;
    font-size: 6rem;
    font-weight: 500;
    letter-spacing: 5px;
    background: linear-gradient(180deg,
            #6B3D0C 0%,
            #B87922 20%,
            #E5B653 35%,
            #F3D27A 45%,
            #C38A2C 55%,
            #E8BD5A 72%,
            #8A5315 100%);

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    text-shadow:
        1px 1px 2px rgba(90, 48, 20, 0.20);
}

@keyframes aparecerFecha {

    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

/*TABLET*/
@media (max-width: 1500px) {
    header {
        padding-top: 10vh;
        padding-left: 8vh;
        padding-right: 8vh;
    }

    #tituloHeader {
        line-height: 1;
        font-size: clamp(6.8rem, 25vw, 8rem);
    }

    #subtituloHeader {
        font-size: 2.5rem;
        letter-spacing: 4.2px;
        margin: 25px;
    }

    header::after {
        font-size: 1rem;
    }

    main {
        padding: 25px 15px;
    }

    #pMain {
        font-size: 1.8rem;
    }

    .sobre {
        width: 50vw;
        max-height: 70vh;
    }

    .sobre::after {
        font-size: 1rem;
    }

    footer {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    #fchFooter {
        font-size: 2rem;
        font-weight: 400;
    }
}

/*TABLET*/
@media (max-width: 800px) {
    header {
        padding-top: 10vh;
        padding-left: 8vh;
        padding-right: 8vh;
    }

    #tituloHeader {
        line-height: 1;
        font-size: clamp(6.8rem, 25vw, 8rem);
    }

    #subtituloHeader {
        font-size: 2.5rem;
        letter-spacing: 4.2px;
        margin: 25px;
    }

    header::after {
        font-size: 1rem;
    }

    main {
        padding: 25px 15px;
    }

    #pMain {
        font-size: 1.8rem;
    }

    .sobre {
        width: 70vw;
        max-height: 70vh;
    }

    .sobre::after {
        font-size: 1rem;
    }

    footer {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    #fchFooter {
        font-size: 2rem;
        font-weight: 400;
    }
}

/* ========================= MOBILE ========================= */
@media (max-width: 660px) {
    header {
        padding-top: 10vh;
        padding-left: 8vh;
        padding-right: 8vh;
    }

    #tituloHeader {
        line-height: 1;
        font-size: clamp(6.8rem, 25vw, 8rem);
    }

    #subtituloHeader {
        font-size: 2.5rem;
        letter-spacing: 4.2px;
        margin: 25px;
    }

    header::after {
        font-size: 1rem;
    }

    main {
        padding: 25px 15px;
    }

    #pMain {
        font-size: 1.1rem;
    }

    .sobre {
        width: 90vw;
        max-height: 50vh;
    }

    .sobre::after {
        font-size: 1rem;
    }



    footer {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    #fchFooter {
        font-size: 2rem;
        font-weight: 400;
    }
}