html {
    font-size: 15px;
}

/*@media (min-width: 768px) {
    html {
        font-size: 16px;
        font-family: NotoSans;
    }
}*/

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Noto Sans KR', sans-serif !important;
    height: auto;
}

/*img {
    position: relative;
    width: 100%;
}*/
.cover-image {
    position: relative;
    width: 100%;
    height: 525px;
    background-color: #6881ef;
}

.main-home {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.img-main {
    /*position: absolute;
    left: 10%;
    top: 5px;*/
}

    .img-main img {
        width: 70%;
    }

.text-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*width: 50%;*/
    /*padding-left: 0px;
    position: absolute;
    right: 15%;
    top: 35%;*/
    /*text-align: center;*/
}

    .text-main h1 {
        padding-left: 0px;
        color: white;
    }

.navbar-collapse {
    width: 100%;
}

.navbar-item-home {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 70%;
    list-style: none;
    margin-bottom: 0;
}

    .navbar-item-home li {
        display: flex;
        justify-content: center;
        align-items: center;
    }

.container-nav-home {
    position: absolute;
    background-color: black;
    width: 70%;
    height: 100px;
    top: 78%;
}

.home-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-home {
    height: 300px;
}

.course-preview {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .home-page {
        display: flex;
        flex-direction: column !important;
    }

        .home-page img {
            max-width: 100%;
            height: 100%;
        }

    .main-home {
        display: flex;
        flex-direction: column;
    }

    .cover-image {
        height: 450px;
    }

    .navbar-items {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        list-style: none;
    }

    .cover-image {
        position: relative;
        width: 100%;
        background-size: cover;
        background-position: center;
    }

    .navbar-item-home {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 200px;
        padding: 0;
    }
    .img-main{
        height:250px;
        display:flex;
        justify-content:center;
        align-items:center;
    }

    .container-nav-home {
        background-color: black;
        height: 200px;
        width: 100%;
        padding: 0;
    }

    .content-home {
        height: 0px;
    }

    .nav-tabs .nav-link, .nav-tabs .nav-link.active {
        background-color: unset !important;
        border: unset;
        color: #fff;
        font-size: 10px !important;
    }

    #tabs {
        position: relative !important;
        top: 0% !important;
        height: 70px !important;
    }

    .tab-content {
        width: 100% !important;
    }

    .course-preview {
        display: none;
    }
    .text-main{
        height:auto;
        padding : 0 50px;
    }
}

@media (max-width: 468px) {
    .home-page {
        display: flex;
        flex-direction: column !important;
    }

        .home-page img {
            max-width: 100%;
            height: auto;
        }

    .main-home {
        display: flex;
        flex-direction: column;
    }

    .cover-image {
        height: 450px;
    }

    .navbar-items {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        list-style: none;
    }

    .cover-image {
        position: relative;
        width: 100%;
        background-size: cover;
        background-position: center;
    }

    .navbar-item-home {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 200px;
        padding: 0;
    }

    .img-main img {
        width: 100%
    }

    .container-nav-home {
        background-color: black;
        height: 200px;
        width: 100%;
        padding: 0;
    }

    .content-home {
        height: 0px;
    }

    .nav-tabs .nav-link, .nav-tabs .nav-link.active {
        background-color: unset !important;
        border: unset;
        color: #fff;
        font-size: 10px !important;
    }

    #tabs {
        position: relative !important;
        top: 0% !important;
        height: 70px !important;
    }

    .tab-content {
        width: 100% !important;
    }

    .course-preview {
        display: none;
    }
    .text-main{
        display:flex;
        justify-content:center;
        align-items:center;
    }
}

.tab-sub {
    position: absolute;
    margin: 0 auto;
    text-align: center;
    top: 50vh;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

    .tab-sub div {
        width: 100%;
    }

#tabs {
    height: 90px;
    color: #fff;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    border-bottom: unset !important;
}

.tab-content {
    width: 70%;
    margin-top: 10px;
}

.nav-tabs .nav-link, .nav-tabs .nav-link.active {
    background-color: unset !important;
    border: unset;
    color: #fff;
    font-size: 18px;
}

.nav-tabs .nav-item {
    width: 50%;
}

.title-item {
    text-align: left;
    border-bottom: 1px solid #ccc;
    height: 55px;
    line-height: 25px;
}

a {
    text-decoration: unset;
    color: #000;
}
