@import url('/fonts.css');

:root {
    --border-radius-small: 9px;
    --border-radius-medium: 13px;
    --border-radius-big: 20px;
    --border-radius-large: 45px;
    --green-200: hsl(96, 63%, 58%);
    --green-400: hsl(94, 59%, 47%);
    --yellow-200: hsl(40, 100%, 62%);
    --yellow-400: hsl(40, 100%, 47%);
    --blue-200: hsl(230, 79%, 71%);
    --blue-400: hsl(229, 53%, 61%);
    --red-200: hsl(358, 71%, 58%);
    --red-400: hsl(358, 50%, 50%);
    --hsl-yellow-200: 40, 100%, 62%;
    --hsl-yellow-400: 40, 100%, 47%;
    --gray-1000: #070707;
    --gray-900: #0b0b0b;
    --gray-800: #131313;
    --gray-700: #1A1A1A;
    --gray-600: #1e1e1e;
    --gray-500: #232323;
    --gray-400: #303030;
    --gray-300: #343434;
    --gray-200: #4F4F4F;
    --gray-100: #828282;
    --gray-50: #B9B9B9;
    --gray-0: #E1E1E1;


    --background-radial: radial-gradient(var(--gray-500) 1.2px, transparent 1px);
    --background-square: linear-gradient(to right, var(--gray-800) 1px, transparent 1px), linear-gradient(to bottom, var(--gray-800) 1px, transparent 1px);
    --background-size-small: 20px 20px;
    --background-size-large: 40px 40px;
}

* {
    box-sizing: border-box;
    word-wrap: break-word;
    /*
    Center Wahn
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    */
}

html {
    scroll-behavior: smooth;
}

body {
    color: rgb(255, 255, 255);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--gray-900);
    color: white;
    scrollbar-width: 0px;
    overflow-x: hidden;
    background-image: var(--background-radial);
    background-size: var(--background-size-small);
}

body::-webkit-scrollbar {
    width: 0px;
}

h1 {
    font-family: 'Silkscreen', sans-serif;
    font-size: 3rem;
    font-weight: 1000;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.1em;
}

h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 0.2rem;
}

p {
    margin: 0;
    font-size: 1rem;
    color: var(--gray-0);
}

small {
    color: #9f9f9f;
    font-size: 0.8rem;
}

img {
    overflow: clip;
}

hr {
    width: 100%;
    border-style: solid;
    border-color: var(--gray-300);
}

img.icon {
    height: 60px;
    width: 60px;
}

h1 [hl], h2 [hl] {
    color: var(--green-200);
}

p [hl], small [hl] {
    color: var(--yellow-200);
}

a[hl] {
    color: var(--blue-200);
}

a[hl]:before {
    background: var(--blue-400) !important;
}

.warning {
    color: var(--red-200) !important;
}

.typed-cursor {
    color: var(--green-200);
}

header {
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, var(--gray-900) 100%), url('./static/background.webp') no-repeat center center;
    background-size: cover;
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    align-items: center;
    gap: 0;
}

header.small {
    height: 50vh;
}

header .title {
    display: flex;
    flex-direction: column;
    width: 80vw;
    max-width: 90vw;
    overflow: hidden;
    padding-bottom: 2rem;
}

header .title > h1 {
    word-wrap: normal;
    font-size: 5em;
    margin: 0;
    margin-bottom: 1rem;
    line-height: 1.1em;
    text-shadow: 2px 8px 2px rgba(0,0,0,.8);
}

header .title > h1 span [ti] {
    color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(2px 8px 2px rgba(0,0,0,.8));
}

header .title #title-typer {
    display: inline-block;
}

/* Color for typer-title. Didn't want to use JS for that.*/

