@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kablammo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@500&display=swap');

/*ID has priority over CLASS*/
/*CLASS has priority over a TAG*/

/* ----------------------- MAIN TAGS  -----------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
}

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://cms-assets.themuse.com/media/lead/01212022-1047259374-coding-classes_scanrail.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: blur(6px);
    transform: scale(1.2);
}

header {
    position: relative;
    padding: 02rem;
}

footer {
    background-color: rgba(40, 40, 40);
    text-align: center;
    border-top: rgb(56, 56, 56) 1px solid;
    padding: 15px;
    bottom: auto;
    color: #ffffff;
}

li {
    list-style-type: none;
}

/* ----------------------- MAIN NAVBAR  -----------------------*/

#midLinks {
    text-decoration: none;
    color: #ffffff;
    padding: 7px;
    padding-left: 25px;
    padding-right: 25px;
}

#midLinks:hover {
    color: rgb(0, 195, 255);
    background-color: rgb(69, 69, 69, 0.9);
    padding: 7px;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 12px;
}

#title-home {
    text-decoration: none;
    font-size: 36px;
    color: #ffffff;
    padding-top: 25px;
    padding-left: 6px;
    background-image: url("Media/skyline2.png");
    background-size: contain;
    font-family: 'Teko', sans-serif;
}

#title-home:hover {
    cursor: pointer;
    color: rgb(240, 240, 240);
}

.navbar {
    width: 100%;
    height: 10px;
    max-width: auto;
    margin: 12px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Teko', sans-serif;
}

.navbar .links {
    display: flex;
    gap: 10px;
}

/**/
.navbar .toggle_icon {
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/* ----------------------- BUTTON FOR MENU -----------------------*/

/* BUTTON NORMALLY, WHEN IDLE*/
.action_button {
    background-color: aquamarine;
    color: black;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease-in-out;
    text-decoration: none;
    margin-right: 20px;
}

/* WHEN YOU HOVER OVER THE BUTTON*/
.action_button:hover {
    background-color: #ffffff;
    scale: 1.05;
    text-decoration: none;
}

/* WHEN YOU CLICK/ACTIVATE THE BUTTON */
.action_button:active {
    scale: 0.95;
}

/* ----------------------- DROPDOWN MENU - NEW  -----------------------*/

.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    height: 0;
    width: 250px;
    background: rgb(69, 69, 69);
    backdrop-filter: blur(15px);
    overflow: hidden;
    transition: height .2 cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
}

.dropdown_menu.open {
    height: 320px;
}

.dropdown_menu li {
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .action_button {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* -------- CREATING A REESPONSIVE BAR - NEW --------- */

/*When it reaches the max selected width, it will change the options specified accordingly, in the case if the window is less than 992px nothing will be displayed.*/
@media(max-width: 1000px) {
    .navbar .links,
    .navbar .action_button {
        display: none;
    }

    .navbar .toggle_icon {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }
}

@media(max-width: 500px) {
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
}

/* ----------------------- HOME PAGE  -----------------------*/

#welcome-home {
    text-align: center;
    color: aliceblue;
    font-size: 80px;
    margin-top: -75px;
    font-weight: bold;
    font-family: 'Teko', sans-serif;
}

#intro_para-home {
    text-align: center;
    font-family: 'Kanit', sans-serif;
    font-size: 25px;
    margin-top: 75px;
    margin-left: 140px;
    margin-right: 140px;
    color: #ffffff;
}

.section1-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 45px;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 200px;
    padding-bottom: 200px;
}

.section2-home {
    margin-top: 10rem; 
    margin-bottom: 5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    margin-top: 10rem;
}


 /* Creating the slider for images */
.slider-wrapper {
    position: relative;
    max-width: 66rem;
    margin: 0 auto;
    padding: 10px;
}

.slider {
    display: flex;
    overflow-x: auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border: rgb(70, 70, 70) 2px solid;
}

.slider img {
    /* 1 = Set every image to equal size, 0 = wont wrap any images, 100% = intial size  */
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

.slider-btn {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
}

.slider-btn .dots {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.75;
    transform: opacity ease 250ms;
}

.slider-btn .dots:hover {
    opacity: 1;
}

@media (max-width: 700px) {
    #intro_para-home {
        font-size: 22px;
        margin-left: 50px;
        margin-right: 50px;
    }
    #welcome-home {
        font-size: 66px;
    }
}

/* ----------------------- ABOUT PAGE  -----------------------*/

#desc1 {
    color: #ffffff;
    text-align: center;
    margin: 150px;
    font-size: 22px;
}



#drogon_img {
    bottom: 0;
    width: 100%;
    max-height: 441px;
    max-width: 840px;
    min-width: 440px;
    height: auto;
    margin: 0 50px;
}

