@font-face {
    font-family: "MingLiU";
    src: url("mingliu.ttf") format("truetype");
}

* {
    font-family: "Fraunces", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "SOFT" 0,
        "WONK" 1;
    color: white;
    scrollbar-color: rgba(255, 255, 255, 0.3) black;
}

::selection {
    background-color: rgb(255, 123, 145);
}

body {
    background-color: black;
    margin: 50px 60px;
    overflow-x: hidden;
}

h1 {
    font-size: 40px;
    margin: 0;
}

h2 {
    color: pink;
    margin-top: 50px;
    font-size: 22px;
    font-weight: 400;
}

p {
    font-size: 16px;
    font-weight: 200;
    text-wrap: nowrap;
}

em {
    font-style: italic;
}

span {
    color: #555;
    display: none;
    font-weight: 400;
}

a {
    text-decoration: none;
    text-wrap: nowrap;
    display: block;
    transition: transform 0.3s;
}

a:hover {
    h2 {
        color: #ff7b91;
        font-weight: 700;
    }

    span {
        display: initial;
    }

    em {
        font-style: normal;
    }

    transform: scale(1.1) translate(30px, 0);
}

@media (max-width: 600px) {
    body {
        margin: 40px 20px;
        max-width: calc(100vw - 40px);
    }

    h1 {
        font-size: 30px;
        max-width: calc(100vw - 40px);
    }

    h2 {
        margin-top: 30px;
        margin-bottom: -10px;
        font-size: 18px;
    }

    p {
        font-size: 15px;
        text-wrap: wrap;
        line-height: 1.5;
    }

    span {
        display: initial;
        font-style: italic;
    }

    a {
        height: fit-content;
    }
}