@font-face {
    font-family: "Cormorant";
    src: url("/fonts/cormorant.ttf") format("truetype");
}

:root {
    --main-width: calc(max(100vw - 100vh, 66vw));
}

* {
    margin: 0;
    font-family: "Cormorant";
}

html {
    height: 100%;
    background: white;
    scroll-behavior: smooth;
}

body {
    display: flex;
    width: 100%;
}

#side {
    width: 100vh;
    height: 100vh;
    max-width: 66vw;
    flex-shrink: 0;
    position: sticky;
    top: 0;
}

#side .photo {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
}

#side img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
}

#main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#title {

}

#logo {
    height: 20vh;
    margin-top: 8vh;
}

#slogan {
    font-size: 3vh;
}

#links {
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#links a {
    text-decoration: none;
    color: black;
    font-size: 6vh;
}

#links a:hover {
    text-decoration: underline;
}

#about {

}

#hello {
    height: 8vh;
    margin-top: 4vh;
}

#about-text {
    font-size: 2.5vh;
    text-align: justify;
    margin-left: 6vw;
    margin-right: 6vw;
    margin-top: 4vh;
}

#about-text p {
    margin-bottom: 2vh;
}

footer {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: calc(100vw - 100vh);
    text-align: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
    padding-bottom: 4vh;
    padding-top: 4vh;
    font-size: 3vh;
}

@media screen and (orientation: portrait) {
    body {
        flex-direction: column;
    }
    #side {
        display: none;
        height: 30vh;
        width: 100%;
        max-width: none;
    }
    #side .photo {
        height: 100%;
        width: 100%;
    }
    #side .photo:nth-child(2) {
        display: none;
    }
    #side .photo img {
        width: 100%;
        object-position: 50% 80%;
    }
    #title {
        height: 100vh;
    }
    #links a {
        font-size: 5vh;
    }
    #about-text {
        font-size: 2.4vh;
    }
    footer {
        width: 100vw;
    }
}
