/* Основные стили */
@font-face {
  font-family: 'Athelas';
  src: url('static/css/fonts/athelas/Athelas-Regular.woff2') format('woff2'),
       url('static/css/fonts/athelas/Athelas-Regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Athelas';
  src: url('static/css/fonts/athelas/Athelas-Italic.woff2') format('woff2'),
       url('static/css/fonts/athelas/Athelas-Italic.woff')  format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Athelas';
  src: url('static/css/fonts/athelas/Athelas-Bold.woff2') format('woff2'),
       url('static/css/fonts/athelas/Athelas-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Athelas';
  src: url('static/css/fonts/athelas/Athelas-BoldItalic.woff2') format('woff2'),
       url('static/css/fonts/athelas/Athelas-BoldItalic.woff')  format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

body {
    margin: 0;
    font-family: "Athelas", sans-serif;
    height: 100%;
    overflow: auto;
    overscroll-behavior: none;
    transition: opacity 0.5s ease-in;
}

body.loaded {
    opacity: 1;
}

html, body {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
    margin: 0;
    padding: 0;
    height: 100%;
}

.content {
    min-height: calc(100vh + 1px);
    padding-bottom: 80px;
    /*padding-top: 110px;*/
    flex: 1;
    overflow: auto;
    box-sizing: border-box;
    background-color: #12151A;
    height: 100%;
    z-index: 10;
}

.content::after {
  content: '';
  position: fixed;
  inset: 0;
  background: #12151A;           /* ваш основной фон */
  filter: url('#noise');      /* накладываем шум */
  pointer-events: none;
  z-index: -1;
}

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


/* Шапка */
#top-header {
    /*position: fixed; !* Шапка прокручивается вместе с контентом *!*/
    width: 100%;
    height: 110px;
    background-color: transparent;
    border-bottom: 1px solid currentColor;
    /*z-index: 100;*/
    color: #d2d2d2;
    transition: border-color 0.3s ease;
    z-index: 10;
}

/*.header-content {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    height: 13%;*/
/*    !*height: 110px; !* Высота шапки *!*!*/
/*    background-color: #38383e; !* Фон шапки *!*/
/*    color: inherit; !* Цвет текста в шапке *!*/
/*}*/

.header-content {
    flex: 1;
    flex-direction: row;
    gap: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    /*margin-top: 36px;*/
    /*height: 110px; !* Высота шапки *!*/
    background-color: transparent;
    color: #d2d2d2;

    -webkit-font-smoothing: subpixel-antialiased;
    text-rendering: geometricPrecision;
    text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.6),
    0  1px 0 rgba(0,   0,   0,   0.3);

    font-size: 40px;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: "Athelas", sans-serif;
    margin-top: 4px;
}

.centered-logo {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #12151A;
    color: #d2d2d2;
    -webkit-font-smoothing: subpixel-antialiased;
    text-rendering: geometricPrecision;
    text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.6),
    0  1px 0 rgba(0,   0,   0,   0.3);
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: "Athelas", sans-serif;
}

.text-test {
    color: #d2d2d2;
    font-weight: bold;
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60%;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #12151A;
    border-top: 4px solid #d2d2d2;
    border-radius: 100%;
    animation: spin 1s linear infinite;
}

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