* {
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    border-width: 0;
    background: none;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

html {
    font-size: 8px;
    scroll-behavior: smooth;
}

:root {
    --c-black: #0D0D0D;
    --c-blue: #0E103D;
    --c-lila: #595390;
    --c-green: #35D694;
    --c-light-green: #0BFF9C;
    --c-white: #FFFCF3;
    --c-grey: #DDE6E7;
    --c-red: #ca4343;
}


/** FONTS **/

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Medium.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Bold.ttf');
    font-weight: 700;
}


.int-s,
.int-m,
.int-l,
.int-xl,
.int-xxl,
p,
h1,
h2,
h3,
li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.int-s {
    font-size: 1.8rem;
    line-height: 1.2;
}

.int-m,
p,
li {
    font-size: 2.2rem;
    line-height: 1.4;
}

.int-l,
h3 {
    font-size: 3rem;
}

.int-xl {
    font-size: 5rem;
}

h2 {
    font-size: 6rem;
}

@media (min-width: 900px) {
    h2 {
        font-size: 8rem;
    }
}

.underline {
    text-decoration: underline;
}

.align-center {
    text-align: center;
}

strong,
.bold,
h3 {
    font-weight: 700;
    letter-spacing: -.03rem;
}

a,
.link {
    transition: all .3s ease-in-out;
    cursor: pointer;
}

a:hover,
.link:hover {
    color: var(--c-green);
}

.lst-none {
    list-style-type: none;
}

/** OVERALL **/

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

main {
    padding-top: 50px;
}

.mobile {
    display: block;
}

@media (min-width: 850px) {
    .mobile {
        display: none;
    }
}

.relative {
    position: relative;
}

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

.hidden {
    display: none;
}

.center-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.padding-s {
    padding: 2rem;
}

.padding-m,
.padding-quote {
    padding: 3rem;
}

.padding-l {
    padding: 6rem 3rem 3rem 3rem;
}

@media (min-width: 700px) {
    .padding-m {
        padding: 4rem;
    }

    .padding-l {
        padding: 12rem 8rem 8rem 8rem;
    }

    .padding-quote {
        padding: 12rem;
    }
}


.br {
    border-radius: 2rem;
}

.full-height {
    min-height: calc(100vh - 58px);
}

.width-s {
    width: 320px;
}

.max-width-s {
    max-width: 400px;
    width: 100%;
}

.max-width-m {
    max-width: 550px;
    width: 100%;
}

.max-width-l {
    max-width: 700px;
    width: 100%;
}

.max-width-xl {
    max-width: 900px;
    width: 100%;
}

.max-width-xxl {
    max-width: 1440px;
}

.grid-two {
    display: grid;
}

.grid-three {
    display: grid;
    gap: 3rem;
}

