/************************************************/
/*                    INFO                      */
/************************************************/

/*               BREAKPOINTS             */
/*  480px  =  mobile small */
/*  600px  =  mobile medium */
/*  767px  =  mobile large */
/*  1024px  =  tablet */
/*  1024px  =  laptop small */
/*  1366px  =  laptop medium */
/*  1440px  =  laptop large or desktop small*/
/*  1680px  =  desktop medium */
/*  1920px  =  desktop large */

/*                                                  COLORS                                                */
/* #387ce3                   RAECON BLUE */
/* #030918                   RAECON DARK 1 */
/* #051227                   RAECON DARK 2 */
/* #dce7ff                   RAECON BACKGROUND LIGHT BLUE */
/* #f6faff                   RAECON BACKGROUND LIGHT BLUE 2 */

/* #092155                   TEXT ON LIGHT BACKGROUND */
/* #444444                   TEXT ON WHITE BACKGROUND */
/* #e0e6f0                   TEXT ON DARK BACKGROUND */
/* #6ab5f1                   TEXT RARE LIGHT BLUE */


/************************************************/
/*                     FONT                     */
/************************************************/
/* Khand Light (300) */
@font-face {
  font-family: 'Khand';
  src: url('../font/Khand-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* Khand Regular (400) */
@font-face {
  font-family: 'Khand';
  src: url('../font/Khand-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Khand Medium (500) */
@font-face {
  font-family: 'Khand';
  src: url('../font/Khand-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* Khand SemiBold (600) */
@font-face {
  font-family: 'Khand';
  src: url('../font/Khand-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* Khand Bold (700) */
@font-face {
  font-family: 'Khand';
  src: url('../font/Khand-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/************************************************/
/*                    GENERAL                   */
/************************************************/

body {
  font-family: 'Khand';
  background: radial-gradient(circle at center, #030918 0%, #051227 100%);
}

/************************************************/
/*                COLOR CLASSES                 */
/************************************************/

.raecon-deep-blue {
  color: #387ce3;
}

.raecon-light-blue {
  color: #6ab5f1;
}

.raecon-dark-blue {
  color: #092155;
}

/************************************************/
/*                   BUTTON                     */
/************************************************/
.btn-raecon {
  font-family: 'Khand';
  display: inline-block;
  padding: 12px 28px;
  background-color: transparent;
  border: 2px solid #387ce3;
  border-radius: 8px;
  color: #387ce3;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.3s ease;
}

.btn-raecon:hover {
  background-color: transparent;
  box-shadow: 0 0 10px #387ce3;
  color: #387ce3;
}

.btn-raecon:active {
  box-shadow: 0 0 6px #387ce3;
}

/* Second button */

.btn-raecon-2 {
  font-family: 'Khand';
  display: inline-block;
  padding: 12px 28px;
  background-color: #387ce3;
  border: 2px solid #387ce3;
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn-raecon-2:hover {
  background-color: #387ce3;
  border-color: #387ce3;
  box-shadow: 0 0 15px #387ce3;
}

.btn-raecon-2:active {
  box-shadow: 0 0 8px #387ce3;
}

/************************************************/
/*                    DROPDOWN                  */
/************************************************/
.raecon-dropdown {
  overflow: visible;
  position: relative;
}

.raecon-dropdown:hover {
  cursor: pointer;
}

.raecon-dropdown__current {
  padding: 12px 12px;
  color: #387ce3;
  border: 2px solid #387ce3;
  border-radius: 8px;
}

.raecon-dropdown__current:hover {
  background-color: transparent;
  box-shadow: 0 0 10px #387ce3;
  color: #387ce3;
}

.raecon-dropdown__menu {
  transition: opacity 0.3s ease-in-out;
  opacity: 0%;
  display: flex;
  flex-direction: column;
  position: absolute;
  pointer-events: none;
  padding-top: 12px;
}

.raecon-dropdown:hover .raecon-dropdown__menu {
  opacity: 100%;
  pointer-events: all;
}

.raecon-dropdown__menu__items {
  border: 2px solid #387ce3;
  border-radius: 8px;
  background-color: #030918;
}

.raecon-dropdown__menu__item {
  width: 45px;
  background-color: transparent;
  padding: 4px 8px;
  text-align: center;
  color: #387ce3;
}

.raecon-dropdown__menu__item:first-of-type {
  padding-top: 8px;
}

.raecon-dropdown__menu__item:last-of-type {
  padding-bottom: 8px;
}

.raecon-dropdown__menu__item:not(.raecon-dropdown__menu__item--selected):hover {
  background-color: #387ce383;
  color: white;
}

.raecon-dropdown__menu__item--selected {
  color: white;
  background-color: #387ce3;
}


/************************************************/
/*                    LINK                      */
/************************************************/
.raecon-link {
  color: #e0e6f0;
  text-decoration: none;
}

.raecon-link--dark {
  color: #030918;
}

.raecon-link:hover {
  color: #387ce3;
}


/************************************************/
/*                    TEXT                      */
/************************************************/
h1 {
  font-size: 72px;
}

h2 {
  font-size: 54px;
}

h3 {
  font-size: 40px;
}

h4 {
  font-size: 32px;
}

h5 {
  font-size: 26px;
}

h6 {
  font-size: 22px;
}

.transparent{
  opacity: 0%;
  width: 0px;
  height:0px;
  overflow: hidden;
}

/************************************************/
/*                    FLEX                      */
/************************************************/
.frow {
  display: flex;
  flex-direction: row;
}

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

.facenter {
  align-items: center;
}

.fjcenter {
  justify-content: center;
}

.fjspacebetween{
  justify-content: space-between;
}

/************************************************/
/*                LOADING SCREEN                */
/************************************************/
.raecon-overlay {
  position: fixed;
  z-index: 1000;
  transition: opacity 0.4s ease-in-out;
  width: 100vw;
  height: 100vh;
  opacity: 0%;
  pointer-events: none;
  background: radial-gradient(circle at center, #030918 0%, #051227 100%);
}

.raecon-overlay--visible {
    opacity: 100%;
}

.raecon-overlay__contents {
    width: fit-content;
    pointer-events: none;
    height: 240px;
    width: 240px;
}

.raecon-overlay__img {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
    animation: loadingScreenLogoAnimation 1.5s ease-in-out forwards;
}

.raecon-overlay__text {
    color: white;
    margin-bottom: 0px;
    margin-top: auto;
    padding-top: 24px;
    display: none;
    animation: loadingScreenTextAnimation 2s ease-in-out forwards;
}

.raecon-overlay--visible .raecon-overlay__img {
    display: inline-block;
}

.raecon-overlay--visible .raecon-overlay__text {
    display: inline-block;
}

.raecon-body{
    opacity: 0%;
    transition: opacity 0.4s ease-in-out;
}

.raecon-body--visible{
    opacity: 100%;
}

.body--collapsed{
    overflow: hidden;
}


/************************************************/
/*          MINIMAL RAEON SCROLLBAR             */
/************************************************/


::-webkit-scrollbar {
  width: 4px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: #387CE3;
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}
/************************************************/
/*                  ANIMATIONS                  */
/************************************************/
@keyframes loadingScreenLogoAnimation {
  0% {
    opacity: 0;
    transform: scale(0.5);
    filter: blur(2px);
  }
  25% {
    opacity: 1;
    transform: scale(1.4);
    filter: blur(0);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
  90% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-260px);
    filter: blur(3px);
  }
}

@keyframes loadingScreenTextAnimation {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
