@import url('animation.css');


/* font from: https://noonnu.cc/font_page/694 */
@font-face {
    font-family: 'Pretendard-Regular';
    src: url('fonts/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard-Bold';
    src: url('fonts/Pretendard-Bold.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}


/* font from: https://noonnu.cc/font_page/419 */
@font-face {
    font-family: 'KyoboHand';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/KyoboHand.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

a.selected {
    font-family: 'Pretendard-Bold';
}

body {
    font-family: 'Pretendard-Regular';
    background-color: #f0f6f7;
}

body, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}
h1, h2, h3, h4, h5, h6, strong {
    font-family: 'Pretendard-Bold';
    font-weight: normal;
}

header {
    padding-left: 1rem;
    padding-right: 1rem;

    display: flex;
    flex-direction: row;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 1.2rem;

    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(13.3px);
    -webkit-backdrop-filter: blur(13.3px);

    animation: fadein 1s ease 0s both;

    z-index: 1000;
}

header a {
    background: none;
    color: black;
    text-decoration: none;
    border: none;
    box-sizing: border-box;
    padding: 1rem;
    margin: 0.3rem;
    font-size: 1.3rem;
}

.fullscreen-box {
    width: 100vw;
    height: 100vh;
    background-color: #f0f6f7;
}

#profile-img {
    width: 14rem;
    height: 14rem;
    border-radius: 19px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    animation: fadein 1s ease 0.2s both;
}

.flex-column-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.profile-box {
    gap: 4.5rem;
}

#simple-introduce {
    animation: fadein 1s ease 0.4s both;
    gap: 0.54rem;
}

#simple-introduce h1 {
    margin-bottom: 0.83rem;
}

#simple-introduce p {
    width: 22rem;
    word-wrap: break-word;
    font-size: 1.1rem;
}

#link-box {
    margin: 1rem;
    gap: 1rem;

    animation: fadein 1s ease 0.2s both;
}

#link-box img {
    height: 1.08rem;
}

.main-box {
    position: relative;
}

#down {
    position: absolute;
    left: 50%;
    bottom: 3rem;
    height: 1.3rem;
    transform: translateX(-50%);
}

.second-box {
    display: flex;
    flex-direction: column;
    background-color: #f0f6f7;
    width: 100vw;
    margin-bottom: 5rem;
    margin-top: 4rem;
}

.explain-box {
    display: flex;
    flex-direction: row;
    gap: 13rem;
    align-items: center;
    justify-content: center;
}
.explain-box > img {
    height: 20rem;
    box-sizing: border-box;
    padding: 0.7rem;
    transform: rotate(-3deg);
    
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(9.3px);
    -webkit-backdrop-filter: blur(9.3px);
}
.explain-box > div {
    display: flex;
    flex-direction: column;
    font-size: 1.6rem;
    gap: 0.7rem;
    width: 20rem;
    /* font-family: 'Pretendard-Bold'; */
    font-family: 'KyoboHand';
}
.reversed {
    flex-direction: row-reverse;
}
.reversed > img {
    transform: rotate(2deg);
}
.reversed > div {
    text-align: end;
}

@media (max-width: 1020px) {
    .explain-box {
        gap: 9rem;
    }
    .explain-box > img {
        height: 17rem;
    }
}

@media (max-width: 830px) {
    .explain-box {
        gap: 3rem;
    }
    .explain-box > img {
        height: 16rem;
    }
}

@media (max-width: 750px) {
    #profile-img {
        width: 12rem;
        height: 12rem;
    }
    #simple-introduce {
        gap: 0.43rem;
    }
    #simple-introduce h1 {
        font-size: 1.8rem;
    }
    #simple-introduce p {
        font-size: 1rem;
        width: 20rem;
    }

    .explain-box {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .explain-box p {
        text-align: center;
    }
    .second-box {
        gap: 3rem;
    }
}

@media (max-width: 630px) {
    .profile-box {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}