@font-face {
    /* // название шрифта(чтобы не запутаться лучше указать название папки со шрифтом)  */
    font-family: "Geologica-Regular"; 
    /* // адрес шрифта и тип  */
    src: url("../font/Geologica/static/Geologica-Regular.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: 400; 
}

@font-face {
    font-family: "Geologica-Bold"; 
    src: url("../font/Geologica/static/Geologica-Bold.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: 700; 
}

@font-face {
    font-family: "Geologica-Medium"; 
    src: url("../font/Geologica/static/Geologica-Medium.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: 500; 
}

@font-face {
    font-family: "Geologica-Light"; 
    src: url("../font/Geologica/static/Geologica-Light.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: 300; 
}


h1, h2, b{
    color: #00026f!important;
    font-family: "Geologica-Bold";
}

h3, h4, h5, h6, i{
    font-family: "Geologica-Medium";
}

p{
    font-family: "Geologica-Light";
}

a, button{
    font-family: "Geologica-Regular"!important;
}

.row ul{
    margin-left: 20px !important;
}

footer{
    background-color: #0074c9;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 50px;
}

section{
margin-top: 55px
}

a{
    text-decoration: none!important;
}

.logo{
    width: 70px;
    border-radius: 50px;
    padding: 5px;
    background-color: white
}

.bg-blue{
    background-color: #0074c9;
}

.bg-white{
    background-color: white;
}

.mb-30{
    margin-bottom: 30px;
}

.mb-50{
    margin-bottom: 50px;
}

.mb-20{
    margin-bottom: 20px;
}

.mt-20{
    margin-top: 20px!important;
}

.mt-30{
    margin-top: 30px!important;
}

.mt-50{
    margin-top: 50px!important;
}

.logo-link{
    font-family: "Geologica-Medium";
    color: white;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
}

.main-slider{
    border-radius: 25px;
    max-height: 595px;
}

.feedback-btn{
    padding: 5px 15px 8px 15px;
    border: none;
    color: white;
    background-color: rgb(175, 6, 33) !important;
    border-radius: 8px;
}

.title-last-news{
    font-size: 25px;
    font-weight: bold;
}

.preview-main-news{
    width: 100%;
    height: 300px;
    background-color: gray;
    border-radius: 15px;
    background-size: cover;
}

.preview-news{
    width: 100%;
    height: 150px;
    background-color: gray;
    border-radius: 15px;
    background-size: cover;
}

.secondary-news-title{
    font-size: 18px;
    font-weight: bold;
}

.read-more{
    text-decoration: none;
    color: #0074c9;
    font-weight: bold;
    cursor: pointer;
    transition: all 500ms ease;
}

.read-more:hover{
    border-radius: 10px;
    padding: 10px;
    border: 5px solid #0074c9;
}

.president-img{
    width: 100%;
    border-radius: 30px;
    object-fit: contain;
    border: 3px solid #00026f;
}

.president-title{
    margin-top: 20px;
    padding: 9px;
    background-color: #00026f;
    width: fit-content;
    color: white;
    border-radius: 15px;
}

.img-treners{
    width: 100%;
    border-radius: 15px;
}

.icons{
    width: 20px;
    height: auto;
    margin: 10px;
}

.color-black{
    color: black!important
}

.color-white {
    color: white;
}

.footer-title{
    font-weight: bold;
    font-size: 20px;
}

.last-news{
    margin-top: 50px!important;
    margin-bottom: 50px;
}

.last-news-img{
    width: 100%;
    height: 300px;
    background-color: gray;
    border-radius: 15px;
    background-size: cover;
}

.news-card{
    padding-top: 10px;
    margin-bottom: 20px;
    transition: all 300ms ease; 
}

.news-card:hover{
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
}

.news-card-img{
    width: 100%;
    height: 250px;
    background-color: gray;
    border-radius: 15px;
    background-size: cover;
}

.date{
    color: gray;
}

.more-btn{
    padding: 10px 30px 10px 30px!important;
}

.news-detal-img{
    max-height: 700px;
    border-radius: 30px;
    padding: 5px;
    margin: auto;
    object-fit: contain;
}

.calendar-icon{
    max-width: 20px;
    margin-right: 15px;
}

.main-title{
    margin-bottom: 25px;
}

.btn-join{
    padding: 8px 30px 10px 30px!important;
}

.img-event{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.event-calendar-icon{
    width: 35px;
    margin-right: 10px;
}

.event-info{
    padding: 15px;
    border: 1px solid #80808075;
    border-radius: 15px;
}

.date-result span{
    padding: 10px;
    font-family: "Geologica-Bold";
    color: #00026f;
    border-radius: 10px;
    border: none;
    background-color: #0074c96b;
}

.result-table-tatle{
    font-family: "Geologica-Bold";
    color: black;
}

.result-point{
    padding: 10px;
    border-radius: 15px;
    border: 2px solid #0074c9;
    transition: all 300ms ease;
}

.result-point:hover{
    box-shadow: 5px 6px 5px 2px rgb(47 63 147 / 20%)
}

.result-card{
    padding-top: 10px;
    padding-right: 25px!important;
    border-radius: 15px;
    border: 2px solid #0074c9;
}

.result-card-title{
    padding: 15px;
    border-radius: 15px;
    font-family: "Geologica-Bold";
    background-color: #0074c9;
    color: white;
}

.gallery-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    padding: 10px 0px 10px 0px;
}

.trainer-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 300px;
    border-radius: 30px;
    border: 3px solid #00026f;
}

.trainer-name{
    font-family: "Geologica-Bold";
    color: #00026f;
    font-size: 20px;
}

.trainer-card{
    margin: 25px;
}

.img-history{
    width: 100%;
    height: auto;
    padding: 10px;
    object-fit: cover;
    max-width: fit-content!important;
}

.pagination-ul{
    justify-content:center!important;
}

.pagination-li{
    padding: 7px 15px 7px 15px;
    border-radius: 10px;
    margin: 0px 5px 0px 5px;
}

.pagination-li a{
    color: #0074c9;
}

.pagination-li-active{
    padding: 7px 15px 7px 15px;
    border-radius: 10px;
    margin: 0px 5px 0px 5px;
    background-color:#0074c9;
}

.pagination-li-active a{
    color:white!important;
}

.video-main{
    max-width: 500px!important;
}

@media (max-width: 1400px) {
    /*
    Стили для устройств, у которых ширина viewport меньше или равно 1400 пикселей,
    но больше 990 пикселей.
    Эти стили будут использованы для планшетов и ноутбуков с низким разрешением
    */
    
    
    
  }

  @media (max-width: 992px) {
    /*
    Стили для устройств, у которых ширина viewport меньше или равно 990 пикселей,
    но больше 770 пикселей.
    Эти стили подойдут для некоторых мобильных устройств и планшетов
    */
    
    .news-detal-img{
        max-height: 700px;
        width: 100%;
        border-radius: 30px;
        padding: 0px;
        margin: auto;
        object-fit: contain;
    }
  }

@media (max-width: 770px) {
    .navbar-toggler-icon{
        width: 1em!important;
    }
    .logo{
        width: 50px!important;
    }
    .logo-link{
        font-size: 16px!important;
    }
    .result-table-tatle{
        margin: 10px 0px 10px 0px!important;
    }
    .date-result{
        margin: 10px 0px 10px 0px!important;
    }
    
    .news-detal-img{
        max-height: 700px;
        width: 100%;
        border-radius: 30px;
        padding: 0px;
        margin: auto;
        object-fit: contain;
    }
  }