@media (min-width: 700px) {
    .grid-two {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 920px) {
    .grid-three {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 1080px) {
    .grid-three {
        gap: 10rem;
    }

}

.flex-v-8 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flex {
    display: flex;
    gap: 1rem;
}

.flex-v-16 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.flex-v-24 {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.flex-sb {
    display: flex;
    gap: 3rem;
    justify-content: space-between;
}

.flex-end {
    display: flex;
    align-items: end;
    gap: 1rem;
}

.flex-center {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.section-title {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.width-100 {
    width: 100%;
}

.border-bottom {
    border-bottom: 1px solid var(--c-blue);
}

/** COLORS **/

.c-white {
    color: var(--c-white);
}

.c-blue {
    color: var(--c-blue);
}

.c-red {
    color: var(--c-red);
}

.bg-c-blue {
    background-color: var(--c-blue);
}

.bg-c-white {
    background-color: var(--c-white);
}

.bg-c-green {
    background-color: var(--c-green);
}


/** BUTTONS **/

.primary,
.primary-c,
.secondary {
    border-radius: 1rem;
    cursor: pointer;
    transition: all .3s ease-in-out;
    background-color: var(--c-green);
    color: var(--c-black);
}

.primary,
.primary-c {
    padding: 2rem 2.2rem;
}

.secondary {
    padding: 1rem 1.4rem;
}

.secondary:hover,
.secondary:focus-visible {
    background-color: var(--c-light-green);
    color: var(--c-blue);
    box-shadow: 2px 2px 6px var(--c-grey);
    outline: solid 1px white;
    outline-offset: -1px;
}

.primary:hover,
.primary:focus-visible {
    background-color: var(--c-light-green);
    color: var(--c-blue);
    box-shadow: 6px 6px 12px #14342B, -4px -4px 8px #14342B, -4px 4px 8px #14342B, 4px -4px 8px #14342B;
    outline: solid 1px white;
    outline-offset: -1px;
}

.primary-c:hover,
.primary-c:focus-visible {
    background-color: var(--c-light-green);
    color: var(--c-blue);
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.1);
    outline: solid 1px white;
    outline-offset: -1px;

}

.primary:active,
.primary-c:active,
.secondary:active {
    background-color: var(--c-light-green);
    color: var(--c-blue);
    box-shadow: inset 4px 4px 8px rgba(20, 52, 43, 0.25);
}

.primary:disabled,
.primary-c:disabled {
    background-color: var(--c-grey);
    border: 1px solid var(--c-grey);
    box-shadow: 0 0 0 var(--c-blue);
    cursor: none;
}

.landing-cta,
.values-cta {
    margin: 1rem 0;
}

@media (min-width: 700px) {

    .landing-cta,
    .values-cta {
        display: flex;
    }

    .values-cta {
        justify-content: center;
        margin-top: 8rem;
    }
}

/** HEADER **/

header {
    width: 100%;
    position: fixed;
    background-color: var(--c-white);
    filter: drop-shadow(2px 2px 5px rgba(14, 16, 61, 0.25));
    z-index: 1000;
    padding: 2rem 2rem;
    height: 56px;
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    transition: all .5s ease-in-out;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-contact {
    margin-top: 1rem;
}

@media (min-width: 850px) {
    header {
        padding: 2rem 2rem;
        display: flex;
        justify-content: space-between;
        height: 68px;
    }

    nav {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

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



/** LANDING **/

.landing {
    background: linear-gradient(185.16deg, #0E103D 58.5%, #080924 103.02%);
}

.landing-image {
    height: 60vh;
}

.landing-content {
    padding: 3rem;
    color: var(--c-white);
}

@media (min-width: 700px) {
    .landing {
        height: 100vh;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .landing-image {
        height: 100vh;
    }

    .landing-content {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 4rem;
    }
}

/** INTRO **/

.intro h3 {
    margin-top: 2rem;
}

.intro-img {
    transform: translateY(2px);
}

.values {
    background: linear-gradient(180deg, #595391 0%, #0E103D 85.94%);
}

.value-image {
    width: 10rem;
    height: 12rem;
}

.value-image img {
    object-fit: contain;
}

.portfolio-box-container {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
}

@media (min-width: 920px) {
    .portfolio-box-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.skillset {
    filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.25));
    border: 3px solid var(--c-lila);
}

.five {
    background: rgba(89, 83, 144, 0.1);
}

.five-title {
    height: 14rem;
    width: 14rem;
    border-radius: 7rem;
    background-color: var(--c-blue);
    color: var(--c-white);
    border: 3px solid var(--c-lila);
}

.about-image {
    margin-bottom: 3rem;
}

@media (min-width: 700px) {
    .about-image {
        max-width: 62rem;
        max-height: 30rem;
        padding: 3rem;
    }

    .about-text {
        margin-top: 12rem;
        padding: 3rem;
    }

    .contact {
        min-height: 80vh;
    }

    .about-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
    }
}

@media (min-width: 850px) {
    .about-image {
        max-width: 62rem;
        max-height: 65rem;
        padding: 3rem;
    }

    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.block-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.block {
    border: 3px solid var(--c-lila);
    width: 140px;
    padding: 3rem 2rem;
}

@media (min-width: 430px) {
    .block {
        width: 180px;
    }
}

.block-nr {
    border-bottom: 1px solid var(--c-white);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.block-desc p {
    hyphens: auto;
}

.block-icon {
    width: 9rem;
    height: 9rem;
}

.block-icon img {
    object-fit: contain;
}

.contact-info,
.contact-form {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.contact-arrow {
    position: absolute;
    bottom: 0;
    transform: translateY(99%);
}

@media (min-width: 700px) {
    .contact-arrow {
        right: 0;
        top: 50%;
        transform: translateX(200%) translateY(-50%) rotate(-90deg);
        transform-origin: center;
    }

    #kontakt {
        min-height: 100vh;
    }
}

.contact-form {
    background-color: #D1D2F9;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

input,
textarea {
    border: 1px solid var(--c-blue);
    background-color: var(--c-white);
    border-radius: .5rem;
    padding: 2.2rem 2rem;
    outline: 0px solid var(--c-lila);
    transition: all .3s ease-in-out;
}

input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--c-lila);
}

input[type="submit"] {
    border: none;
}

.references {
    background-color: var(--c-lila);
    padding: 6rem 6rem 12rem 6rem;
}

@media (min-width: 700px) {
    .references {
        padding: 12rem 12rem 16rem 12rem;
    }
}

.references img {
    object-fit: contain;
}

.tape {
    padding: 2rem 0;
    overflow: hidden;
}

.tape-content {
    display: flex;
    gap: 3rem;
    transform: translateX(-30px);
}

.tape-content p {
    font-size: 4rem;
    font-weight: 700;
}

@media (min-width: 700px) {
    footer {
        display: grid;
        grid-template-columns: 4fr 1fr 1fr;
        gap: 2rem;
        min-height: 30vh;
    }
}

.imprint p {
    margin-bottom: 2rem;
}

/* NAV-ICON */

#nav-icon {
    width: 24px;
    cursor: pointer;
}

span {
    display: block;
    width: 100%;
    border-radius: 1px;
    height: 3px;
    background: var(--c-blue);
    transition: all .3s;
    position: relative;
}

span+span {
    margin-top: 6px;
}

.open span:nth-child(1) {
    animation: ease .7s top forwards;
}

.closed span:nth-child(1) {
    animation: ease .7s top-2 forwards;
}

.open span:nth-child(2) {
    animation: ease .7s scaled forwards;
}

.closed span:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
}

.open span:nth-child(3) {
    animation: ease .7s bottom forwards;
}

.closed span:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
}

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

    50% {
        top: 9px;
        transform: rotate(0);
    }

    100% {
        top: 9px;
        transform: rotate(45deg);
    }
}

@keyframes top-2 {
    0% {
        top: 9px;
        transform: rotate(45deg);
    }

    50% {
        top: 9px;
        transform: rotate(0deg);
    }

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

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

    50% {
        bottom: 9px;
        transform: rotate(0);
    }

    100% {
        bottom: 9px;
        transform: rotate(135deg);
    }
}

@keyframes bottom-2 {
    0% {
        bottom: 9px;
        transform: rotate(135deg);
    }

    50% {
        bottom: 9px;
        transform: rotate(0);
    }

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

@keyframes scaled {
    50% {
        transform: scale(0);
    }

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

@keyframes scaled-2 {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}


/* SCROLL-ANIMATION */


.scale-down {
    opacity: 0;
    transform: translate(0, 0) scale(1.2, 1.2);
    transition: all .5s ease-out;
}

.slide-bottom,
.slide-right,
.slide-in {
    opacity: 0;
    transform: translate(0, 100px) scale(1, 1);
    transition: all .5s ease-out;
}

.blend-in {
    opacity: 0;
    transform: translate(0, 0) scale(1.8, 1.8);
    transition: all .8s ease-out;
}

@media (min-width: 700px) {
    .slide-in {
        opacity: 0.5;
        transform: translate(-100px, 0) scale(1, 1);
        transition: all .5s ease-out;
    }

    .slide-right {
        opacity: 0;
        transform: translate(150px, 0) scale(1, 1);
        transition: all .5s ease-out;
    }
}

.move {
    transform: translate(0, 0) scale(1, 1);
    opacity: 1;
}

.landing-button {
    transform-origin: center;
}

.wiggle {
    animation-name: wiggle;
    animation-duration: .5s;
    animation-iteration-count: 2;
}

@keyframes wiggle {
    0% {
        transform: rotate(0)
    }

    25% {
        transform: rotate(2deg)
    }

    50% {
        transform: rotate(0deg)
    }

    75% {
        transform: rotate(-2deg)
    }

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