* {
    
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    width: 100%;
}
.backgroundImg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;  /* Makes sure the video stays behind content */
    overflow: hidden;
    object-fit: cover; /* Makes the video cover the whole screen */
    object-position: center;
}



/* ------------------------------------------------ NAVIGATION ------------------------------------------------ */
.container{
    background-color: hsla(0, 0%, 0%, 0.75);
    height: 100%;
    width: 100%;
    

}

.menu{
    display: block;
    justify-content: center;
    align-content: center;
    justify-items: center;
    width: 100%;
    background-color: hsla(0, 0%, 89%, 0);
    height: 60vh;
}

.menu a{
    display: block;
    text-align: center;
    justify-content: center;
    align-content: center;
    justify-items: center;
    padding: 10px 20px;
    margin: 10px 0;
    background-color: hsl(21, 87%, 60%);  
    border: none;
    border-radius: 10px;
    width: 300px;
    text-decoration: none;
}

.menu a:hover{
    background-color: #f7f7f7;
    color: hsl(21, 87%, 47%);
    border: 1px solid #f29359;
}



.backexit{
    display: block;    
    text-align: center;    
    width: 100%;
    background-color: hsla(0, 0%, 89%, 0);
    height: 20vh;
}

.backexit a{
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: 0.8em;
    padding: 10px 20px;
    margin: 10px 0;    
    border: none;
    border-radius: 10px;
    width: 150px;
}

#exitBtn{
    
    padding: 10px 20px;
    margin: 10px 0;
    background-color: hsl(0, 100%, 65%);  
    border: none;
    border-radius: 10px;
    
}
#exitBtn:hover{
    background-color: hsl(0, 0%, 100%);
    color: hsl(0, 100%, 65%);
}


#backBtn{    
    padding: 10px 20px;
    margin: 10px 0;
    background-color: hsl(127, 100%, 60%);  
    color: hsl(0, 0%, 30%);
    border: none;
    border-radius: 10px;
    
}
#backBtn:hover{
    background-color: hsl(0, 0%, 100%);
    color: hsl(127, 100%, 22%); 
    
}

a{
    color: #f7f7f7;
    font-size: 1.2em;
    font-weight: bold;
}
    
a:hover{
    cursor: pointer;
    animation: zoomIn 0.5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
    }
    to {
        transform: scale(1.05);
    }
}

.news{
    z-index: 1;
    color: white;
    text-align: center;
}



/* ------------------------------------------------ DROPDOWN MENU ------------------------------------------------ */


#subjectMenu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -35%);
    display: none;
    border: 2px solid hsl(0, 0%, 0%);
    max-width: 325px;
    max-height: 300px;
    overflow-y: scroll;
    background-color: #fff;
    box-shadow: 0px 10px 10px rgba(255, 136, 0, 0.788);
    margin-top: 5px;
    font-size: 0.6em;
    font-weight: normal;
    text-align: right;
    list-style: none;
    padding: 0;
    
}
  
#subjectMenu .dropdown-item {    
    border: none;
    
    background: none;
    color: black;
    text-align: right;
    margin-right: 2px;
}
#subjectMenu a{
    list-style-type: none;
}
  
#subjectMenu .dropdown-item:hover {
    background-color: #f1f1f1;
}

.choose-subject {
    display: block;
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #ffffff;  
    border: 2px solid hsl(23, 85%, 65%);
    border-radius: 10px ;
    width: 300px;
    text-decoration: none;
    color: rgb(0, 0, 0);
    text-align: center;
}

.dropdown-menu{
    display: block;
    justify-content: center;
    align-content: center;
    justify-items: center;
    width: 100%;
    background-color: hsla(0, 0%, 89%, 0);
    height: 80vh;
}

.dropdown-menu a{
    display: block;
    text-align: center;
    justify-content: center;
    align-content: center;
    justify-items: center;
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #f29359;  
    border: none;
    border-radius: 10px;
    width: 300px;
    text-decoration: none;
}

#startButton{
    display: block;
    padding: 10px 20px;
    margin: 20px 0;
    background-color: hsl(23, 85%, 65%);
    border: none;
    font-size: 1.2em;   
    color: white;
    border-radius: 10px ;
    width: 150px;
    text-decoration: none;
    color: rgb(0, 0, 0);
    text-align: center;
}

#startButton:hover{
    background-color: #f7f7f7;
    color: #f29359;
    border: 1px solid #f29359;
    cursor: pointer;
    animation: zoomIn 0.5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}


.news{
    display: block;
    justify-content: center;
    align-content: center;
    justify-items: center;
    width: 100%;
    background-color: hsla(0, 0%, 89%, 0);
    height: 20vh;
}

