@font-face {
    font-family: 'TmonMonsori.ttf';
    src: url('font/TmonMonsori.ttf');
}

@font-face {
    font-family: '손글씨.ttf';
    src: url('font/나눔손글씨\ 강부장님체.ttf');
}

@font-face {
    font-family: 'maruburi.ttf';
    src: url('font/MaruBuri-Regular.ttf');
}

body {
    display: flex;
    font-size: 0;
    font-family: 'TmonMonsori.ttf';
}

#leftSection {
    margin-left: 2.5vw;
    margin-right: 10vw;
    width: 17%;
    display: inline-block;
}

#rightSection {
    margin-top: 3vw;
    display: inline-block;
    vertical-align: top;
}

#profile {
    width: 9vw;
    margin: 3vw 2vw 1.5vw 0;
    border-radius: 100%;
}

#tag {
    font-size: 15px;
    margin-top: 0;
    margin-bottom: 3vw;
    color: gray;
    font-style: italic;
}

#scroll {
    position: fixed;
}

#section_1{
    display: inline-block;
    width: 23vw;
    height: 23vw;
    background-color: #F1F1F1;
    border-radius: 20px;
    position: relative;
}

#sectionOneText_1 {
    font-size: 25px;
    margin: 0;
    padding: 2.5vw;
}

#sectionOneText_2 {
    position: absolute;
    bottom: 2.5vw;
    right: 2.5vw;
    background-color: #107CFF;
    color: #FFC800;
    padding: 0.3vw 0.5vw 0.1vw 0.5vw;
    margin: 0;
    font-size: 25px;
    border-radius: 15px;
}

#section_2{
    display: inline-block;
    width: 23vw;
    height: 23vw;
    background-color: #FFF3AE;
    vertical-align: top;
    border-radius: 20px;
    margin-left: 16px;
}

#sectionTwoText_1 {
    font-size: 30px;
    margin: 0;
    padding: 1vw 0 0 2.5vw;
}

#section_3 {
    vertical-align: top;
    display: inline-block;
    margin-left: 16px;
    width: 23vw;
    height: 23vw;
    background-color: #F1F1F1;
    border-radius: 20px;
    position: relative;
}

#changeText {
    font-size: 20px;
    margin: 0;
    padding: 2.5vw 2.5vw 0.5vw 2.5vw;
}

#mbti {
    position: absolute;
    background-color: #90EE90;
    padding: 0.4vw 0.5vw 0vw 0.5vw;
    border-radius: 15px;
    bottom: 2.5vw;
    right: 2.5vw;
    margin: 0;
}

.sectionThreeText_1 {
    display: inline-block;
    margin: 0;
    padding-right: 0.5vw;
    font-size: 80px;
    color: rgba(0, 0, 0, 0.9);
}

.sectionThreeText_1:first-child {
    color: rgba(0, 0, 0, 0.4);
}

.sectionThreeText_1:last-child {
    padding-right: 0;
}

.sectionThreeText_1:hover {
    color: #39393a;
}

#section_4 {
    background-color: #91C6CA;
    width: 100%;
    height: calc(11.5vw - 8px);
    border-radius: 20px;
}

#section_5 {
    background-color: #9A9CD4;
    border-radius: 20px;
    width: 100%;
    height: calc(11.5vw - 8px);
    margin-top: 16px;
}

#section_6 {
    display: inline-block;
    background-color: gray;
    width: 23vw;
    height: 23vw;
    border-radius: 20px;
    margin-top: 16px;
    margin-left: 16PX;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

#thumbnail {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

#sectionSixText_1 {
    font-size: 20px;
    margin: 0;
    padding: 2.5vw 0 0.5vw 3.7vw;
    color: white;
    position: absolute;
    z-index: 3;
}

#sectionSixText_2 {
    font-size: 25px;
    margin: 0;
    bottom: 2.5vw;
    right: 2.5vw;
    color: #FF0033;
    position: absolute;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0.3vw 0.5vw 0.1vw 0.5vw;
    border-radius: 15px;
}

#youtubeLogo {
    width: 1vw;
    position: absolute;
    padding: 2.6vw 0 0.5vw 2.5vw;
    z-index: 3;
}

