body {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100dvh;
    margin: 0;
    padding: 30px;
    font-family: Helvetica, Verdana, sans-serif;
}

header {
    margin-top: -40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    display: inline-block;
    transform: rotate(-10deg);
     font-weight: 400;
}

#page {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.links {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    flex-grow: 2;
}

a {
    color: black;
    text-decoration: none;
}

#home {
    transform: rotate(180deg);
}

#mousehome {
    display: inline-block;
    text-decoration: underline;
}

#mousehome:hover {
    transform: rotate(180deg);
}

#content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    padding: 10em;
}

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        margin-top: 15px;
        gap: 20px;
    }

    #title {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        margin-right: -70px;
    }

    h1 {
        white-space: nowrap;
        margin-top: 20px;
        text-align: center;
        font-size: clamp(1.5rem, 5vw, 1.7rem);
    }

    #mousehome {
        transform: rotate(180deg);
    }

    .links {
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        gap: 5px;
    }
}