* {
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    border-width: 0;
    background: none;
    text-decoration: none;
    font-family: 'Be Vietnam Pro', sans-serif;
}

:root {
    --c-black: #2B2B2B;
    --c-background: #F8F1F1;
    --c-red: #EB5757;
    --c-darkred: #c74646;
    --c-yellow: #FFD674;
    --c-green: #6FCF97;
    --c-light-green: #DDE2DB;
    --c-blue: #A3DCEE;
    --c-grey: #D9D9D9;
    --bp-s: 600px;
    --bp-m: 920px;
    --bp-l: 1200px;
    --bp-xl: 1600px;
}

html {
    font-size: 16px;
}


a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
blockquote,
form label {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--c-black);
    hyphens: auto;
}

p,
li,
a,
form label,
form input {
    font-size: 1.1rem;
    line-height: 1.5rem;
}

p,
ul,
ol {
    margin-bottom: 1.4rem;
}

nav-link p {
    margin: 0;
}

p a {
    text-decoration: underline;
}

p a:hover {
    color: var(--c-red);
}

li {
    margin-bottom: .4rem;
}

ul,
ol {
    margin-left: 1.4rem;
}

.lead-container p {
    font-size: 1.4rem;
    line-height: 2rem;
}

h1 {
    font-size: 1.4rem;
}


h2 {
    font-size: clamp(2.4rem, 10vw, 4rem);
    line-height: 1.2;
    hyphens: none;
}

h3 {
    margin: 2.4rem 0 2rem 0;
    font-size: clamp(1.6rem, 8vw, 2.8rem);
    line-height: 1.2;
}

div.section-title h3 {
    margin-top: 0.7rem;
    margin-bottom: 0;
}

.chapter-title,
.article-title h3 {
    font-weight: 400;
}

h4 {
    font-size: 2.2rem;
    line-height: 2.8rem;
    margin-bottom: 1.3rem;
}

strong {
    font-weight: 700;
}

blockquote {
    font-size: 2rem;
    padding: 2rem;
}

blockquote footer {
    background: none;
    margin-top: 2rem;
    font-size: 1.2rem;
}

/* MAIN */

body {
    background-color: var(--c-background);
}

main {
    position: relative;
    top: 32px;
}

figure {
    width: 100%;
}

figure img {
    width: 100%;
}

figure iframe {
    width: 100%;
    height: min(60vw, 500px);
}

section.content {
    position: relative;
    padding: 1rem;
    width: min(100% - 2rem, 700px);
    left: 50%;
    transform: translateX(-50%);
}

/* section.content>*,
.section-foldable-content>* {
    margin-bottom: 2rem;
}
 */
.section-title {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--c-black);
    gap: 1rem;
    padding: 1rem 0;
}

.open-button {
    margin-top: 1rem;
    transition: all .5s ease-in-out;
    transform-origin: center;
    transform: scale(100%);
}

.open-button:focus,
.open-button:hover {
    outline: none;
    border: none;
    transform: scale(120%);
}

.open-button:focus svg>circle {
    fill: var(--c-darkred);
}

.section-foldable-content-container {
    height: 0;
    overflow: hidden;
    transition: all .5s ease-in-out;
    margin-bottom: 0 !important;
    padding-top: 1rem;
}

.section-foldable-content {
    padding: 0 .5rem;
}

footer {
    width: 100%;
    height: 50px;
    background-color: var(--c-black);
    margin-top: 8rem;
}

/* LANDING */

