:root {
    --color-cream: #ffe49f;

    --font-display: "Damsterdam", cursive;

    --safe-top: max(3vw, calc(env(safe-area-inset-top, 0px) + 0.5rem));
    --safe-right: max(3vw, env(safe-area-inset-right, 0px));
    --safe-bottom: max(3vw, env(safe-area-inset-bottom, 0px));
    --safe-left: max(3vw, env(safe-area-inset-left, 0px));


    --graphic-width: 45vw;
    --graphic-left: 0vw;
    --graphic-top: var(--safe-top);

    --info-width: 45vw;
    --info-top: 12vw;
    --info-left: 45vw;

    --info2-width: 45vw;
    --info2-top: 75vw;
    --info2-left: 30vw;

    --shadow-star-width: 12vw;
    --shadow-star-left: calc(var(--info2-left) + var(--info2-width));
    --shadow-star-top: var(--info2-top);

    --music-list-width: var(--info2-width);
    --music-list-left: var(--info2-left);
    --music-list-top: 120vw;

    --ellipse-width: 140vw;
    --ellipse-left: -20vw;
    --ellipse-top: 120vw;
    --ellipse-aspect: 2351 / 1861;
    --ellipse-fill: #8dc9e3;
    --page-height-extra: 0px;
    --page-height: calc(var(--ellipse-top) + var(--ellipse-width) * 1861 / 2351 / 2 + var(--page-height-extra));

    --title-top: var(--safe-top);
    --title-size: clamp(2.5rem, 10vw, 5rem);

    --random-width:10vw;
}

@font-face {
    font-family: "Damsterdam";
    src: url("../assets/fonts/Damsterdam.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Averia Serif Libre";
    src: url("../assets/fonts/Averia_Serif_Libre/AveriaSerifLibre-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: clip;
    overscroll-behavior: none;
    background-color: var(--ellipse-fill);
}


.about-page {
    width: 100%;
    background-color: var(--ellipse-fill);
}

.about-canvas {
    position: relative;
    width: 100%;
    height: var(--page-height);
    overflow: hidden;
    background-color: var(--color-cream);
}

.about-title,
.about-info,
.about-info2,
.about-music-list,
.about-shadow-star,
.about-graphic {
    z-index: 2;
}

.about-title {
    position: absolute;
    left: 50%;
    top: var(--title-top);
    transform: translateX(-50%);
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--title-size);
    font-weight: 400;
    line-height: 1;
    text-align: center;
    color: #000;
}

.about-info {
    position: absolute;
    left: var(--info-left);
    top: var(--info-top);
    width: var(--info-width);
    height: auto;
    display: block;
}

.about-info--mobile {
    display: none;
}

.about-info-mobile2 {
    display: none;
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

@media (min-width: 768px) {
    .about-info-mobile2 {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        visibility: hidden !important;
    }
}

.about-info2-wrap {
    position: absolute;
    left: var(--info2-left);
    top: var(--info2-top);
    width: var(--info2-width);
}

.about-info2-wrap .about-info2 {
    position: static;
    width: 100%;
    height: auto;
    display: block;
}

.about-info2-link {
    position: absolute;
    left: 10%;
    top: 82%;
    width: 40%;
    height:10%;
    display: block;
    z-index: 5;
}

.about-music-list-wrap {
    position: absolute;
    left: var(--music-list-left);
    top: var(--music-list-top);
    width: var(--music-list-width);
    z-index: 2;
}

.about-music-list-wrap .about-music-list {
    position: static;
    width: 100%;
    height: auto;
    display: block;
}

.music-link {
    position: absolute;
    left: 0;
    width: 100%;
    height: 12.5%;
    display: block;
}

.music-link-1 { top: 28%; }
.music-link-2 { top: 40%; }
.music-link-3 { top: 50%; }
.music-link-4 { top: 59%; }
.music-link-5 { top: 70%; }

.music-link-6 {
    left: 67%;      /* placeholder — how far right it starts */
    width: 30%;      /* placeholder — how wide the corner block is */
    top: 83%;
    height: 12.5%;
}

.about-shadow-star {
    position: absolute;
    left: var(--shadow-star-left);
    top: var(--shadow-star-top);
    width: var(--shadow-star-width);
    z-index: 2;
}

.about-shadow-star__img {
    width: 100%;
    height: auto;
    display: block;
    transform-origin: center center;
    will-change: transform;
}

.about-ellipse {
    position: absolute;
    left: var(--ellipse-left);
    top: var(--ellipse-top);
    width: var(--ellipse-width);
    aspect-ratio: var(--ellipse-aspect);
    z-index: 1;
}

.about-ellipse svg {
    width: 100%;
    height: 100%;
    display: block;
}

.about-ellipse ellipse {
    fill: var(--ellipse-fill);
}

.about-graphic {
    position: absolute;
    left: var(--graphic-left);
    top: var(--graphic-top);
    width: var(--graphic-width);
    height: auto;
    display: block;
}

.swiggle {
    position: absolute;
    rotate: 180deg;
    height: auto;
    display: block;
    top: 5vw;
}
.white-rectangle{
  position: absolute;
  height: 10vh;
    width: 100vw;
    top: 0vw;
}

.about-footer-wrap {
    display: none;
    position: relative;
    width: 100%;
    background-color: #fff;
}

.site-footer {
    width: 100%;
    box-sizing: border-box;
    padding:
        2vw
        max(1vw, 18vw)
        calc(2vw + clamp(3rem, 10vw, 6rem))
        1vw;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    text-align: center;
}

.site-footer__title {
    margin: 0;
    font-family: "Damsterdam", cursive;
    font-weight: 400;
    font-size: 9vw;
    line-height: 1;
    text-transform: uppercase;
    color: #000;
}

.site-footer__info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
}

.site-footer__details {
    margin: 0;
    text-align: left;
    font-family: "Averia Serif Libre", serif;
    font-size: 3.5vw;
    line-height: 1.5;
    color: #000;
}

.site-footer__details p {
    margin: 0;
}

.site-footer__circles {
    flex: none;
    width: 14vw;
}

.site-footer__circles svg {
    width: 100%;
    height: auto;
    display: block;
}

.site-footer__guestbook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40vw;
    padding: 0.6em 1.2em;
    background-color: var(--color-cream);
    color: #000;
    font-family: "Damsterdam", cursive;
    font-size: 3vw;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
}

