@font-face{
    font-family: Monocraft;
    src: url(/assets/fonts/Monocraft.otf) format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

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

html, body, h1, h2, p, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

body {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

html {
    background-color: #E9CBAB;
}

.avatar {
    height: 478px;
    width: 378px;
}

body {
    display: flex;
    height: 100vh;
    width: 100vw;
    justify-content: center;
    padding-top: 80px;

}

main {
    display: flex;
    gap: 8px;
}

.title h1, .title h2 {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.title h1 {
    margin-top: 22px;
    font-size: 110px;
    letter-spacing: -0.05em;
    line-height: 75px;
}

.title h2 {
    font-size: 56px;
    letter-spacing: -0.01em;
    line-height: 75px;
    padding-left: 2px;
}

.title .avatar {
    display: none;
}

.tagline {
    font-family: Monocraft, monospace;
    font-size: 18px;
    letter-spacing: -0.01em;
    line-height: 26px;
    padding-left: 4px;
}

.intro {
    padding-top: 12px;
    padding-left: 3px;
}

.intro p {
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "XOPQ" 96,
        "XTRA" 468,
        "YOPQ" 79,
        "YTAS" 750,
        "YTDE" -203,
        "YTFI" 738,
        "YTLC" 514,
        "YTUC" 712;
    font-size: 19px;
    line-height: 25px;
    letter-spacing: -0.01em;
}

.links {
    font-family: Monocraft, monospace;
    font-size: 18px;
    letter-spacing: -0.01em;
    line-height: 26px;
    padding-left: 4px;
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    gap: 8px;
}

.links a {
    color:black;
}

.links li {
    display: inline-flex;
    align-items: center;
    gap: 4px;

}

@media only screen and (max-width: 700px) {
    body {
        display: block;
        padding: 45px 18px 0;
    }

    .title {
        display: flex;
    }

    .title .avatar {
        width: 100%;
        height: auto;
        max-height: 245px;
        display: block;
    }

    .title .left {
        flex-grow: 1;
        min-width: 250px;
    }

    .title .right {
        flex-shrink: 1;
    }

    .title h1 {
        font-size: 70px;
        margin-top: 0px;
    }

    .title h2 {
        font-size: 35px;
        line-height: 30px;
    }

    .tagline {
        padding-top: 12px;
    }

    main > .avatar {
        display: none;
    }
}

@media only screen and (max-width: 960px) {
    body {
        padding-left: 18px;
    }
}