/* Global */

 :root {
    /* Color */
    --color-white: #ffffff;
    --color-light-white: #eeeeee;
    --color-dark-white: #bdbdbd;
    --color-dark-grey: #1e272e;
    --color-grey: #8a8a8a;
    --color-light-grey: #d8d8d8;
    --color-white-grey: #E9E9E9;
    --color-mint: #34e7e4;
    --color-black: #0a0a0a;
    /* Font size */
    --font-large: 48px;
    --font-medium: 28px;
    --font-regular: 18px;
    --font-small: 16px;
    --font-micro: 14px;
    /* Font weight */
    --weight-bold: 700;
    --weight-semi-bold: 600;
    --weight-regular: 400;
    --weight-slim: 300;
    /*Size*/
    --size-border-radius: 4px;
    /*Animation*/
    --Animation-duration: 300ms;
    /*Universal tags*/
}

* {
    box-sizing: border-box;
}

body {
    margin: 0px;
    font-family: 'NanumSquare', sans-serif;
    cursor: default;
}

a {
    text-decoration: none;
    color: var(--color-white);
}

ul {
    list-style: none;
    padding-left: 0px;
}

button {
    background-color: transparent;
    cursor: pointer;
    border: none;
    outline: none;
}


/* Typography */

h1 {
    color: var(--color-white);
    font-size: var(--font-large);
    font-weight: var(--weight-regular);
}

h2 {
    font-size: var(--font-medium);
    font-weight: var(--weight-regular);
    color: var(--color-black);
}

h3 {
    color: var(--color-black);
    font-size: var(--font-small);
    font-weight: var(--weight-regular);
    margin: 8px 0;
}

h4 {
    font-weight: var(--weight-regular);
}

p {
    font-size: var(--font-micro);
    font-weight: var(--weight-regular);
    color: var(--color-black);
    margin: 8px 0;
}

li {
    margin-bottom: 8px;
}


/* Section Common */

section {
    padding: 60px 104px;
    margin: auto;
}

.section__half {
    padding: 0px;
}

.half__container {
    display: flex;
}

.half__color {
    background-color: var(--color-white-grey);
    width: 50%;
}

.img__container {
    text-align: center;
    margin-bottom: 100px;
}

.section__container {
    max-width: 1200px;
}


/*Navbar*/

#navbar {
    position: fixed;
    width: 100%;
    padding: 0px 40px;
    background-color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    z-index: 1;
    font-family: 'Oswald', sans-serif;
    border-bottom: 1px solid var(--color-dark-grey);
}

.menu__list {
    display: flex;
}

.navbar__menu__item {
    min-width: 75px;
    text-align: center;
    padding: 8px;
    margin: 0px;
    cursor: pointer;
    font-size: var(--font-micro);
}

.navbar__toggle-btn {
    position: absolute;
    right: 32px;
    top: 16px;
    font-size: 24px;
    color: var(--color-white);
    display: none;
}

.navbar__menu__item:hover {
    color: var(--color-mint);
}

.logo {
    width: 160px;
    position: relative;
    top: 4px;
}


/* Main */

#main {
    font-family: 'Oswald', sans-serif;
    background: url('./img/main/trading.jpg') center/cover no-repeat;
    text-align: center;
    padding: 160px 104px 30px 104px;
    color: var(--color-white);
}

#main .main--scroll {
    display: none;
}

.main__title {
    font-size: 60px;
    margin: 8px 0px;
}

.main__description {
    margin: 16px 0px 100px 0px;
    color: white;
    font-weight: lighter;
    font-size: 30px;
}

.main__category {
    max-width: 1000px;
    margin: auto;
}

.category__btn {
    color: var(--color-white);
    font-weight: var(--font-regular);
    cursor: pointer;
    padding-top: 20px;
    width: 160px;
}

.category__btn a:hover {
    color: var(--color-mint)
}


/* title */

#trading01,
#trading02,
#trading03,
#trading04,
#trading05,
#trading06 {
    font-family: 'Oswald', sans-serif;
    background-color: var(--color-black);
}

.title {
    padding: 0px 100px;
    display: flex;
}

.title__left {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-right: 20px;
}

.title__right {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: 16px;
}

.title__right p {
    color: var(--color-white);
}

.title__count {
    font-weight: var(--font-regular);
    margin-bottom: 40px;
    color: var(--color-white);
}

.title__eng {
    margin-bottom: 4px;
    color: var(--color-white);
}

.title__kor {
    color: var(--color-white);
}


/*index*/

