
section {
    width: 100vw;
    height: fit-content;
    padding: 5vw;
    text-align: center;
    position: relative;
}

section:nth-of-type(2n) { /* Für ungerade Elemente */
    background-image: linear-gradient(30deg, #2a472400, #1c6415, #24473c00);
}

section:nth-of-type(2n + 1) { /* Für gerade Elemente */
    background-image: linear-gradient(30deg, #24473c00, #24473c, #24473c00);
}
section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(30deg, #24473c00, #24473c, #24473c00);
    filter: blur(100px);
    z-index: -1;
}

h2.title {
    font-size: 2.2em;
}
p {
    font-size: 1.2em;
}

.iframe-wrap {
    overflow: hidden;
    min-width: 300px;
    width: 20vw;
    min-height: 300px;
    height: 15vw;
    margin-top: 1rem;
    margin-inline: auto;
    border-radius: 3rem 3rem 0 0;
    position: relative;
}

.iframe-wrap:after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0) 75%, #888807);
}

.side-panel {
    position: relative;
    display: block;
    min-width: 45vw;
    width: fit-content;
    height: fit-content;
    border-radius: 2rem;
    margin-top: -2rem;
    text-align: center;
    padding-inline: 3rem;
    filter: drop-shadow(5px 5px 10px black);
    box-shadow: inset rgba(0, 0, 0, 0.397) 0 0 6vw;
    text-shadow: rgba(0, 0, 0, 0) 2px 2px 5px;
    animation: slide infinite ease-in-out 15s;
    transition: .3s;
    z-index: 5;
}
.side-panel:hover {
    text-shadow: rgb(0, 0, 0) 2px 2px 5px;
    box-shadow: inset rgba(243, 224, 171, 0.781) 0 0 3vw;
    outline: dashed .5rem rgb(185, 185, 185);
}

a.link-box {
    text-decoration: none;
    color: white;
}

#update {
    background-color: #888807;
    float: left;
    margin-left: 2.5vw;
}
#discord {
    background-color: rgb(48, 9, 44);
    float: right;
    margin-right: 2.5vw;
}

#dc-name {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    margin-block: 2rem;
}

#join {
    text-decoration: none;
    color: white;
    background: #313338;
    padding-inline: .75rem;
    padding-block: .6rem;
    border-radius: 1rem;
    font-size: 1.3em;
    text-align: center;
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    transform-origin: 50%;
    transition: .3s;
    filter: drop-shadow(5px 2px 5px #ffffff4b);
}
#join:hover {
    padding: .9rem;
    font-size: 1.5em;
    filter: drop-shadow(-5px -2px 10px #ffffff7e);
}

.text-link{
    color: rgb(128, 239, 247);
    text-decoration: none;
}
@keyframes slide {
    0%,100% { transform: translateX(-1rem) rotate(.5deg);}
    50% { transform: translateX(1rem) rotate(-.5deg);}
}
@media screen and (max-width: 1250px) {
    
    #update {
        float: none;
        margin: 2rem auto;
    }
    #discord {
        float: none;
        margin: 2rem auto;
    }
    .side-panel {
        margin: 0;
        display: block;
        float: none;
        animation: none;
        max-width: 90vw;
        min-height: 50vh;
        margin: 2rem auto;
    }
    #dc-name {
        font-size: 2em;
    }
}