@charset "UTF-8";
footer h3, .row .address_contact td, .row .address_contact p, .athletessection .app .caption, .athletessection h3, .words, a, h1 a {
  font-family: Montserrat, sans-serif;
  font-style: normal;
  color: #000;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

header {
  background: url(../assets/background.jpg) no-repeat center top/cover;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

h1 {
  margin: 3% 0 3% 5% !important;
}
h1 a {
  color: #FFF;
  text-decoration: none;
}

@media (max-width: 1400px) {
  .dropdown-menu .dropdown-item {
    text-align: left !important;
  }
  .address_contact p {
    text-align: center;
    width: 500px !important;
  }
  .navbar-nav {
    margin: 3% !important;
  }
  .nav-item a {
    color: #000 !important;
  }
  footer {
    padding: 35% 0px 1% 0px !important;
  }
  footer img {
    width: 15% !important;
    margin: 1% 2%;
  }
}
@media (max-width: 990px) {
  .navbar-nav .nav-item {
    width: 80% !important;
  }
  .address_contact p {
    width: 300px !important;
  }
  nav img {
    visibility: visible !important;
    width: 170px !important;
    margin-top: 47% !important;
    margin-left: 5% !important;
  }
  .app {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .app .card {
    height: 600px;
  }
  .app .col-md-3 {
    float: none;
    margin: 5% 15%;
  }
  .app .card-img-top {
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  footer .fs-4 {
    font-size: 19px !important;
    margin: 0 !important;
  }
  nav {
    margin: 0 !important;
  }
  .words {
    margin: 100% 0 0 5% !important;
  }
  .athletessection h3 {
    margin-left: 10% !important;
  }
  header {
    background: url(../assets/background-mini.jpg) no-repeat center top/cover;
  }
}
@media (min-width: 768px) {
  .row-cols-md-4 > * {
    width: auto !important;
  }
}
@media (max-width: 288px) {
  .row-cols-1 > * {
    -webkit-box-flex: 1 !important;
        -ms-flex: 1 0 0% !important;
            flex: 1 0 0% !important;
  }
}
nav {
  margin: 0 auto;
  display: block;
  margin: 0 0 0 20%;
  font-size: 16px;
}
nav ul li {
  list-style: none;
  border-left: 2px solid #828CE5;
  display: inline-block;
  padding: 0 30px;
  position: relative;
  text-decoration: none;
  font-family: arvo;
}
nav li a:hover {
  color: #828CE5;
}
nav li:hover {
  cursor: pointer;
}
nav ul li ul {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  padding-left: 0;
  left: 0;
  display: none;
}
nav ul li:hover > ul,
nav ul li ul:hover {
  visibility: visible;
  opacity: 1;
  display: block;
  min-width: 250px;
  text-align: left;
  padding-top: 20px;
}
nav ul li ul li {
  clear: both;
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
  border-style: none;
}
nav ul li ul li a:hover {
  padding-left: 10px;
  border-left: 2px solid #828CE5;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
nav a:hover {
  color: #828CE5;
}
nav ul li ul li a {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
nav img {
  visibility: hidden;
  width: 10px;
}

a {
  font-size: 25px;
  font-weight: 400;
  line-height: 100%;
}

.words {
  margin: 20% 0 0 5%;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.athletessection {
  margin-top: 3%;
  background-color: #FFF;
  position: relative;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 970px;
}
.athletessection h3 {
  margin-bottom: 2%;
  margin-left: 30%;
}
.athletessection hr {
  width: 50%;
  border: 2px solid darkblue;
  margin: 0 auto;
}
.athletessection .app {
  margin-right: -15px;
  margin-left: -15px;
  overflow: hidden;
  padding: 60px 0;
}
.athletessection .app .card {
  width: 100%;
  max-width: 260px;
  height: 550px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; /* Для корректного распределения внутренних элементов */
}
.athletessection .app .card-img-top {
  width: 250px;
  height: 330px;
  -o-object-fit: cover;
     object-fit: cover;
}
.athletessection .app .card-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch; /* Растянуть все элементы внутри .card-body */
  padding: 20px;
}
.athletessection .app card-title, .athletessection .app .card-text {
  margin-bottom: 10px;
}
.athletessection .app p {
  margin: 0 0 10px;
}
.athletessection .app .col-md-3 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  float: left;
  width: 280px;
  margin-bottom: 5%;
}
.athletessection .app hr {
  width: 30%;
  margin: 2% 0;
  border: none;
  height: 1px;
  background-color: #000;
}
.athletessection .app .caption {
  font-size: 12px;
  font-weight: 400;
  line-height: 30px;
  text-align: left;
  -webkit-box-align: left;
      -ms-flex-align: left;
          align-items: left;
  padding: 20px 5px;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  margin-top: 20px;
}
.row .col-xs-12,
.row .col-lg-6 {
  padding: 10px;
}
.row iframe {
  width: 100%;
}
.row .address_contact {
  margin: 0 10%;
}
.row .address_contact p {
  text-align: center;
}
.row .address_contact td {
  padding: 10px;
}

footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-image: url(../assets/footer-bg.png);
  background-size: cover;
  width: 100%;
  background-repeat: no-repeat;
  padding: 15% 0px 1% 0px;
}
footer img {
  width: 10%;
  margin: 1% 2%;
}
footer h3 {
  color: #FFF;
  margin: 3% 0 0 30%;
}