* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    min-height: 100vh;

    background:
        url('../assets/img/fairy-bg.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    font-family: 'Cormorant Garamond', serif;

    color: white;

    padding: 40px 20px;
}

body::before {

    content: "";

    position: fixed;

    inset: 0;

    background:
        rgba(10, 10, 25, .55);

    z-index: -1;
}

.closing-container {

    max-width: 500px;

    margin: auto;
}

.quote-title {

    text-align: center;

    font-family: 'Parisienne', cursive;

    font-size: 56px;

    color: #f4ddd1;

    margin-bottom: 20px;

    text-shadow:
        0 0 10px rgba(255, 230, 210, .4);
}

.quote-text {

    text-align: center;

    font-size: 22px;

    line-height: 1.8;

    color: #fff7ea;

    margin-bottom: 40px;
}

/* FORM */

.wish-card {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-bottom: 40px;
}

.wish-card input,
.wish-card textarea {

    width: 100%;

    border:
        1px solid rgba(255, 230, 180, .15);

    outline: none;

    border-radius: 24px;

    padding: 18px;

    font-size: 18px;

    color: #fff;

    background:
        rgba(255, 255, 255, .08);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .15);
}

.wish-card input::placeholder,
.wish-card textarea::placeholder {

    color:
        rgba(255, 255, 255, .55);
}

.wish-card textarea {

    min-height: 140px;

    resize: none;
}

#sendWish {

    width: 100%;

    border: none;

    border-radius: 999px;

    padding: 20px;

    cursor: pointer;

    font-size: clamp(20px, 5vw, 24px);

    font-family: 'Cormorant Garamond', serif;

    font-weight: 700;

    letter-spacing: .5px;

    color: #fff7ea;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, .2);

    background:
        linear-gradient(135deg,
            #0d4f43 0%,
            #17715f 40%,
            #2f8f78 100%);

    border:
        2px solid rgba(255, 225, 170, .55);

    box-shadow:
        0 0 18px rgba(23, 113, 95, .35),
        inset 0 1px 1px rgba(255, 255, 255, .15);

    transition: .35s ease;

    position: relative;

    overflow: hidden;
}

#sendWish:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 0 30px rgba(47, 143, 120, .55),
        0 0 50px rgba(47, 143, 120, .25);

    background:
        linear-gradient(135deg,
            #12614f,
            #21856d,
            #38a086);
}

#sendWish::before {

    content: "";

    position: absolute;

    top: 0;

    left: -100%;

    width: 60%;

    height: 100%;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 235, 180, .35),
            transparent);

    animation:
        buttonShine 4s linear infinite;
}

#sendWish::after {

    content: "";

    position: absolute;

    inset: 3px;

    border-radius: 999px;

    border:
        1px solid rgba(255, 235, 200, .18);

    pointer-events: none;
}

@keyframes buttonShine {

    0% {
        left: -100%;
    }

    100% {
        left: 140%;
    }
}

/* LIST */

.wish-title {

    text-align: center;

    font-family: 'Parisienne', cursive;

    font-size: 46px;

    color: #f4ddd1;

    margin-bottom: 25px;
}

.message-card {

    background:
        linear-gradient(135deg,
            rgba(31, 92, 77, .28),
            rgba(47, 122, 99, .12));

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border:
        1px solid rgba(255, 220, 180, .15);

    border-radius: 28px;

    padding: 22px;

    margin-bottom: 18px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .18);

    display: flex;

    flex-direction: column;

    gap: 6px;
}

.message-name {

    font-size: 28px;

    color: #f4ddd1;

    font-weight: 600;

    margin-bottom: 10px;
}

.message-text {

    font-size: 21px;

    line-height: 1.6;

    color: #ffffff;

    font-style: italic;

    opacity: .95;
}

.message-date {

    font-size: 16px;

    color: #666;
}

/* NAVIGATION */

.closing-navigation {

    margin-top: 35px;

    display: flex;

    justify-content: flex-start;
}

.nav-btn {

    text-decoration: none;

    color: #f4ddd1;

    font-size: 22px;
}

@media(max-width:480px) {

    .quote-title {

        font-size: 48px;
    }

    .wish-title {

        font-size: 42px;
    }

    .quote-text {

        font-size: 20px;
    }
}

.message-card {

    background:
        linear-gradient(135deg,
            rgba(31, 92, 77, .28),
            rgba(47, 122, 99, .12));

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border:
        1px solid rgba(255, 220, 180, .15);

    border-radius: 28px;

    padding: 22px;

    margin-bottom: 18px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .18);

    display: flex;

    flex-direction: column;

    gap: 6px;
}

@keyframes fadeUp {

    from {

        opacity: 0;

        transform:
            translateY(20px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}

.wish-card input:focus,
.wish-card textarea:focus {

    border:
        1px solid rgba(255, 220, 180, .45);

    box-shadow:
        0 0 20px rgba(255, 220, 180, .15);
}

.message-label {

    font-size: 14px;

    text-transform: uppercase;

    letter-spacing: 2px;

    color: rgba(244, 221, 209, .65);

    margin-top: 4px;
}