html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Quicksand', serif;
    background-color: #EDE4DF;
    position: relative;
    color: #1B2F55;
    overflow-x: hidden;
}
a {
    color: #1B2F55;
    font-weight: 700;
}
body.navbar-active {
    overflow: hidden;
}
body::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url('../images/vector1.png') no-repeat center right;
    display: flex;
    width: 100%;
    height: 747px;
    z-index: -1;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background: radial-gradient(75% 76% at 50% 50%, #4E7BBD 0%, #1D3F70 100%);
    color: #FFF;
    border-radius: 50px;
    font-family: Ubuntu;
    font-size: 16px;
    font-weight: 700;
    line-height: 30px;    
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    width: 100%;
}
header .review {
    display: block;
    padding: 10px 40px 0px 20px;
    color: #1B2F55;
    font-size: 16px;
    font-weight: 700;
    line-height: 25.6px;   
    background: #EFEFEF;
    border-radius: 20px;
}
header .review small {
    font-size: 8px;
    line-height: 12.8px;
    font-weight: 300;
    display: block;
    margin-bottom: 5px;
}
header .review i {
    margin-right: 5px;
}
header .review span {
    font-size: 12px;
    font-weight: 300;
    line-height: 19.2px;    
}
header .review h1 {
    margin-top: 5px;
    font-size: 16px;
    font-weight: 700;
    line-height: 25.6px;    
}
header .navbar .navbar-nav {
    font-size: 16px;
    font-weight: 700;
    line-height: 25.6px;
    text-align: center;
    border-radius: 60px;
    background: linear-gradient(90deg, rgba(199, 214, 196, 0.7) 0%, rgba(164, 193, 195, 0.7) 100%);
    gap: 30px;
    display: flex;
}
header .navbar .navbar-nav .nav-item a {
    padding: 20px 30px;
    color: #365F59;
}
header .navbar .navbar-nav .nav-item.active a {
    background: linear-gradient(90deg, rgba(199, 214, 196, 0.7) 0%, rgba(164, 193, 195, 0.7) 100%);
    color: #FFF;
    border-radius: 60px;
}
.socials {
    display: flex;
    gap: 30px;
}
.socials a {
    color: #FFF;
}
#navbar { 
    display: none;
}


.myContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10%;
    width: 100%;   
}


/* HERO */
.hero {
    display: block;
    width: 100%;
    position: relative;
    color: #1B2F55;
    padding-top: 50px;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url('../images/no_kilep_ketrecbol_vector.png') no-repeat center right;
    display: flex;
    width: 100%;
    height: 615px;
    z-index: -1;    
}
.hero h2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 96px;
    margin-bottom: 0px;
}
.hero h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 48px;    
    margin-bottom: 20px;
}
.hero h4 {
    font-size: 18px;
    font-weight: 400;
    line-height: 28.8px;    
}


/* COURSES */
.courses {
    margin-top: 150px;
    position: relative;
}
.courses .myContainer {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch;
    flex-direction: row;
    justify-content: center;    
    padding: 20px calc(10% - 60px);
}
.courses::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url('../images/noveny_vector1.png') no-repeat center left;
    display: flex;
    width: 100%;
    height: 408px;
    z-index: -1;
    margin-top: 25vh;
}
.courses::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    background: url('../images/noveny_vector2.png') no-repeat bottom right;
    display: flex;
    width: 100%;
    height: 580px;
    z-index: -1;
    margin-top: 25vh;
}
.courses .course {
    background: radial-gradient(50% 50% at 50% 50%, rgba(245, 241, 239, 0.6) 0%, rgba(227, 216, 208, 0.6) 100%);
    padding: 35px 30px;
    color: #1B2F55;
    flex-basis: calc(33.33333% - 60px);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
}
.courses .course h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
    margin-bottom: 15px;
}
.courses .course a {
    text-decoration: none !important;
}
.course .badge {
    padding: 5px 15px;
    gap: 10px;
    border-radius: 30px;    
    color: #fff;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 30px;    
}
.course .badge.badge-green {
    background-color: #A4C1C4;
}
.course .badge.badge-red {
    background-color: #F49F9F;
}