header .title > h1 span [ti="0"] {
    background-image: linear-gradient(16deg, #04e1f1, #8affc8);
}

header .title > h1 span [ti="1"] {
    background-image: linear-gradient(16deg, #f18f76, #fd323c);
}

header .title > h1 span [ti="2"] {
    background-image: linear-gradient(16deg, #fab9f5, #fa5eff);
}

header .title > h1 span [ti="3"] {
    background-image: linear-gradient(16deg, #fffda0, #ff9113);
}

header .title > h1 span [ti="4"] {
    background-image: linear-gradient(16deg, #b2f104, #62ff6f);
}

header .title > span {
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

header .title > p {
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,.8));
    font-family: 'Silkscreen', sans-serif;
}

@media(max-width: 930px) {

    header .title {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    header .title > h1 {
        font-size: 3em;
    }

    header .title > span {
        justify-content: center;
    }
}

.nav-wrapper {
    font-family: 'Minecraft', sans-serif;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-wrapper .logo {
    margin: 0 40px;
}

.nav-wrapper .icon {
    display: grid;
    transition: transform .1s ease-in-out;
}

.nav-wrapper .icon img {
    height: 2em;
    width: auto;
}

.nav-wrapper .icon:hover {
    transform: scale(1.1);
}

.nav-wrapper .head-button {
    display: flex;
    justify-content: center;
    padding: 1em 0;
}

.nav-wrapper .topbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1em;
    background-color: var(--gray-600);
    width: 100vw;
    box-shadow: 0 5px 40px rgba(0,0,0,.7);
}

.nav-wrapper .nav {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 2;
    padding: 10px 0px;
    margin: 10px;
    border-radius: var(--border-radius-large);
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    box-shadow: 0 0 20px 0.5rem rgba(0, 0, 0, 0.2);
    width: 800px;

    transition: 
        width 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        margin 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        
    overflow: hidden;
}

.nav-wrapper .nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    pointer-events: none;
}

.nav-wrapper .nav.full-width::before {
    opacity: 1;
}

.nav-wrapper .nav.full-width {
    width: 100%;
    border: 0;
    border-radius: 0;
    margin: 0;
    background-color: transparent;
    box-shadow: none;
}


.nav-wrapper .nav .section {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    gap: 40px;
    height: 100%;
    width: 300px;
    font-size: 22px;
    line-height: 100%;
}

.nav-wrapper .nav .section:first-child {
    justify-content: right;
}

.nav-wrapper .nav .section:last-child {
    justify-content: left;
}

.nav-wrapper .nav .section a {
    text-shadow: 1px 1px 0px rgba(0,0,0,.7);
}

.nav-wrapper .nav-mobile {
    display: none;
}

.nav-wrapper .nav-mobile-view {
    position: fixed;
    overflow: auto;
    background-color: var(--gray-800);
    top: 0;
    width: 100vw;
    height: 100%;
    transition: transform 400ms ease;
}

.nav-wrapper .nav-mobile-view.active {
    transform: translateX(0) !important;
}

.nav-wrapper .nav-mobile-view .items {
    margin: 4em 2em;
    display: grid;
    gap: 1em;
    grid-auto-flow: row;
}

.nav-wrapper .nav-mobile-view .items .button {
    text-align: center;
    font-weight: 400;
    padding: 20px;
    gap: 1rem;
}

.nav-wrapper .nav-mobile-view .items .button img {
    width: 2em;
    height: 2em;
}


@media(max-width: 930px) {
    .nav-wrapper .nav {
        display: none;
    }

    .nav-wrapper .nav-mobile {
        display: flex !important;
    }
}


a {
    color: inherit;
    text-decoration: inherit;
    text-decoration: none;
    position: relative;
}

a:not([class]):before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 0.2em;
    border-radius: 4px;
    background: #a1ffa1;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scaleX(0);
}

a:not([class]):hover::before {
    opacity: 1;
    transform: scaleX(1);
}

main {
    position: static;
    margin: 4vw;
    margin-top: 120px;
    padding: 0;
    /* background-color: var(--gray-1000); */
    /* box-shadow: 0 0 100px var(--gray-1000); */
}

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

section:not(:first-child) {
    margin-top: 1.4em;
}

@media(max-width: 930px) {
    main {
        margin: 0px;
        margin-top: 120px;
    }
}

main .row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    border: 1px solid var(--gray-400);
    border-bottom: none;
}

@media(max-width: 930px) {
    main .row {
        grid-auto-flow: row;
    }
}

main .row.actions-condensed {
    display: none;
}

@media(max-width: 1000px) {

    main .row.actions-main .card {
        display: none;
    }

    main .row.actions-condensed {
        display: block;
    }

    main .row.actions-condensed .card {
        display: flex;
        justify-content: center;
        padding: 20px 4vw;
    }

    main .row.actions-condensed .card .button {
        display: inline-block;
        width: 150px;
        margin: 0 10px;
        text-align: center;
    }

}

main .row .card {
    padding: 40px;
    flex: 1 1 0;
    border-width: 0 1px;
    border-style: solid;
    border-color: var(--gray-400);
}

@media(max-width: 930px) {
    main .row .card {
        padding: 20px;
    }
}

main .row .card:only-child {
    border: none;
}

main .row .card:first-child {
    border-left: none;
}

main .row .card:last-child {
    border-right: none;
}

main .row .card.content-centered {
    text-align: center;
}

main .row .card:has(.nutshell) {
    background-color: var(--gray-900);
    background-image: var(--background-square);
    background-size: var(--background-size-large);
}

main .row .card .nutshell {
    display: grid;
    grid-auto-flow: row;
    justify-content: left;
    gap: 2rem;
    grid-template-columns: repeat(4, 1fr);
}

main .row .card .nutshell > div {
    border: 1px solid var(--gray-400);
    padding: 1rem;
    border-radius: var(--border-radius-small);
    background-color: var(--gray-800);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

main .row .card .nutshell > div:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--gray-700);
    color: var(--gray-0);
    border-color: var(--gray-300);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

main .row .card .nutshell i.fa-solid {
    color: var(--green-200);
}

main .row .card .nutshell > div h2 {
    margin: 0;
}

main .row:last-child {
    border-bottom: 1px solid var(--gray-400);
}

@media(max-width: 1780px) {
    main .row .card .nutshell {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 800px) {
    main .row .card .nutshell {
        grid-template-columns: 1fr;
    }
}

.text-flex {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
}

.side-img {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4vw;
    width: 100%;
}

.side-img > img {
    height: auto;
    width: 300px;
}

@media(max-width: 1200px) {

    .side-img {
        flex-wrap: wrap;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .side-img > img {
        height: 300px;
        width: auto;
    }
}

.features-list {
    display: grid;
    grid-auto-flow: row;
    border: 1px solid #2f2f2f;
    border-bottom: none;
}

.features-list .card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    gap: 2vw;
    margin: 20px;
    padding: 0;
    overflow: hidden;
    border-radius: var(--border-radius-big);
    border: 1px solid var(--gray-400);
    box-sizing: border-box;
}

.features-list .card:nth-child(even) {
    margin-left: 4vw;
    background: linear-gradient(to left, rgba(0, 0, 0, 0) 50%, var(--gray-700) 100%);
}

.features-list .card:nth-child(odd) {
    margin-right: 4vw;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, var(--gray-700) 100%);
}

.features-list .card h1 {
    font-size: 2.5rem;
}

.features-list .card p {
    font-size: 1.2rem;
}

.features-list .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.features-list .card .feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

@media(max-width: 1500px) {
    
    .features-list .card {
        margin: 20px !important;
    }

}

@media(max-width: 930px) {
    .features-list .card img {
        grid-row: 1 / 2;
        width: 100%;
        border-radius: 0px !important;
    }

    .features-list .card .feature-content {
        padding: 1em;
    }

    .features-list .card {
        grid-template-columns: 1fr;
        gap: 0px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, var(--gray-700) 100%) !important;
    }
}

.loader {
    border: 4px solid var(--gray-300);
    border-radius: 50%;
    border-top: 4px solid var(--green-200);
    width: 3em;
    height: 3em;
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
}
  
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.collapsible {
    border: 1px solid #2f2f2f;
}

.collapsible .title {
    border: 1px solid #2f2f2f;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 20px;
    font-weight: bold;
}

.collapsible .title::after {
    content: "\002B";
    float: right;
}

.collapsible.active .title::after {
    content: "\2212";
}

.collapsible .content-wrapper {
    max-height: 0;
    transition: max-height 0.2s ease-out;
    overflow: hidden;
    padding: 0 18px;
}

.collapsible .content-wrapper div:first-child {
    padding-bottom: 10px;
}

button {
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: black;
    font-family: inherit;
}

a.button, button {
    padding: 10px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
    border-radius: var(--border-radius-medium);
    display: inline-block;
    color: white;
}

button:disabled, a.button.disabled {
    color: var(--gray-50);
}

a.button.flex {
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.5rem;
    align-items: center;
}

a.button.upper {
    text-transform: uppercase;
}

a.button.blue {
    background-color: var(--blue-200);
}

a.button.blue:hover {
    background-color: var(--blue-400);
}

a.button.green, button[type=submit] {
    background-color: var(--green-200);
}

a.button.green:hover, button[type=submit]:hover {
    background-color: var(--green-400);
}

a.button.gray {
    background-color: var(--gray-600);
}

a.button.gray:hover {
    background-color: var(--gray-400);
}

a.button.red {
    background-color: var(--red-200);
}

a.button.red:hover {
    background-color: var(--red-400);
}

form .form-row {
    margin-top: 2rem;
}

form .section {
    margin-bottom: 4rem;
}

label {
    font-weight: 600;
    font-size: 1.1rem;
}

label[required]:after {
    content: " *";
    color: var(--red-400);
}

input[type=text], input[type=number], textarea {
    border: none;
    outline: none;
    padding: 0.3rem 0.7rem;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    border-radius: var(--border-radius-small);
    background-color: var(--gray-800);
    border: 3px solid var(--gray-800);
    font-family: inherit;
    transition: border 0.1s ease-in-out;
}

input[type=text]:focus, input[type=number]:focus, textarea:focus {
    border: 3px solid rgba(73, 241, 115, 0.5);
}

textarea {
    resize: vertical;
    height: 100px;
}

footer {
    position: relative;
    margin-top: 2vh;
    padding: 2vw 0;
    background-image: url('/static/background.webp');
    background-color: var(--gray-1000);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0;
    background-blend-mode: overlay;
    border-top: 2px solid var(--gray-500);
    width: 100vw;
}

footer .content-wrapper {
    margin: auto;
    max-width: 92%;
}

footer .content-wrapper .nav {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8em;
}

footer .content-wrapper .nav .section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4em;
}

footer .content-wrapper .nav .section:last-child {
    margin-left: auto;
}

footer .content-wrapper .nav .section span {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

footer .content-wrapper .nav .section a {
    color: var(--gray-50);
}

footer .content-wrapper .copyright {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

footer .content-wrapper .copyright .badge {
    width: fit-content;
}

@media(max-width: 680px) {
    footer .content-wrapper .nav {
        flex-direction: column;
        gap: 2em;
    }

    footer .content-wrapper .nav .section:last-child {
        margin-left: inherit;
    }
}