/* =========================================
   ♡ RESET
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background-image: url("Images/background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    color: #b94b82;

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}


/* =========================================
   ♡ SITE
========================================= */

.site {
    width: 1000px;
    max-width: 95%;

    margin: 25px auto;

    background-color: rgba(255, 255, 255, 0.96);

    border: 4px solid #f58fba;

    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.7),
        0 0 25px rgba(190, 70, 130, 0.35);
}


/* =========================================
   ♡ HEADER
========================================= */

.header {
    position: relative;

    height: 260px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    overflow: hidden;

    padding: 20px 35px;

    background:
        linear-gradient(
            135deg,
            #ffd1e4,
            #ffb3d2
        );

    border-bottom: 4px solid #ee79ad;
}


/* petits symboles */

.header-decoration {
    position: absolute;

    color: white;

    font-size: 35px;

    text-shadow:
        1px 1px 0 #e66b9f,
        0 0 8px white;
}

.top-left {
    top: 12px;
    left: 18px;
}

.top-right {
    top: 10px;
    right: 25px;
}


/* texte */

.header-text {
    width: 55%;

    text-align: center;

    position: relative;
    z-index: 2;
}

.tiny-text {
    margin: 5px 0;

    font-size: 13px;

    color: #ffffff;
}

.header h1 {
    margin: 12px 0 8px;

    color: white;

    font-size: 52px;

    font-style: italic;

    letter-spacing: 1px;

    text-shadow:
        2px 2px 0 #d95c91,
        4px 4px 0 rgba(255, 255, 255, 0.5),
        0 0 12px #ff8fbe;
}

.subtitle {
    margin: 0;

    color: white;

    font-size: 15px;
}

.header-line {
    margin-top: 15px;

    color: white;

    font-size: 14px;
}


/* image du header */

.header-image {
    width: 380px;
    max-height: 240px;

    object-fit: contain;

    align-self: flex-end;

    position: relative;
    z-index: 1;
}


/* décoration supplémentaire */

.header-decoration-image {
    position: absolute;

    width: 100px;

    right: 20px;
    top: 15px;

    opacity: 0.9;

    pointer-events: none;
}


/* =========================================
   ♡ MUSIC BAR
========================================= */

.music-bar {
    min-height: 38px;

    padding: 7px 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    background-color: #ee72aa;

    color: white;

    border-bottom: 3px solid #ffafd1;

    font-size: 14px;

    letter-spacing: 0.3px;
}

.music-bar strong {
    color: white;
}


/* =========================================
   ♡ THREE COLUMNS
========================================= */

.columns {
    display: grid;

    grid-template-columns:
        25%
        50%
        25%;

    gap: 10px;

    padding: 12px;

    align-items: start;
}

.left-column,
.center-column,
.right-column {
    min-width: 0;
}


/* =========================================
   ♡ GENERAL BOXES
========================================= */

.box {
    margin-bottom: 10px;

    background-color: #fff8fc;

    border: 2px solid #f397bf;

    box-shadow:
        2px 2px 0 rgba(238, 112, 169, 0.18);
}


/* titres */

.box-title {
    padding: 8px 5px;

    background:
        linear-gradient(
            to right,
            #ffd3e6,
            #ffc1dc,
            #ffd3e6
        );

    border-bottom: 2px solid #f397bf;

    text-align: center;

    color: #e84f96;

    font-size: 22px;

    font-weight: bold;

    text-shadow:
        1px 1px white;
}


/* contenu */

.box-content {
    padding: 13px;
}


/* =========================================
   ♡ LEFT SIDE
========================================= */

.hello-text {
    margin: 3px 0;

    text-align: center;

    font-size: 13px;
}

.mood {
    margin: 5px 0 15px;

    text-align: center;

    color: #ee4d99;

    font-size: 18px;

    font-weight: bold;
}


/* petites cartes */

.mini-card {
    margin-top: 10px;

    padding: 9px;

    background-color: white;

    border: 2px dotted #f49bc2;

    box-shadow:
        inset 0 0 10px rgba(255, 190, 220, 0.18);
}

.mini-card h3 {
    margin: 0 0 8px;

    text-align: center;

    color: #e95398;

    font-size: 15px;
}

.mini-card p {
    margin: 5px 0;

    font-size: 12px;

    line-height: 1.4;
}


/* visiteurs */

.visitor-box {
    text-align: center;
}

.visitor-number {
    margin: 8px 0;

    color: #e84794;

    font-family:
        "Courier New",
        monospace;

    font-size: 20px !important;

    font-weight: bold;

    letter-spacing: 3px;
}


/* =========================================
   ♡ CHARACTER BOX
========================================= */

.character-box {
    margin-bottom: 10px;

    overflow: hidden;

    background-color: #fff8fc;

    border: 2px solid #f397bf;

    text-align: center;
}

.character-content {
    padding: 10px;
}

.character-image {
    display: block;

    width: 100%;
    max-height: 190px;

    object-fit: contain;

    margin: 0 auto 5px;
}

.character-content p {
    margin: 5px 0;

    font-size: 12px;

    color: #c85b8b;
}


/* =========================================
   ♡ WELCOME
========================================= */

.welcome-box {
    min-height: 500px;
}

.sparkles {
    margin: 2px 0 12px;

    text-align: center;

    color: #f27fb3;

    font-size: 14px;
}

.welcome-box h2 {
    margin: 8px 0 15px;

    text-align: center;

    color: #e64c94;

    font-size: 20px;
}


/* image + texte */

.welcome-content {
    display: flex;

    align-items: center;

    gap: 12px;
}

