@import url(scrollbar.css);
@import url(events.css);

:root {
    --dg-red: #fb0000;
}

::selection {
    color: black;
    background-color: var(--dg-red);
}

@font-face {
    font-family: Rubik;
    src: url("/res/Rubik-VariableFont_wght.ttf");
}

body {
    display: flex;
    flex-direction: column;
    background-color: #050505;
    margin: 0;
    height: 100vh;
}

/*h1 {
    font-family: Rubik;
    color: var(--dg-red);
    margin: 25px;
    font-size: 60px;
    color: white;
    text-shadow: 0px 5px #700, 0px 10px #500;
}*/

a {
    text-decoration: none;
    font-family: Rubik;
    color: white;
}

a:hover {
    color: #ccc;
}

p {
    font-family: Rubik;
    color: white;
    margin: 0;
}

.box {
    padding: 25px;
    margin: 25px;
    border: 2px solid var(--dg-red);
    border-radius: 5px;
}

h1 {
    font-family: Rubik;
    color: var(--dg-red);
    margin: 25px;
    font-size: 60px;
    text-shadow: 0px 5px #700, 0px 10px #500;
}

h2 {
    font-family: Rubik;
    color: var(--dg-red);
    margin: 25px 50px;
    font-size: 40px;
}

#main {
    display: flex;
    flex-direction: column;
    /*height: 100vh;*/
    flex-grow: 1;
    min-height: calc(100vh - 100px - 50px);
}

header {
    display: flex;
    flex-direction: row;
    position: fixed;
    z-index: 99;

    background-color: black;

    justify-content: space-between;
    box-sizing: border-box;

    height: 100px;
    width: 100%;

    padding: 0 40px;
}

#header-spacer {
    margin-top: 100px;
}

#logo__wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    height: 100%;
    box-sizing: border-box;
    padding: 10px;
}

#logo {
    height: 100%;
}

#logo:hover {
    /*animation: logo-shake 500ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;*/
}

#header__navs {
    display: flex;
    flex-direction: row;
    gap: 15px;

    align-items: center;
}

.header__nav {
    cursor: pointer;
    color: white;
}

.header__nav__admin {
    color: gold;
    border: 1px solid gold;
    padding: 5px;
}

.header__nav__admin:hover {
    color: black !important;
    background-color: gold;
    border: 1px solid gold;
    padding: 5px;
}

.header__nav:hover {
    color: var(--dg-red);
}

#header__links {
    display: flex;
    flex-direction: row;
    gap: 15px;

    align-items: center;
}

.header__link {
    border-radius: 50%;
    background-color: transparent;
    padding: 8px;
    box-sizing: border-box;
    transition: 200ms background-color;

    width: 40px;
    height: 40px;
}

.header__link:hover {
    background-color: var(--dg-red);
    cursor: pointer;
}

.header__link__image {
    height: 100%;
}

#video-content {
    height: 200px;
    width: 100%;
    background-image: url("/res/wallpaper.png");
    background-size: cover;
    background-position: center;
}

#contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

#contact-card {
    width: 400px;
    height: 300px;

    display: flex;
    justify-content: center;
    align-items: center;
    
    font-family: Rubik;
    font-weight: bold;
    font-size: 16px;
    line-height: 25px;

    color: white;
    background-color: black;
    border: 3px solid var(--dg-red);
    border-radius: 10px;
    padding: 25px;
    box-sizing: border-box;
}

#contact-card > p {
    margin: 15px;
    font-size: 30px;
}

.featured-embed {
    margin: 50px;
    border-bottom: 5px solid var(--dg-red);
    padding-bottom: 50px;
}

#images {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    grid-gap: 50px;
    padding: 50px;
}

#images > a {
    width: auto;
    height: 300px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
@media screen and (max-width: 1400px) {
    #images {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1100px) {
    #images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 800px) {
    #images {
        grid-template-columns: repeat(1, 1fr);
    }

    #logo__wrapper {
        display: none;
    }

    header {
        position: initial;
        flex-direction: column;
        padding: 0 10px;
    }

    #header-spacer {
        display: none;
    }

    #header__navs {
        margin-top: 5px;
    }

    h1 {
        font-size: 30px;
    }

    .space {
        margin: 10px 20px !important;
    }
}


#pw {
    font-size: 20px;

    color: var(--dg-red);
    background-color: black;
    border: 1px solid var(--dg-red);

    padding: 15px;
}

#login {
    font-size: 20px;

    color: var(--dg-red);
    background-color: black;
    border: 1px solid var(--dg-red);

    padding: 15px;
}

#login:hover {
    cursor: pointer;
    color: black;
    background-color: var(--dg-red);
}

#login-form {
    width: 400px;
    height: 300px;
    margin: auto;
}

#imprint {
    font-size: 20px;
    font-family: Rubik;

    color: white;
    background-color: black;
    border: 3px solid #bbb;
    border-radius: 15px;

    padding: 50px;
    margin: 25px;
}

.space {
    margin: 50px 150px;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 15px;
    margin-top: auto;
    height: 50px;

    border-top: 2px solid #333;
    box-sizing: border-box;
}

#footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}

.footer-link {}