@import url('https://fonts.googleapis.com/css2?family=Kdam+Thmor+Pro&display=swap');
body {
    color: #001D52;
    font-family: "Kdam Thmor Pro";
    margin: 0;
    background-image: url("../assets/wallpaperv2_webp.webp");
    background-repeat: no-repeat;
    background-size: cover;
}

#logo { 
    text-decoration-line: underline;
}

#main {
    display: flex;
}

#left, #right {
    margin: 0 32px;
}

#left {
    width: 60%;
}

#right {
    width: 40%;
}

#right img {
    max-width: 100%;
}

#sparkles {
    position: absolute;
    left: -20%;
    bottom: -20%;
    width: 101px;
    height: 122px;
}

#mii {
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 75px;
    transform: translate(0, -100%);
}

h2 {
    color: #001D52;
    font-family: "Kdam Thmor Pro";
    font-size: 4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;

}

#title-section {
    position: relative;
}

#heart {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;

    width: 105px;
    height: 96px;
    transform: rotate(22deg);
}

#dog {
    position: absolute;
    bottom: -40px;
    left: 40%;
    width: 100px;
    height: 98px;
}

#legal-section {
    margin: auto 32px;
    padding: 0;
    max-width: 70%;
    max-height: 500px;
}

#renovations {
    min-width: 560px; 
    min-height: 280px;
}

.content {
    padding: 0px 16px 20px;
    overflow-y: scroll;
    max-height: calc(450px - 36px);
}

#container  {
    position: relative;
}

#star {
    position: absolute;
    bottom: -20%;
    left: -20px;
    width: 139px;
    height: 148px;
    z-index: 1;
}

#collage_phone {
    display: none;
}

/* telephone (≤ 600px)  */
@media screen and (max-width: 600px) {
    html {
        font-size: 12px;
    }
    body {
        background-image: url("../assets/wallpaper_phone_webp.png");
        min-width: 100%;
        background-repeat: repeat;
        background-size: 100%;
    }

    header {
        flex-direction: column;
        align-items: center;
        height: fit-content;
        width: 100%;
        padding: 12px 0;
        text-align: center;
    }

    #date {
        position: static;
        margin-top: 6px;
    }

    #collage_phone {
        display: block;
        width: 247px;
        height: 245px;
        position: absolute;
        top: 120px;
        z-index: -1;
    }

    #collage_pc {
        display: none;
    }

    #title-section {
        min-height: fit-content;
        margin: 0 0 120px 16px;
        width: calc(100% - 16px);
    }

    #heart {
        transform: none;
    }

    #dog {
        position: absolute;
        left: unset;
        right: 0;
        bottom: unset;
        transform: scaleX(-1);
    }

    #main {
        display: flex;
        flex-direction: column;
    }

    #left, #right {
        width: 100%;
        min-height: fit-content;
        margin-left: 0;
    }

    #left {
        margin-bottom: 120px;
    }


    #renovations {
        min-width: 40%; 
        min-height: 150px;
        margin: 0 auto 100px;
    }

    #legal-section {
        min-width: calc(100% - 64px);
    }
}