@font-face {
    font-family: GraphikLight;
    src: url(Graphik-Light-Trial.otf);
    }
    @font-face {
    font-family: GraphikMedium;
    src: url(Graphik-Medium-Trial.otf);
    }
    @font-face {
    font-family: GraphikRegular;
    src: url(Graphik-Regular-Trial.otf);
    }
    @font-face {
    font-family: GraphikSemiBold;
    src: url(Graphik-Semibold-Trial.otf);
    }
    @font-face {
    font-family: GraphikBold;
    src: url(Graphik-Bold-Trial.otf);
    }
    @font-face {
    font-family: GraphikBlack;
    src: url(Graphik-Black-Trial.otf);
    }
    @font-face {
    font-family: NanumPet;
    src: url(NanumPenScript-Regular.ttf);
    }
    @font-face {
    font-family: MontserratBold;
    src: url(Montserrat-Bold.otf);
    }
    
    nav, main, section, footer{ 
        width: 100%;
    }
    
    *, body, html, img, picture, svg, nav, main, section, footer { 
        margin:0; 
        padding: 0; 
        box-sizing: border-box;
    }
    
    ul[ role=”list” ], ol [ role=”list”] {
        list-style:none; 
    }
    
    html:focus-within {
         scroll-behavior: smooth 
        }
    
    html, body {
        height:100% 
    } 
    
    body { 
        text-rendering: optimize-speed; 
        min-height: 100vh
    }
    
    a {
        text-decoration: none;
    }

    *, 
    *::before, 
    *::after {
        box-sizing:border-box;
    }
    
    img, picture, svg {
        max-width: 100%;
        display: block
    }
    

body {
    background-color: white;
    font-family: GraphikMedium;
}

h1, h2, h3, h4 {
    line-height: 1;
}

h1, h2, h3, h4, p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

nav {
    width: 100%;
    box-sizing: border-box;
}

.nav-container {
    width: 88%;
    box-sizing: border-box;
    max-width: 1400px;
    min-height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5em;
}

@media (max-width:600px) {
    .nav-container {
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        padding-top: 0.4em;
    }
    nav{
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .nav-logo{
        margin: auto;
        justify-content: center;
        margin-bottom: 2em 0em;
    }
    .nav-links {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    .nav-links ul{
        margin: 0 auto;
        justify-content: space-evenly;
    }
    .nav-links a{
        margin: 0%;
    }
    a#contact-nav-btn{
        border: 0rem;
        margin: 0rem;
    }
}

nav ul{
    display: flex;
    list-style: none;
}

.nav-btn{
    font-family: GraphikMedium;
    text-decoration: none;
    padding: 0.68rem 1.2rem 0.7rem 1.2rem;
    margin: 0rem 0.2rem;
    letter-spacing: 0.02rem;
    color: #1c1c1c;
}

.nav-btn:hover {
    background-color: #f3f7ff;
    border-radius: 0.3rem;
}

#bracket-logo {
    color: #2d6bef;
    padding-top: 0.2rem;
}

#contact-nav-btn {
    cursor: pointer;
    color: #2d6bef;
    margin-left: 0.24rem;
    border-radius: 0.3rem;
    border: .1rem solid #2d6bef;
    padding: 0.58rem 1.05rem;
}

#contact-nav-btn:hover {
    background-color: #2d6bef;
    color: white;
}

.section-title {
    color: #1c1c1c;
    font-size: 3.6rem;
    text-align: center;
}

main {
    width: 88%;
    max-width: 1400px;
    margin: 0em auto 8em auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-info{
    width: 50%;
}

.main-title {
    padding-bottom: 1em;
}

.main-img {
    width: 58%;
}

@media (max-width:600px) {
    main {
        flex-direction: column;
        margin: 1.6em auto 4.4em auto;
        min-height: 440px;
    }
    .main-img {
        width: 100%;
        padding-top: none;
    }
    .main-info{
        width: 100%;
        padding-top: 1.8rem;
        line-height: 3.4rem;
        letter-spacing: 0.01rem;
    }
    #main-h1, #span-h1{
        font-size: 2.6rem;
        line-height: 3rem;
    }
}

.main-info h1{
    color: #1c1c1c;
    font-size: 4rem;
    margin: 0em;
    line-height: 4.4rem;
}

.dynamic-txt {
    margin-left: 0.48em;
}

.static-txt, .dynamic-txt span {
    color: #888888;
    font-family: GraphikRegular;
    font-size: 1.4rem;
    letter-spacing: 0.02rem;   
}

.wrapper {
    display: inline-flex;
}

.dynamic-txt li {
    list-style: none;
    font-size: 1.4rem;
    position: relative;
    top: 0;
    animation: slide 10s steps(5) infinite;
}

@keyframes slide {
    100% {
        top: -112px;
    }
} 

.wrapper, .dynamic-txt{
    height: 1.4rem;
    line-height: 1.4rem;
    overflow: hidden;
}

.dynamic-txt li span { 
    position: relative;
}

.dynamic-txt li span::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    background: #ffffff;
    border-left: 2.2px solid #888888;
    animation: typing 2s steps(24) infinite;
}

@keyframes typing {
    100% {
        left: 100%;
        margin: 0 -35px 0 35px;
    }
}

@media (max-width:800px) {
    .section-title {
        width: 100%;
        margin: 0 auto;
        font-size: 2.4rem;
        letter-spacing: 0.04rem;
    }
}

.about-container {
    width: 88%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0em auto;
    padding: 1.4em 0em 6em 0em;
}

.about-info {
    width: 46%;
}

.about-info a{
    color: #2d6bef;
    font-family: GraphikMedium;
    font-size: 1.1rem;
    padding-top: 2em;
}

.about-img {
    display: flex;
    align-content: center;
    justify-content: center;
}