.landing {
    position: relative;
    height: calc(100vh - 32px);
    margin-top: 32px;
    background: linear-gradient(180deg, #A3DCEE 0%, rgba(163, 220, 238, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chapter-title {
    position: relative;
    padding: 1rem;
    text-align: center;
    z-index: 2;
    margin-top: -12rem;
    width: min(100%, 900px);
}

.animation-container {
    position: absolute;
    overflow: hidden;
    z-index: 1;
    height: calc(100vh - 65px);
    width: 100vw;
}

.animation-wrapper {
    width: 375px;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    position: absolute;
}

@media (orientation: portrait) and (min-height: 700px) {
    .animation-wrapper {
        width: 426px;
    }
}

@media (orientation: portrait) and (min-height: 900px) {
    .animation-wrapper {
        width: 500px;
    }
}

@media (orientation: portrait) and (min-height: 900px) {
    .animation-wrapper {
        width: 820px;
    }
}

@media (orientation: landscape) {
    .animation-wrapper {
        width: 1200px;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 50%;
        position: absolute;
    }

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

button.scrollDown {
    position: absolute;
    z-index: 2;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    animation-name: scrollDownButton;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    cursor: pointer;
}

button.scrollDown:hover {
    animation-play-state: paused;

}

svg {
    transition: all .5s ease-in-out;
}

button.scrollDown:hover svg {
    filter: drop-shadow(4px 6px 0px #2B2B2B);
}

@keyframes scrollDownButton {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* BLOCKS */

/* LOGOS-CONTAINER */

.logos {
    margin-bottom: 3rem;
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;

}

.logos-container img {
    max-height: 3rem;
    width: auto;
}

.logos-title {
    margin: 2rem 0;
}

/* INSTRUCTION */

.instruction-container {
    display: flex;
}

.instruction-text {
    padding: 1.5rem;
}

/* .instruction-image {
    display: flex;
    align-content: center;
    justify-content: center;
} */

.instruction-image img {
    width: 100px;
    margin: 1.5rem;
}

/* NAV-LINK */

a nav-link {
    padding: .5rem .5rem .5rem 1.5rem;
    background-color: var(--c-grey);
    display: flex;
    width: calc(100% - 2rem);
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    cursor: pointer;
    transition: all .5s ease-in-out;
    margin-bottom: 1rem;
}

a:hover nav-link,
a:focus nav-link {
    box-shadow: 4px 6px 0px #2B2B2B;
    animation-name: buttonmove;
    animation-duration: .5s;
    animation-delay: -.2s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    background-color: var(--c-yellow);
}

a:hover nav-link svg {
    animation-name: iconmove;
    animation-duration: 1s;
    animation-delay: -.2s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}

a:active nav-link {
    background-color: #EB5757;
}

@keyframes iconmove {
    0% {
        transform: translateX(0) rotate(0deg);
    }

    50% {
        transform: translateX(-12px) rotate(-50deg);
    }

    100% {
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes buttonmove {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-.3deg);
    }

    50% {
        transform: rotate(.2deg);
    }

    75% {
        transform: rotate(-.3deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* CHECKOBJECT */

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--c-background);
    margin: 0;

    font: inherit;
    color: var(--c-black);
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--c-black);
    border-radius: 50%;

    display: grid;
    place-content: center;
}

input[type="checkbox"]::before {
    content: "";
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 4rem 4rem var(--c-green);
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:focus {
    outline: 1px dashed var(--c-black);
    outline-offset: -6px;
}

.check-object-container {
    margin-bottom: 1rem;
    border: 1px solid var(--c-black);
    border-radius: 45px;
    padding: 1rem;
    transition: all .5s ease-in-out;
}

.check-object-container:hover {
    background-color: var(--c-yellow);
    box-shadow: 4px 6px 0px #2B2B2B;
}

.input-container {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--c-black);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4rem;
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    width: calc(100% - 1rem);
    align-items: center;
}

@media (min-width: 600px) {

    .input-container {
        font-size: 1.8rem;
        line-height: 2rem;
        gap: .5rem;
    }
}

.check-object-container label {
    width: calc(100% - 7rem);
}

.check-object-button {
    transition: all .5s ease-in-out;
    transform-origin: center;
    height: 33px;
    cursor: pointer;
}

.check-object-button:focus,
.check-object-button:hover {
    transform: scale(1.4);
    outline: none;
}

.check-object-button:focus svg circle,
.check-object-button:hover svg circle {
    fill: var(--c-red);
    box-shadow: 4px 6px 0px #2B2B2B;
}

.check-content-container {
    height: 0;
    overflow: hidden;
    transition: all .5s ease-in-out;
}

.check-content {
    padding: 1.5rem 1.5rem;
}

/* ARTICLE PREVIEW ++ AD ++ EXTERNAL LINKS */

.ad-container {
    margin-bottom: 1rem;
    background-color: var(--c-light-green);
    border-radius: 45px;
    padding: 1rem;
    transition: all .5s ease-in-out;
}

.articlepreview-container {
    margin-bottom: 1rem;
    border: 1px solid var(--c-black);
    border-radius: 45px;
    padding: 1rem;
    transition: all .5s ease-in-out;
}

.preview-title,
.preview-lead,
.preview-link {
    margin-top: 1rem;
}

.preview-title h4 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.8rem;
}

.preview-image img {
    width: 100%;
    border-radius: 30px;
}

.preview-link {
    background-color: var(--c-black);
    padding: 1rem 2rem;
    width: max-content;
    border-radius: 30px;
    transition: all .5s ease-in-out;
    cursor: pointer;
}

.preview-link:hover {
    background-color: var(--c-red);
    box-shadow: 4px 6px 0px #2B2B2B;
}

.preview-link:hover a svg {
    transition: all .5s ease-in-out;
}

.preview-link:hover a svg {
    transform: translateX(8px);
}

.preview-link a {
    color: var(--c-background);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;

}

@media (min-width: 600px) {

    .articlepreview-container,
    .ad-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

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

    .preview-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}

.ex-link-container {
    margin-bottom: 1rem;
    border: 1px solid var(--c-black);
    border-radius: 45px;
    padding: 1rem 1.4rem;
    transition: all .5s ease-in-out;
    cursor: pointer;
}

.ex-link-container a svg {
    transition: all .5s ease-in-out;
    transform-origin: center;
}

.ex-link-container:hover {
    background-color: var(--c-yellow);
    box-shadow: 4px 6px 0px #2B2B2B;
}

.ex-link-container:hover a svg {
    transform: translateX(8px);

}

.ex-link-container a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

/* BATTERY */

.battery-container {
    position: fixed;
    right: 57px;
    top: 9px;
    z-index: 20;
    display: flex;
    align-items: center;
}

.battery {
    width: 66px;
    height: 34px;
    padding: 4px;
    border: 2px solid var(--c-black);
    border-radius: 6px;
}

.battery-nubsel {
    width: 8px;
    height: 20px;
    border-top: 2px solid var(--c-black);
    border-bottom: 2px solid var(--c-black);
    border-right: 2px solid var(--c-black);
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
}

.battery-level {
    width: 10%;
    height: 100%;
    background-color: var(--c-green);
    transition: all .5s ease-in-out;
    border-radius: 4px;
}

/* MONSTERS */

#dosi,
#foehni,
#heizi,
#lampi,
#staubi {
    position: absolute;
    transition: all 3s ease-in-out;
}

#dosi {
    width: 150px;
    right: 5%;
    top: 5%;
}

#foehni {
    display: none;
    width: 236px;
    left: 15%;
    bottom: 15%;
}

