:root {
    --nav-top-margin: 54px;
}

body {
    font-family: Roboto, Arial, sans-serif;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

p {
    margin-bottom: 0.3rem;
}

#content_container {
    display: flex;
    flex-direction: column;
    margin-top: var(--nav-top-margin);
    min-height: calc(100vh - var(--nav-top-margin));
}

#content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    /*padding-top: 1.5rem;*/
}

#mainNav {
    background-color: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(5px);
}

#mainNav .nav-link {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}

#nav_profile #profile_menu {
    position: absolute;
}

#header_logo_and_text_wrapper {
    /*height: 100vh;*/
}

#bg_cover {
    width: 100%;
    /*background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));*/
}

#background_sub {
    /*top: -50px;*/
    z-index: -1;
    max-height: 120vh;
}

#header_text_wrapper {
    z-index: 1;
    height: 100%;
}

#main_header_name {
    font-size: 2.3em;
    font-weight: bold;
}

.bg-orange {
    background-color: rgb(226, 123, 12);
}

#teach_block {
    background-image: url("/images/background.jpeg");
    background-size: cover;
    background-position: center;
}

.bg_dark_cover {
    z-index: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}

html[data-bs-theme="dark"] .bg_dark_cover {
    background-image: -webkit-linear-gradient(top, rgba(33, 37, 41, 1), rgba(0, 0, 0, 0.5));
}

html[data-bs-theme=""] .bg_dark_cover {
    color: white;
    background-image: -webkit-linear-gradient(top, rgba(33, 37, 41, 1), rgba(0, 0, 0, 0.5));
}

#teach_block .puck {
    width: 50px;
}

#schedule_table {
    width: 100%;
}

#schedule_table th {
    background: #dc3545;
}

#schedule_table td,
#schedule_table th {
    border: 1px solid lightgrey;
    padding: 10px 20px;
    text-align: center;
}

#logo_main {
    height: 400px;
}

#logo_footer {
    height: 200px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

html * {
    scroll-margin-top: 100px;
}

#contact_with_map {
    position: relative;
    min-height: 400px;
    height: 35vh;
    width: 100%;
}

#mobile_map_touch_helper {
    color: black;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: -100;
    display: flex;
    text-align: center;
    opacity: 0;
    transition: all ease-in-out 0.3s;
    justify-content: center;
    align-items: center;
}

#mobile_map_touch_helper.touched {
    opacity: 1;
    display: flex;
    z-index: 100;
}

#mobile_map_touch_helper:before {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    content: '';
    background: lightgrey;
    opacity: 0.7;
}

#mobile_map_touch_helper_text {
    z-index: 11;
}

#contacts_map_abs {
    bottom: 0;
    left: 10%;
    z-index: 1;
}

#contacts_map_abs a {
    color: #0d6efd
}

.trainer_div {
    /*border: 1px solid grey;*/
    border-radius: 5px;
    /*box-shadow: 0 0 3px 0 #f7002e;*/
}

.trainer_div img {
    max-height: 400px;
    max-width: 100%;
}

.trainer_div .description {
    font-size: 14px;
}

.profile_icon {
    cursor: pointer;
    width: 45px;
    height: 45px;
    background: #212529;
    /*border: 2px solid red;*/
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 0 8px 2px #f7002e;
}

.profile_menu {
    right: 0;
    top: 105%;
    background: #4a4a4a;
    /*border: 2px solid white;*/
    box-shadow: 0 0 3px 1px #b1b1b1;
}

#mainNav .profile_menu {
    display: none;
    z-index: -1;
    opacity: 0;
    transition: all ease-in-out 500ms;
}

#mainNav .profile_menu.show {
    display: block;
    z-index: 100;
    opacity: 1;
}

#nav_phone {
    font-size: 16px !important;
}

nav {
    transition: all ease-in-out 300ms;
    max-height: 100vh;
}

#contact_us_section {
    overflow: hidden;
    height: 700px;
    background: url("/images/background2.jpeg");
    background-position: bottom;
    background-size: cover;
}

#contact_us_section .bg_dark_cover {
    background-image: -webkit-linear-gradient(top, rgba(33, 37, 41, 0.75), rgba(0, 0, 0, 0.5));
}

/*.trainer_overlay {*/
/*    position: absolute;*/
/*    bottom: -50px;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    background: -webkit-linear-gradient(bottom left, rgba(33, 37, 41, 1), rgba(33, 37, 41, 1) 30%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0) 100%), -webkit-linear-gradient(bottom right, rgba(33, 37, 41, 1), rgba(33, 37, 41, 1) 30%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0) 100%);*/
/*    border-radius: 30%;*/
/*}*/

.trainer_div_wrapper {
    margin-bottom: 10px;
}

.trainer_div_wrapper img {
    transition: all ease-in-out 300ms;
}

.trainer_div_wrapper:hover img {
    transform: scale(1.05);
}
