/*////////////////////////////////////////*/
/* HEADER */
/*////////////////////////////////////////*/
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1.8rem 3.2rem;
  height: 9rem;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 999;
}

.logo-text {
  font-size: 2.4rem;
}
.header.sticky {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 999;
}
.main-nav__list {
  list-style: none;
  display: flex;
  gap: 5rem;
}
.main-nav__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.main-nav__item--column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.main-nav__item span {
  font-size: 1.6rem;
}
.menu-icon {
  font-size: 3rem;
}
/*////////////////////////////////////////*/
/* HERO section */
/*////////////////////////////////////////*/
.hero-section-background {
  height: 100vh;
  background-image: linear-gradient(
      rgba(34, 34, 34, 0.1),
      rgba(34, 34, 34, 0.1)
    ),
    url(/img/hero-image-medium.jpg);
  background-size: cover;
  background-position: right;
  position: relative;
}
.hero__nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: absolute;
  top: 35%;
  width: 40%;
  font-size: 3rem;
  list-style: none;
}
.hero__nav-item {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 2rem;
  text-align: center;
}

/*////////////////////////////////////////*/
/* HISTORY section */
/*////////////////////////////////////////*/
article {
  margin-bottom: 6.4rem;
}
article p {
  text-indent: 4.8rem;
}
article p:not(:last-child) {
  margin-bottom: 0.4rem;
}
.entrance-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.2rem;
}

/*////////////////////////////////////////*/
/* TRANSPORT section */
/*////////////////////////////////////////*/
.transport-section p {
  margin-bottom: 6.4rem;
  text-indent: 4.8rem;
}
.transport-card {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.4s;
  width: 80%;
  background-color: #fff;
  display: grid;
  line-height: 1;
}
.transport-card-left {
  justify-self: end;
}
.transport-card:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.06);
}
.card-img,
.page-details-item__img {
  width: 100%;
  height: 100%;
  display: block;
}
.transport-card-container {
  padding: 3.2rem 4.8rem 4.8rem 4.8rem;
}
.card-btn {
  align-self: center;
  margin-top: 2.4rem;
}
.card-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  text-align: center;
}
.card-attributes {
  list-style: none;
  gap: 2rem;
}
.call-us-info {
  text-align: center;
  padding-top: 4.6rem;
  font-size: 2.4rem;
}

/*////////////////////////////////////////*/
/* STO section */
/*////////////////////////////////////////*/
.STO-section .card-btn{
  padding: 1rem 3rem 0;
  text-align: center;
}

/*////////////////////////////////////////*/
/* PARKING section */
/*////////////////////////////////////////*/
.parking-section--text {
  text-align: center;
}

/*////////////////////////////////////////*/
/* LOCATION section */
/*////////////////////////////////////////*/
.location-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 9.8rem 3.2rem 9.6rem;
  border-top: 1px solid #d3d3d3;
}
.location-section .heading-secondary {
  grid-column: 1 / -1;
  justify-self: center;
}
.location-adress-card {
  background-color: #d3d3d3;
  padding: 6.4rem;
  box-shadow: 0 12px 24px rgba(2, 15, 22, 0.615);
  margin: 0 2rem;
}
.location-adress-info {
  margin-bottom: 2rem;
}

/*////////////////////////////////////////*/
/* FOOTER */
/*////////////////////////////////////////*/
.footer {
  padding: 2rem 2.4rem;
  border-top: 1px solid #d3d3d3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.footer-text {
  font-size: 1.2rem;
  color: #666;
  text-transform: uppercase;
  width: 30vw;
}
.footer .link.footer-link {
  color: #666;
  font-size: 1.6rem;
}

/*////////////////////////////////////////*/
/* MODAL WINDOW */
/*////////////////////////////////////////*/
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  width: 85rem;
  background-color: #f3f3f3;
  padding: 1rem;
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.5s;
}
.modal-img {
  width: 100%;
  display: block;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  transition: all 0.5s;
}
.btn--close-modal {
  content: "&times;";
  font-family: inherit;
  color: #0c1736;
  position: absolute;
  top: 0.5rem;
  right: 2rem;
  font-size: 4rem;
  cursor: pointer;
  border: none;
  background: none;
}
.hidden {
  visibility: hidden;
  opacity: 0;
}

/*////////////////////////////////////////*/
/* Button-up */
/*////////////////////////////////////////*/
.btn-up {
  position: absolute;
  left: 20px;
  bottom: 40px;
  z-index: 10;
  border: none;
  background: #0c1736;
  font-family: inherit;
  border-radius: 50%;
  height: 8.6rem;
  width: 8.6rem;
  font-size: 4.4rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.8s;
}
.btn-up-link {
  display: flex;
}
.btn-up-icon {
  color: #fff;
}
.btn-up:hover {
  background-color: #2e427a;
}
.btn-up.btn-up-sticky {
  position: fixed;
  z-index: 999;
}