#title {
    overflow: hidden;
    font-size: 32px;
    width: 70%;
    height: 40%;
    margin: 0;
    color: white;
    position: absolute;
    z-index: 3;
    padding: 6vw 0 0.5vw 2.5vw;
}

#combinedSection{
    display: inline-block;
    vertical-align: top;
    justify-content: space-between;
    margin-top: 16px;
    width: min-content;
}

#leftCombined {
    display: flex;
    flex-direction: column;
    width: calc(46vw + 16px);
}

#section_7 {
    display: inline-block;
    width: 23vw;
    height: 23vw;
    background-color: #F1F1F1;
    vertical-align: top;
    border-radius: 20px;
    margin-top: 16px;
    margin-left: 16px;
}

#sectionSevenText_1 {
    font-size: 15px;
    margin: 0;
    padding: 1.2vw 0 0 2.5vw;
    width: 70%;
    font-family: 'maruburi.ttf';
}

#section_8 {
    display: inline-block;
    width: 23vw;
    height: 23vw;
    background-color: #F1F1F1;
    vertical-align: top;
    border-radius: 20px;
    margin-top: 16px;
    position: relative;
}

#section_8 p {
    color: #E38500;
}

#sectionEightText_1 {
    font-size: 18px;
    margin: 0;
    padding: 1.2vw 0 0 2.5vw;
    font-weight: bold;
    font-family: '손글씨.ttf';
}

#sectionEightText_2 {
    font-size: 18px;
    margin: 0;
    padding: 0.6vw 0 0 2.5vw;
    font-weight: bold;
    font-family: '손글씨.ttf';
}

#sectionEightText_3 {
    position: absolute;
    font-size: 13px;
    font-family: sans-serif;
    bottom: 2.5vw;
    right: 2.5vw;
    margin: 0;
}

#section_9 {
    display: inline-block;
    width: 23vw;
    height: 23vw;
    background-color: #FF987C; /*#FF987C  #F1F1F1*/
    vertical-align: top;
    border-radius: 20px;
    margin-top: 16px;
    margin-left: 16px;
    position: relative;
}

#PmAm {
    font-size: 70px;
    position: absolute;
    bottom: 3vw;
    left: 4vw;
    color: #FFC800;
}

#time {
    font-size: 60px;
    position: absolute;
    bottom: 3vw;
    right: 3vw;
    margin: 0;
}

#defaultText {
    font-size: 20px;
    margin: 0;
    padding: 2.5vw 2.5vw 0.5vw 2.5vw;
    font-family: 'TmonMonsori.ttf';
}

#firstLogo {
    width: 2vw;
    margin-left: 2.5vw;
    margin-top: 0.5vw;
}

#cLogo {
    width: 1.9vw;
    margin-left: 1.3vw;
}

#kotlinLogo {
    width: 2vw;
    margin-left: 1.45vw;
}

#androidLogo {
    width: 2.1vw;
    margin-left: 1vw;
}

#projects {
    margin-top: 4vw;
}

#flex {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

#project {
    width: 23vw;
    min-height: 5vw;
    background-color: #F1F1F1;
    border-radius: 20px;
    margin-left: 16px;
    vertical-align: top;
}

#project:last-child {
    background-color: white;
    line-height: 1.6;
}

#bgText_1 {
    background-color: #2EFC9B;
    border-radius: 20px;
    padding: 0.3vw 0.7vw 0 0.7vw;
}

#bgText_1:last-child {
    background-color: #FFC800;
}

#project:nth-child(3n + 1) {
    margin-left: 0;
}

#project:nth-child(n + 4) {
    margin-top: 16px;
}

#except {
    font-size: 20px;
    margin: 0 0 1vw 1vw;
}

#info {
    width: 23vw;
    min-height: 10vw;
    background-color: #F1F1F1;
    margin-top: 6.5vw;
    border-radius: 20px;
    position: relative;
}

#infoTitle {
    margin: 0;
    padding: 2.5vw 2.5vw 0 2.5vw;
    font-size: 25px;
}

#infoText_1 {
    font-size: 20px;
    margin: 0;
    padding: 1.5vw 2.5vw 0vw 0vw;
    list-style-position: inside;
}

