@charset "utf-8";

/*
Styles for
Every Other Page
*/

@media (prefers-color-scheme: dark) {
    body {
        color: #eee;
        background: #242323;
    }

    .Container {
        background: #2e2e2e;
    }

    .Item {
        background-color: #ffffff15;
    }
}

@media (prefers-color-scheme: light) {
    body {
        color: #eee;
        background: #EEEEEE;
    }

    .Container {
        background: #FFFFFF;
    }

    .Item {
        background-color: #00000015;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto;
    padding: 1%;
}

html,
body {
    height: 100%;
    font-family: Arial;
    font-weight: bold;
}

body {
    margin: 0;
}

.grid-item {
    width: 33%;
    padding: 10%;
    font-size: 14vh;
    text-align: center;
}

ul {

    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #02b875;
    bottom: 0;
    height: 5vh;
    font-size: 1.8vh;
}

li {
    font-size: 4vh;
    box-shadow: 0vh 0vh 0vh rgba(255, 255, 255, 0.2);
    text-shadow: -0.1vh -0.1vh 0 #585858;
    display: block;
    padding: 0vh 0vh;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.Item {
    width: 40%;
    height: 48vw;
    margin: 0% 0% 1% 1%;
    float: left;
    position: relative;
    transition: 0.3s;
    border: 0.1vh solid rgba(0, 0, 0, 0.05);
    box-shadow: 0.1vh 0.1vh 0.2vh rgba(255, 255, 255, 0.2);
}

.Title {
    color: white;
    box-shadow: 0vh 0vh 0vh rgba(255, 255, 255, 0.2);
    text-shadow: -0.1vh -0.1vh 0 #585858;
    font-size: 4vw;
    margin: 0%;
    position: absolute;
    bottom: 5%;
    text-align: center;
    width: 100%;
}

.Wrap {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    row-gap: 0px;
}

.active {
    color: white;
    padding: 1.5vh 1.7vh;
    display: block;
    text-align: center;
    text-decoration: none;
}

div a:hover:not(.Item) {
    background-color: #04AA6D;
}

img {
    width: 100%;
}

.Item:hover {
    color: #ffffffde;
    background: none;
    box-shadow: 0vh 0vh 0vh rgba(255, 255, 255, 0.2);
    text-shadow: -0.1vh -0.1vh 0 #136a65;
}

.Container {
    width: 100%;
    height: 95vh;
    margin-left: auto;
    margin-right: auto;
    padding: 1%;
    padding-top: 2%;
    box-sizing: border-box;
}

@media only screen and (min-width: 981px) {

    .Item {
        width: 18.65%;
        height: 17vw;
        border-radius: 5%;
    }

    .Title {
        font-size: 1.5vw;
    }

    .Container {
        width: 72%;
    }
}