.course .bottom {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course .bottom .prices .old_price { 
    font-size: 14px;
    font-weight: 500;
    line-height: 17.5px;
    text-decoration: line-through;
    color: #8B7D75;
}
.course .bottom .prices .price { 
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;    
}
.content-container.sub .course .bottom .prices .old_price { 
    font-size: 18px;
    font-weight: 500;
    line-height: 22.5px;    
}
.content-container.sub .course .bottom .prices .price { 
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;    
}



/* CONTENT */
.content-container {
    position: relative;
}
.content-container.main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url('../images/kez_gombolyag_vector.png') no-repeat top left;
    display: flex;
    width: 30vw;
    height: 306px;  
    background-size: contain;
}
.content-container .myContainer {
    color: #1B2F55;
}
.content-container:not(.nobg) .myContainer .content {
    background: #F5EFEB;
    border-radius: 20px; 
    padding: 50px;
    display: block;
    padding-left: 30%;
}
.content-container .myContainer h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 54.4px;    
}
.content-container .myContainer p {
    font-size: 16px;
    font-weight: 400;
    line-height: 25.6px;
}
.content-container .myContainer quote {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;    
}


/* FOOTER */
footer {
    margin-top: 20px;
    background: #A4C1C4;
    min-height: 130px;
    text-align: center;
    padding: 50px;
}
footer .links {
    font-size: 14px;
}


/* COURSE */

.content-container.sub .myContainer .content {
    position: relative;
    width: 100%;
    padding: 40px;
}
.content-container.sub.first .myContainer .content {
    /* min-height: 447px; */
    padding-right: 40%;
}
/* only the first sub content container */
.content-container.sub.first .myContainer .content::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 60px;
    background: url('../images/object1.png') no-repeat center right;
    max-width: 445px;
    height: 327px;
    z-index: 0;
    width: 100%;
}
.content-container.sub .myContainer .content .badges {
    position: absolute;
    top: 20px;
    right: 40px;
}
.content-container.sub .myContainer .content h1, .content-container.sub .myContainer .content .h1 {
    color: #1B2F55;
    font-size: 35px;
    font-weight: 700;
    line-height: 56px;
}
.content-container.sub .myContainer .content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 25.6px;    
    color: #26264F;
}
.content-container.sub .myContainer .content .bottom {
    width: 50%;
}
.content-container.sub .myContainer .content h2 {
    position: relative;
    display: block;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 28.8px;
    margin-bottom: 0;
}
.content-container.sub .myContainer .content h2[data-toggle]::after {
    /* draw a bottom arrow */
    content: '';
    position: absolute;
    display: block;
    top: 0px;
    right: 0px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #1B2F55;
    margin-top: 10px;
}

.content-container.sub .myContainer .content .photo {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: auto;
    min-width: 200px;
    height: 200px;
    float: left;
    border-radius: 50%;
    margin-right: 20px;
    display: inline-block;
}
.content-container.sub .myContainer .content .text h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
}
.content-container.sub .myContainer .content .text h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 42px;    
    margin-bottom: 25px;
}
.content-container.sub .myContainer .content .text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 25.6px;    
}

.content-container.sub.sign .myContainer .content {
    background: #A2BFC199;
    padding: 50px 30%;
    text-align: left;
}

.content-container.sub.sign .myContainer .content h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 36.4px;    
    margin-bottom: 35px;
}

.custom-control-input:checked~.custom-control-label::before {
    border-color: #F49F9F;
    background-color: #F49F9F;
}
.sign::after {
    content: '';
    position: absolute;
    top: -200px;
    right: 0;
    background: url('../images/noveny_vector2.png') no-repeat top right;
    display: flex;
    width: 100%;
    height: 580px;
    z-index: -1;
}
.contact .map {
    background: url('../images/map.png') no-repeat center;
    background-size: cover;
    height: 286px;
    width: 100%;
    max-width: 520px;
    position: absolute;
    top: -120px;
    right: 50px;
    display: block;
}
textarea.form-control {
    height: 250px;
}