#coding_img {
    bottom: 0;
    width: 100%;
    max-height: 444px;
    max-width: 320px;
    min-width: 250px;
    height: auto;
    margin: 0 60px;
}

#gaming_img {
    bottom: 0;
    width: 100%;
    max-height: 444px;
    max-width: 345px;
    min-width: 270px;
    height: auto;
    margin: 0 100px;
    border-radius: 25px;
}

.section1-about {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 100px;
    padding-bottom: 100px;
    margin-bottom: 25px;
}

.section2-about {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
    margin-top: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 100px;
    padding-bottom: 100px;
    margin-bottom: 25px;
}

.section3-about {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.section3-about iframe {
    max-width: 100%;
    max-height: 90%;
    margin: 10px;
}

.page-flex {
    display: flex;
    flex-direction: column;
    gap: 40rem;
}

@media (max-width: 1200px) {
    .section1-about {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        margin-top: 50px;
        background-color: rgba(0, 0, 0, 0.5);
        padding-top: 150px;
        padding-bottom: 150px;
        margin-bottom: 25px;
    }
    
    .section2-about {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        margin-top: 50px;
        background-color: rgba(0, 0, 0, 0.5);
        padding-top: 150px;
        padding-bottom: 150px;
        margin-bottom: 25px;
    }

    #desc1 {
        font-size: 20px;
        margin: 50px;
    }
}

/* ----------------------- SOCIAL PAGE  -----------------------*/

#social-img {
    width: auto;
    height: 60px;
}

#social-text {
    color: #ffffff;
    display: flex;
    flex-direction: column;

}

#text-contact {
    color: #ffffff;
    font-size: 40px;
    text-align: center;
    font-family: 'Teko', sans-serif;
    margin-bottom: 50px;
    text-decoration: underline;
}

#contact-direct {
    display: flex;
    color: #000000;
    font-size: 44px;
    text-align: left;
    margin-left: 20px;
    padding: 10px;
    margin: 10px;
    font-family: 'Teko', sans-serif;
}

#location-contact {
    font-size: 30px;
    font-family: 'Teko', sans-serif;
    padding-bottom: 10px;
    margin-top: 40px;
}

.section1-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    background-color: rgba(218, 218, 218, 0.9);
    padding-top: 50px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    width: 35%;
    height: auto;
    border-radius: 10px;
    border: black 2px solid;
}

.section2-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 50px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    width: 35%;
    height: auto;
    border-radius: 10px;
}

.social-container {
    text-indent: 20px;
    padding: 10px;
    text-align: center;
    margin-top: 20px;
}

.container-contact {
    display: flex;
    justify-content: space-around;
}

.socialIcons {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-right: 20px;
}

.container-links {
    display: flex;
    justify-content: center;
}

.contact-email1, .contact-phone1 {
    font-size: 30px;
    font-family: 'Teko', sans-serif;
}

.contact-email2, .contact-phone2 {
    font-size: 20px;
    margin-bottom: 40px;
    text-decoration: none;
    color: rgb(0, 114, 114);
    padding: 5px;
}

.contact-email2:hover, .contact-phone2:hover {
    color: rgb(0, 50, 69);
}

.location iframe {
    max-width: 100%;
    max-height: 80%;
}

@media (max-width: 800px) {
    .container-contact {
        flex-direction: column;
        align-items: center;
    }
    .section1-contact, .section2-contact {
        width: 90%;
    }
}

/* ----------------------- LOGIN PAGE  -----------------------*/

#forgotten {
    display: flex;
    align-self: center;
    color: grey;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    padding: 10px;
    margin-top: 30px;
    text-decoration: none;
}

#forgotten:hover {
    color: #ffffff;
    cursor: pointer;
    text-decoration: underline;
}

#loginTitle {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

#qa {
    color: #ffffff;
    text-align: center;
}

#register {
    text-align: center;
    color: gray;
    padding: 0;
}

#register:hover {
    color: #ffffff;
    cursor: pointer;
}

.section1-login {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
}

.inputbox {
    margin: 1rem;
    width: 20rem;
    height: 2rem;
    display: flex;
    align-self: center;
    border: 0;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 5px;
    outline: none;
    text-indent: 5px;
}

.container1-login {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.581);
    width: 26rem;
    height: 38rem;
    border-radius: 15px;
    margin-top: -10px;
}

.user-pass {
    margin-left: 3rem;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

.login-btn {
    width: 10rem;
    height: 2.5rem;
    align-self: center;
    margin-top: 4rem;
    margin-bottom: 1rem;
    background-color: aquamarine;
    border: rgb(0, 0, 0) 1px solid;
    cursor: pointer;
    border-radius: 20px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.login-btn:hover {
    scale: 1.05;
    background-color: #ffffff;
}