#smallText {
    font-size: 12px;
    padding: 0 0 0 2vw;
    color: gray;
    margin: 0;
}

#infoText_1:last-child {
    padding-bottom: 1.4vw;
}

#certificate {
    width: 46.6vw;
    min-height: 10vw;
    background-color: #F1F1F1;
    border-radius: 20px;
    margin-left: 16px;
    vertical-align: top;
    margin-top: 6.5vw;
}

#flex_2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#certiTitle {
    margin: 0;
    padding: 2.5vw 2.5vw 0 2.5vw;
    font-size: 25px;
}

#certiText_1 {
    margin: 0;
    color: white;
    font-size: 25px;
    margin: 1.1vw 0.5vw 0.2vw 2.2vw;
    padding: 0.4vw 0.6vw 0.1vw 0.6vw;
    background-color: #2E76FC;
    border-radius: 100px;
}

#certiText_2 {
    margin: 0;
    font-size: 25px;
    margin: 0.1vw 0.5vw 0.2vw 2.2vw;
    padding: 0.4vw 0.6vw 0.1vw 0.6vw;
    background-color: #FF7A7A;
    border-radius: 100px;
}

#certiText_3 {
    margin: 0;
    font-size: 25px;
    margin: 0.1vw 0.5vw 2.4vw 2.2vw;
    padding: 0.4vw 0.6vw 0.1vw 0.6vw;
    background-color: #FFCD29;
    border-radius: 100px;
}

#year {
    font-size: 12px;
    margin-top: 1.6vw;
    margin-right: 2.5vw;
}

#year_ {
    font-size: 12px;
    margin-top: 2.6vw;
    margin-right: 2.5vw;
}

#marginBottom {
    margin: 7vw;
}

.logo {
    width: 2vw;
    margin-left: 1.3vw;
}

.projectTitle {
    font-size: 25px;
    margin: 0;
    padding: 2.5vw 2.5vw 0vw 2.5vw;
    font-family: 'TmonMonsori.ttf';
}

.descriptionText {
    font-size: 15px;
    color: gray;
    margin: 0;
    font-family: sans-serif;
    padding: 1.3vw 2.5vw 2.5vw 2.5vw;
}

.link {
    display: block;
    margin-bottom: 1.5vw;
    color: black;
    font-size: 15px;
    font-family: sans-serif;
}

h1 {
    margin-bottom: 0;
    font-size: 30px;
}

@media screen and (max-width: 1100px) {
    #sectionOneText_1, #sectionOneText_2, #sectionTwoText_1, #sectionSixText_2, .projectTitle, #infoTitle, #certiTitle, #certiText_1, #certiText_2, #certiText_3 {
        font-size: 19px;
    }

    #leftSection {
        margin-right: 13vw;
    }

    #profile {
        width: 11vw;
    }

    #sectionSixText_1 {
        font-size: 15px;
        padding-left: 4.6vw;
    }

    #title {
        font-size: 25px;
    }

    #youtubeLogo {
        width: 1.8vw;
    }

    #defaultText, #changeText, #sectionEightText_1, #sectionEightText_2 {
        font-size: 15px;
    }

    #sectionSevenText_1, .descriptionText {
        font-size: 12px;
    }

    #sectionEightText_3, #smallText, #year, #year_ {
        font-size: 10px;
    }

    .sectionThreeText_1, #PmAm {
        font-size: 50px;
    }

    #time {
        font-size: 40px;
    }

    #infoText_1 {
        font-size: 17px;
    }
}

