@font-face {
	font-family: 'Druk Cyr';
	src: url('../fonts/DrukCyr-Medium.ttf');
    font-weight: normal;
}

@font-face {
	font-family: 'Druk Cyr';
	src: url('../fonts/DrukCyr-Medium.woff2');
    font-weight: normal;
}

/* Жирный */
@font-face {
	font-family: 'Druk Cyr';
	src: url("../fonts/DrukCyr-Bold.ttf");
    font-weight: bold;
}

@font-face {
	font-family: 'Druk Cyr';
	src: url("../fonts/DrukCyr-Bold.woff2");
    font-weight: bold;
}



/* Reset CSS */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Simple-Line-Icons', Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Сброс для списков */
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Сброс для ссылок */
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

/* Сброс для кнопок */
button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

button:focus {
    outline: none;
}

/* Сброс для изображений */
img {
    width: 100%;
    height: auto;
    display: block;
}

/* Сброс для заголовков */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

/* Сброс для параграфов */
p {
    margin: 0;
}

/* Сброс для полей ввода */
input, textarea {
    border: none;
    outline: none;
    font: inherit;
}

input:focus, textarea:focus {
    outline: none;
}


.alert {
  padding: 5px;
}

.landing-page {
  background-color: #fff;
  overflow: hidden;
  color: #fff;
  font-weight: 500;
  /*height: 1280px;*/
  height: 100vh;
}

.landing-container {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 1080px;
  width: 100%;
  padding: 60px 80px 210px;
  align-items: center;
}

/*.container{*/
/*  height: 100%;*/
/*  padding: 0 40px 0 40px;*/
/*  margin-left: auto;*/
/*  margin-right: auto;*/
/*}*/

.background-image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.content-wrapper {
  height: 100%;
  position: relative;
  display: flex;
  width: 100%;
  /*max-width: 1582px;*/
  flex-direction: column;
  align-items: center;
}



.divider {
  aspect-ratio: 1000;
  object-fit: contain;
  object-position: center;
  width: 100%;
  align-self: stretch;
  margin-top: 58px;
}

.welcome-section {
  width: 80%;
  backdrop-filter: blur(50px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0);
  display: flex;
  margin: 25vh auto 0 auto;
  /*width: 1181px;*/
  max-width: 100%;
  padding: 13% 10vw;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-height: 650px;
  /*height: 65vh;*/
}

