:root {
    --bg-color-inverted: #000;
    --color-primary: #1863e6;
    --color-lightGrey: #d2d6dd;
    --color-grey: #747681;
    --color-darkGrey: #3f4144;
    --color-error: #d43939;
    --color-success: #4582ec;
    --grid-maxWidth: 120rem;
    --grid-gutter: 2rem;
    --font-size: 1.6rem;
    --font-family-sans: "Source Code Pro";
    --font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

body.dark {
    --bg-color-inverted: #fff;
    --bg-color: #000;
    --bg-secondary-color: #131316;
    --font-color: #f5f5f5;
    --color-grey: #ccc;
    --color-darkGrey: #777;
}

body.dark section img {
    filter: brightness(0.8);
}

body.dark select {
    color: var(--bg-color-inverted);
}

section {
    scroll-margin-top: 48px;
}

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

.logo {
    flex: 1;
    flex-direction: column;
}

.logo svg {
    width: 100%;
    max-width: 300px;
}

.bold {
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pointer {
    cursor: pointer;
}

.highlight {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    padding: 2px 3px;
    text-decoration: none;
    color: #1863e6 !important;
    box-shadow: inset 0 -3px 0 #1863e6;
}

.highlight:hover {
    box-shadow: inset 0 -33px 0 0 #1863e6;
    color: #fff !important;
}

.border-left {
    transition: all 0.2s ease-in-out;
    border-left: 16px solid #4582ec;
    padding-left: 8px;
}

.border-left:hover {
    box-shadow: inset 0 0 100px 0 #4582ec;
    color: #fff !important;
}

/* Loading */
.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid var(--color-primary);
    width: 30px;
    height: 30px;
    margin: 16px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/* ENDLESS ROTATE */

.animate_rotate {
    animation: rotate 5s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.animate_boat {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(-10px);
    }
}

/* Scrollbar Style */

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background-color: var(--bg-color);
}

body::-webkit-scrollbar {
    width: 5px;
    background-color: var(--bg-color);
}

body::-webkit-scrollbar-thumb {
    border-radius: 12px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: var(--color-primary);
}