@import url('https://fonts.googleapis.com/css?family=Bungee&display=swap');
@import url('https://fonts.googleapis.com/css?family=Nanum+Gothic|Noto+Sans+KR&display=swap');
@font-face { font-family: 'CookieRunOTF-Bold'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.0/CookieRunOTF-Bold00.woff') format('woff'); font-weight: normal; font-style: normal; }


:root {
    --animation-duration : 2s;
    --animation-count: 2;
    --animation-color-1: #3498DB;
    --animation-color-2: #0079B9;
    --animation-color-3: #005C99;
    --animation-color-4: #004079;
    --animation-color-5: #00265B;
    --primary-color: #3498DB;
    --secondary-color:  rgb(119, 119, 119);
  
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    background: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
}

h1, h2, h3, h4, h5 {
    font-family: 'CookieRunOTF-Bold';
    color: #151522;
}

h1 {
    font-size: 2rem;
    padding: 2rem 0;
}

a {
    text-decoration: none;
}

p {
    margin-bottom: .6rem;
    font-size: 1.2rem;
    padding-bottom: 1.2rem;
}



header {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem 1rem 2rem;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    top: -50px;
}

.logo h5 {
    font-family: 'Bungee', cursive;
    color: #3498DB;
    font-size: 1.5rem;
    margin-right: .1rem;
}

.t1 {
    animation-name: colorchange;
    animation-duration: var(--animation-duration);
    animation-iteration-count: var(--animation-count);
}

.w2 {
    animation-name: colorchange;
    animation-duration: var(--animation-duration);
    animation-iteration-count: var(--animation-count);
    animation-delay: .25s;
}

.e3 {
    animation-name: colorchange;
    animation-duration: var(--animation-duration);
    animation-iteration-count: var(--animation-count);
    animation-delay: .5s;
}

.n4 {
    animation-name: colorchange;
    animation-duration: var(--animation-duration);
    animation-iteration-count: var(--animation-count);
    animation-delay: .75s;
}

.t5 {
    animation-name: colorchange;
    animation-duration: var(--animation-duration);
    animation-iteration-count: var(--animation-count);
    animation-delay: 1s;
}

.y6 {
    animation-name: colorchange;
    animation-duration: var(--animation-duration);
    animation-iteration-count: var(--animation-count);
    animation-delay: 1.25s;
}

.f7{  animation-name: colorchange;
    animation-duration: var(--animation-duration);
    animation-iteration-count: var(--animation-count);
    animation-delay: 1.5s;}
.o8{  animation-name: colorchange;
    animation-duration: var(--animation-duration);
    animation-iteration-count: var(--animation-count);
    animation-delay: 1.75s;}
.o9{  animation-name: colorchange;
    animation-duration: var(--animation-duration);
    animation-iteration-count: var(--animation-count);
    animation-delay: 2s;}
.t10{  animation-name: colorchange;
    animation-duration: var(--animation-duration);
    animation-iteration-count: var(--animation-count);
    animation-delay: 2.25s;}

@keyframes colorchange {
    0%{color: var(--animation-color-1);}
    10%{color: var(--animation-color-1);}
    20%{color: var(--animation-color-2);}
    30%{color: var(--animation-color-3);}
    40%{color: var(--animation-color-4);}
    50%{color: var(--animation-color-5);}
    60%{color: var(--animation-color-4);}
    70%{color: var(--animation-color-3);}
    80%{color: var(--animation-color-2);}
    90%{color: var(--animation-color-1);}
    100%{color: var(--animation-color-1);}
}

/* Layout */

#seo-optimized, #user-friendly, #data-centric {
    width: 80vw;
    height: 80vh;
    margin: 0 auto;
}

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}


.main-image {
    width: 90vw;
    position: relative;
}


.main-image h5 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    color: #fff;
    position: absolute;
    top: 10%;
    left: 20%;
    max-width: 70%;
}

.main-image h5::after {
    content: '_';
    font-size: 1.3rem;
}


.main-bottom {
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.down-arrow a i{
    color: rgb(223, 223, 223);
    margin-top: -2.5rem;
}

.down-arrow a i:hover {
    filter: opacity(75%)
}


/* SEO Optimized */

.user-friendly-content h1 {
    font-size: 5rem;
    color: var(--primary-color);
}


/* About */

.about-section-bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#btn-about {
    padding: 0.8rem 1.5rem;
    color: #fff;
    border-radius: 5px;
    background-color: var(--primary-color);
    box-shadow: 2px 2px 2px lightgrey;
    font-family: 'CookieRunOTF-Bold';
    font-size: 1.5rem;
    margin-top: 3rem;
    display: inline-block;
}

#kakao-talk-channel-chat-button {
    margin: auto;
    margin-top: 3rem;
    width: 150px;
}



/* About Contact */

#about{
    padding-bottom: 1rem;
    width: 80vw;
    margin: 0 auto
}


#about .section .about-section-top .kakao {
    display: inline-block;
    background-color: #FFCD00;
    color: #000;
    font-family: 'CookieRunOTF-Bold';
    font-size: 1rem;
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 4px;
    outline: none;
    border: none;
    margin-bottom: 2rem;
}

#about .section .about-section-top .kakao:hover {
    filter: opacity(.9);
}

#contact-form {
    width: 80vw;
    margin: 0 auto
}

form h1 {
    line-height: 0rem;
    padding: 1.3rem;
}

input, textarea{
    border-radius: 4px;
    outline: none;
}

form > input, form > textarea{
        background-color: #eee;
        border: none;
        padding: 12px 15px;
        margin: 8px 0;
        width: 100%;
}


#submit {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-family: 'CookieRunOTF-Bold';
    font-size: 1rem;
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 4px !important;
    border: none;
    margin-bottom: 2rem;
}

#submit:hover {
    filter: opacity(.9);
}





/* Footer */


footer {
    background-color: rgb(231, 230, 230);
    text-align: center;
    padding-top: .5rem;
}

footer div {
    background-color: rgb(221, 219, 219);
    
}

footer p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: .7rem;
    color: rgb(119, 119, 119);
    padding: .5rem;
    margin-bottom: 0;
}

/* Thank You */

.thank-you {
    height: 100vh;
    width: 100vw;
    background: #fff;
    color: #4a4a4a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center
}

.thank-you h1 {
    color: var(--primary-color);
    font-size: 2rem;
    line-height: 1rem;
    padding: 1rem; 
}

.thank-you p {
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1rem;
    padding: 1rem; 
}



/* Utility */

img {
    width: 100%;
}

.primary-color {
    color: var(--primary-color);
}

.container {
    max-width: 80%;
}




section #section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-image {
    width: 100%;
    margin: 0,auto;
}


@media(min-width:700px){
    .main-image {
        width: 50vw;
        position: relative;
    }

    .section-image {
        width: 60vw;
        display: inline-block;
    }
}


@media(min-width:1200px){
    .main-image {
        width: 40vw;
    }

    .section-image {
        width: 40vw;
    }
}


@media(min-width:1200px){
    .main-image {
        width: 40vw;
    
    }

    .section-image {
        width: 30vw;
    }
}