body{
    position: relative;
    margin: 0;
    font-family: DejaVu Sans Mono, monospace;
    background-color:#42a5f5;
    color:rgb(255, 255, 255);
    min-height: 100vh;
}

main {
    padding-bottom: 150px;
}

h1{
    margin: 0;
}

h2{
    margin: 0;
}

a{
    color: white;
    text-decoration: none;
}

.center-flex {
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#label1,
#label2,
#label3,
#label4
{
    color: black;
    font-weight: bold;
    font-size: 20px;
}

#student-classes li{
    color:rgb(0, 0, 0);
    font-size: 17px;
}

#header-homepage{
    position: sticky;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    z-index: 1;
    padding: 0 1rem;
    background-color:#0d47a1;
}

#header-homepage h1{
    margin: 0;
}

/* nav and its descendents styles */
#nav-homepage ul{
    list-style: none;
    padding: 0;
    display:flex;
    justify-content: space-around;
    align-items: center;
}

#nav-homepage li{
    padding-right: 30px;
}

#nav-homepage a{
    color: white;
    font-size: x-large;
    text-decoration: none;
}

#nav-homepage a:hover{
    color: #FF8000;
    cursor: pointer;
}

/* Styling main */
#main-homepage{
    /* Positioning */
    display: block;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    margin-top: 50px;
    /* margin-bottom: 150px; */
    width: 100%;
    height: 50%;
    position: relative;
    text-align: center;

    /* Border stylying */
    border:black 5px;
}


#welcome-message{
    text-wrap:nowrap;
    margin-bottom: 20px;
}

#main-homepage h1{
    font-size: 50px;
}

#main-homepage h2{
    font-size: 25px;
    margin-bottom: 50px;
}

#main-homepage iframe{
    margin-bottom: 20px;
    border-radius: 30px;
}

#main-homepage p{
    margin-bottom: 20px;
    /* Font styling */
    font-size: larger;
    font-weight: bolder;
}

#main-homepage li{
    /* Font styling */
    font-size: larger;
    font-weight: bolder;
}

/* Styling Footer */
#footer-main{
    position: absolute;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    bottom: 0;
    padding: 0 1rem;
    height: 150px;
    background-color: #002244;
    width: 100%;
}

#footer-main ul{
    list-style: none;
    padding: 0;
    display:flex;
    justify-content: space-around;
    align-items: center;
}

#nav-homepage-footer li{
    padding-right: 30px;
}

#nav-homepage-footer a{
    color: white;
    font-size: x-large;
    text-decoration: none;
}

#nav-homepage-footer a:hover,
#branding h1:hover{
    color: #FF8000;
    cursor: pointer;
}

/* Styling the form */
main form{
    border: solid 3px rgb(0, 0, 0);
    width:370px;
    height: 37 auto 0px;
    border-radius: 30px;

    /* Positioning */
    margin: auto;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -55%);
    left: 50%;

    /* Sizing */
    font-size: larger;
    padding: 25px;
    font-weight:bold;
    color:black;
    background-color: #89CFF0;
}

main form input{
    font-size:large;
    padding: 5px;
    margin-top: 7px;
    border: solid 2px #0039a6;
    border-radius: 10px;
}

/* styling for class description input */
#class-description{
    padding-bottom: 40px;
}

main form table{
    margin-left: 15px;
}
/* Styling submit buttons in forms */
button{
    /* Sizing */
    font-size: 17px;
    padding: 10px;
    border-radius: 15px;
    border: solid 3px #012169;
    font-weight: bolder;
    background-color:#7DF9FF;
}

button:hover{
    cursor: pointer;
    border: solid 3px #6F00FF;
    background-color:#3696e0;
}

#submit-button-register{
    margin-left: 100px;
    margin-top: 20px;
}
/* button for sign in */
#submit-button-sign-in{
    margin-left: 150px;
    margin-top: 20px;
}

#submit-button-create-class{
    margin-left: 120px;
    margin-top: 20px;
}

#submit-button-register:hover,
#submit-button-sign-in:hover,
#submit-button-create-class:hover{
    border: solid 3px #6F00FF;
    background-color:#7DF9FF;
    cursor:pointer;
}

#submit-button-register:active,
#submit-button-sign-in:active,
#submit-button-create-class:active{
    border: solid 3px #00308F;
    color:#ea0f0f;
    background-color:#00FFFF;
}

main form #header-register{
    margin-left:50px;
    margin-bottom:30px;
}

main form #header-sign-in
{
    margin-left:90px;
    margin-bottom:30px;
}

#header-class-creator{
    margin-left:45px;
    margin-bottom:15px;
    text-wrap: nowrap;
}

/* Forgot password link */
#forgot-password{
    font-size:medium;
    margin-left: 17px;;
}

#forgot-password a{
    color:#ea0f0f
}

/* home page styling */
#nav-homepage li{
    font-size: x-large;
}
#user-name {
    text-decoration: underline;
}

