* {
    box-sizing: border-box;
}

::selection {
    color: #ffffff;
    background: rgb(255, 0, 0);
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: rgb(255, 255, 255);
}

.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}


.home_top {
    height: 13vh;
    display: grid;
    grid-template-columns: 15% 70% 15%;
}

.home_top .logo {
    margin: auto;
}

.home_top .logo img {
    max-height: 100px;
    object-fit: contain;
    height: 13vh;
    width: auto;
}

.home_top .main_head {
    margin: auto;
}

.home_top .main_head h2 {
    font-family: Ubuntu, serif;
    letter-spacing: 1px;
    height: fit-content;
    text-align: center;
    font-size: 40px;
    margin: 0;
    text-decoration: none;
    color: #000000;
}

.home_top .hamburger {
    margin: auto;
}

.menuBtn {
    visibility: hidden;
}

.overlay-menu {
    height: 0;
    visibility: hidden;
}

.navbar {
    position: -webkit-sticky;
    position: sticky;
    background-color: #272727;
    top: 0px;
    height: 7vh;
    max-height: 60px;
    margin: auto;
    z-index: 1;
}

.navbar a {
    font-family: Poppins, sans-serif;
    letter-spacing: 1px;
    font-size: 17px;
    padding: 2vh 0 0 0;
    height: 100%;
    width: 25%;
    color: #ffffff;
    float: left;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.navbar a:hover {
    border-bottom: 1px solid #DED1BD;
    background-color: #000000;
    color: rgb(255, 255, 255);
    transition: 0.5s;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

.image {
    height: 80vh;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-container {
    max-width: 2000px;
    position: relative;
    margin: auto;
}

.myImages {
    display: none;
}

.prev_home,
.next_home {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next_home {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev_home:hover,
.nexthome:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .5
    }

    to {
        opacity: 1
    }
}

.heading {
    text-align: center;
    letter-spacing: 1px;
    vertical-align: middle;
    font-family: Ubuntu, serif;
    padding: 20px 0;
    margin: 0;
    height: fit-content;
    font-size: 30px;
}

.aboutMath {
    height: 95vh;
}

.aboutUs {
    display: grid;
    grid-template-columns: 40% 60%;
    height: 500px;
    padding: 20px 0;
}

.aboutUs_left {
    margin: auto;
}

.aboutUs .aboutUs_left img {
    width: 100%;
    height: auto;
    max-height: 65vh;
}

.aboutUs_right {
    margin: auto;
}

.aboutUs_right p {
    margin: 0%;
    padding: 0 5%;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    text-align: justify;
}

.dailyProgram {
    height: 90vh;
}

.routine_table {
    margin: auto;
    width: 100%;
    padding: 30px 0;
}

.routine_table img {
    display: block;
    margin: auto;
    width: 60%;
}


.upcomingEvents {
    height: fit-content;
}

.event_one,
.event_two {
    padding: 20px 0;
    width: 60%;
    margin: auto;
}

.upcomingEvents .event_pictures img {
    width: 100%;
    height: auto;
}

.journey {
    height: fit-content;
    padding: 5vh 0;
}

.journey p {
    padding: 0 25%;
    text-align: center;
    font-size: 15px;
    font-family: Poppins, sans-serif;
}

.journey_images {
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
}

.journey_images img {
    padding: 20px 0 0 0;
    display: block;
    margin: auto;
    min-width: 70%;
}

.contactUs {
    height: 50vh;
    color: rgb(255, 255, 255);
    background-color: #272727;
    font-family: Poppins, sans-serif;
    padding: 0 5%;
}

.contactUs_main {
    display: grid;
    grid-template-columns: 50% 50%;
}

.contactUs p {
    margin: 0;
    padding: 0;
}

.contactUs a {
    text-decoration: none;
    color: #ffffff;
    text-align: left;
    letter-spacing: 1px;
    padding: 0;
    margin: 0;
    font-size: 15px;
    width: fit-content;
}

.contactUs_right ul {
    text-align: right;
}

.foot {
    text-align: left;
    font-size: 13px;
    font-family: Poppins, sans-serif;
    height: 40px;
    background-color: #272727;
    color: rgb(255, 255, 255);
}

.foot p {
    margin: 0;
    padding: 0 5%;
}


/*Gallery*/
.row {
    padding: 0 15px;
    padding-bottom: 50px;
}

.row>.column {
    align-items: center;
    width: 33.33%;
    display: block;
    padding-top: 15px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.column {
    float: left;
    width: auto;
}

.column img {
    display: block;
    height: 200px;
    width: auto;
    margin: 0 auto;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 3;
    padding: 0;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: none;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content */
.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 100%;
    max-width: 2000px;
}

.modal-content img {
    height: 100vh;
    width: auto;
    object-fit: contain;
}

/* The Close Button */
.close {
    z-index: 100;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: rgb(143, 143, 143);
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgb(132, 132, 132);
}

img.hover-shadow {
    transition: 0.2s;
}

.hover-shadow:hover {
    box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.5), 0 8px 20px 0 rgba(0, 0, 0, 0.19);
}


/*LITERATURE*/

.languageContent {
    width: 100%;
}

.tab {
    margin: auto;
    max-width: 60%;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
}

.tablinks {
    width: 25%;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    font-size: 15px;
    font-family: Poppins, sans-serif;
    color: #000000;
    background: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: rgb(82, 82, 82);
    color: rgb(255, 255, 255);
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    text-align: center;
    font-family: Poppins, sans-serif;
}

.tabcontent h3 {
    padding: 50px 0 10px 0;
    margin: 0;
    font-size: 27px;
    text-transform: uppercase;
}

.tabcontent .semiHead {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
}

.tabcontent p {
    text-align: justify;
    font-size: 18px;
    padding: 0 10%;
}

/*NEARBY PLACES*/
.place_one {
    margin-top: 5vh;
}

.place_two .content,
.place_four .content {
    grid-row: 1/2;
    grid-column: 2/3;
}

.place_two .photo,
.place_four .photo {
    grid-row: 1/2;
    grid-column: 1/2;
}

.content p {
    margin: 0;
    font-family: Poppins, sans-serif;
    text-align: center;
    padding: 0 5%;
}

.gaon {
    display: grid;
    grid-template-columns: 50% 50%;
    height: 90vh;
}

.content {
    display: block;
    height: fit-content;
    margin: auto;
}

.photo img {
    object-fit: contain;
    display: block;
    margin: auto;
    width: 90%;
    height: 80vh;
}

/*The TEAM*/
.team{
    padding: 20px 10%;
    font-family: Poppins, sans-serif;
}
.team .semi-head{
    font-weight: 600;
    font-size: 22px;
    text-align: left;
    text-decoration: underline;
}
.team .sub-content{
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}
.team .subtitle{
    font-size: 15px;
    margin: 0;
    font-style: italic;
}
@media only screen and (max-width: 900px) {
    .home_top .logo {
        min-height: 70px;
    }

    .home_top h2 {
        font-size: 28px;
    }

    .navbar {
        overflow: hidden;
        height: 0;
    }

    .image {
        height: 87vh;
    }

    .home_top .hamburger {
        margin: auto;
    }

    .menuBtn {
        border: none;
        visibility: visible;
        align-content: center;
        text-decoration: none;
        cursor: pointer;
        padding: 0;
        background-color: rgb(255, 255, 255);
    }

    .overlay-menu {
        visibility: visible;
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.94);
        overflow-x: hidden;
        transition: 0.2s ease-in;
    }

    .overlay-menu-content {
        font-family: Ubuntu, serif;
        position: relative;
        top: 30%;
        width: 100%;
        text-align: center;
    }

    .overlay-menu a {
        padding: 15px;
        text-decoration: none;
        font-size: 25px;
        color: #b1b1b1;
        display: block;
    }

    .overlay-menu a:hover,
    .overlay-menu a:focus {
        color: #f1f1f1;
    }

    .overlay-menu .closebtn {
        position: absolute;
        top: 20px;
        right: 45px;
        font-size: 60px;
    }

    .row {
        padding-top: 50px;
    }

    .row>.column {
        width: 50%;
    }
}

@media only screen and (max-width: 500px) {
    .home_top {
        height: 10vh;
        grid-template-columns: 20% 70% 10%;
    }

    .home_top .main_head h2 {
        font-size: 20px;
    }

    .home_top .logo img {
        height: 60px;
        padding: 0;
    }

    .image {
        height: 50vh;
    }

    .heading {
        font-size: 20px;
    }

    .overlay-menu a {
        font-size: 20px;
    }

    .overlay-menu-content {
        top: 40%;
    }

    .tab {
        max-width: 100%;
    }

    .tabcontent p {
        font-size: 14px;
        padding: 0 0;
    }

    .tabcontent h3 {
        font-size: 23px;
    }

    .tabcontent .semiHead {
        font-size: 18px;
    }

    .row {
        padding-top: 20px;
    }

    .row>.column {
        width: 100%;
    }
    .column img {
        height: auto;
        width: 100%;
        margin: 0 auto;
    }

    .aboutMath {
        height: 1350px;
    }

    .aboutUs {
        grid-template-columns: 100%;
    }

    .aboutUs .aboutUs_left img {
        object-fit: cover;
        display: block;
        margin: auto;
        width: 90%;
        height: 50vh;
    }

    .aboutUs {
        padding: 0;
    }

    .aboutUs_right p {
        padding-top: 10%;
    }

    .dailyProgram {
        height: 40vh;
    }

    .routine_table {
        padding: 10px 0;
    }

    .routine_table img {
        width: 90%;
    }

    .event_one,
    .event_two {
        width: 90%;
        padding: 10px 0;
    }

    .journey {
        padding: 10px 0;
    }

    .journey_images {
        padding-top: 10%;
    }

    .journey_images img {
        width: 30%;
    }

    .journey p {
        padding: 0 5%;
        font-size: 12px;
        margin: 0;
    }

    .gaon {
        grid-template-columns: 100%;
        height: fit-content;
    }

    .place_two .content,
    .place_four .content {
        grid-row: 1/2;
        grid-column: 1/2;
    }

    .place_two .photo,
    .place_four .photo {
        grid-row: 2/3;
        grid-column: 1/2;
    }

    .photo img {
        height: 60vh;
    }

    .contactUs {
        height: 30vh;
    }

    .contactUs p,
    .contactUs a {
        font-size: 12px;
    }
    .team{
        padding: 20px 5%;
    }
    .team .semi-head{
        font-weight: 600;
        font-size: 20px;
    }
    .team .sub-content{
        font-size: 15px;
    }
    .team .subtitle{
        font-size: 13px;
    }

}