@font-face {
    font-family: "Dots All For Now";
    src: url("fonts/DotsAllForNow.ttf") format("truetype");
}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    background-color: #EDEDE9;
    margin: 0;
    box-sizing: border-box;
}

h1 {
    margin: 0;
    width: 100%;
    text-align: center;
    font-family: 'Dots All For Now', sans-serif;
    transition: font-size 0.5s;
}

.main-header {
    font-size: 5vh;
    font-family: 'Dots All For Now', sans-serif;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #E3D5CA;
    padding: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-window {
    font-size: 10vh;
    background-color: #E3D5CA;
    width: 100%;
    height: 100vh;
    border-bottom-left-radius: 10%;
    border-bottom-right-radius: 10%;
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: font-size 0.5s;
}

body.scrolled .main-header {
    opacity: 1;
    z-index: 1;
}

body.scrolled .main-window {
    font-size: 5vh;
}