@import 'normalize.css';
@import 'fonts.css';

html {
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
}

*,
*::before,
::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: Roboto, sans-serif;
  background-color: #FDFAF7;
  max-width: 1440px;
  max-height: 100vh;
  color: #151D40;
}

img,
svg {
  max-width: 100%;
  max-height: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

p {
  line-height: 150%;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1 1 auto;
  padding-top: 24px;
  position: relative;
}

nav {
  margin: 0 auto;
  width: 95%;
  height: auto;
  flex: none;
  order: 0;
  flex-grow: 0;
}

@media (max-width: 768px) {
  nav {
    width: 90%;
    margin: 0 auto;
  }
}

section {
  color: #151D40;
}

.container-fluid {
  background: rgba(249, 238, 228, 0.9);
  border: 1px solid #304598;
  border-radius: 10px;
  height: 72px;
}


.navbar-nav a:hover {
  border-bottom: 2px solid #F46D38;
  color: #304598;
}

.btn-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  gap: 8px;
  width: 86px;
  height: 40px;
  border: 1px solid #304598;
  border-radius: 5px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.btn-nav:hover {
  border: 2px solid #F46D38;
  color: #304598;
}

.btn-nav-reg {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 136px;
  height: 40px;
  background: #F46D38;
  border-radius: 5px;
  color: aliceblue;
  flex: none;
  order: 1;
  flex-grow: 0;
}

.btn-nav-reg:hover {
  border: 2px solid #F46D38;
  color: #304598;
}

.btn-blue {
  background: #304598;
  color: aliceblue;
}

.btn-blue:hover {
  border: 2px solid #F46D38;
  color: #304598;
}

.btn-reg {
  background: #F46D38;
  color: aliceblue;
}

.btn-reg:hover {
  background: #304598;
  color: aliceblue;
  ;
}

.btn-fff {
  border: 1px solid #304598;
  color: #151D40;
}

.btn-fff:hover {
  background: #304598;
  color: aliceblue;
}

.btn-orange {
  background: #F46D38;
  color: aliceblue;
  display: block;
}

/* Button */
.btn-orangebord {
  border: 1px solid #F36D38;
  border-radius: 5px;
}

.btn-orangebord:hover {
  border: 1px solid #304598;
  border-radius: 5px;
  color: #304598;
}

.btn-orange:hover {
  border: 2px solid #F46D38;
  color: #304598;
}

.info-img {
  position: absolute;
  left: 85%;
}

h2 {
  font-size: 48px;
  font-weight: bold;
}

h3 {
  font-size: 40px;
  font-weight: bold;
}

h4 {
  font-size: 36px;
  font-weight: bold;
}

h5 {
  font-size: 20px;
  font-weight: bold;
}

.test-h5 {
  font-size: 16px;
  color: #151D40;
}

.test-h6 {
  font-size: 20px;
  color: #151D40;
}

.test-p {
  font-size: 16px;
  color: #151D40;
}

.test-p16b {
  font-size: 16px;
  color: #000;
  font-weight: bold;
}

.test-p16 {
  font-size: 16px;
  color: #000;
}

.test-p18 {
  font-size: 18px;
  color: #151D40;
}

.test-p18b {
  font-size: 18px;
  color: #151D40;
  font-weight: bold;
}

.test-p24b {
  font-size: 24px;
  color: #304598;
  font-weight: bold;
}

.test-p20b {
  font-size: 20px;
  color: #304598;
  font-weight: bold;
}

.test-14b {
  font-size: 14px;
  font-weight: bold;
}

.test-14 {
  font-size: 14px;
}

.txt-about {
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  color: #151D40;
  margin: 0 auto;
  line-height: 140%;
  width: 500px;
  height: 68px;
}

p .txt-primary {
  font-size: 18px;
}

.info-h2 {
  color: #304598;
}

.info-left p {
  font-size: 20px;
}

.txt-blue {
  color: #304598;
  font-size: 16px;
  font-weight: bold;
}

.txt-orang {
  color: #F46D38;
}

.txt-accent {
  color: #F46D38;
  font-size: 24px;
  font-weight: bold;
}


.yellow-warning {
  background-color: #FEF3F2;
  /* Light yellow background */
  padding: 3px 5px;
  border-radius: 5px;
  color: #000;
}

.bright-warning {
  background-color: #E0E7FF;
  /* Light yellow background */
  padding: 3px 5px;
  border-radius: 5px;
  color: #000;
}

.success-warning {
  background-color: #ECFDF3;
  /* Light yellow background */
  padding: 3px 5px;
  border-radius: 5px;
  color: #000;
}

.test-10-l {
  font-size: smaller;
  margin-left: 24px;
}

.btn-test {
  color: #304598;
  text-align: start;
  font-size: small;
}

.btn-test:hover {
  color: #F46D38;
}

.card {
  border: none;
}

.t-center {
  padding-left: 200px;
  padding-right: 200px;
}

.my-swiper {
  border: none;
}

.footer {
  background: #151D40;
  height: 160px;
}

.t-footer a {
  text-decoration: none;
}

.t-footer a:hover {
  color: #F46D38;
}

.footer-hr {
  height: 4px;
  color: #ADBEFF;
}

.btn-outline-dark {
  border: 1px solid #304598;
  color: #304598;
  border-radius: 5px;
  padding: 12px 24px;
}

.btn-outline-dark:hover {
  background: #304598;
}

.btn-card-edu {
  border: 1px solid #304598;
  color: #304598;
  border-radius: 5px;
}

.btn-card-edu:hover {
  background: #304598;
  color: #FDFAF7;
}

/* Задает положения для картинок на главной странице */
.img-container {
  position: relative;
  max-width: 100%;
  width: 40vw;
  /* Задает ширину контейнера в зависимости от ширины окна */
}

.info-img-1 {
  width: 100%;
  height: auto;
}

.info-img-2 {
  position: absolute;
  top: -5%;
  /* Отступ от верхней части первой картинки */
  right: -15%;
  /* Отступ от правой части первой картинки */
  width: 30%;
  /* Размер второй картинки относительно первой */
  height: auto;
}

.info-img3 {
  position: relative;
  z-index: 1;
  width: 20%;
  top: -40%;
  right: +10%;
}

.row-img3 {
  margin-bottom: -8rem;
}

.img-platform4 {
  width: 20vh;
}

.info-img4 {
  width: 40vh;
  height: 40vh;
  position: relative;
  top: -40%;
}

.info-img5 {
  width: 40vh;
  height: 40vh;
  position: relative;
  left: 30%;
}

@media (max-width: 768px) {
  .img-container {
    position: relative;
    width: 70vw;
    /* Изменение размера контейнера на мобильных устройствах */
  }

  .info-img-2 {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 30%;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }

  .info-img3 {
    width: 30%;
    top: -20%;
  }

  .info-img4 {
    width: 50%;
  }

  .row-img3 {
    margin-bottom: -3rem;
  }

  .img-platform4 {
    width: 20%;
  }

}

.img-container2 {
  position: relative;
  max-width: 100%;
  width: 100vw;
  /* Задает ширину контейнера в зависимости от ширины окна */
}

.ratio {
  z-index: 0;
}

.info-img-3 {
  position: absolute;
  z-index: 1;
  top: -20%;
  right: -5%;
  width: 20%;
}

.info-img-4 {
  position: absolute;
  z-index: 1;
  top: -20%;
  right: -5%;
  width: 20%;
}

.clients {
  position: relative;
  top: -40%;
}

@media (max-width: 768px) {
  .info-img-3 {
    right: 0%;
    width: 20%;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.t-card {
  width: 14em;
}

.t-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #F46D38;
  cursor: pointer;
}

@media (max-width: 768px) {
  .t-card {
    width: 100%;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.t-card2 {
  width: 16em;
}

@media (max-width: 768px) {
  .t-card2 {
    width: 100%;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.t-card3 {
  width: 24em;
}

@media (max-width: 768px) {
  .t-card3 {
    width: 100%;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

@media (max-width: 768px) {
  .effect-text-three {
    text-align: center;
  }
}

.card-about {
  border: 1px solid #304598;
  border-radius: 5%;
  margin-left: 0em;
}

.bgr-about {
  background: #151D40;
}

.predmet {
  border: 3px solid #304598;
  border-radius: 10px;
  padding: 1em;
}

.predmet:hover {
  background: rgba(244, 109, 56, 0.2);
}

.lang-dialog {
  border: 1px solid #304598;
  border-radius: 5px;
}

.form-control {
  border: 1px solid #304598;
  border-radius: 5px;
}

.form-select {
  border: 1px solid #304598;
  border-radius: 15px;
}

.quatr-chec {
  display: flex;
  position: relative;
}

.quatr-check:hover {
  border: 1px solid #304598;
  background: rgba(244, 109, 56, 0.2);
  border-radius: 5px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.checkbox-label input[type="checkbox"] {

  transform: scale(1.5);
  /* Увеличивает размер флажка */
  position: absolute;
  top: 1em;
  /* Отступ от верхнего края */
  right: 3%;
  /* Отступ от правого края */
}

.lang-check {
  display: flex;
  border: 1px solid #304598;
  border-radius: 5px;
  padding: 5px;
  position: relative;
}

.lang-check:hover {
  background: rgba(244, 109, 56, 0.2);
}

.lang-label {
  cursor: pointer;
}

.lang-label input[type="checkbox"] {
  transform: scale(1.5);
  /* Увеличивает размер флажка */
  position: absolute;
  top: 1em;
  /* Отступ от верхнего края */
  right: 3%;
  /* Отступ от правого края */
}

.img-contur {
  position: relative;
}

.img-label {
  position: absolute;
  top: -30px;
  /* Отступ от верхнего края */
  right: -30px;
  /* Отступ от правого края */
}

.checkbox-modo {
  cursor: pointer;
}

.checkbox-modo input[type="checkbox"] {
  margin-left: 7em;
  /* Расстояние между текстом и чекбоксом */
  transform: scale(1.5);
  /* Увеличивает размер флажка */
}

.txt-price {
  color: #304598;
  font-size: 48px;
}

.price-q {
  border: 1px solid #151D40;
  border-radius: 5px;
}

.subscription-card {
  border: 1px solid #151D40;
  border-radius: 5px;
}

.hr-q {
  /* Dark blue */
  border-top: 3px solid #353F66;
}

.list-group-item {
  border: none;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background: rgba(244, 109, 56, 0.2);
}

.login-contetn {
  position: relative;
  margin: auto;
}

.login-title {
  /* Section Title */

  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
  gap: 24px;
}


.log-in {

  /* Heading/Desktop/H2 */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-size: 3em;
  line-height: 120%;
  /* identical to box height, or 58px */
  text-align: center;
  margin-top: 1em;

  color: #304598;
}

@media (max-width: 768px) {
  .log-in {
    font-size: 2em;
    line-height: 120%;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.log-r1 {
  margin-top: 10em;
}

@media (max-width: 768px) {
  .log-r1 {
    margin-top: 12em;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.log-r2 {
  margin-top: 1em;
}

@media (max-width: 768px) {
  .log-r2 {
    margin-top: 12em;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.log-r3 {
  margin-top: 2em;
}

@media (max-width: 768px) {
  .log-r3 {
    margin-top: 6em;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.log-r4 {
  margin-top: 10em;
}

@media (max-width: 768px) {
  .log-r4 {
    margin-top: 16em;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.reg-r1 {
  margin-top: 14em;
}

@media (max-width: 768px) {
  .reg-r1 {
    margin-top: 16em;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.reg-r2 {
  margin-top: 14em;
}

@media (max-width: 768px) {
  .reg-r2 {
    margin-top: 16em;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.reg-r3 {
  margin-top: 2em;
}

@media (max-width: 768px) {
  .reg-r3 {
    margin-top: 6em;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.reg-r4 {
  margin-top: 10em;
}

@media (max-width: 768px) {
  .reg-r4 {
    margin-top: 16em;
    /* Увеличение размера второй картинки на мобильных устройствах */
  }
}

.calendar {
  display: flex;
  justify-content: space-around;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.day {
  text-align: center;
  font-size: 14px;
  width: 45px;
  /* Фиксированная ширина */
  height: 70px;
  /* Фиксированная высота */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.day span:first-child {
  font-size: 12px;
  color: #808080;
}

.day span:last-child {
  font-weight: bold;
  color: #353F66;
  /* Цвет для значений дат */
}

.day.selected {
  background-color: #3A5A99;
  border-radius: 8px;
  color: #ffffff;
}

.day.selected span:first-child,
.day.selected span:last-child {
  color: #ffffff;
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 24px;
  color: #ff6f3c;
  font-weight: bold;
}

.stat-label {
  font-size: 14px;
  color: #888;
}

.stat-box .online {
  font-size: 24px;
  color: #28a745;
  font-weight: bold;
}

.stat-box .online-label {
  font-size: 16px;
  color: #000;
  margin-top: 5px;
}

.divider {
  font-size: 2rem;
  color: #888;
}

.my-border {
  border-bottom: 2px solid #888;
  /* Устанавливает нижний бордер толщиной 2px и черного цвета */
  border-top: none;
  /* Убирает верхний бордер */
  border-left: none;
  /* Убирает левый бордер */
  border-right: none;
  /* Убирает правый бордер */
  padding: 0px 0px 24px;
}

.txt-input {
  width: 560px;
  height: 48px;

  background: #FFFFFF;
  /* Main blue */
  border: 1px solid #304598;
  border-radius: 5px;
}

.selectable-block {
  position: relative;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.selectable-block:hover {
  border-color: #007bff;
}

.selectable-block .checkmark-circle {
  position: absolute;
  top: 10%;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.selectable-block.selected .checkmark-circle {
  background-color: #007bff;
  border-color: #007bff;
}

.checkmark-circle i {
  color: #fff;
  visibility: hidden;
}

.selectable-block.selected .checkmark-circle i {
  visibility: visible;
}

.selectable-block img {
  width: 50px;
  height: 50px;
}

.text-muted.strike {
  text-decoration: line-through;
  margin-right: 5px;
}