#home-main {
    width: 1000px;
    border: 3px black solid;
    border-radius: 30px;
    background-color: #89CFF0;
    padding: 20px;

    /* Positioning */
    margin: 30px auto;
    /* margin-bottom: 200px; */
    position: relative;
}

#home-main h1{
    text-align: center;
    font-size: 40px;
    margin-top: 5px;
    color: black;
}

#home-main h2 {
    /* padding-top: 20px; */
    color: #222;
}

#home-main h3 {
    color: #333;
}

#home-main label {
    color: black;
}

#home-main p {
    margin: 10px;
    color: black;
}

#home-main .link {
    color: #0d47a1;
    text-decoration: underline;
}

#home-main ul li {
    color: black;
    padding-bottom: 10px;
}

#home-main ul#student-classes li {
    padding: 0;
}

#home-main code {
    display: inline-block;
    width: fit-content;
    margin: 10px;
    padding: 10px;
    border: #555 5px solid;
    border-radius: 3px;
    background-color: #111;
    color: #0f0;
}

#home-main button{
    width: 90%;
    height: 120px;
    margin-left: 47px;
    margin-top: 20px;
}

.course-display {
    margin: 20px;
    padding: 10px;
    background-color: #00FFFF;
    border: 3px solid #00308F;
    border-radius: 20px;
    color: black;
    text-decoration: none;
}
.course-display h3 {
    text-decoration: none;
}
.course-display h2 {
    margin: 3px;
    padding-top: 3px !important;
    font-weight: bolder;
    color: #002244;
    text-decoration: none;
}
.course-display ol li a {
    margin: 3px;
    color: #00308F;
    text-decoration: underline;
}

/* Styling course's */
#html-course{
    background-color: #E25E3F;
}

#css-course{
    background-color: #2E4374;
    color: white;
    border: 3px #ffffff solid;
}

#js-course{
    background-color: #ece808;
}

#html-course:hover,
#css-course:hover,
#js-course:hover{
    cursor: pointer;
}

#html-course:hover,
#css-course:hover{
    color: grey;
}

#js-course:hover{
    color: rgb(255, 64, 0);
}

/* Video Player styling */
#main-video{
    height: 700px;
    width: 1000px;
    border: 3px black solid;
    border-radius: 30px;
    background-color: #89CFF0;

    /* Positioning */
    margin: auto;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -48%);
    left: 50%;
}

#main-video h1{
    text-align: center;
    font-size: 40px;
    margin-top: 10px;
    color: black;
}

#main-video iframe{
    border-radius: 30px;
    width: 95%;
    height: 80%;
    margin-left: 25px;
    margin-top: 10px;
}

#back-btn{
    margin-left: 40%;
    margin-top: 15px;
    padding-left: 30px; 
    padding-right: 30px; 
}

/* Styling Quiz Page */
.quiz-template{
    height: 550px;
    width: 800px;
    border: 3px black solid;
    border-radius: 30px;
    background-color: #89CFF0;

    /* Positioning */
    margin: auto;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -60%);
    left: 50%;
}

.quiz-template h1{
    text-align: center;
    font-size: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: black;
}

.quiz-template h2{
    text-align: center;
    font-size: 30px;
    margin-top: 10px;
    color: black;
}

.quiz-template td{
    font-size: 23px;
    color: black;
    font-weight: bolder;
}

.quiz-template input{
    margin: 50px 20px 10px 250px;
}


/* Styling next and submit button's */
#next-btn{
    margin-top: 20px;;
    display: inline;
    margin-left: 42%;
    padding: 15px;
}

#submit-btn{
    display: none;
    margin-left: 42%;
}

.quiz-template h3{
    color: black;
    margin-left: 210px;
}

/* Quiz result styling */
.result-quiz{
    /* height: 400px; */
    width: 500px;
    padding: 20px;
    border: 3px black solid;
    border-radius: 30px;
    background-color: #89CFF0;
    color: black;

    /* Positioning */
    margin: auto;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -48%);
    left: 50%;
}

.result-quiz h1{
    text-align: center;
    font-size: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: black;
}

.result-quiz h2{
    text-align: center;
    font-size: 30px;
    margin-top: 30px;
    color: black;
}

.result-quiz h3{
    text-align: center;
    font-weight: bolder;
    font-size: 20px;
    margin: 40px 10px 20px 10px;
    color: black;
}

.result-quiz button{
    margin: 40px 20px 10px 50px;
    font-size: 20px;
}

/* Class creator styling */

/* Add styles for the scrollable container */
#class-creator-container {
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
}

.course-display-fullscreen {
	margin: 50px;
}

.info-table {
    border-spacing: 0;
    border: 2px solid black;
    background-color: lightgray;
    color: black;
}
.info-table td, .info-table td th {
    padding: 5px 10px;
    background-color: lightgray;
    border-top: 2px solid black;
    /* border-bottom: 2px solid black; */
    border-right: 1px solid gray;
    border-left: 1px solid gray;
    text-align: left;
}

#assign-form
{
    width: 400px;
    height: 200px;
}

#assign-form select
{
    width: 200px;
    height: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#assign-form option
{
    font-size: 15px;
}