@import url("https://fonts.googleapis.com/css2?family=Hahmlet:wght@300;400;500;600;700&family=Nanum+Myeongjo:wght@400;700;800&display=swap");
body {
    line-height: inherit;
}

html {
    font-size: 62.5%;
    font-family: "Hahmlet", serif;
    scroll-behavior: smooth;
    text-transform: capitalize;
}

@media screen and (max-width: 1320px) {
    html {
        font-size: 50%;
    }
}

@media screen and (max-width: 520px) {
    html {
        font-size: 43.75%;
    }
}

h1 {
    /* 로고 */
    font-size: var(--font-medium);
    cursor: pointer;
}

h2 {
    font-family: "Nanum Myeongjo", serif;
    font-weight: var(--font-light);
    color: var(--main-color);
    font-size: var(--font-huge);
}

@media screen and (max-width: 820px) {
    h2 {
        font-size: 7.2rem;
    }
}

h2 + p {
    font-size: var(--font-big);
}

h3 {
    font-family: "Nanum Myeongjo", serif;
    font-size: var(--font-giant);
}

@media screen and (max-width: 414px) {
    h3 {
        font-size: 4.8rem;
    }
}

h3 + p {
    font-size: var(--font-medium);
    /* line-height: 4.8rem; */
}

h3 > span {
    font-size: var(--font-giant);
}

h4 {
    font-size: var(--font-large);
}

@media screen and (max-width: 414px) {
    h4 {
        font-size: var(--font-medium);
    }

    h4 ~ p {
        font-size: var(--font-tiny);
    }
}

h5 {
    font-size: var(--font-medium);
}

button {
    color: var(--common-white);
    font-family: "Nanum Myeongjo", serif;
    font-size: var(--font-medium);
    font-weight: var(--font-bold);
    height: 6rem;
    cursor: pointer;
    background: var(--common-black);
    background-size: cover !important;
    box-sizing: border-box;
    width: 100%;
}

p {
    font-size: var(--font-small);
    line-height: var(--font-medium);
}

span {
    font-size: var(--font-tiny);
}

ul,
li {
    list-style: none;
    font-size: var(--font-medium);
}

a {
    text-decoration: none;
    color: var(--common-black);
}

hr {
    border: none;
    width: 100%;
    height: 0.1rem;
    background: var(--common-black);
    margin: 4rem 0;
}

i {
    font-size: var(--font-big);
    cursor: pointer;
}
