.BottomBar{
    grid-row-start: 3;
    grid-row-end: 4;
    display: flex;
    justify-content: center;
}
.BottomBar p{
    display: inline;
    color: white;
    font-size: 24pt;
}
.TitleBold {
    font-weight: bolder;
}
.TitleLight{
    font-weight: lighter;
}
.MainNav {
    height: 100%;
    display: flex;
    grid-row-start: 1;
    grid-row-end: 2;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
}
.MainNav a{
    height: 20%;
    display: flex;
    width: 20%;
    cursor: pointer;
    justify-content: center;
    text-decoration: none;
}
.MainNav a:hover{
    color: white;
    font-weight: bold;
    transition: font-weight 0.1s;
}
.MainNav a:hover p{
    font-size: 15pt;
    transition: font-size 0.1s;
}
.MainNav nav{
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
}
.MainNav p{
    color: white;
    font-size: 14pt;
}
.dropdown{
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.dropdown-content{
    position: absolute;
    padding-top: 60px;
    width: 18%;
    display: none;
    flex-direction: column;
    align-items: center;
}

.dropdown-content a{
    font-size: 12pt;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 10px;
}


.MainNav a.dropdown-link{
    height: 20%;
    width: 100%;
    cursor: pointer;
    justify-content: center;
}
.dropdown:hover .dropdown-content{
    display: flex;
}

.dropdown:hover a.dropdown-link{
    color: white;
    font-weight: bold;
    transition: font-weight 0.1s;
}
.dropdown:hover p{
    font-size: 15pt;
    transition: font-size 0.1s;
}
.dropdown-content a:hover{
    font-weight: bold;
    transition: font-weight 0.1s;
}


@media (max-width: 500px){
    .MainNav nav {
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .MainNav {
        height: 100%;
        display: flex;
        grid-row-start: 1;
        grid-row-end: 3;
    }
    .MainNav a {
        width: 100%;
    }
    .dropdown-content{
        width: 100%;
        flex-direction: row;
        align-items: center;
        padding: 0;
        position: relative;
        justify-content: space-evenly;
    }
}