@media screen and (max-width:830px) {
    body {
        display: flex;
        flex-direction: column;
    }

    #sectionOneText_1, #sectionOneText_2, #sectionTwoText_1, #sectionSixText_2, .projectTitle, #infoTitle, #certiTitle, #certiText_1, #certiText_2, #certiText_3 {
        font-size: 25px;
    }

    #sectionSixText_1 {
        font-size: 20px;
        padding-left: 9vw;
        padding-top: 5vw;
    }

    #title {
        font-size: 25px;
        padding: 12vw 0 0.5vw 5vw;
    }

    #youtubeLogo {
        width: 3.5vw;
        padding-top: 5.2vw;
        padding-left: 5vw;
    }

    #sectionOneText_1 {
        padding: 5vw;
    }

    #defaultText, #changeText {
        padding: 5vw 5vw 0 5vw;
    }

    #section_4 #defaultText,#section_5 #defaultText {
        padding-top: 4vw;
    }

    #sectionTwoText_1 {
        padding-left: 4vw;
        padding-top: 4vw;
        font-size: 30px;
    }

    #PmAm {
        bottom: 4vw;
        left: 6vw;
        font-size: 70px;
    }

    #time {
        font-size: 60px;
        right: 5vw;
        bottom: 4vw;
    }

    .sectionThreeText_1 {
        font-size: 70px;
    }

    #sectionOneText_2, #mbti, #sectionSixText_2, #sectionEightText_3 {
        bottom: 5vw;
        right: 5vw;
    }

    #scroll {
        position: static; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    #leftSection {
        display: flex;
        height: min-content;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #defaultText, #changeText  {
        font-size: 20px;
    }

    #sectionEightText_1, #sectionEightText_2 {
        font-size: 17px;
        padding-left: 5vw;
    }

    #sectionEightText_3 {
        font-size: 16px;
    }

    #section_8 #defaultText, #section_7 #defaultText {
        padding-bottom: 3vw;
    }

    #sectionSevenText_1 {
        font-size: 16px;
        padding-left: 5vw;
    }

    #profile {
        margin: 5vw 0 1.5vw 0;
        width: 12vw;
    }

    #tag {
        margin-bottom: 7vw;
    }

    .link {
        display: inline-block;
        margin-right: 1.3vw;
        margin-bottom: 10vw;
    }

    .link:last-child {
        margin-right: 0;
    }

    #rightSection {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-left: 2vw;
    }

    #section_1,#section_2,#section_3,#section_6,#section_7,#section_8,#section_9{
        order: 1;
        width: 44vw;
        height: 44vw;
        margin-left: 1.5vw;
        margin-right: 1vw;
        margin-top: 2.3vw;
    }

    #section_1 {
        width: 90.5vw;
    }

    #section_4, #section_5 {
        width: 100%;
        height: 21vw;
        margin-left: 1.5vw;
        margin-right: 1vw;
        margin-top: 2.3vw;
    }

    #section_4 {
        margin-top: 0;
    }

    #combinedSection {
        order: 3;
    }

    #section_7,#section_8, #projects {
        order: 4;
    }

    #section_6 {
        order: 2;
    }

    #except {
        margin-left: 3.5vw;
        margin-top: 2vw;
    }

    #projects,#project {
        margin-left: 1.5vw;
    }

    #project {
        margin-right: 1vw;
    }

    #project {
        width: 44vw;
        min-height: 18vw;
    }

    .projectTitle {
        font-size: 21px;
        padding-top: 4vw;
        padding-left: 4vw;
    }

    .descriptionText {
        font-size: 15px;
        padding-left: 4vw;
        padding-right: 4vw;
    }

    #project:nth-child(3n+1) {
        margin-left: 1.5vw;
    }

    #project:nth-child(2n+1) {
        margin-left: 0;
    }

    #project:nth-child(n+3) {
        margin-top: 2.3vw;
    }

    #project:last-child {
        min-height: 14vw;
        margin-bottom: 5vw;
    }

    #flex {
        order: 4;
    }

    #leftCombined {
        width: 90.5vw;
    }

    #info, #certificate {
        margin-top: 1vw;
        margin-left: 1.5vw;
        margin-right: 1vw;
        width: 44vw;
    }

    .logo {
        width: 5vw;
        margin-left: 3vw;
    }

    #firstLogo {
        width: 5vw;
        margin-left: 5.3vw;
        margin-top: 2.5vw;
    }

    #cLogo {
        width: 4.6vw;
        margin-left: 3vw;
    }

    #kotlinLogo {
        width: 5vw;
        margin-left: 3vw;
    }

    #androidLogo {
        width: 5.5vw;
        margin-left: 3vw;
    }

    #section_5 img[alt='java_logo'] {
        margin-left: 2.5vw;
    }

    #infoTitle, #certiTitle {
        font-size: 22px;
        padding-top: 4vw;
        padding-left: 4vw;
    }

    #smallText {
        padding-left: 3.8vw;
    }

    #infoText_1 {
        font-size: 20px;
    }

    #certiText_1, #certiText_2, #certiText_3 {
        margin-left: 3.5vw;
        font-size: 20px;
    }
    #year {
        margin-top: 2.1vw;
        font-size: 10px;
    }
    #year_ {
        font-size: 10px;
        margin-top: 3.1vw;
        margin-right: 0.2vw;
    }
}

