html {
    height: 100%;
}

body {
    height: 100%;
    background: #f1f1f1;
}

.container {
    background: white;
    min-height: 100%;
    padding-bottom: 16px;
}
@media (min-width: 1400px) {
    .container {
        max-width: 80%;
    }
}
.adminwrapper {
    display: grid;
    grid-template-columns: 1fr 5fr;
    grid-template-rows: auto;
    column-gap: 2em;
    padding-top: 2em;
    padding-left: 2em;
    padding-right: 2em;
    background: white;
    min-height: 100%;
}

.sidebar {
    grid-row: 1;
    grid-column: 1;
    margin-inside: 20px;
}

.adminnav {
    width: 100%;
}

.adminnav-header {
    width: 100%;
    background-color: #e8e8e8;
    border: none;
}

.adminnav-content {
    display: flex;
    flex-direction: column;
    background-color: white;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.adminnav-item {
    width: 100%;
    background-color: #ffffff;
    border: none;
    padding: 1em;
    color: black;
    border-bottom: 1px solid #aaaaaa;
}

.adminnav-item:hover {
    width: 100%;
    background-color: #ffffff;
    border: none;
    padding: 1em;
    color: black;
    text-decoration: none;
    border-bottom: 1px solid #aaaaaa;
}

.activeListItem {
    background-color: #ccddff;
}

.activeListItem:hover {
    background-color: #ccddff;
}

.content {
    grid-column: 2;
    padding-bottom: 1em;
}

@media (max-width: 700px) {
    .adminwrapper {
        grid-template-columns: auto;
        grid-template-rows: min-content;
    }
    .sidebar {
        grid-row: 2;
        margin-inside: 20px;
    }
    .content {
        grid-column: 1;
    }
}


.titlesplash {
    background-color: black;
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    background-attachment: fixed;
    margin-bottom: 1em;
}

@media (max-width: 500px) {
    .titlesplash {
        background-size: cover;
    }
}

.splashtext {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.event {
    border-radius: 25px;
    border: 2px solid #73AD21;
    padding: 20px;
    width: 100%;
    min-height: 150px;
    margin-bottom: 1em;
}

.post-container {
    display: grid;
    grid-template-columns: 4fr 1fr;
    grid-template-rows: auto;
    column-gap: 2em;
    background: white;
    min-height: 100%;
}

.post-content {
    grid-column: 1 / 2;
}

.post-info {
    grid-column: 2 / 3;
}

@media (max-width: 500px) {
    .post-content {
        grid-column: 1 / 3;
    }

    .post-info {
        grid-column: 1 / 3;
    }
}