.site-footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6vw;
}

.social-btn {
    display: block;
    width: 10vw;
}

.social-btn img {
    width: 100%;
    height: auto;
    display: block;
}

.site-footer__brand {
    position: absolute;
    right: max(3vw, env(safe-area-inset-right, 0px));
    bottom: max(3vw, env(safe-area-inset-bottom, 0px));
    z-index: 2;
    width: clamp(5.5rem, 16vw, 11rem);
    height: auto;
    pointer-events: none;
    user-select: none;
}



/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
    :root {
        --mobile-gap: 16vw;

        --title-size: 15vw;

        --graphic-width: 70vw;
        --graphic-left: 0vw;
        --graphic-top: 57vw;

        --info-width: 100vw;
        --info-left: -5vw;
        --info-top: 33vw;

        --info-mobile2-width: 88vw;
        --info-mobile2-left: 6vw;
        --info-mobile2-top: 105vh;
        --info-mobile2-height: calc(var(--info-mobile2-width) * 1074 / 1660);

        --info2-width: 88vw;
        --info2-left: 6vw;
        --info2-top: calc(var(--info-mobile2-top) + var(--info-mobile2-height) + var(--mobile-gap));

        --shadow-star-width: 50vw;
        --shadow-star-left: calc(var(--info2-left) + var(--info2-width) - var(--shadow-star-width));
        --shadow-star-top: 75vh;

        --ellipse-width: 175vw;
        --ellipse-left: -37.5vw;
        --ellipse-top: calc(var(--info2-top) + var(--info2-width) * 1279 / 1305 + var(--mobile-gap));

        --music-list-top: calc(var(--ellipse-top) + 10vw);

        --page-height-extra: 20vw;

        --random-width:10vw;
    }

    .about-info--desktop {
        display: none;
    }

    .about-info--mobile {
        display: block;
    }

    .about-info-mobile2 {
        position: absolute;
        left: var(--info-mobile2-left);
        top: var(--info-mobile2-top);
        width: var(--info-mobile2-width);
        height: auto;
        margin: 0;
        padding: 0;
        overflow: visible;
        visibility: visible;
        pointer-events: auto;
        display: block;
        z-index: 2;
    }

  .swiggle {
    position: absolute;
    rotate: 180deg;
    height: auto;
    display: block;
    top: 28vw;
    width: 150vw;
}
.white-rectangle{
  position: absolute;
  height: 15vh;
    width: 100vw;
    top: 0vw;
}

    .about-footer-wrap {
        display: block;
    }

}
