:root{
    --textColour: white;
}

header{
    position: fixed;
    left:0;
    top:0;
    width: 100vw;
}
main{
    margin-top: 4%;
}

.topBar{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(48, 48, 48);
    border-bottom: 3px solid rgb(9, 77, 155);
    z-index: 10;
}

body{
    margin: 0;
    background-color: #222222;
    font-family: "Teko", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.dropDown{
    order: 2;
    position: relative;
    padding: 0.75%;
    padding-right: 1.5%;
    padding-left: 1.5%;
    border-left: 3px solid rgb(9, 77, 155);
    background-color: rgb(48, 48, 48);
    z-index: 9;
}

.dropDownContent{
    display: none;
    position: absolute;
    right: 0;
    top: 100.75%;
    background-color: #2e2e2e;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-left: 2px solid rgb(9, 77, 155);
    border-bottom: 2px solid rgb(9, 77, 155);
    z-index: 9;
}
.dropDownContent a{
    display:none;
    min-width: 160px;
    padding-top: 8px;
    margin: 0;
    text-decoration: none;
    border-top: 1px solid rgb(9, 77, 155);
    z-index: 9;
}

.dropDownText a{
    text-decoration: none;
    font-size: 100%;
    z-index: 9;
}

.logo{
    order: 1;
    padding: 0.75%;
    text-decoration: underline;
    z-index: 10;
}

.dropDownContent a:hover {background-color: #474747;}

.dropDown:hover .dropDownContent {display: block;}
.dropDown:hover .dropDownContent a {display: block;}

.dropDown:hover {background-color: #797979;}

.welcomeScreen{
    position: relative;
    padding-top: 1.5%;
    height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
@keyframes moveImage {
    0% {
        transform: translateX(-50%) translateY(-70%);
    }
    100% {
        transform: translateX(-50%) translateY(-53%);
    }
}
.welcomeScreen img {
    position: absolute;
    left: 50%;
    top:50%;
    filter: brightness(50%);
    z-index:1;
    animation-name: moveImage;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
    animation-timing-function:cubic-bezier(0.39, 0.575, 0.565, 1);
    animation-fill-mode: forwards;
}

.welcomeScreen div{
    overflow: hidden;
}
.multiplyLayer{
    display: block;
    position: absolute;
    background-color: #202020;
    color:#202020;
    opacity:0.5;
    mix-blend-mode: multiply;
    z-index:1;
}
.welcomeScreen h1{
    position: relative;
    z-index:2;
    color: white;
    font-size: 350%;
}
.welcomeScreen button{
    position: relative;
    margin-top: 0.5%;
    padding-top: 0.5%;
    padding-bottom: 0.5%;
    padding-left: 1%;
    padding-right: 1%;
    border-radius: 45%;
    z-index:2;
    background-color: rgb(59, 59, 59);
    color: var(--textColour);
}
.welcomeScreen button:hover{
    cursor: pointer;
    background-color: #202020;
}

@keyframes move {
    0% {
        padding-top: 50%;
        width: 99vw;
    }
    100% {
        padding-top: 1.5%;
        width: 99vw;
    }
}

.homeScreenInfo{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    animation-name: move;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
    animation-timing-function:ease-out;
    animation-fill-mode: forwards;
}



.modSorter{
    padding-top: 2%;
    border-bottom: 3px solid rgb(155, 9, 9);
}
.modGrid{
    display:grid;
    width: 100vw;
    grid-template-columns: repeat(6, 1fr);
    gap: 1%;
    justify-items: center;
    align-items: start;
    justify-content: space-evenly;
    margin: 1%;
}

.mod{
    background-color: #162d4b;
    border-radius: 30%;
}
.mod h2{
    text-align: start;
    background-color: #162d4b7a;
}

p{
    color: var(--textColour);
    font-size: 150%;
    margin: 5px;
    margin-top: 5px;
    text-align: center;
}
a{
    color: var(--textColour);
    text-decoration: none;
    font-family: "Teko", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 150%;
    margin: 5px;
    margin-top: 5px;
    text-align: center;
}
h1{
    color: var(--textColour);
    font-size: 150%;
    margin: 5px;
    margin-top: 10px;
    text-align: center;
}
h2{
    color: var(--textColour);
    font-size: 200%;
    margin: 5px;
    margin-top: 10px;
    text-align: center;
}