.direction-row {
    display: flex;
}

.rounded {
    border-radius: 2.3rem;
}

button,
input,
#checkbox-group {
    border-radius: 40px;
    border-style: none;
}

header {
    border-radius: 10rem;
    width: 90%;
    margin-left: 5%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 8rem;
    position: relative;
    z-index: 1;
}

header nav {
    justify-content: space-between;
    align-items: center;
    padding-left: 7%;
    padding-right: 7%;
}

header #menu-toggle, .hamburger {
    display: none;
}

header img {
    height: 5rem;
}

header ul {
    width: 50%;
    justify-content: space-between;
}

#hero {
    margin-top: -15rem;
    height: 78rem;
    background-image: url(../images/Spinnenweb-wit.png);
    background-size: 78rem;
    background-repeat: no-repeat;
    background-position-x: -21rem;
    background-position-y: -13rem;
}

#hero article {
    position: relative;
    top: 30rem;
    margin-left: 10rem;
    padding: 4rem;
    width: 42%;
    height: fit-content;
}

#hero button {
    padding: 1rem 3rem;
}

#hero article *:not(:last-child) {
    padding-bottom: 4rem;
    max-width: 77%;
    line-height: 3rem;
}

#hero article :first-child {
    line-height: 5rem;
}

#hero div {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 5%;
    top: -4rem;
}

#hero img:first-of-type {
    height: 55rem;
    margin-bottom: 5rem;
}

#hero img:last-of-type {
    height: 15rem;
}

#cookies {
    height: 50rem
}

#cookies section {
    margin-top: 8rem;
    margin-left: 8rem;
    height: fit-content;
    padding: 3rem;
    min-width: 26.8%;
    z-index: 6;
}

#cookies h2 {
    margin: 1rem 0rem 3rem 0rem;
}

#cookies p {
    line-height: 2.5rem;
}

#cookies img:first-of-type {
    height: 32rem;
    margin-top: 10rem;
    margin-left: -10%;
    z-index: 5;
}

#cookies img:nth-of-type(2) {
    height: 28rem;
    margin-top: 14.5rem;
    margin-left: -14%;
    z-index: 4;
}

#cookies img:nth-of-type(3) {
    height: 24rem;
    margin-top: 19rem;
    margin-left: -11%;
    z-index: 3;
}

#cookies img:nth-of-type(4) {
    height: 20rem;
    margin-top: 23.5rem;
    margin-left: -10%;
    z-index: 2;
}

#cookies img:nth-of-type(5) {
    height: 20rem;
    margin-top: 24.5rem;
    margin-left: -10%;
    z-index: 1;
}

#why {
    height: 31rem;
    padding: 7rem 0rem 0rem 10rem;
}

#why h2 {
    margin-bottom: 6rem;
}

#why ul {
    display: flex;
    justify-content: space-between;
    padding-right: 10rem;
}

#why img {
    height: 5rem;
}

#why li {
    width: 15%;
    line-height: 2rem;
}

#why ul li p {
    margin-top: 1rem;
}

#game-about {
    height: 115rem;
    background-image: url(../images/Spinnenweb-wit.png);
    background-size: 78rem;
    background-repeat: no-repeat;
    background-position-x: 68rem;
    background-position-y: 13rem;
}

#game {
    padding-top: 5rem;
    padding-bottom: 25rem;
}

#game img {
    height: 45rem;
    rotate: 280deg;
    margin-left: 10rem;
}

#game section {
    position: relative;
    margin-top: -25rem;
    margin-left: 41.5rem;
    padding: 3rem;
    width: 40%;
    line-height: 2.5rem;
}

#game h2 {
    margin-bottom: 3rem;
}

#about section {
    position: relative;
    margin-left: 24%;
    width: 27.5%;
    padding: 4rem 3.5rem 4rem 3.5rem;
    z-index: 1;
}

#about h2 {
    margin: 1rem 0rem 1rem 0rem;
}

#about p {
    line-height: 2rem;
    padding-top: 2rem;
}

#about img {
    height: 40rem;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-style: solid;
    border-width: 1.5rem;
    border-radius: 4rem;
    margin-left: 62rem;
    margin-top: -40rem;
    rotate: -5deg;
}

#flavours {
    height: 35rem;
    padding: 8rem 15rem 0rem 15rem;
}

#flavours h2 {
    margin-bottom: 6rem;
}

#flavours div {
    display: flex;
    justify-content: space-between;
}

#flavours img {
    height: 20rem;
    aspect-ratio: 8/7;
    object-fit: cover;
}

#subscribe {
    display: flex;
    flex-direction: column;
    padding-top: 5rem;
    height: 57rem;
}

#subscribe form {
    height: fit-content;
    width: 70%;
    align-self: center;
    padding: 2rem 2.5rem 2rem 2.5rem;
}

#subscribe h2 {
    padding: 2rem;
}

#subscribe p {
    padding: 2rem;
    padding-bottom: 4rem;
}

#subscribe fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 7rem;
}

#subscribe fieldset>label {
    display: none;
}

#subscribe>form>fieldset>input,
#subscribe #checkbox-group {
    padding: 1rem;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
}

#subscribe input[type=checkbox] {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 2rem;
    margin-left: 0rem;
}

#subscribe input[type=submit] {
    grid-column: 1;
    width: 35%;
    margin-bottom: 3rem;
    padding: 0.7rem;
    padding-top: 0.5rem;
}

#subscribe img {
    rotate: 170deg;
    align-self: flex-end;
    height: 35rem;
    margin: -22rem 2rem 0rem auto
}

footer {
    padding: 5rem 5rem 2rem 5rem;
}

footer img {
    height: 5rem;
}

footer div {
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

footer div>ul li {
    line-height: 2rem;
}

footer nav ul {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    gap: 0.5rem;
    column-gap: 10rem;
}

footer button {
    height: fit-content;
    padding: 0.8rem 3rem 1rem 3rem;
}

footer p {
    width: 33%;
    line-height: 1.5rem;
}