#heizi {
    width: 328px;
    right: 20%;
    bottom: 5%;
}

#lampi {
    display: none;
    width: 259px;
    top: 0;
    left: 10%;
}

#staubi {
    width: 200px;
    right: 40%;
    bottom: 30%;
}

@media (orientation: landscape) {

    #dosi {
        right: 20%;
        top: 25%;
    }

    #foehni {
        display: block;
        left: 15%;
        bottom: 15%;
    }

    #heizi {
        right: 20%;
        bottom: 5%;
    }

    #lampi {
        display: block;
        top: 0;
        left: 10%;
    }

    #staubi {
        right: 40%;
        top: 5%;
    }

}

/* NEWSLETTER */

form {
    display: flex;
    gap: .5rem;
}

form input {
    border: 1px solid var(--c-black);
    border-radius: 2rem;
    width: 70%;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
}

input[type=submit] {
    transition: all 1s ease-in-out;
    cursor: pointer;
    width: 25%;
    background-color: var(--c-red);
}

input[type=submit]:hover,
input[type=submit]:focus {
    background-color: var(--c-yellow);
    box-shadow: 4px 6px 0px #2B2B2B;
    outline: none;
}

input[type=text]:focus {
    outline: 1px dashed var(--c-black);
    outline-offset: -6px;
}