/* fonts ******************************************/

.david-libre-regular {
    font-family: "David Libre", serif;
    font-weight: 400;
    font-style: normal;
}

.david-libre-medium {
    font-family: "David Libre", serif;
    font-weight: 500;
    font-style: normal;
}

.david-libre-bold {
    font-family: "David Libre", serif;
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: "David Libre", serif;
    font-weight: 500;
    font-style: normal;
}

/* general classes *******************************/

html body {
    max-width: 100%;
}

.text-center {
    text-align: center;
}

html {
    background-color: #faf5ee;
}

.text-theme-color {
    color: #6464aa;
}

.text-theme-color-red {
    color: #c80000;
}

.current-selected {
    color: #c80000;
    text-decoration: underline;
}

.text-decoration-none {
    text-decoration: none;
}

.xx-large {
    font-size: xx-large;
}

.container {
    width: 90%;
    min-height: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* nav bar ***************************************/

.nav-bar .logo img {
    position: relative;
    transform: translateX(50%);
    right: 50%;
    left: 50%;
    max-width: 200px;
    max-height: 200px;
}

.nav-bar .links ul li a {
    font-size: 1.5em;
    white-space: nowrap;
}

.nav-bar .links-block {
    padding: 20px 20px;
}

.nav-bar .links ul {
    list-style: none;
    display: flex;
}

.nav-bar .links {
    background-color: #FAF5EE;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 25px 0;
}

.nav-bar .links-block hr {
    border: 1px solid #6464aa;
}

.nav-bar .links nav {
    margin: 25px 0;
}

@media (min-width: 1101px) {
    .nav-bar .links ul {
        list-style: none;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0;
        gap: 75px;
        margin: 0;
    }

    .nav-bar .menu-btn {
        display: none;
    }

    .nav-bar .links-block hr {
        width: 90%;
        border: 0;
        margin: 0 auto;
        border: 1px solid #6464aa;
    }
}

@media (max-width: 1100px) {
    .nav-bar .links ul {
        flex-direction: column;
        justify-content: center;
        padding: 0;
        gap: 10px;
        margin: 0;
    }

    .nav-bar .menu-btn {
        display: block;
        position: relative;
        right: 5%;
        min-width: 50px;
        min-height: 50px;
    }
}

.nav-bar ul li a {
    position: relative;
}

.nav-bar .badge {
    padding: 5px;
    position: absolute;
    top: -8px;
    left: -30px;
    rotate: 320deg;
    font-size: small;
    color: #faf5ee;
    background-color: rgba(200, 0, 0, 0.8);
    padding: 5px 5px;
    border-radius: 12px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* home page ************************************/

.home .home-gallery ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 1000px) {
    .home .home-gallery ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 999px) {
    .home .home-gallery ul img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

.home .home-gallery ul li img {
    max-width: 100%;
    border-radius: 8px;
}

.home .home-gallery ul li img:hover,
.home .home-gallery ul li p:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.home .home-gallery li p {
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: auto;
    box-sizing: border-box;
}

/* schedule page ********************************/

.schedule img {
    max-width: 100%;
    height: auto;
    border-radius: 5.8%;
    background-color: #faf5ee;
    display: block;
}

/* contact page ********************************/
.contact form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 18px;
    margin: auto;
    max-width: 450px;
}

.contact form label {
    margin-bottom: 15px;
}

.contact form span {
    line-height: 1;
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact input,
.contact textarea,
.contact button {
    font: inherit;
    color: inherit;
    border: 0;
    outline: 0;
}

.contact input,
.contact textarea,
.contact button {
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #7d82bf;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #6464aa;
}

.contact form .button {
    margin: auto;
    border: 0;
    display: block;
    font-weight: bold;
    color: white;
    background: #6464aa;
}

.contact form .button:hover {
    cursor: pointer;
}

.contact p a {
    color: inherit;
    text-decoration: none;
}

/* branches page ********************************/

.branches .branches-gallery ul li {
        position: relative;
        justify-content: center;
        display: flex;
        justify-content: center;
}

@media (min-width: 1300px) {
    .branches .branches-gallery ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }
}

.branches .branches-gallery ul {
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
    gap: 10px;
}


.branches .branches-gallery ul li img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    z-index: 1;
}

.branches .branches-gallery ul li img {
    width: 100%;
    height: auto;
    border: 2px solid #FAF5EE;
    border-radius: 8px;
    object-fit: cover;
}

.branches .branches-gallery ul .text-center {
    position: absolute;
    top: 50%;
    left: 50%;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    text-decoration: none;
    z-index: 1;
}

.branches .branches-gallery ul li .background {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 70%;
    bottom: 10%;
    background: #faf5ee80;
    border-radius: 8px;
    border: 1px solid #0c0f2f;
    z-index: 1;
}

/* footer ****************************************/

footer a {
    text-decoration: none;
    color: #6464aa;
}

/* accesssibility ********************************/

.accessibility .email,
.accessibility .phone {
    color: inherit;
    text-decoration: none;
    direction: ltr;
}

/* activies page ********************************/

.activities .activities-gallery ul {
    list-style: none;
    display: grid;
    gap: 10px;
    padding: 0;
}

@media (min-width: 1000px) {
    .activities .activities-gallery ul {
        grid-template-columns: repeat(auto-fill, minmax(40%, 1fr))
    }
}

@media (max-width: 999px) {
    .activities .activities-gallery ul {
        grid-template-columns: 1fr;
    }
}

.activities .activities-gallery ul li img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* club page ************************************/

.club .no-decoration {
    color: inherit;
    text-decoration: none;
}

.club ul {
    list-style: none;
    padding: 0;
}