.welcome-image-container {
    width: 38%;

    text-align: center;
}

.welcome-decoration {
    width: 100%;

    max-height: 150px;

    object-fit: contain;
}

.welcome-text {
    width: 62%;
}

.welcome-text p {
    margin: 0 0 10px;

    font-size: 13px;

    line-height: 1.55;
}


/* séparation */

.separator {
    margin: 18px 0;

    text-align: center;

    color: #ef80b5;

    letter-spacing: 3px;
}


/* message */

.message {
    margin: 10px 15px;

    text-align: center;

    font-size: 13px;

    line-height: 1.7;
}


/* citation */

.quote {
    width: 90%;

    margin: 18px auto;

    padding: 11px;

    background-color: #ffe5f1;

    border:
        2px dashed #ef92bb;

    text-align: center;

    color: #d95b92;

    font-style: italic;

    font-size: 13px;

    box-shadow:
        inset 0 0 10px rgba(255, 160, 200, 0.15);
}


/* =========================================
   ♡ UPDATES
========================================= */

.updates {
    margin-top: 15px;

    padding: 10px;

    background-color: white;

    border: 2px dotted #f09ac1;
}

.updates h3 {
    margin: 3px 0 10px;

    text-align: center;

    color: #e94d96;

    font-size: 15px;
}

.updates p {
    margin: 6px 0;

    font-size: 12px;
}


/* =========================================
   ♡ FEATURED
========================================= */

.featured-box {
    overflow: hidden;
}

.featured-content {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;
}

.featured-decoration {
    width: 90px;
    height: 75px;

    object-fit: contain;
}

.featured-content h3 {
    margin: 0 0 6px;

    color: #e74e96;

    font-size: 15px;
}

.featured-content p {
    margin: 0;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================
   ♡ NAVIGATION
========================================= */

.nav-buttons {
    padding: 10px;
}

.nav-button {
    display: block;

    position: relative;

    margin-bottom: 8px;

    padding: 8px 5px;

    background:
        linear-gradient(
            to bottom,
            #ffb8d5,
            #f797be
        );

    border: 2px solid #ef80b2;

    color: white;

    text-decoration: none;

    text-align: center;

    font-size: 13px;

    font-weight: bold;

    text-shadow:
        1px 1px #d9689a;

    box-shadow:
        2px 2px 0 rgba(210, 83, 140, 0.2);

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}


/* effet quand la souris passe dessus */

.nav-button:hover {
    background:
        linear-gradient(
            to bottom,
            #ff8fbd,
            #ef64a2
        );

    transform: translateX(4px);

    box-shadow:
        4px 3px 0 rgba(210, 83, 140, 0.25);
}


/* effet quand on clique */

.nav-button:active {
    transform: translateX(2px);
}


/* décoration */

.nav-decoration {
    padding: 3px 5px 12px;

    text-align: center;

    color: #ee71aa;

    letter-spacing: 4px;
}


/* =========================================
   ♡ SIDE CARD
========================================= */

.side-card .box-content p {
    margin: 7px 0;

    text-align: center;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================
   ♡ BUTTON IMAGE
========================================= */

.button-card {
    margin-bottom: 10px;

    padding: 12px;

    background-color: #fff5fa;

    border: 2px dashed #f29ac2;

    text-align: center;
}

.button-card img {
    width: 100%;

    max-height: 100px;

    object-fit: contain;
}

.button-card p {
    margin: 5px 0 0;

    color: #df5a94;

    font-size: 12px;
}


/* =========================================
   ♡ GALLERY
========================================= */

.gallery-box {
    margin: 0 12px 12px;

    background-color: #fff8fc;

    border: 2px solid #f397bf;
}

.gallery-title {
    padding: 9px;

    background:
        linear-gradient(
            to right,
            #ffd3e6,
            #ffc0dc,
            #ffd3e6
        );

    border-bottom: 2px solid #f397bf;

    color: #e74d95;

    text-align: center;

    font-size: 20px;

    font-weight: bold;
}


.gallery {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;

    padding: 12px;
}


.gallery-item {
    height: 115px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background-color: white;

    border: 2px solid #f3a0c5;

    padding: 5px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px) rotate(-1deg);

    box-shadow:
        0 5px 10px rgba(215, 91, 145, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================
   ♡ FOOTER
========================================= */

.footer {
    padding: 15px;

    background:
        linear-gradient(
            to bottom,
            #ffc9e0,
            #ffb7d5
        );

    border-top: 3px solid #ee82b5;

    color: white;

    text-align: center;

    font-size: 12px;
}

.footer p {
    margin: 5px 0;
}

.footer-decoration {
    margin-bottom: 8px;

    font-size: 13px;
}

.footer-small {
    font-size: 11px;

    opacity: 0.9;
}


/* =========================================
   ♡ RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .site {
        width: 95%;
    }

    .header {
        height: auto;

        flex-direction: column;

        text-align: center;

        padding: 25px 15px;
    }

    .header-text {
        width: 100%;
    }

    .header-image {
        width: 70%;
        max-height: 180px;

        align-self: center;
    }

    .columns {
        grid-template-columns: 1fr;
    }

    .welcome-content {
        flex-direction: column;
    }

    .welcome-image-container,
    .welcome-text {
        width: 100%;
    }

    .gallery {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (max-width: 500px) {

    .site {
        max-width: 98%;
    }

    .header h1 {
        font-size: 35px;
    }

    .header-image {
        width: 85%;
    }

    .gallery {
        grid-template-columns: 1fr;
    }
}