/* root/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:wght@700&display=swap');
* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

header {
    background-image: url("../img/header-banner.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navbar {
    display: flex;
    width: 100%;
}

.nav-list {
    display: flex;
    width: 100%;
    align-items: center;
}

.logo {
    width: 5%;
    display: flex;
    justify-content: center;
}

.logo img {
    margin: 0px 5px 0px 5px;
    width: 80%;
    border: 5px solid black;
    border-radius: 50%;
    cursor: pointer;
    justify-content: center;
}

.heading {
    width: 60%;
}

.heading img {
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
}

.menu {
    display: flex;
    width: 35%;
    justify-content: center;
}

.menu a {
    padding: 0px 20px 0px 0px;
    text-decoration: none;
    color: black;
    font-size: 20px;
    list-style: none;
    font-family: 'Anton', sans-serif;
    text-decoration: 5px underline;
}

.menu a:hover {
    text-underline-offset: 10px;
    animation: navbar-underline 0.3s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes navbar-underline {
    from {
        text-underline-offset: 2px;
        text-decoration: 5px underline black;
    }
    to {
        text-underline-offset: 5px;
        text-decoration: 5px underline red;
    }
}

.head-sec1 {
    display: flex;
    width: 100%;
    background-image: url("../img/banner-sec1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.head-sec1-content {
    display: flex;
    justify-content: center;
    width: fit-content;
}

.head-sec1-content h1 {
    font-family: 'Open Sans', sans-serif;
    justify-content: center;
    margin-left: 20px;
}

.head-sec1-content h1 a button {
    padding: 10px 20px 10px 20px;
    border: 4px solid blue;
    border-radius: 10px;
    background: rgb(255, 0, 0);
    color: white;
    font-size: 18px;
    font-weight: bolder;
    animation: demo-button 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    cursor: pointer;
}

@keyframes demo-button {
    from {
        background: red;
    }
    to {
        background: orange;
    }
}

.head-sec1-content p {
    display: flex;
    width: 50%;
    margin: 50px 0px 0px 50px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 18px;
    word-spacing: 5px;
    font-weight: 500;
}


/* .head-sec1-img {
    width: 30%;
} */

.head-sec1-img img {
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
}

.head-sec2 {
    margin-top: 10px;
    display: flex;
    width: 100%;
}


/* Slideshow Container-------------- */

.slideshow-container {
    width: 70%;
    position: relative;
}


/* Hide the images by default */

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    height: 300px;
    border-radius: 20px;
}


/* Next & previous buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.541);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    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(0, 0, 0);
}


/* Caption text */

.text {
    border: 3px solid black;
    background: rgba(255, 255, 255, 0.671);
    color: #000000;
    font-size: 20px;
    padding: 8px 12px;
    bottom: 8px;
    justify-content: center;
    text-align: center;
}


/* Number text (1/3 etc) */

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}


/* The dots/bullets/indicators */

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}


/* Fading animation */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

.message-container {
    width: 30%;
    height: 25vh;
}

.blink {
    border-radius: 20px;
    background-image: url('../img/updates-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
}

.blink ul {
    position: relative;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.blink ul div {
    margin: 10px;
}

.blink ul div a {
    display: block;
    color: rgb(0, 0, 0);
    text-align: center;
    text-decoration: none;
    font-family: 'Georgia';
    font-size: 16px;
    font-weight: 300;
    border-bottom: 2px dotted black;
}

.blink ul div a:hover {
    color: rgb(235, 13, 13);
    font-weight: bolder;
}

.head-sec3 {
    display: flex;
}


/* Courses---------- */

.flip-card {
    background-color: transparent;
    width: 20%;
    height: 125px;
    border: 1px solid #f1f1f1;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    border-radius: 10px;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-front {
    background-color: #FCE655;
    color: black;
}

.flip-card-back {
    background-color: dodgerblue;
    color: white;
    transform: rotateY(180deg);
}

footer {
    margin-top: 20px;
    /* display: flex;
    flex-direction: column; */
    background-color: black;
    color: white;
}

footer * {
    justify-content: center;
    align-items: center;
}

footer a {
    text-decoration: none;
}

.card {
    margin: 10px;
    display: flex;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    /* width: 40%; */
    border-radius: 5px;
    background-color: white;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.438);
}

.card img {
    display: flex;
    width: 200px;
    height: 200px;
    border-radius: 5px 5px 0 0;
}

.container {
    padding: 2px 2px;
}


/* Contact Page CSS */

.contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-image: url('../img/contact-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.contact-form-content {
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
}

.contact-form-content-1 {
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
}

.contact-form-content * {
    margin: 10px;
}

.contact-form-content label {
    width: 10%;
    font-family: 'Times New Roman', Times, serif, sans-serif;
    color: white;
    font-size: 20px;
}

.contact-form-content-1 label {
    width: 10%;
    font-family: 'Times New Roman', Times, serif, sans-serif;
    color: white;
    font-size: 20px;
}

.contact-form-content input {
    width: 70%;
    font-size: 18px;
    padding: 10px;
    border: 3px rgb(236, 246, 144) solid;
    border-radius: 5px;
    background-color: steelblue;
    color: white;
}

.contact-form-content input::placeholder {
    color: rgba(255, 255, 255, 0.767);
}

.contact-form-content textarea {
    width: 70%;
    height: 20vh;
    font-size: 18px;
    padding: 10px;
    border: 3px rgb(236, 246, 144) solid;
    border-radius: 5px;
    background-color: steelblue;
    color: white;
    resize: none;
}

.contact-form-content textarea::placeholder {
    color: rgba(255, 255, 255, 0.767);
}

.contact-form-content button {
    padding: 5px 30px 5px 30px;
    border: 3px solid rgb(236, 246, 144);
    background-color: grey;
    color: white;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
    cursor: pointer;
    border-radius: 5px;
}


/* Contact Page CSS -2*/

.contact-details {
    background-image: url('../img/contact-banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.contact-details p {
    font-size: 20px;
}

.contact-details p a {
    color: white;
    text-decoration: none;
}

.pointer {
    cursor: pointer;
}

.select-course {
    display: flex;
}

.head-type {
    font-size: 40px;
    font-family: 'Ubuntu Mono', monospace;
}


/* Style The Dropdown Button */

.dropbtn {
    background-color: steelblue;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    border: 3px solid rgb(236, 246, 144);
    border-radius: 5px;
}


/* The container <div> - needed to position the dropdown content */

.dropdown {
    width: 70%;
    margin: 0;
    padding: 0;
    position: relative;
    display: inline-block;
}


/* Dropdown Content (Hidden by Default) */

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 100%;
}


/* Links inside the dropdown */

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}


/* Change color of dropdown links on hover */

.dropdown-content a:hover {
    background-color: #f1f1f1
}


/* Show the dropdown menu on hover */

.dropdown:hover .dropdown-content {
    display: block;
}


/* Change the background color of the dropdown button when the dropdown content is shown */

.dropdown:hover .dropbtn {
    background-color: blue;
}