html, body{
    margin: 0;
    padding: 0;
}

body{
    background-color: #71f0ae; 
}

.site{
    width: 100%;
    height: 100%;
    transition: filter 0.5s linear, background-color 0.5s linear;
}

.lila-bg{
    width: 100%;
    margin-bottom: 20vw;
}

.lila-bg-desk{
    position: fixed;
    visibility: hidden;
    width: 100%;
    margin-bottom: 20vw;
}

.red-corner{
    position: absolute;
    width: 40%;
    top: 0;
    left: 0;
}

.butterlogo{
    position: absolute;
    width: 25%;
    transform: rotate(-45deg);
    top: -0.5%;
    left: 0;
}

.green-edge{
    position: absolute;
    top: 0;
    left: 100%;
    transform: translate(-100%);
    width: 11%;
}

h1{
    font-size: 9vw;
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
}

p{
    font-size: 4vw;
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
}

h2{
    font-size: 6vw;
    font-family: 'Ubuntu', sans-serif;
}

.p2{
    text-align: left;
}

.wahlplakate-text{
    position: absolute;
    color: white;
    transform: rotate(20deg);
    left: 37%;
    top: 6vw;
}

.plakat-div{
    position: absolute;
    width: 80%;
    height: 30%;
    left: 50%;
    top: 40vw;
    transform: translate(-50%);
}

.plakate{
    left: 0;
    width: 40%;
    position: absolute;
    border: solid 3px;
    --p-top: 4vw;
    --p-left: 9vw;
}

.a{
    border-color: #4388F0;
}

.b{
    top: var(--p-top);
    left: var(--p-left);
    border-color: #FAB24E;
}

.c{
    top: calc(var(--p-top) * 2);
    left: calc(var(--p-left) * 2);
    border-color: #F043BB;
}

.d{
    top: calc(var(--p-top) * 3);
    left: calc(var(--p-left) * 3);
    border-color: #5C43F0;
}

.e{
    top: calc(var(--p-top) * 4);
    left: calc(var(--p-left) * 4);
    border-color: #44F043;
}

.f{
    top: calc(var(--p-top) * 5);
    left: calc(var(--p-left) * 5);
    border-color: #F0EB43;
}

.zurück-hauptseite-link{
    text-decoration: none;
}

.gewinnspielContainer{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s linear;
}

.gewinnspielText{
    width: 80%;
    height: 50%;
    background-color: white;
    z-index: 1;
    border: solid black 3px;
    border-radius: 10px;
    overflow-y: scroll;
    padding: 1rem;
}

@media only screen and (min-aspect-ratio: 4/3) {
    .lila-bg{
        visibility: hidden;
        position: absolute;
        width: 0;
    }

    .lila-bg-desk{
        position: relative;
        visibility: visible;
        width: 100%;
        margin-top: -15vw;
    }

    .red-corner{
        width: 20%;
    }

    .butterlogo{
        width: 13%;
        top: -2%;
    }

    .wahlplakate-text{
        rotate: 0deg;
        left: 50vw;
        top: 0;
        transform: translate(-50%);
        font-size: 4vw;
    }

    .plakat-div{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        width: 35%;
        height: 30%;
        left: 50%;
        top: 27vw;
        transform: translate(-50%);
        row-gap: 3%;
        column-gap: 3%;
        align-content: center;
        justify-content: center;
    }

    .plakate{
        width: 100%;
        position: relative;
        border-width: 0.45vw;
        box-sizing: border-box;
        --p-top: 0;
        --p-left: 0;
    }

    .plakate:hover{
        width: 105%;
        transition: width 100ms linear;
    }

    .gewinnspielBtn{
        width: 15vw;
        height: 15vw;
        top: 70vh;
        font-size: 2vw;
    }
    
    .karte-überschrift{
        font-size: 4vw;
    }

    .karte-erklärung{
        padding-left: 30%;
        padding-right: 30%;
        margin-bottom: 4vw;
    }

    p{
        font-size: 2vw;
    }
    
    h2{
        font-size: 3vw;
    }

    ol{
        font-size: 2vw;
    }

    .karte-form{
        grid-template-columns: 1fr 20vw 7vw 1fr;
        row-gap: 1.5vw;
        margin-bottom: 20vw;
    }

    .download-btn{
        width: 100%;
        height: 100%;
    }

    .name-input{
        font-size: 2.5vw;
    }

    .zurück-hauptseite-container{
        padding-top: 1px;
        padding-bottom: 1px;
    }

    .gewinnspielText{
        width: 30%;
        height: 60%;
        padding: 4rem;
    }
}