/*////////////////////////////////////////*/
/* PRELOADER */
/*////////////////////////////////////////*/
.preloader {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #e8eaf0;
  z-index: 1001;
}
.preloader__row {
  position: relative;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
  text-align: center;
  animation: preloader-rotate 2s infinite linear;
}
.preloader__item {
  position: absolute;
  display: inline-block;
  top: 0;
  background-color: #2e427a;
  border-radius: 100%;
  width: 35px;
  height: 35px;
  animation: preloader-bounce 2s infinite ease-in-out;
}
.preloader__item:last-child {
  top: auto;
  bottom: 0;
  animation-delay: -1s;
}
@keyframes preloader-rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes preloader-bounce {
  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}
.loaded_hiding .preloader {
  transition: 0.3s opacity;
  opacity: 0;
}
.loaded .preloader {
  display: none;
}

/*////////////////////////////////////////*/
/* Mobile navigation */
/*////////////////////////////////////////*/
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}
.icon-mobile-nav {
  font-size: 4.8rem;
  color: #0c1736;
}
.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/*////////////////////////////////////////*/
/* Page-details */
/*////////////////////////////////////////*/
.page-details {
  display: grid;
  column-gap: 3.2rem;
  row-gap: 6.4rem;
}
.page-details-microbus {
  grid-template-columns: repeat(4, 1fr);
}
.page-details-bus {
  grid-template-columns: repeat(3, 1fr);
}
.page-details-card {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(2, 15, 22, 0.615);
  position: relative;
  height: 60rem;
}
.page-details-card-bus {
  height: 65rem;
}
.page-details-item {
  padding-bottom: 8rem;
}
.page-details-item__card {
  padding: 1.6rem 1.6rem 3.2rem;
  gap: 1.2rem;
}
.page-details-list {
  list-style: none;
  gap: 0.5rem;
}
.page-details-item__list-item {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.page-details-item__card-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}
.border-img {
  width: 100%;
}
.page-details-item__img {
  display: block;
  padding: 1rem;
  margin: 0 auto;
  object-fit: cover;
  aspect-ratio: 3/2;
}
.page-details-item__card-btn {
  text-align: center;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}
.page-details-btn.btn {
  border-radius: 6px;
  padding: 1rem 2rem;
}
.return-home {
  text-align: center;
  margin-top: 5rem;
}

/*////////////////////////////////////////*/
/* Information */
/*////////////////////////////////////////*/
.information-row {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 6.4rem;
}
.information-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.2rem;
}
table {
  border-collapse: collapse;
}

th,
td {
  border: 2px solid #0c1736;
  padding: 0 2rem;
  text-align: left;
}
th {
  font-weight: 400;
}

tbody th {
  background-color: #2e427a;
  color: #fff;
  width: 40%;
  height: 5rem;
}
.information-item__card {
  padding: 1rem 1rem 1rem;
}
/*////////////////////////////////////////*/
/* STO deatails page */
/*////////////////////////////////////////*/
.STO-details {
  margin-top: 5rem;
}
.STO-details h1 {
  margin-bottom: 8rem;
}
.STO-details .container h3 {
  margin-bottom: 2rem;
  margin-top: 8rem;
}
.STO-details li {
  padding-left: 4.8rem;
  margin-bottom: 0.4rem;
}
.STO-gallery {
  padding: 5rem 0;
}

/*////////////////////////////////////////*/
/* GosTO */
/*////////////////////////////////////////*/
.GosTO-section h3 {
  margin-bottom: 2rem;
  margin-top: -2rem;
}
.GosTO-section li {
  padding-left: 4.8rem;
  margin-bottom: 0.4rem;
}
.GosTO-section .strong-emphasis-container {
  margin: 6rem 0 4rem;
  text-align: center;
}
.GosTO-section .card-btn {
  padding: 3rem 3rem 0;
  text-align: center;
}
#zapros-by,
#download {
  text-decoration: underline;
}
#zapros-by:hover,
#download:hover {
  color: #2e427a;
}
.qr-gallery {
  padding-top: 3rem;
  display: flex;
  gap: 2rem;
  width: fit-content;
  margin: 2rem auto 3rem;
}
.qr-gallery img {
  height: 100%;
  width: 30rem;
}
.location-container {
  padding: 2rem;
}
.location-container .location-maps {
  height: 50rem;
  max-width: 70rem;
  margin: 0 auto;
}
