body {
    font-size: 20px;
    margin: 0;
    line-height: 1;
}

.base-width,
.base-subwidth > * {
    max-width: 1600px;
    margin: 0 auto;
}

.outer-width {
    max-width: 2200px;
    margin: 0 auto;
}

h1,
h2,
h3,
.main-font,
.toggle-nav a {
    font-family: 'DM Serif Display', serif;
    font-weight: 500;
}

h1 {
    font-size: 70px;
}

h2,
.h2 {
    font-size: 40px;
    margin: 60px 0;
}

p,
span,
a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: white;
    text-decoration: none;
}

.head {
    height: 100vh;
    position: relative;
}

.head > * {
    position: absolute;
}

.head h1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 300px;
    color: white;
    text-align: center;
}

main {
    min-height: 86vh;
}

.arrow-down {
    bottom: 20px;
    right: 20px;
    position: absolute;
}

.logo {
    right: 0px;
    top: 0;
    width: 200px;
    height: auto;
    display: block;
    position: absolute;
    z-index: 100;
}

.toggle-menu {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    transition-duration: 1s;
    padding: 1rem;
    display: block;
    cursor: pointer;
}

.toggle-menu.color-black .icon,
.toggle-menu.color-black .icon::before,
.toggle-menu.color-black .icon::after {
    background-color: black;
}

.toggle-menu .icon {
    height: 4px;
    width: 40px;
    top: 30px;
    background-color: white;
    border-radius: 20px;
    position: absolute;
    transition-duration: 0.5s;
}

.toggle-menu .icon::before {
    left: 0;
    position: absolute;
    top: -15px;
    height: 4px;
    width: 40px;
    background-color: white;
    content: "";
    border-radius: 20px;
    transition-duration: 0.5s;

}

.toggle-menu .icon::after {
    left: 0;
    position: absolute;
    top: 15px;
    height: 4px;
    width: 40px;
    background-color: white;
    content: "";
    border-radius: 20px;
    transition-duration: 0.5s;

}

.toggle-menu .icon {
    transition-duration: 0.5s;
    transition-delay: 0.5s;
}

.toggle-menu .icon::after {
    transition: transform 0.5s, top 0.5s 0.5s;
}

.toggle-menu .icon::before {
    transition: transform 0.5s, top 0.5s 0.5s;
}

.open .toggle-menu .icon {
    transition-duration: 0.1s;
    transition-delay: 0.5s;
    background: transparent;
}

.open .toggle-menu .icon::before {
    transition: top 0.5s, transform 0.5s 0.5s;
    top: 0px;
    transform: rotateZ(-45deg);
}

.open .toggle-menu .icon::after {
    transition: top 0.4s, transform 0.5s 0.5s;
    top: 0px;
    transform: rotateZ(45deg);
}

.toggle-nav {
    position: absolute;
    top: -100vh;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #6f915d;
    color: white;
    z-index: 1;
    transition: top 1s ease-in-out;
}

.toggle-nav ul {
    position: absolute;
    bottom: 43%;
    left: 46%;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    margin-bottom: 0;
}

.toggle-nav ul > a {
    display: block;
    margin: 5px 0;
}

.toggle-nav .line {
    position: absolute;
    width: 5px;
    height: 0;
    background-color: white;
    left: 46.5%;
    transition: height 1s ease-in-out;
}

.open .toggle-nav {
    top: 0;
}

.open .toggle-nav ul {
    opacity: 1;
}

.open .toggle-nav .line {
    height: 56%;
}

.open .toggle-menu.color-black .icon::before,
.open .toggle-menu.color-black .icon::after {
    background-color: white;
}

.underline {
    text-decoration: underline;
}

footer {
    padding: 2rem 0;
}

form {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
}

form label {
    width: 50%;
}

form label p {
    margin-bottom: .5rem;
}

form label input,
form label textarea {
    width: 100%;
    height: 2rem;
    box-sizing: border-box;
    transition: 0.5s;
    border: 1px solid pink;
}

form label input:focus {
    border: 1px solid #a85da6;
}

form label input:focus-visible {
    outline: 2px solid #dac0de;
}

form label input:focus:not(:focus-visible) {
    outline: none
}

