@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    padding: 0;
    margin: 0;
    --main-color: #656df2;
    --sec-color: #FFDD7D;
    font-family: "Montserrat";
    color: white;
}

body {
    width: 100vw;
    overflow-x: hidden;
}



nav {
    display: flex;
    justify-content: space-evenly;
    padding: 15px;
    height: 10vh;
    background-color: var(--main-color);
    align-items: center;
    text-align: center;
}


.burger-checkbox {
    position: absolute;
    visibility: hidden;
}


.logo_img {
    height: 80%;
    min-width: fit-content;
    max-width: 25vw;
}

.logo_img img {
    width: 100%;
    height: 100%;
}

#menu_items {
    display: flex;
    justify-content: space-around;
    width: 70vw;
    align-items: center;
    gap: 10px;
}

.menu_item {

    text-decoration: none;
    font-weight: 700;
}

.email-tel {

    font-weight: 500;
    margin-bottom: 10px;
    color: var(--sec-color);
}

main {
    width: 80%;
    margin: 0 auto;
}

h1, h3, h6, .course-link-pdf {
    color: var(--main-color);
}


h1 {
    text-align: center;
    margin: 40px;
}

h3 {
    text-align: right;
    margin-bottom: 10px;
}

.course-link-pdf {
    text-decoration: none;

}

.programs_section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows:  1fr 0.7fr;
    grid-template-areas:
    "course1 course2"
    "course3 course3";
    gap: 30px;


}

#course-item1 {
    grid-area: course1;
}

#course-item2 {
    grid-area:course2;
}

#course-item3 {
    grid-area: course3;
}

.course-item {
    color: var(--main-color);
    border: 2px solid var(--main-color);
    /* border-radius: 15px; */
    /* width: 40%; */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}
.program_data {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 10px;
}

.course-item h6 {
    background-color: #FFDD7D;
    color: rgb(77, 77, 77);
    padding: 10px;
    width: fit-content;
    position: relative;
    left: -40px;
    top: -10px;
    
}
.course-text, .course-text b {
    color: rgb(77, 77, 77);

}

.pdf-link {
    display: flex;
    color: var(--sec-color);
    align-items: center;
    justify-content: right;
    font-weight: 600;
}

.pdf-link a{
    color: var(--sec-color);
    text-decoration: none;
}

.pdf-link svg {
    margin-left: 5px;
}

address {
    display: flex;
    flex-direction: column;
}

footer h3 {
    color: #FFDD7D;
    text-align: left;
}

footer {
    background-color: #656df2;
    /* position: absolute; */
    margin-top: 20px;
    /* bottom: 0; */
    /* height: 30vh; */
    min-height: max-content;
    padding: 15px;
    display: flex;
    justify-content: space-evenly;
}

.menu_about {
    margin-top: 15px;
    border: 2px solid var(--main-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 25%;
    justify-content: space-between;
    padding: 10px;
    max-height: fit-content;
    margin-top: 50px;
}

.info_about {
    width: 70%;
    color: rgb(77, 77, 77);
    padding: 10px;

}

.info_about p{
    padding-bottom: 10px;
}

.about_text{
    color: rgb(77, 77, 77);
}

.inline_p {
    display: inline-block;
    padding-left: 10px;
}

.about_heading {
    color: var(--main-color);
    font-weight: 600;
    padding: 10px 0;
}

.info_about td {
    color: var(--main-color);
    padding: 10px;
}

.info_about table{
    border: 2px solid var(--main-color);
    padding: 10px;
}




.menu_about_item {
    color: var(--main-color);
    text-decoration: none;
    padding: 10px;
    font-size: 0.9em;
    
}

.menu_about_item:hover {
    color: var(--main-color);
    background-color: #ffdc7d70;

    
}

.menu_about_item.active{
    background-color: #FFDD7D;
    color: rgb(77, 77, 77);


}

.about_container {
    display: flex;
    justify-content: space-between;
    /* width: 100%; */

}

h3.about_heading {
    text-align: left;
}

#about p{
    font-size: 0.8em;
    padding: 0.2em 0;
}

#license_about {
    width: 50%;
    display: flex;
    flex-direction: column;

}




@media (max-width: 960px) {
    #logo_img {
        height: 45%;
    }
    main {
        width: 95vw;
    }
    .info_about {
        padding-right: 0;
    }
}



@media (max-width: 768px) {
    .burger {
        position: relative;
        z-index: 1000;
        cursor: pointer;
        display: block;
        /* position: relative; */
        border: none;
        background: transparent;
        width: 40px;
        height: 26px;
        
        /* background-color: aqua; */
    }
    .burger::before,
    .burger::after {
        content: '';
        left: 0;
        position: absolute;
        display: block;
        width: 100%;
        height: 4px;
        border-radius: 10px;
        background: var(--sec-color);
    }
    .burger::before {
        top: 0;
        box-shadow: 0 11px 0 var(--sec-color);
        transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
    }
    .burger::after {
        bottom: 0;
        transition: bottom .3s .15s, transform .3s;
    }
    .burger-checkbox:checked + .burger::before {
        top: 11px;
        transform: rotate(45deg);
        box-shadow: 0 6px 0 rgba(0,0,0,0);
        transition: box-shadow .15s, top .3s, transform .3s .15s;
    }
    .burger-checkbox:checked + .burger::after {
        bottom: 11px;
        transform: rotate(-45deg);
        transition: bottom .3s, transform .3s .15s;
    }
    
    .burger-checkbox:checked ~ #menu_items {
        display: flex;
        transform: translateX(0px);
        transition: bottom .3s, transform .3s .15s;

    }
    #menu_items {
        top: 10vh;
        right: 0;
        position: absolute;
        display: none;
        gap: 12px;
        padding: 20px 0;
        margin: 0;
        flex-direction: column;
        background: var(--main-color);
        list-style-type: none;
        transform: translateX(100%);
        transition: .3s;
        width: 200px;
        z-index: 100;
    }
    .menu_item {
        display: block;
        padding: 8px;
        color: var(--sec-color);
        font-size: 14px;
        text-align: center;
        text-decoration: none;

    }
    .menu_item:hover {
        background: rgba(255,255,255,.2)
    }

    /* .menu_item, #email-tel-block {
        display: none;
    } */
    h1 {
        font-size: 1.2em;
    }

    .programs_section {
        display: flex;
        flex-direction: column;
    }

    h3, p {
        font-size: 0.8em;
    }

    #license_about {
        width: 90%;
    }

    footer {
        flex-direction: column;
    }

    #email-tel-block {
        text-align: center;
    }
    .about_container {
        flex-direction: column;
        align-items: center;
    }
    .menu_about {
        width: 80%;
    }
    .info_about {
        width: 90%;
    }

    .info_about td {
        font-size: smaller;
    }

}
