:root {
  --bs-body-bg: #ecf0ff;
  --bs-body-font-size: 1.1rem !important;
  --bs-link-color-rgb: 13, 110, 253 !important;
  --bs-link-hover-color-rgb: 221, 53, 84 !important;
}

a:not(.btn, .nav-link, .text-decoration-none, .navbar-brand, .specialty-item, .dropdown-item, .link-primary, .link-underline-light) {
  color: #3c54b1;
  font-weight: 500;
  text-decoration: underline !important;
  text-underline-offset: 0.25em !important;
  text-decoration-color: RGBA(var(--bs-link-color-rgb), 0.25) !important;
}

a:not(.btn, .nav-link, .text-decoration-none, .navbar-brand, .specialty-item, .dropdown-item, .link-primary, .link-underline-light):hover {
  color: #dd3554;
  --bs-link-color-rgb: var(--bs-link-hover-color-rgb) !important;
  text-decoration-color: RGBA(var(--bs-link-hover-color-rgb), 1) !important;
}

.form-control, .form-select {
  background-color: #fff!important;
}
body{
  font-family: 'Manrope', sans-serif;
  color: #0f1b4b;
  position: relative;
}
.hero-block{
  background: url("../bg.svg") center center no-repeat;
  background-size: cover;
}

/*hero gallery*/
.hero-block {
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

@media (max-width: 991px){
  .hero-block{
    height: 100%;
  }
  header{
    /*position: relative!important;*/
  }
}

/* Анимируемый блок  в HERO*/
.loop-wrapper {
  position: relative;
  /*height: 100%;*/
  /*overflow: hidden;*/
  animation: scrollUp 80s linear infinite;
}

/* Две колонки */
.gallery {
  display: flex;
  justify-content: center;
  gap: .5rem;
}

/* Клон располагаем под первой галереей */
.gallery.clone {
  position: absolute;
  top: 100%;
  left: 0;
}

/* Колонки */
.gallery .col {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* Сдвиг правой колонки */
.gallery .col-right {
  margin-top: 150px; /* пол высоты картинки = 200px / 2 */
}

/* Картинки */
.gallery .col img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 1rem;
}

/* Анимация полного блока */
@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

header {
  width: 100%;
}

.faculty-box li {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.nav .nav-item a {
  display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: var(--bs-nav-link-font-size);
  font-weight: var(--bs-nav-link-font-weight);
  color: var(--bs-nav-link-color);
  text-decoration: none;
  background: 0 0;
  border: 0;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}




/*MASONRY GALLERY*/
.gallery-masonry {
  column-count: 4;
  column-gap: 1rem;
}
.gallery-masonry a {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
}
.gallery-masonry a img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-masonry img {
  width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 1rem;
}


@media (min-width: 992px) {

}
@media (max-width: 992px) {

}
@media (max-width: 768px) {
  .gallery-masonry {
    column-count: 2;
    column-gap: 1rem;
  }
}
@media (max-width: 576px) {

}

