body {
    font: 300 14pt/24pt 'Roboto', sans-serif;
    color: #767676;
}

a {
    color: #767676;
}

.label, h1, h2, h3 {
    color: #333;
}

main .content {
    width: 100%;
}

.font-title {
    font: 700 36pt/36pt 'Roboto', sans-serif;
}

.font-content {
    font: 300 14pt/24pt 'Roboto', sans-serif;
}

.font-subheader {
    font: 700 18pt/24pt 'Roboto', sans-serif;
}


.label {
    font: 500 10pt/12pt 'Roboto', sans-serif;

    background-color: rgba(229, 75, 75, .05);
    padding: 8px 15px;

    text-transform: uppercase;
}

.promotion {
    font: 300 14pt/24pt 'Roboto', sans-serif;
}

.slide-1 {
    height: 100vh;
}

.slide-1 .background {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    clip-path: ellipse(70% 80% at 70% 50%);
}

.slide-1 .background .image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    background-image: url('/img/background-image.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.slide-1 .content {
    max-width: 100vw;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 100vh;
    padding: 0px 40px;
    position: relative;
    clear: both;

    box-sizing: border-box;
}

.slide-1 .content .naming {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-right: 20px;
    width: 48%;

    box-sizing: border-box;
}

@media (max-width:900px) {
    .font-title {
        font: 700 30pt/36pt 'Roboto', sans-serif;
    }
    .slide-1 .content
    {
        padding: 0 20px;
    }

    .slide-1 .content .naming {
        padding: 10px;
        width: 80%;

    }
}

.slide-1 .content .naming h1 {
    color: #e54b4b;
}




.slide-2 {
    padding: 150px 0;

}

.slide-2 .about {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;

}

.slide-2 .about > div {
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
}


.slide-2 .about .photo {
    width: 50%;
}

.slide-2 .about .photo img {
    max-width: 100%;
    width: auto;
    overflow-clip-margin: content-box;
    overflow: clip;
    box-shadow: 0px 0px 40px rgb(0 0 0 / 20%);
}

@media (max-width: 1000px) {
    .slide-2 .about {
        flex-direction: column-reverse;

    }

    .slide-2 .about > div {
        width: 100%;
    }

    .slide-2 .about .photo {
        width: 100%;
    }
}

.slide-3 {
    background: #f9f9f9;
    padding: 150px 0;
}

.slide-3 .courses {
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}


.slide-3 .courses .course-list {
    display: flex;
    flex-direction: column;
    padding-top: 50px;

}

.slide-4 {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.slide-4 .inner {
    padding: 150px 20px;
    box-sizing: border-box;
}

.slide-4 .inner .lb {
    padding-bottom: 20px;
}

.course-list div {
    box-sizing: border-box;
}

.course-list .item {
    width: 100%;
    display: flex;

    box-sizing: border-box;
    text-decoration: none;
    border: 1px solid transparent;
    margin-bottom: 20px;
    position: relative;
}


.course-list .item p {
    box-sizing: border-box;
}

.course-list .item:hover {
    --border: 1px solid #e54b4b;
    box-shadow: 0px 0px 40px rgb(0 0 0 / 20%);
    background: #fff;
}

.course-list .item .img {
    max-width: 25%;
    min-width: 200px;
    width: 100%;
    height: 300px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.course-list .item .img img {
    width: 100%;
    height: auto;
}

.course-list .item .content {
    padding: 10px 20px;
}

.course-list .item .content h2 {
    margin: 0;
}


@media (max-width: 1000px) {


    .course-list .item {
        flex-direction: column;
        padding-bottom: 60px;
    }

    .course-list .item .img {
        max-width: 100%;
        width: 100%;
        height: 300px;
    }

}


body > footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}


.video {
    height: 0;
    position: relative;
    padding-bottom: 56.25%;
}

.video iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.detail header {
    border-bottom: 1px solid #000;
    padding: 30px;
    display: flex;
    width: 100%;
    align-content: flex-start;
    column-gap: 20px;

    align-items: center;
    box-sizing: border-box;
}

.detail header h1 {
    padding: 0;
    margin: 0;
    text-transform: uppercase;
}

.detail header div {
    vertical-align: middle;
}

.detail header .back {


}

.detail header .back a {
    text-decoration: none;
    display: block;
}

.detail header .back a:hover {
    color: #e54b4b;
}

.detail .inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.detail .inner b {
    font-weight: bolder;
}

.detail .inner .video {
    margin-bottom: 50px;
}

.detail .inner p {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
}

.link {
    padding: 50px;
    text-align: center;
}

.link a {
    background: deepskyblue;
    padding: 20px 30px;
    color: #fff;
    text-transform: none;
}

.show-detail
{
    position: absolute;
    right:20px;
    bottom: 10px;
    color: #e54b4b;
    border: 1px solid #e54b4b;
    padding: 10px;
    background: #fff;
}