@media (max-width: 1200px) {
   .courses .course {
        flex-basis: calc(50% - 60px);
    }
}
@media (max-width: 992px) {
    #navbar {
        transition: left 0.3s;
        display: block;
        width: 100vw;
        height: 100vh;
        background: #EDE4DF;
        position: absolute;
        top: 0;
        left: -100vw;        
        z-index: 2;
    }
    #navbar .navbar-toggler {
        position: absolute;
        top: 15px;
        right: 15px;
    }
    #navbar.show {
        left: 0;
    }
    #navbar .nav-item {
        display: block;
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid #EFEFEF;
        color: #1D3F70;
    }
    .navbar {
        position: absolute;
        /* top: 10px; */
        right: 0;
    }  
}
@media (max-width: 576px) {
    .content-container.main {
        padding-bottom: 100px;
    }
}
@media (max-width: 768px) {
    body::before {
        height: 570px;
        background-size: contain;
        background-position: top right;
    }
    .myContainer {
        padding: 20px 10px;
    }
    .navbar-toggler {
        display: flex;
        background: #A3BFC2;
        border-radius: 10px;
        padding: 10px;
        color: #fff;
    }
    header {
        display: flex;
        padding: 20px 15px;
        position: relative;
    }
    .content-container:not(.nobg) .myContainer .content {
        padding-left: 50px;
        /* padding-bottom: 150px; */
    }
    .content-container:not(.nobg) .myContainer .content.pb150 {
        /* padding-left: 50px; */
        padding-bottom: 150px;
    }
    .content-container.main {
        padding-bottom: 150px;
    }
    .content-container.main::before {   
        width: 100%;
        background: url('../images/kez_gombolyag_vector.png') no-repeat bottom left -25px;
        background-size: contain;
        bottom: 0;
        top: auto;
    }  
    header .review {
        display: inline-block;
    }
    .logo img {
        width: 150px;
    }
    header .socials {
        display: none;
    }
    .myContainer .hero {
        /* margin-bottom: 150px; */
        padding-top: 0;
    }
    .myContainer .hero::after {
        /* display: none; */
        right: -110px;
        background-size: contain;
        height: 505px;
        background-position: top 100px right;
    }
    .hero .socials {
        display: block;
    }
    .hero .socials a {
        display: block;
        margin: 15px 0px;
    }
    .hero h2 {
        font-size: 40px;
        line-height: 64px;
    }
    .hero h3 {
        font-size: 20px;
        line-height: 32px;
    }
    .courses::after {
        right: -150px;
        background-size: contain;
    }
    .courses {
        margin-top: 0;
    }
    .courses .course {
        flex-basis: calc(100% - 20px);
        padding: 25px 20px;
    }    
    .courses .course .description {
        font-size: 15px;
        font-weight: 400;
        line-height: 25.6px;
        color: #26264F;
    }
    .courses .course .infos strong {
        display: block;
        font-size: 18px;
        font-weight: bolder;
    }
    .content-container::before {
        display: none;
    }
    .content-container .myContainer .content {
        padding: 54px;
    }
    .content-container.sub .myContainer .content h2 {
        font-size: 18px;
        line-height: 38.4px;
    }
    .content-container.sub .myContainer .content .collapse {
        margin-top: 20px;
    }
    .contact svg {
        float: left;
        margin-right: 10px;
    }
    .contact .map {
        position: relative;
        top: 0;
        right: 0;
    }
    .content-container.sub.sign .myContainer .content {
        padding: 50px 20px;
    }
    .content-container.sub .myContainer .content h1, .content-container.sub .myContainer .content .h1 {
        font-size: 22px;
        font-weight: 700;
        line-height: 35.2px;        
    }
    .content-container.sub .myContainer .content .badges {
        position: relative;
        top:0;
        right:0;
        display: flex;
    }
    .content-container.sub .myContainer .content .badges .badge {
        margin-right: 10px;
    }
    .content-container.sub.first .myContainer .content::before {
        display: none;
    }
    .content-container.sub.first .myContainer .content {
        padding: 20px;
    }
    .content-container.sub .myContainer .content {
        padding: 20px;
    }
    .content-container.sub .myContainer .content .bottom {
        width: 100%;
    }
    .content-container.sub .myContainer .content {
        width: 100% !important;
    }
    .content-container.sub .myContainer .content .photo {
        margin: 0px 0px 20px 0px;
        float: none;
    }
    .content-container.sub .myContainer .content h2[data-toggle]::after {
        margin-top: 14px;
    }
}