.index-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    margin-top: 0px;
    margin-bottom: 10px;
}

.index-title.kor {
    font-family: 'NanumSquare', sans-serif;
    font-weight: 600;
    font-size: 22px;
}

.nosub {
    margin-bottom: 40px;
}

.index-subtitle {
    background-color: black;
    color: white;
    padding: 7px;
    padding-left: 14px;
    width: 180px;
    margin: 0px;
}

.online {
    width: 300px;
}

.mts-subtitle {
    background-color: black;
    color: white;
    padding: 7px;
    padding-left: 14px;
    max-width: 280px;
    margin: 0px;
    text-align: center;
}

.index__title {
    padding-bottom: 20px;
}

.index__title2 {
    margin-bottom: 0px;
    padding-bottom: 0px
}

.index__subtitle2 {
    margin-bottom: 40px;
}

.pic__container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pic__txt__container {
    position: relative;
    width: 50%;
}

.pic__txt {
    position: absolute;
    top: 25%;
    left: 25%;
    font-size: 18px;
    color: white;
    background-color: black;
    height: 200px;
    width: 200px;
    text-align: center;
    line-height: 200px;
}


/* 01 */


/* mts */

.mts-container {
    display: flex;
    justify-content: space-between;
    margin: auto;
    margin-top: 20px;
    max-width: 1000px;
}

.mts-container.three {
    max-width: 700px;
}


/* 03 */

.functions__list_1.three {
    margin-top: 40px;
}

.functions__list_1.three p {
    margin-bottom: 16px;
}


/* 04 */

.functions.ul-container {
    width: 1000px;
    margin-top: 20px;
}

.fed-container {
    text-align: center;
    margin-bottom: 20px;
}

.fed {
    width: 400px;
}

.functions_ul.four {
    margin-top: 40px;
    width: 600px;
}

.index-subtitle.four {
    width: 300px;
}


/* 05 */

.functions.ul-container {
    display: flex;
    margin-bottom: 60px;
}

.functions_ul {
    border-left: 1px solid var(--color-black);
    padding: 0px;
    padding-left: 20px;
    font-size: var(--font-micro);
    margin-top: 20px;
}

.four.one {
    margin-top: 30px;
}


/*functions*/

.fed__right {
    background-color: aqua;
    display: flex;
}

.functions__list_1 {
    padding-left: 22px;
    margin-bottom: 48px;
    border-left: 1px solid var(--color-black);
}

.functions__list_2 {
    padding-right: 30px;
    border-right: 1px solid var(--color-black);
    list-style: none;
    text-align: right;
}

.functions__list_1 li {
    font-size: var(--font-micro);
    padding: 8px;
    color: var(--color-dark-grey);
}

.functions__list_2 li {
    font-size: var(--font-micro);
    padding: 8px;
    color: var(--color-dark-grey);
}


/* 해외 주식 시스템 */

.ul-container.first {
    justify-content: space-between;
    width: 1000px;
}

.functions_ul.first {
    width: 600px;
}

.functions_ul.first li {
    margin-right: 0px;
    margin-bottom: 20px;
}

.hts {
    margin-top: 40px;
    max-width: 700px;
}

.one_click {
    margin-top: 40px;
    max-width: 700px;
}

.mts__img {
    max-width: 280px;
}

.시세흐름도 {
    max-width: 700px;
}

.functions__title {
    border-bottom: 1px black solid;
    font-weight: var(--weight-semi-bold);
    padding: 8px;
    min-width: 150px;
    height: 40px;
    text-align: center;
    margin: 0px;
    margin-bottom: 20px;
}

.fed__container {
    display: flex;
    margin: 0px;
}

.fed__left {
    width: 50%;
    margin-right: 50px;
}

.fed {
    max-width: 400px;
    height: auto;
}

.fed__right {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    margin: 60px;
    justify-content: space-between;
    flex-direction: column;
}

.functions__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.functions {
    width: 300px;
    margin-bottom: 40px;
    margin-right: 30px;
}

.functions__description {
    padding: 10px;
    font-size: var(--font-micro);
    margin-top: 20px;
}

.index__sub__box {
    background-color: black;
    color: white;
    margin-top: 26px;
    margin-bottom: 50px;
    padding: 8px;
    text-align: center;
}

.list {
    text-align: center;
}


/* 해외파생 비전산 */

.img__container.two {
    margin-bottom: 60px;
}

.img__container img {
    max-width: 700px;
    margin-top: 40px;
}

.online {
    max-width: 300px;
}


