* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Applied to all elements */

/* Containers */

html {
    position: relative;
    min-width: 1280px;
}

body {
    background-color: #FFFFFF;
    width: 100%;
}

header {
    background-color: #E5F2E0;
    position: fixed;
    width: 100%;
    min-width: 1280px;
    z-index: 100;
    height: 70px;
}

header div {
    display: flex;
    width: 100%;
    min-width: 1280px;
    height: 100%;
    max-width: 1920px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0px 40px;
    box-sizing: border-box;
}

header div ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 60px;
}

section {
    position: relative;
    width: 100%;
    min-width: 1280px;
    justify-content: center;
    padding: 0px 200px;
}

div {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fonts */

h1 {
    position: relative;
    font-family: Arial, sans-serif;
    font-size: 45px;
    font-weight: 200;
    color: #174324;

}

p {
    position: relative;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-decoration-line: underline;
    font-style: italic;
    color: #174324;
}

h2 {
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 200;
    color: #174324;
}

button:hover>h2 {
    color: white;
}

/* Media */

.head-Img {
    position: relative;
    width: 380px;
    border-radius: 10px;
}

/* Interactables */

button {
    background-color: #b5caad;
    color: #174324;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
    z-index: 1;
    position: relative;
    display: flex;

    /* Text Font */
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 200;
    position: relative;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #047500;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: #174324;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 200;
}

a:hover {
    text-decoration: none;
    color: #047500;
}

.navmenu,
.navmenulist,
.coursemenulist {
    display: none;
}

/* Classes */
/* .navbar {
    position: relative;
    width: 100%;
} */

.navdropdown {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: center;
    height: 70px;
}

.navdropdown img {
    position: relative;
    rotate: 180deg;
}

.navdropdown:hover>img {
    rotate: 270deg;
}

.navdropdown ul {
    position: fixed;
    background-color: #E5F2E0;
    display: none;
    top: 60px;
    max-width: 250px;
    border-radius: 10px;
    z-index: 101;
}

.navdropdown ul li {
    height: auto;
    padding: 0 10px;
    margin: 15px 0;

}

.navdropdown:hover>ul {
    display: block;
}

/* Section 1 */

#Sec1 {
    background-image: url(./src/bg1.png);
    background-size: contain;
    background-position-x: center;
    position: relative;
    min-height: 500px;
    display: grid;
    grid-template-columns: auto 380px;
    grid-template-rows: 200px 110px 190px;
    align-items: center;
    justify-items: center;
    column-gap: 150px;
}

#Sec1 img {
    grid-column: 2;
    grid-row: 1 / span 3;
}

#Sec1 h1 {
    grid-column: 1;
    grid-row: 1;
    align-self: self-end;
    justify-self: start;
}

#Sec1 p {
    grid-column: 1;
    grid-row: 2;
}

#Sec1 button {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    align-self: self-start;
    align-items: center;
}

#Sec1 button img {
    rotate: 180deg;
}

#Sec1 button:hover>img {
    filter: invert(100%);
}

/* Section 2 */

#hoveredArrow {
    visibility: hidden;
}

#Sec2 {
    position: relative;
    min-height: 500px;
    display: grid;
    grid-template-columns: auto 380px;
    column-gap: 150px;
    /* grid-template-rows: 1fr 1fr; */
    align-items: center;
    justify-items: center;
}

#Sec2 img {
    grid-column: 2;
    grid-row: 1 / span 2;
}

#Sec2 h1 {
    grid-column: 1;
    grid-row: 1;
    align-self: self-end;
    justify-self: start;
    color: black;
}

#Sec2 p {
    grid-column: 1;
    grid-row: 2;
    align-self: self-start;
    padding-top: 15px;
    color: black;
}

#sectionCutter {
    justify-self: center;
}

/* Courses Section */

