/* Responsive */

.visible-sm {
    display: none
}

.humburger {
    width: 40px;
    padding: 10px 8px;
    height: 40px;
    background: #03999e0e;
    border-radius: 4px;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    cursor: pointer;
    overflow: hidden;
    display: none;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out
}

.humburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #03999e;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out
}

.humburger.active {
    background: #03999e4b;
}

@media (min-width: 1200px) {
    
}

@media (max-width: 1200px) {
    .container {
        padding-left: 8% !important;
        padding-right: 8% !important;
    }

    .flex-4 > div {
        width: 48%;
        margin-bottom: 50px;
    }

    nav li {
        margin: 0 5px
    }
    
    footer .flex-4 > div:last-of-type {
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    nav .menu li:not(.more):after {
        content: '';
        position: absolute;
        top: 28px;
        left: 0;
        height: 1px;
        width: 0%;
        background: transparent;
        -webkit-transition: .2s ease-in-out;
        transition: .2s ease-in-out;
    }
    
    nav .menu li:not(.more):hover:after {
        background: #d89527;
        width: 70%;
    }

    nav .dropdown {
        position: absolute;
        top: 20px;
        left: -22px;
        padding: 10px;
        margin: 0;
        padding-top: 16px;
        list-style: none;
        background-color: #fff;  
        width: max-content;
        border-radius: 0 0 8px 8px;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        box-shadow: 0px 22px 20px rgba(0, 0, 0, 0.05);
    }
    
    nav .dropdown li {
        padding: 6px 0;
    }
    
    nav .more .dropdown.clicked {
        visibility: visible;
        opacity: 1;
    }
}

@media (max-width: 992px) {

    .flex-3 > div {
        width: 47% !important;
        margin-bottom: 4%
    }

    .testimonials .txt-center {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .testimonials h2.txt-center:before {
        top: calc(100% + 6px);
        left: 20px;
        height: 3px;
        width: 40%;
    }

    .testimonials h2.txt-center:after {
        top: 100%;
        left: 0;
        border: none
    }

    header > div p {
        font-size: 38px;
        width: 670px
    }
}

@media (max-width: 768px) {

    .hide-sm {
        display: none
    }

    .dropdown {
        padding: 0;
    }

    .logo {
        width: 150px
    }

    .visible-sm {
        display: block;
        position: relative;
    }

    .humburger {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex
    }

    nav .header-info a {
        font-size: 15px;
    }

    nav ul .menu {
        width: 220px;
        border-radius: 6px;
        background: #fff;
        overflow: hidden;
        position: absolute;
        z-index: 1;
        left: 6%;
        top: 60px;
        -webkit-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.1);
        display: none
    }
    
    nav ul .menu li {
        margin: 0;
        display: block;
        width: 100%;
    }
    
    nav ul .menu li a {
        color: #03999e;
        padding: 15px;
        width: 100%;
    }
    
    nav ul .menu li a:hover {
        background: #03999e;
        color: #fff !important;
    }

    header {
        height: calc(80vh - 138.5px);
    }

    .container {
        padding-left: 6% !important;
        padding-right: 6% !important;
    }

    section {
        padding-top: 80px;
    }
    
    section:last-of-type {
        padding-bottom: 80px;
    }

    .courses-page .course-reviews {
        padding: 80px 0;
    }

    h2 {
        font-size: 38px
    }

    .flex-2 > div {
        width: 100% !important;
        margin-bottom: 4%
    }
    
    form .flex-2 > div {
        width: 49% !important;
    }

    form .flex-2 > div {
        margin-bottom: 0
    }

    .flex-3 > div,
    .flex3-2 > div,
    .flex2-3 > div {
        width: 100% !important;
        margin-bottom: 4%;
    }

    .flex-4 > div {
        width: 100%;
        margin-bottom: 4%;
    }

    header > div p {
        font-size: 38px;
        width: 360px
    }

    header.secondary {
        height: 30vh
    }

    header.secondary > div p {
        font-size: 36px
    }

    .contact {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse
    }

    .tutors .flex > div:last-of-type {
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
    }

    footer > .flex {
        flex-direction: column-reverse;
    }
    
    footer .flex-4 > div {
        margin-bottom: 10%;
        text-align: center;
    }
    
    footer h3:before {
        top: calc(100% + 6px);
        left: 20%;
        height: 3px;
        width: 60%;
    }
    
    footer h3:after {
        top: calc(100% - 1px);
        left: 48.5%;
        border: 3px solid #15110e;
    }

    .flex3-2 > div.cloud-2 {
        width: 250px !important;
    }
}

@media (max-height: 420px) {
    header > div p {
        font-size: 42px;
    }
    
    header > div:not(.slider-images) {
        margin-top: 50px !important;
    }
    
    header > div i {
        margin-top: 135px;
    }
}