@media screen and (max-width:550px) {
    #profile {
        width: 100px;
    }

    #defaultText, #changeText {
        font-size: 25px;
        padding-top: 9vw;
        padding-left: 9vw;
    }

    #sectionOneText_1 {
        padding: 9vw;
    }

    #sectionOneText_2, #mbti {
        bottom: 9vw;
        right: 9vw;
    }

    #mbti {
        font-size: 80px;
    }

    #except #flex {
        flex-direction: column;
        align-items: stretch;
    }

    #sectionOneText_2 {
        font-size: 35px;
    }

    #sectionTwoText_1 {
        padding-left: 9vw;
        padding-top: 9vw;
        font-size: 35px;
    }

    #leftSection {
        margin-left: 0;
    }

    #rightSection {
        margin-left: 1.5vw;
    }

    #section_1, #section_2, #section_3, #section_6, #section_7, #section_8, #section_9 {
        width: 90vw;
        height: 90vw;
    }

    #section_4, #section_5 {
        width: 90vw;
        height: 40vw;
    }

    #section_4 {
        margin-top: -1.6vw;
    }

    #sectionSixText_1 {
        padding-top: 9vw;
        padding-left: 17vw;
        font-size: 25px;
    }

    #sectionSixText_2 {
        bottom: 9vw;
        right: 9vw;
        font-size: 30px;
        padding: 0.3vw 0.8vw 0 1vw;
    }

    #section_8 #defaultText,#section_7 #defaultText {
        padding-bottom: 6vw;
    }

    #sectionEightText_1, #sectionEightText_2 {
        font-size: 22px;
        padding-left: 9vw;
    }

    #sectionEightText_3 {
        bottom: 9vw;
        right: 9vw;
        font-size: 19px;
    }

    #sectionSevenText_1 {
        padding-left: 9vw;
        font-size: 19px;
    }

    #PmAm {
        font-size: 80px;
        left: 14vw;
        bottom: 9vw;
    }

    #time {
        font-size: 70px;
        right: 11vw;
        bottom: 9vw;
    }

    #title {
        padding-left: 9vw;
        padding-top: 23vw;
        font-size: 45px;
    }

    #youtubeLogo {
        padding-top: 9.5vw;
        padding-left: 9vw;
        width: 6vw;
    }

    #firstLogo {
        width: 7vw;
        padding-left: 5vw;
        padding-top: 5vw;
    }

    #cLogo {
        width: 6.5vw;
    }

    #kotlinLogo {
        width: 7vw;
    }

    #androidLogo {
        width: 7.5vw;
    }

    .logo {
        width: 7vw;
    }

    #project {
        width: 100%;
        height: 30vw;
        margin-left: 0;
        margin-right: 2.5vw;
    }

    .projectTitle {
        font-size: 20px;
        padding-bottom: 1.8vw;
    }

    .descriptionText {
        font-size: 15px;
    }

    #project:nth-child(3n+1) {
        margin-left: 0;
    }

    #project:nth-child(2n+1) {
        margin-left: 0;
    }

    #project:nth-child(n+2) {
        margin-top: 2.3vw;
    }

    #project:last-child {
        min-height: 14vw;
        margin-bottom: 10vw;
    }

    #info, #certificate {
        width: 100%;
        margin-right: 2.5vw;
    }

    #info {
        margin-bottom: 1.8vw;
    }

    #infoTitle, #certiTitle {
        font-size: 22px;
    }

    #infoText_1 {
        font-size: 18px;
    }

    #smallText {
        font-size: 11px;
        margin-left: 1vw;
    }

    #certiText_1, #certiText_2, #certiText_3 {
        font-size: 22px;
    }
}