#CoursesSec {
    position: relative;
    display: grid;
    height: 520px;
    background-image: linear-gradient(to bottom, #ffffff 40%, #E5F2E0 60%);
    justify-items: center;
    align-items: center;
    grid-template-columns: 200px 200px 200px;
    grid-template-rows: auto 1fr 7px 1fr;
    column-gap: 100px;
}

#CoursesSec h1 {
    font-size: 55px;
    grid-row: 1;
    grid-column: 1 / span 3;
}

/* Courses Buttons */

.coursebuttons button {
    width: 200px;
}

.coursebuttons img {
    transition: border-radius 0.15s ease, scale 0.2s ease;
    transition: border-radius 0.15s ease-out, scale 0.2s ease-out;
    width: 50px;
    /* height: 50px; */
    border-radius: 10px;
}

#C1 {
    display: table-column;
    grid-row: 2;
    grid-column: 1;
}

#C2 {
    display: table-column;
    grid-row: 2;
    grid-column: 2;
}

#C3 {
    display: table-column;
    grid-row: 2;
    grid-column: 3;
}

#seperator {
    position: relative;
    grid-row: 3;
    grid-column: 1 / span 3;
}

#C4 {
    display: table-column;
    grid-row: 4;
    grid-column: 1;
}

#C5 {
    display: table-column;
    grid-row: 4;
    grid-column: 2;
}

#C6 {
    display: table-column;
    grid-row: 4;
    grid-column: 3;
}

/* End Page */

#pageEnd {
    position: relative;
    height: 360px;
    background-image: linear-gradient(to bottom, #E5F2E0 60%, #174324 100%);
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    column-gap: 75px;
}

#pageEnd img {
    position: relative;
    width: 150px;
    height: 150px;
    grid-row: 1;
    grid-column: 1 / span 2;
}

#pageEnd button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    justify-content: center;
    align-content: center;
}

#pageEnd h2 {
    color: #174324;
    text-align: center;
    font-weight: 300;
    font-style: italic;
    grid-row: 5;
    grid-column: 1 / span 2;
}

#pageEnd p {
    font-style: italic;
    font-weight: bold;
    text-transform: capitalize;
}

#seperator2 {
    position: relative;
    grid-row: 2;
    grid-column: 1 / span 2;
}

#facebookbutton {
    grid-row: 3;
    grid-column: 1;
    justify-self: self-end;
}

#facebookbutton img {
    position: relative;
    width: 20px;
    height: 20px;
}

#facebookbutton:hover>img {
    filter: invert(100%);
}

#instagrambutton {
    justify-self: self-start;
    grid-row: 3;
    grid-column: 2;
}

#instagrambutton img {
    position: relative;
    width: 20px;
    height: 20px;
}

#instagrambutton:hover>img {
    filter: invert(100%);
}

#Phone {
    grid-row: 4;
    grid-column: 1;
    justify-self: self-end;
}


#Email {
    justify-self: self-start;
    grid-row: 4;
    grid-column: 2;
}

/* Floating Buttons */

.FloatingButtonsMob {
    display: none;
}

.FloatingButtons {
    /* Fixes the button relative to the viewport */
    position: fixed;
    width: 160px;
    height: 50px;

    justify-content: start;
    align-items: center;
    gap: 10px;

    /* Styling & Alignment */

    color: #ffffff;
    border: none;
    cursor: pointer;

    /* Keep on top of other content */
    z-index: 1000;

    transition: transform 0.2s ease;
}

.FloatingButtons:hover {
    transform: translateY(-5px);
}

.FloatingButtons img {
    width: 20px;
    height: 20px;
    filter: invert(100%);
}

#whatsapp {
    background-color: #20BA5A;
    bottom: 65px;
    right: 25px;

}

#whatsapp:hover {
    background-color: #1b994b;
}

#callus {
    background-color: rgb(0, 89, 255);
    right: 25px;
    bottom: 5px;
}

#callus:hover {
    background-color: rgb(1, 74, 211);
}