.about-img svg{
    width: 68%;
}

.about-description {
    color: #888888;
    font-family: GraphikRegular;
    font-size: 1.24rem;
    margin: 0px;
    letter-spacing: 0.036rem;
    line-height: 1.8rem;
}

.resume a{
    cursor: pointer;
    text-decoration: underline;
    letter-spacing: 0.02rem;
    font-size: 1.24rem;
}

.about-info {
    width: 48%;
}

.about-info span{
    color: #2d6bef;
    font-family: GraphikMedium;
}

.about-subtitle {
    color: #1c1c1c;
    font-family: GraphikMedium;
    font-size: 1.24rem;
    letter-spacing: 0.01rem;
    padding: 1.4em 0em 0.33em 0em;
    margin: 0%;
}

@media (max-width:900px) {
    .about-info {
        width: 90%;
    }
    .about-description {
        font-size: 1.14rem;
        line-height: 1.8rem;
        width: 100%;
        margin: 0 auto;
        align-content: center;
    }
    .about-section{
        width: 100%;
    }
    .about-container {
        flex-direction: column;
        width: 100%;
        padding: 4em 0em 0em 0em;
    }
    .about-img svg{
        width: 54%;
    }
    .about-subtitle {
        padding: 1.6em 0em 0.48em 0em;
    }
}

.projects-section{
    width: 100%;
}

.projects-container {
    width: 88%;
    max-width: 1400px;
    margin: 6em auto 10em auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-gap: 1.6em;
} 

.project-article {
    padding: 4em 2em;
    box-shadow: #dfdfdf 0px 10px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    cursor: pointer;
}

.project-title {
    color: #1c1c1c;
    font-family: GraphikMedium;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
    text-decoration: none;
}

.project-title:hover{
    color: #2d6bef;
}

.project-description {
    width: 88%;
    color: #888888;
    font-family: GraphikRegular;
    font-size: 1.16rem;
    margin: 0 auto;
    letter-spacing: 0.02rem;
    line-height: 1.6rem;
    text-align: center;
    padding: 1.6em 0em;
}

.project-illustration {
    align-items: center;
}

#project-icon {
    color: #2d6bef;
    margin: 0px;
    cursor: pointer;
}

#project-icon-bg {
    color: #f3f7ff;
}

@media (max-width:600px) {
    .projects-container {

    }

}

.contact-section {
    width: 100%;
    background-color:#f3f7ff;
}

.contact-container {
    width: 88%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 800px) {
    form {
        flex-direction: column;
        margin: 0 auto;
    }
    .contact-title {
        margin: 0%;
        font-size: 2.6rem;
        padding-bottom: 1.4em;
        line-height: 3.3rem;
        letter-spacing: 0rem;
        text-align: center;
    }
    .contact-form {
        margin: 0 auto;
    }
    
}

.contact-container form {
    display: flex;
    justify-content: space-between;
    padding: 6em 0em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 20%;
    border: none;  
    width: 350px;
}

.contact-form textarea {
    height: 200px;
}   

#send-btn{
    background-color: #2d6bef;
    color: white;
    font-family: GraphikMedium;
    font-size: 1rem;
    padding: 0.8em 1.2em;
    border: none;
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius:0.3rem;
    letter-spacing: 0.02rem;
    cursor: pointer;
} 

#send-btn:hover {
    background-color: white;
    color: #2d6bef;
}

.contact-form input, .contact-form textarea{
    border: none;
    font-family: GraphikRegular;
    font-size: 1rem;
    padding: 0.6em 1em;
    border-bottom: 0.0001rem solid #888888;
    letter-spacing: .03rem;
}

.contact-info-container {
    font-family: GraphikMedium;
    font-size: 2rem;
    margin: 0%;
    padding: 0%;
    line-height: 0.5rem;
}

.contact-title {
    color: #1c1c1c;
    letter-spacing: 0.1rem;;
}

.footer-section {
    width: 100%;
    background-color: #2d6bef;
}

.footer-container {
    width: 88%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 2.4em 0em;
}

.footer-links {
    cursor: pointer;
}

#project-icon-bg-footer, #bracket-logo-footer {
    color: white;
}

#project-icon-footer {
    color: #2d6bef
}

 .modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    position: fixed;
    width: 100vw;
    height: 100vh;
    min-height: 100%;
    min-width: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0.6em;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-size: 110%;
    color: #1c1c1c;
    letter-spacing: 0.006em;
  }

  .modal-input {
    display: none;
    justify-content: center;
    padding-top: 0.6em;
  }

  @media (max-width: 600px) {
    #userName, #submit-name-btn {
        padding-top: 0.1em;
    }
  }

  #userName {
    padding: 0.36em 1em 0.4em 1em;
    font-family: GraphikMedium;
    letter-spacing: 0.016rem;
    font-size: 0.9rem;
    color: #1c1c1c;
    border: 0.126em solid #1c1c1c;
    border-radius: 0.3em;
    margin-right: 0.3em;
    width: 19%;
    background-color: white;
  }

  #submit-name-btn {
    background-color: white;
    border: 0.126em solid #2d6bef;
    color: #2d6bef;
    font-size: 0.9rem;
    border-radius: 0.3em;
    padding: 0.36em 1em 0.4em 1em;
    font-family: GraphikMedium;
    letter-spacing: 0.01rem;
    cursor: pointer;
  }

  #submit-name-btn:hover {
    background-color: #2d6bef;
    color: white;
  }

  .line {
    position: relative;
    top: 8%;
    width: 31.2em;
    overflow: hidden;
    transform: translateY(-50%);
  }
  
  .modal-hi {
    animation: typewriter 4s steps(14) 1s 1 normal both,
      blinkTextCursor 500ms steps(14) infinite normal;
  }
  