/* winwaybar */

#winwaybar {
    background-color: var(--color-light-grey);
    padding: 10px 200px;
    font-family: 'Oswald', sans-serif;
}

.winwaybar {
    display: flex;
}

.winway-logo {
    font-size: var(--font-regular);
    color: var(--color-grey);
    margin-right: 60px;
    line-height: 54px;
}

.winway-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.winway-description p {
    font-size: 12px;
    color: var(--color-grey);
    margin: 0px;
}

.bar {
    max-width: 1000px;
    height: 1px;
    background-color: var(--color-light-grey);
    margin: 50px 0px;
}


/*Scroll*/

.arrowUp {
    position: fixed;
    z-index: 1;
    font-size: 50px;
    bottom: 60px;
    right: 50px;
    opacity: 0;
    color: var(--color-black);
    transition: all 300ms ease-in-out;
    pointer-events: none;
}

.arrowUp.visible {
    opacity: 1;
    pointer-events: auto;
}


/* For below 768px screen width */

@media screen and (max-width:768px) {
    .navbar__toggle-btn {
        display: block;
    }
    #navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 30px;
        padding-left: 12px;
        background-color: var(--color-black)
    }
    .logo {
        width: 118px;
        top: 4px;
    }
    .menu__list {
        flex-direction: column;
        display: none;
    }
    .navbar__menu__item {
        padding-bottom: 16px;
        text-align: left;
    }
    .menu__list.open {
        display: block;
    }
    /* title */
    #title {
        padding: 0px;
    }
    .title {
        padding: 0px;
        flex-direction: column;
    }
    .title__eng {
        font-size: 28px;
    }
    .title__kor {
        font-weight: var(--weight-semi-bold);
    }
    .title__right {
        padding-top: 40px;
        margin: 0px;
    }
    .title__right p {
        margin-bottom: 4px;
    }
    .index-title {
        margin-bottom: 20px;
    }
    .index-subtitle,
    .mts-subtitle {
        font-size: 17px;
        font-weight: 400;
        width: 140px;
        padding: 0px;
        background-color: transparent;
        color: black;
        font-weight: var(--weight-semi-bold);
    }
    .functions__title {
        width: 280px;
        margin: auto;
    }
    /* section */
    .section {
        padding: 20px;
    }
    .section__container {
        padding: 20px;
    }
    #main {
        padding: 120px 20px 10px 20px;
    }
    .main__category {
        width: 100%;
    }
    /* function */
    .index__title {
        margin-bottom: 0px;
        padding-bottom: 20px;
    }
    .functions__list_1 {
        padding-left: 10px;
        margin-bottom: 48px;
        border-left: 1px solid var(--color-light-grey);
    }
    .functions__list_2 {
        padding-right: 10px;
        border-right: 1px solid var(--color-light-grey);
        list-style: none;
        text-align: right;
    }
    .functions__list_1 li {
        padding: 5px;
        color: var(--color-dark-grey);
    }
    .functions__list_2 li {
        padding: 5px;
    }
    /* 01 */
    .functions__container {
        justify-content: center;
        margin-top: 50px;
    }
    .functions {
        margin: 10px;
        margin-bottom: 20px;
    }
    .functions.monitoring {
        margin: auto;
    }
    img {
        width: 100%;
    }
    .img__container {
        margin-bottom: 40px;
    }
    .img__container img {
        margin-top: 10px;
    }
    .mts {
        margin-bottom: 20px;
    }
    .mts-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .mts-subtitle {
        border-bottom: 1px solid black;
        margin: auto;
    }
    .functions__container {
        margin-top: 10px;
    }
    li.function {
        margin-bottom: 16px;
    }
    .index-title.nosub {
        margin-bottom: 28px;
    }
    /* 02*/
    .index-subtitle.online {
        width: 300px;
    }
    /*04*/
    .functions.ul-container {
        display: inline;
    }
    .functions_ul {
        max-width: 100%;
    }
    /* winwaybar */
    #winwaybar {
        padding: 8px 20px;
    }
    .winwaybar {
        display: flex;
    }
    .winway-logo {
        font-size: var(--font-micro);
        line-height: 20px;
        margin-right: 20px;
    }
    .winway-description p {
        font-size: 8px;
    }
    .bar {
        max-width: 1000px;
        height: 1px;
        background-color: var(--color-light-grey);
        margin: 30px 0px
    }
    .arrowUp {
        font-size: 40px;
        bottom: 60px;
        right: 24px;
    }
}