section {
    position: relative;
    width: 100vw;
    height: fit-content;
    background-image: linear-gradient(35deg, #434399, #1a751a);
    text-align: center;
    padding: 3rem;
}
section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(35deg, #434399, #1a751a);
    filter: blur(30px);
    z-index: -1;
}

section p {
    font-size: 1.4em;
}
h2.title {
    font-size: 2.2em;
}
h3.title {
    font-size: 1.9em;
    margin-bottom: 1rem;
}

.list-box {
    width: fit-content;
    height: fit-content;
    padding: 3rem;
    background-color: #227726;
    border-radius: 3rem 0 3rem 0;
    margin: 2rem auto;
}
.text-link{
    color: rgb(128, 239, 247);
    text-decoration: none;
}
.list-box p {
    font-size: 1.2em;
    margin-block: 1rem;
}
.youtube {
    width: 95vw;
    min-height: 10vw;
    height: fit-content;
    margin: 2rem 5vw;
    background-color: rgb(0, 0, 5);
    padding: 2rem;
    border-radius: 5vw 0 0 5vw;
    position: relative;
}
.youtube h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 60vw;
    text-align: center;
}
#yt-channel {
    min-width: 150px;
    width: 10vw;
    border-radius: 50%;
    filter: drop-shadow(.5rem .5rem .75rem rgba(221, 221, 221, 0.363));
}

.projekt-box, .info-box {
    width: 70vw;
    min-height: 20vw;
    height: fit-content;
    margin: 3rem auto;
    padding-block: 2rem;
    padding-inline: 3rem;
    background-image: linear-gradient(30deg, rgb(153, 110, 30), rgb(65, 189, 27));
    position: relative;
    border-radius: 0 3rem 0 3rem;
}
.projekt-box:nth-of-type(2n +1) {
    border-radius: 3rem 0 3rem 0;
    transform: translateX(2rem);
}
.projekt-box h2.title {
    font-size: 2.8em;
    text-decoration: underline solid 1px white;
    text-shadow: 0 0 10px black;
}
.description {
    max-width: 50%;
    width: fit-content;
    margin-bottom: 3rem;
    padding: .2em;
    padding-inline: 1vw;
    font-size: 1.3em;
    background-image: linear-gradient(60deg,rgb(19, 2, 17), rgba(0, 0, 0, 0))
}
.projekt-link, .download {
    text-decoration: none;
    color: rgb(230, 222, 222);
    font-size: 1.4em;
    padding: .3em;
    outline: 5px solid rgba(255, 255, 255, 0.452);
    border-radius: 1em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.37);
}
.projekt-img {
    position: absolute;
    right: 5%;
    top: 5%;
    height: 90%;
    max-width: 40vw;
    filter: drop-shadow(5px 10px 20px black);
    border-radius: 1rem;

}

.yt-videos {
    width: 70vw;
    min-height: 20vw;
    height: fit-content;
    margin: 3rem auto;
    padding-block: 2rem;
    padding-inline: 3rem;
    background-image: linear-gradient(30deg, rgb(153, 30, 106), rgb(189, 65, 27));
    position: relative;
    border-radius: 5rem;
}
.video {
    width: 32vw;
    aspect-ratio: 854/480;
    margin: 2rem auto;
}
.video-description {
    font-size: 1.6em;
    font-weight: 700;
    font-family: Genos;
    margin-bottom: -1rem;
    color: #dff9ff;
}

.info-box{
    background-image: linear-gradient(70deg, rgb(49, 121, 150), rgb(201, 147, 31));
    min-height: 0;
    border-radius: 3rem;

    &:nth-of-type(2n){
        background-image: linear-gradient(70deg, #c9931f, #317996);
    }
    & .description {
        max-width: 80vw;
    }
    & ul, ol {
        background-color: rgba(39, 43, 5, 0.178);
        width: fit-content;
        padding-inline: 2rem;
        padding-block: 1rem;
        border-radius: .5rem;
        outline: solid rgb(201, 201, 20) 2px;
        margin-block: 1rem;

        & ul {
            list-style: disc;
            font-size: 1em;
            outline: none;
            margin-left: 0;
        }
        & ol {
            font-size: 1em;
            outline: none;
            margin-left: 0;
        }

        & h2 {
            margin-top: 1rem;
        }
    }
    & li {
        margin-bottom: .5em;
        font-weight: 600;
        text-shadow: rgba(0, 0, 0, 0.603) 0px 0px 3px;
    }
    & .info-text {
        background-color: rgba(22, 62, 70, 0.178);
        width: fit-content;
        padding-inline: 1rem;
        padding-block: 1rem;
        border-radius: .2rem;
        outline: solid rgb(20, 201, 201) 2px;
        margin-inline: 3rem;
        font-size: 1.3em;
        font-weight: 600;
    }
}
.info-box h2.title {
    font-size: 2.8em;
    text-decoration: underline solid 1px white;
    text-shadow: 0 0 10px black;
}
.info-box ul, ol{
    margin-left: 5rem;
    font-size: 1.2em;
}
.info-box label {
    color: rgb(151, 209, 226);
    margin-inline: .5rem;
}

.info-box a {
    color: aqua;
}

code {
  width: fit-content;
  background-color: #2d2d2dbd;
  color: #f8f8f2;
  padding: 6px;
  border-radius: 6px;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 14px;
  overflow-x: auto;
  white-space: pre-wrap; /* allows wrapping if needed */
  border: 1px solid #444;
}

.download{
    color: white;
    font-size: 1.3em;
}

@media screen and (max-width: 1700px) {
    .video {
        width: 100%;
        margin-block: .5rem;
    }
}

@media screen and (max-width: 1200px) {
    .youtube{
        padding-inline: .5rem;
    }
    .youtube h3 {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        max-width: 80vw;
        text-align: center;
        font-size: 1.6em;
    }
    #yt-channel {
        margin: 0 auto;
        margin-inline: 20vw;
    }
    .projekt-img {
        position: relative;
        max-width: 30vw;
        left: 50%;
        translate: (-50%);
    }
    .yt-videos, .projekt-box, .info-box {
        width: 100%;
        margin-inline: 0;

        & ul {
            margin-inline: 1vw;
        }
    }
    .projekt-box .description {
        max-width: 90vw;
    }
}