.welcome-content {
  display: flex;
  margin-bottom: -61px;
  width: 780px;
  max-width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.welcome-heading {
  font-family:
    "Druk Cyr",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 50px;
  line-height: 50px;
  letter-spacing: 1px;
  align-self: center;
  font-weight: 500;
  margin: 0;
}

.button-group {
  display: flex;
  margin-top: 135px;
  align-items: stretch;
  gap: 20px;
  font-family:
    "Source Code Pro",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 25px;
  white-space: nowrap;
  flex-wrap: wrap;
}

.action-button {
  flex: 1;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 0;
  width: fit-content;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.button-text {
  border: 1px solid #fff;
  padding: 10px 70px;
  color: #fff;
  display: block;
}

.action-button:last-child .button-text {
  padding: 10px 54px;
}




/*LOGIN*/
/*-____---------------------------*/


.login-form {
  width: 100%;
}

.login-container {
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-of-type {
  margin-bottom: 30px;
}

.form-control {
  width: 100%;
  height: 50px;
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-size: 25px;
  padding: 0 19px;
  font-family: "Source Code Pro", monospace;
  border-radius: 0;
}

.form-control::placeholder {
  color: #fff;
}

/* Стили для выпадающего списка групп */
.groups-dropdown {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 16px;
  padding: 12px 15px;
  border-radius: 8px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.groups-dropdown:focus {
  border-color: rgba(255, 255, 255, 0.8);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.groups-dropdown option {
  background-color: #333;
  color: #fff;
  padding: 10px;
}

/* Ограничение высоты выпадающего списка */
.groups-dropdown {
  max-height: 200px;
  overflow-y: auto;
}

/* Стили для скроллбара в выпадающем списке */
.groups-dropdown::-webkit-scrollbar {
  width: 8px;
}

.groups-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.groups-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.groups-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.groups-dropdown:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

/* Кастомный селект */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select {
  position: relative;
  width: 100%;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-select:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.custom-select.open {
  border-color: rgba(255, 255, 255, 0.8);
}

.custom-select__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  font-family: "Source Code Pro", monospace;
  color: #fff;
  font-size: 25px;
  background-color: transparent;
}

.custom-select__value {
  flex: 1;
  text-align: left;
}

.custom-select__arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fff;
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}

.custom-select__options {
  position: absolute;
  top: 104%;
  left: 0;
  right: 0;
  background: #111;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.custom-select.open .custom-select__options {
  display: block;
}

.custom-select__option {
  padding: 12px 15px;
  text-align: left;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-select__option:last-child {
  border-bottom: none;
}

.custom-select__option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.custom-select__option.selected {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Скроллбар для кастомного селекта */
.custom-select__options::-webkit-scrollbar {
  width: 8px;
}

.custom-select__options::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.custom-select__options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.custom-select__options::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.login-button {
  width: 220px;
  height: 30px;
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  font-family: "Source Code Pro", monospace;
}

.register-link {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
}

.form-label {
  display: none;
}

.alert-danger {
  margin: 10px 0;
}


@media (max-width: 991px) {
  .landing-container {
    max-width: 100%;
    /*padding: 20px 20px 100px;*/
  }

  .content-wrapper {
    max-width: 100%;
    margin-bottom: 10px;
  }

  .navigation {
    white-space: initial;
  }

  .divider {
    max-width: 100%;
    margin-top: 40px;
  }

  .welcome-section {
    /*padding: 69px 20px 100px;*/
    /*margin-top: 40px;*/
  }

  .form-control {
    font-size: 18px;
    height: 40px;
  }

  .groups-dropdown {
    font-size: 18px;
    height: 40px;
    padding: 10px 12px;
    padding-right: 35px;
    background-size: 14px;
    background-position: right 10px center;
    max-height: 160px;
  }

  .custom-select__trigger {
    padding: 10px 12px;
    font-size: 18px;
  }

  .custom-select__options {
    max-height: 160px;
  }

  .custom-select__option {
    padding: 10px 12px;
    font-size: 18px;
  }

  .login-button {
    font-size: 14px;
  }

  .welcome-content {
    margin-bottom: 10px;
  }

  .welcome-heading {
    max-width: 100%;
    font-size: 40px;
    line-height: 44px;
  }

  .button-group {
    max-width: 100%;
    margin-top: 40px;
    white-space: initial;
  }

  .button-text{
    padding: 10px 20px;
  }

  .action-button:last-child .button-text {
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {

  .welcome-section {
    padding: 100px 40px;
  }

  .form-actions {
    margin-top: 70px;
  }
}

@media (max-width: 576px) {

  .welcome-section {
    padding: 73px 23px;
  }

  .form-actions {
    margin-top: 48px;

  }

  .form-control {
      font-size: 10px;
    height: 22px;
  }

  .groups-dropdown {
    font-size: 10px;
    height: 22px;
    padding: 6px 8px;
    padding-right: 25px;
    background-size: 12px;
    background-position: right 6px center;
    max-height: 120px;
  }

  .custom-select__trigger {
    padding: 6px 8px;
    font-size: 10px;
  }

  .custom-select__options {
    max-height: 120px;
  }

  .custom-select__option {
    padding: 6px 8px;
    font-size: 10px;
  }

  .custom-select__arrow {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #fff;
  }

  .login-button {
    width: 100%;
      font-size: 10px;
    height: 22px;
    padding: 4px 0;
    line-height: 1;
  }


}