form label.dsg {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

form label.dsg input {
    height: fit-content;
    width: fit-content;
    cursor: pointer;
}

form label.dsg p {
    margin: 0;
}

form button[type=submit] {
    width: fit-content;
    padding: .5rem 1rem;
    font-size: 1.5rem;
    background: pink;
    border: 1px solid transparent;
    cursor: auto;
    transition: background, color .3s ease-in-out;
}

form button[type=submit]:hover {
    background: #a85da6;
    color: white;
    cursor: pointer;
}

.container-height {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hintergrundfarben */

.bg-green {
    background-color: #A2D687;
}

.bg-green * {
    color: white;
}

.bg-pink {
    background-color: #F4D9CE;
}

.bg-pink * {
    color: black;
}

/* Content Boxes */

.content-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.content-boxes-category {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.content-box {
    position: relative;
    flex-basis: 23%;
    overflow: hidden;
    cursor: pointer;
}

.content-boxes.wider > *,
.content-boxes-category.wider > * {
    flex-basis: 32%;
}

.content-boxes.wider > .content-box img,
.content-boxes-category.wider > .content-box img {
    transform: scale(1);
    transition: transform .3s ease-in-out;
}

.content-boxes.wider > .content-box:hover img,
.content-boxes-category.wider > .content-box:hover img {
    transform: scale(1.2);
}

:where(.content-box h3) {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
    width: 100%;
    z-index: 100;
}

:where(.content-box img) {
    width: 100%;
    height: 100%;
    display: block;
}

.content-box .content-box-detail__image img {
    height: 15rem;
    object-fit: cover;
}

.content-box .black-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.content-box-detail h3 {
    position: static;
    transform: none;
    text-align: left;
    width: auto;
    margin: 5px 0 0 0;
    font-size: 35px;
}

.content-box-detail a {
    text-decoration: none;
}

.content-box-detail__text {
    background-color: #458853;
    padding: 1rem;
}

.content-box-detail__text p {
    font-family: 'DM Serif Display', sans-serif;
    margin: 5px 0 0 0;
    font-size: 25px;
    line-height: 1;
}

.content-box-detail__arrow {
    display: flex;
    justify-content: end;
}

.content-box-detail__arrow img {
    width: 50px;
}

.concert-box-icons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

img.content-box-detail__water {
    width: 50px;
    align-self: flex-end;
}

/* grid-details */

.grid {
    display: grid;
    grid-template-columns: 60% 40%;
    position: relative;
    grid-auto-rows: max-content;
}

.grid .title {
    grid-column: 1/2;
    grid-row: 1;
    padding-left: 9rem;
}
.grid .image {
    position: absolute;
    right: 40%;
    left: 0;
    height: 57rem;
    transform: translateX(100%);
}

.grid .image .plant-image {
    grid-column: 2;
    height: 100%;
    width: 100%;
    grid-row: 1/3;
    object-fit: cover;
}

.grid .image .poison {
    position: absolute;
    top: 1rem;
    left: -5rem;
    width: 4rem;
    height: 4rem;
}

.details {
    grid-column: 1;
    grid-row: 2/3;
    background-color: #F4D9CE;
    padding: 3rem 0 0 9rem;
}

.details p:not(:first-child) {
    font-weight: 600;
    margin-bottom: 5px;
}

.details span {
    font-weight: 400;
}

.details .drops::after {
    content: "";
    background-image: url("/images/drops_3.svg");
    background-size: 3rem 2rem;
    background-repeat: no-repeat;
    display: block;
    width: 100%;
    height: 2rem;
    filter: brightness(0);
}

.fitting {
    grid-column: 2;
    grid-row: 3/4;
    transform: translateY(-100%);
    position: relative;
}

.fitting * {
    position: absolute;
}

.fitting *:first-child {
    z-index: 100;
    left: 0;
    max-width: 300px;
    transform: translate(-64%, -66%);
}

.fitting *:nth-child(2n) {
    left: 100px;
    top: 0;
    transform: translateY(-100%);
}

.breadcrumb {
    position: relative;
    margin-top: 2rem;
}

/*.breadcrumb img {*/
/*    position: absolute;*/
/*    right: 10px;*/
/*    top: 0;*/
/*    transform: translateY(-40%);*/
/*}*/

.spacer {
    background-color: #F4D9CE;
}

.funfact,
.spacer {
    padding: 4.5rem 0;
    padding-left: 180px;
}

.funfact > * {
    max-width: 1000px;
    margin: 0;
}

/* helper classes */

.black {
    color: black;
}

.green {
    color: #405237;
}

.margin-bottom-0 {
    margin-bottom: 0;
}

.margin-top-0 {
    margin-top: 0;
}

.no-overflow {
    overflow: hidden;
}
