* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--color-orange);
    color: var(--color-black);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #b2bec3;
    transition: var(--transition-time);
}

::-webkit-scrollbar-track {
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-corner {
    border-radius: 100%;
    background: #b2bec3;
}

:root {
    --spacing-standard: 3rem;
    --transition-time: 250ms;
    --radius-standard: 4px;

    --color-white: #ecf0f1;
    --color-white-transparent: rgba(236, 240, 241, 0.7);

    --color-black: #2a2723;
    --color-black-transparent: #2a2723aa;

    --color-orange: #ff9100;
    --color-orange-dark: #945400;
    --color-orange-light: #ffc36f;
    --color-orange-black: #332b22;
}

html,
body {
    min-height: 100vh;
    width: 100vw;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: auto;
    overflow-y: auto;
    overflow-x: hidden;

    &.layer {
        overflow: hidden;
    }
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--color-white);
    background: var(--color-black);
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
    text-align: left;
    font-family: 'Roboto Condensed', sans-serif;
}

h1 {
    font-size: 4rem;
}

.h2,
h2,
h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

a {
    text-decoration: none;
    transition: var(--transition-time);
    color: var(--color-white);
}

a.text {
    color: var(--color-orange);
    text-decoration: underline;

    &:hover {
        color: var(--color-orange-light);
    }
}

.nowrap {
    white-space: nowrap;
}

a.mail {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--color-orange);
    font-weight: bold;

    &:hover {
        color: var(--color-orange-light);
    }
}

ul {
    list-style: none;
    display: flex;
}

span.highlight {
    color: var(--color-orange);
    font-weight: bold;
}

span.chip {
    background: var(--color-orange);
    border-radius: 999px;
    font-size: 1rem;
    color: var(--color-black);
    height: max-content;
    padding: .5em 1em;
    user-select: none;
}

.card {
    padding: 2rem;
    background: var(--color-black);
    border-radius: 20px;
    min-width: 300px;
    flex: 1;
    justify-content: space-between;

    & .card-img {
        border-radius: 20px;
        object-fit: cover;
    }
}

.content {
    position: relative;
    z-index: 100;
    padding: 150px 15vw;
    min-height: 100vh;
}

.full {
    min-height: 100vh;
}

.bold {
    font-weight: bold;
}

.margin-top {
    margin-top: 3rem;
}

.margin-top-small {
    margin-top: 1rem;
}

.margin-top-big {
    margin-top: 6rem;
}

.place-bottom {
    margin-top: auto;
}

.flex-row {
    display: flex;
    flex-direction: row;

    &.reverse {
        flex-direction: row-reverse;
    }
}

.inline-flex-row {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: .2em;

    &.big-gap {
        gap: .5em;
    }

    &.reverse {
        flex-direction: row-reverse;
    }
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.gap-default {
    gap: 3rem;
}

.gap-sm {
    gap: 1rem;
}

.z-0 {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0);
}

.z-1 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.z-2 {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.z-2-all {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 0 6px rgba(0, 0, 0, 0.23);
}

.z-3 {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.z-3-all {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23), 0 -10px 20px rgba(0, 0, 0, 0.19), 0 -6px 6px rgba(0, 0, 0, 0.23);
}

.z-4 {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.z-5 {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

.tip-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tip-container .tip {
    scale: 0;
    position: absolute;
    top: -3rem;
    width: max-content;
    border: 1px solid var(--color-white);
    border-radius: 999px;
    background-color: var(--color-black);
    padding: .5em 1.5rem;
    transition: 150ms;
}

.tip-container:hover .tip {
    scale: 1;
}

.animate-up-down {
    animation: up-down 1.5s ease-in-out alternate-reverse infinite;
}

@keyframes up-down {
    0% {
        translate: 0 -0.1rem;
    }

    100% {
        translate: 0 0.4em;
    }
}

@media (width <= 780px) {
    h1, h2, h3, h4, h5, h6, p {
        text-align: center;
    }
}

@media (width <= 450px) {
    .content {
        padding: 150px 10vw;
    }
}
