/* Fonts */
@font-face {
    font-family: "roc-grotesk";
    src: url("./assets/fonts/RocGrotesk/Bold.otf") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 600;
    font-stretch: normal;
}

@font-face {
    font-family: "roc-grotesk";
    src: url("./assets/fonts/RocGrotesk/Medium.otf") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 500;
    font-stretch: normal;
}

@font-face {
    font-family: "roc-grotesk";
    src: url("./assets/fonts/RocGrotesk/Regular.otf") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

@font-face {
    font-family: "roc-grotesk-wide";
    src: url("./assets/fonts/RocGrotesk/WideExtraBold.otf") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 700;
    font-stretch: normal;
}

@font-face {
    font-family: "roc-grotesk-wide";
    src: url("./assets/fonts/RocGrotesk/WideBold.otf") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 600;
    font-stretch: normal;
}

@font-face {
    font-family: "roc-grotesk-wide";
    src: url("./assets/fonts/RocGrotesk/WideMedium.otf") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 500;
    font-stretch: normal;
}

@font-face {
    font-family: "permanent-marker";
    src: url("./assets/fonts/PermanentMarker/PermanentMarkerRegular.otf") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

/* Colors */
:root {
    --blue: #0265ff;
    --dark-blue: #011e4d;
    --light-blue: #ebf3ff;
    --dark-gray: #646464;
    --extra-dark-gray: #333333;
    --ultra-dark-gray: #171717;
    --black: #000000;
    --gray: #b2b2b2;
    --light-gray: #efefef;
    --extra-light-gray: #f8f8f8;
    --white: #ffffff;
    --red: #ff0000;
    --red-error: #fd3838;
    --light-red: #fdebeb;
    --green: #00bd08;
    --light-green: #ebfaeb;
    --yellow: #fdc500;
    --light-yellow: #fffaeb;
    --orange: #ff6c02;
    --light-orange: #fff3eb;
}

/* Radii */
:root {
    --primary-radius: 24px;
    --secondary-radius: 12px;
    --tertiary-radius: 6px;
}

/* Responsive */
:root {
    --mobile-cutoff: 468px;
    --tablet-cutoff: 990px;
}

/* Shadows */
:root {
    --inner-shadow-top: inset 0 8px 9px -9px rgb(0, 0, 0, 0.15);
    --inner-shadow-bottom: inset 0 -8px 9px -9px rgb(0, 0, 0, 0.15);
    --outer-shadow-bottom: 2px 2px 6px 0px rgba(0, 0, 0, 0.05);
    --outer-shadow-top: 2px -2px 6px 0px rgba(0, 0, 0, 0.05);
}

/* Webkit scrollbar */
.explicit_scrollable_y {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}
.explicit_scrollable_y::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 5px;
}

.explicit_scrollable_y::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: var(--gray);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Handle on hover */
.explicit_scrollable_y::-webkit-scrollbar-thumb:hover {
    background-color: var(--black);
}

.grecaptcha-badge,
.grecaptcha-error {
    z-index: 3;
}

/* Track
::-webkit-scrollbar-track {
	background: var(--extra-light-gray);
} */

/* Styles */
html,
body {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "roc-grotesk", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.03em;
    color: var(--black);
}
body {
    color: var(--black);
    margin: 0;
    box-sizing: border-box;
    font-family:
        "roc-grotesk",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen-Sans,
        Ubuntu,
        Cantarell,
        "Helvetica Neue",
        sans-serif;
    touch-action: none;
    overflow: hidden;
    background-color: var(--white);
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); /*Handle iPhone notch*/
}
strong,
.bold {
    font-weight: 500;
}
h4,
h5,
h6,
.large {
    font-size: 28px;
    line-height: 1;
    letter-spacing: normal;
    font-weight: 500;
    margin: 0;
    color: var(--black);
}
h1,
h2,
h3,
.extra_large {
    font-weight: 500;
    font-size: 42px;
    line-height: 1;
    letter-spacing: normal;
    margin: 0;
    color: var(--black);
}
p {
    font-family: "roc-grotesk";
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: var(--black);
    margin: 0;
}
a {
    color: var(--blue);
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    opacity: 0.85;
}
a:visited {
    color: var(--blue);
}

.section_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
    width: 100%;
}
.header_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    margin-right: 20px;
}
.section_title {
    text-align: left;
    display: inline-block;
    flex: 1;
    margin-top: auto;
    margin-bottom: 0;
}
.section_subtitle {
    margin: 0;
}

label {
    display: block;
}

input,
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    -webkit-padding: 0.4em 0;
    padding: 0.4em;
    margin: 0 0 0.5em 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 2px;
}

button {
    outline: none;
}

main {
    text-align: center;
    position: relative;
    display: flex;
    width: 100%;
    padding: 20px;
    overflow: auto;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.blink_indicator {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--blue);
}
.blink {
    animation: blink-animation 2s steps(5, start) infinite;
    -webkit-animation: blink-animation 2s steps(5, start) infinite;
}
@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}
@-webkit-keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

@media (min-width: 640px) {
    main {
        max-width: none;
    }
}

@media (max-width: 768px) {
    h4,
    h5,
    h6,
    .large {
        font-size: 22px;
    }
    h1,
    h2,
    h3,
    .extra_large {
        font-size: 36px;
    }
    p {
        font-size: 14px;
    }
}
