/* * MARK: Font Faces
---------------------------------------------------------------------------- */

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "Noto Color Emoji";
    src: url("../fonts/NotoColorEmoji.ttf") format("truetype");
    font-display: swap;
}


/* * MARK: Variables
---------------------------------------------------------------------------- */

:root {
    --background: #12141a;
    --background-alt: #141f26;

    --cyan-white: #a7f7f1;
    --cyan-highest: #46E5DA;
    --cyan-higher: #2ED2CD;
    --cyan-high: #20B1AC;
    --cyan-mid: #2C8C9C;
    --cyan-low: #236F7B;
    --cyan-lower: #0f424a;

    --pink-high: #ff7e94;
    --pink-high-hover: #ff788e;
    --pink-desat: #C56E7A;
    --pink-low: #C44F71;

    --main-font: "DM Sans", Helvetica, Arial, sans-serif;
    --emoji-font: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", "OpenMoji", "Segoe UI Symbol", sans-serif;
    --emoji-multi-char-font: "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Emoji", "Twemoji Mozilla", "OpenMoji", "Segoe UI Symbol", sans-serif;
}


/* * MARK: Global
---------------------------------------------------------------------------- */

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--main-font);
    background-color: var(--background);
    color: white;
}

a {
    color: var(--cyan-highest);
    text-decoration: none;
}

.centered-container {
    margin: auto;
    width: calc(100% - 30px);
    max-width: 1100px;
}

button,
a.btn {
    display: inline-block;
    width: fit-content;
    outline: none;
    border: none;
    padding: 5px 18px;
    border-radius: 8px;
    border-bottom: 2px solid var(--cyan-low);
    background-color: var(--cyan-high);
    font-family: var(--main-font);
    font-size: 14.5px;
    margin: 8px auto;
    cursor: pointer;
    transition: .08s ease-in-out;
}

button.bigger,
a.btn.bigger {
    font-size: 16px;
    padding: 8px 30px;
}

a.btn {
    color: black;
}

button:hover,
a.btn:hover {
    transform: scale(1.05);
    transition: .05s ease-in-out;
}

a.btn.pink,
button.pink {
    background-color: var(--pink-high);
    border-color: var(--pink-low);
    color: black;
}

button.pink.bigger {
    font-weight: 700;
}

a.btn.purple,
button.purple {
    background-color: #655283;
    border-color: #4b3d6b;
    color: white;
}

#fullpage-error {
    display: block;
    margin: 50px;
}


.i-chevron-right-b {
    width: 12px;
    height: 12px;
    display: inline-block;
    background-image: url('../img/chevron-right-b.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 10px;
    margin-right: -7px;
    position: relative;
    top: 1px;
}

.i-chevron-right-w {
    width: 12px;
    height: 12px;
    display: inline-block;
    background-image: url('../img/chevron-right-w.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 10px;
    margin-right: -7px;
    position: relative;
    top: 1px;
}

.i-chevron-left-b {
    width: 12px;
    height: 12px;
    display: inline-block;
    background-image: url('../img/chevron-right-b.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
    position: relative;
    top: 1px;
    transform: rotate(180deg);
}

.loader {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader.small {
    width: 20px;
    height: 20px;
    border-width: 3px;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.star-ico {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
}

.star-full { background-image: url('../img/star-full.svg'); }
.star-half { background-image: url('../img/star-half.svg'); }
.star-empty { background-image: url('../img/star-empty.svg'); }

.ico-checkmark-green {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../img/checkmark-circled-green.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    top: 4px;
    margin-right: 8px;
}

.emoji {
    font-family: var(--emoji-font);
}

.emoji-multi-char {
    font-family: var(--emoji-multi-char-font);
}

ul.simple-list li {
    margin-block: 6px;
}

/* * MARK: Burger Menu
---------------------------------------------------------------------------- */

nav .burger-menu {
    display: none;
    position: absolute;
    right: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 25px;
    height: 21px;
    cursor: pointer;
    user-select: none;
}

nav .burger-menu span {
    position: absolute;
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    top: 9px;
    transform-origin: center center;
    transition: .15s ease-in-out;
}

nav .burger-menu .n2 { transform: translateY(-9px); }
nav .burger-menu .n3 { transform: translateY(9px); }

/* Burger menu animation when opened */
nav.opened .burger-menu .n2 {
    transform: rotate(45deg);
}

nav.opened .burger-menu .n1 {
    width: 0;
}

nav.opened .burger-menu .n3 {
    transform: rotate(-45deg);
}