@media only screen and (max-width: 600px) and (min-width: 320px) {

    code,
    pre {
        font-weight: 500;
    }

    html {
        min-width: 320px;
        max-width: 600px;
    }

    header {
        width: 100%;
        min-width: 320px;
        height: 70px;
    }

    header div {
        min-width: 320px;
        max-width: 600px;
        padding: 0px 20px;
    }

    header div ul {
        display: none;
    }

    header div button {
        display: block;
        font-size: 20px;
        font-weight: 800;
    }

    section {
        width: 100%;
        min-width: 320px;
        padding: 50px 50px;
    }

    h1 {
        font-size: 30px;
        font-weight: bold;
    }

    p {
        font-size: 18px;
        font-weight: bold;
        text-decoration: none;
    }

    h2 {
        font-size: 20px;
        font-weight: 800;
    }

    .head-Img {
        width: 200px;
        border-radius: 10px;
    }

    #logo {
        height: 50px;
    }

    button {
        /* Text Font */
        font-size: 11px;
        font-weight: 100;
    }

    a {
        font-size: 20px;
        font-weight: 800;
    }

    .navmenu {
        display: block;
        background-color: transparent;
        background-image: url(./Assets/navmenu.png), url(./Assets/close.png), url(./Assets/back.png);
        background-size: cover;
        background-position: center, center left 50px, center left 50px;
        background-repeat: no-repeat;
        width: 50px;
        height: 50px;
    }

    .navmenu:hover {
        background-color: transparent;
    }

    .navmenulist {
        position: fixed;
        display: none;
        background-color: #E5F2E0;
        width: 100%;
        height: 100vh;
        z-index: 98;
    }

    .navmenulist ul {
        width: 100%;
        height: 50%;
        padding: 50px 20px;
        justify-items: center;
        align-content: start;
        list-style: none;
    }

    .navmenulist ul li {
        width: 100%;
        height: auto;
        justify-items: start;
        align-content: center;
        margin: 30px 0;
    }

    .navmenulist ul li a,
    .navmenulist ul li h2 {
        font-size: 45px;
        font-weight: 500;
    }

    .navmenulist button {
        display: none;
        justify-self: center;
        width: 170px;
        height: 50px;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        margin-top: 80%;
    }

    .coursemenu img {
        height: 40px;
        width: 40px;
        rotate: 180deg;
    }

    .coursemenulist {
        position: fixed;
        display: none;
        background-color: #E5F2E0;
        width: 100%;
        height: 100vh;
        z-index: 99;
    }

    .coursemenulist ul {
        width: 100%;
        height: 100%;
        padding: 50px 20px;
        justify-items: center;
        align-content: start;
        list-style: none;
    }

    .coursemenulist ul li {
        width: 100%;
        height: auto;
        justify-items: start;
        align-content: center;
        margin-top: 30px;
        border-top: 2px solid #b5caad;
        border-bottom: 2px solid #b5caad;
    }

    .coursemenulist ul li img {
        height: 30px;
        align-self: center;
    }

    .coursemenulist ul li a,
    .coursemenulist ul li h2 {
        font-size: 45px;
        font-weight: 500;
    }

    /* Section 1 */

    #Sec1 {
        min-height: 500px;
        grid-template-columns: 200px;
        grid-template-rows: 1fr auto auto 0.25fr;
        row-gap: 7px;
    }

    #Sec1 img {
        grid-column: 1;
        grid-row: 1;
    }

    #Sec1 h1 {
        grid-column: 1;
        grid-row: 2;
        align-self: self-end;
        justify-self: start;
    }

    #Sec1 p {
        grid-column: 1;
        grid-row: 3;
    }

    #Sec1 button {
        grid-column: 1;
        grid-row: 4;
    }

    #Sec1 button img {
        rotate: 180deg;
    }


    #Sec2 {
        min-height: 500px;
        grid-template-columns: 200px;
        row-gap: 7px;
        grid-template-rows: auto auto 1fr;
    }

    #Sec2 img {
        grid-column: 1;
        grid-row: 3;
    }

    #Sec2 h1 {
        grid-column: 1;
        grid-row: 1;
        align-self: self-end;
        justify-self: start;
    }

    #Sec2 p {
        grid-column: 1;
        grid-row: 2;
        padding-top: 0px;
    }

    #sectionCutter {
        width: 200px;
    }

    /* Courses Section */

    #CoursesSec {
        height: 1000px;
        grid-template-columns: 300px;
        grid-template-rows: auto auto auto auto auto auto auto;
        row-gap: 10px;
    }

    #CoursesSec h1 {
        font-size: 40px;
        grid-row: 1;
        grid-column: 1;
    }

    /* Courses Buttons */

    .coursebuttons button {
        width: 200px;
    }

    .coursebuttons img {
        transition: border-radius 0.15s ease, scale 0.2s ease;
        transition: border-radius 0.15s ease-out, scale 0.2s ease-out;
        width: 75px;
        /* height: 50px; */
        border-radius: 10px;
    }

    #C1 {
        display: table-column;
        grid-row: 2;
        grid-column: 1;
    }

    #C2 {
        display: table-column;
        grid-row: 3;
        grid-column: 1;
    }

    #C3 {
        display: table-column;
        grid-row: 4;
        grid-column: 1;
    }

    #seperator {
        display: none;
    }

    #C4 {
        display: table-column;
        grid-row: 5;
        grid-column: 1;
    }

    #C5 {
        display: table-column;
        grid-row: 6;
        grid-column: 1;
    }

    #C6 {
        display: table-column;
        grid-row: 7;
        grid-column: 1;
    }

    /* End Page */

    #pageEnd {
        min-height: 460px;
        grid-template-columns: 130px 130px;
        grid-template-rows: auto 7px 1fr 1fr 1fr 1fr;
        column-gap: 20px;
        row-gap: 10px;
        padding: 10px 20px;
    }

    #pageEnd img {
        position: relative;
        width: 200px;
        height: 200px;
        grid-row: 1;
        grid-column: 1 / span 2;
    }

    #pageEnd button {
        width: 30px;
        height: 30px;
        justify-items: center;
        align-items: center;
    }

    #pageEnd h2 {
        font-weight: 800;
        font-style: italic;
        grid-row: 6;
        grid-column: 1 / span 2;
    }

    #seperator2 {
        position: relative;
        grid-row: 2;
        grid-column: 1 / span 2;
        width: 200px;
    }

    #facebookbutton {
        grid-row: 3;
        grid-column: 1;
        justify-self: self-end;
    }

    #facebookbutton img {
        position: relative;
        width: 20px;
        height: 20px;
    }

    #instagrambutton {
        justify-self: self-start;
        grid-row: 3;
        grid-column: 2;
    }

    #instagrambutton img {
        position: relative;
        width: 20px;
        height: 20px;
    }

    #Phone {
        grid-row: 4;
        grid-column: 1 / span 2;
        justify-self: center;
    }


    #Email {
        justify-self: center;
        grid-row: 5;
        grid-column: 1 /span 2;
    }

    .FloatingButtons {
        display: none;
    }

    .FloatingButtonsMob {
        /* Fixes the button relative to the viewport */
        display: flex;
        position: fixed;
        width: 50px;
        height: 50px;

        justify-content: center;
        align-items: center;
        gap: 10px;

        /* Styling & Alignment */

        color: #ffffff;
        border: none;
        cursor: pointer;

        /* Keep on top of other content */
        z-index: 1000;

        transition: transform 0.2s ease;
    }

    .FloatingButtonsMob img {
        width: 30px;
        height: 30px;
        filter: invert(100%);
    }

    #whatsapp {
        background-color: #20BA5A;
        bottom: 70px;
        right: 15px;

    }

    #callus {
        background-color: rgb(0, 89, 255);
        right: 15px;
        bottom: 10px;
    }
}
