/* Global Styles */
body {
    font-size: 16px;
    background-color: #f5f5f5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

p {
    font-family: 'Lato', sans-serif;
}

.container {
    max-width: 1180px;
    margin: auto;
    background-color: #FDFFFC;
}

a:hover {
    color: #FF9F1C !important;
}

/* NavBar Styles */
.bg-body-tertiary {
    background-color: #f5f5f5 !important;
    padding: 0;
}

.container-fluid {
    margin: auto;
    max-width: 1180px;
    background-color: #FDFFFC !important;
    border-bottom: 1px #dee2e6 solid;
}

.nav-link {
    color: #011627;
}

.nav-link:hover {
    color: #FF9F1C;
}

.video {
    width: 100%;
    height: 300px;
}

/* Carousel Styles */
.carousel-caption h1 {
    background-color: rgba(1, 22, 39, 0.826);
    color: #fdfffc;
}

.carousel-caption {
    bottom: 10rem;
}

.btn-outline {
    background-color: #e71d36;
    color: #fdfffc;
    margin-top: 100px;
    padding: 10px 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.btn-outline:hover {
    background-color: #FF9F1C;
    color: #fdfffc !important;
    margin-top: 100px;
    padding: 10px 20px;
}

span i {
    margin-left: 10px;
}

/* Body Styles */
.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.img-container {
    flex: 0 0 48%;
    box-sizing: border-box;
    padding: 10px;
}

.img-container:nth-child(1) {
    flex-basis: 60%;
}

.img-container:nth-child(2) {
    flex-basis: 40%;
}

.img-container-inner {
    width: 100%;
    margin-bottom: 20px;
}

.img-container-inner img {
    max-width: 100%;
    height: auto;
}

.img-container-adults {
    flex: 0 0 48%;
    box-sizing: border-box;
    padding: 10px;
}

.adults-image img {
    height: 255px !important;
}

.img-container-adults:nth-child(1) {
    flex-basis: 25%;
}

.img-container-adults:nth-child(2) {
    flex-basis: 50%;
}

.img-container-adults:nth-child(3) {
    flex-basis: 25%;
}

.img-container-adults {
    flex: 0 0 48%;
    box-sizing: border-box;
    padding: 10px;
}

.childrens-image img {
    height: 260px;
}

.img-container-children {
    flex: 0 0 48%;
    box-sizing: border-box;
    padding: 10px;
}

.img-container-children:nth-child(1) {
    flex-basis: 60%;
}

.img-container-children:nth-child(2) {
    flex-basis: 40%;
}

.bjj-timetable {
    border: 1px #011627 solid;
}

.welcome {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.cta {
    background-color: #011627;
    color: #FDFFFC;
    margin-top: 40px;
}

.cta p {
    margin-top: 40px;
}

.btn-prices {
    background-color: #011627 !important;
    color: #fdfffc;
    padding: 10px 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.btn-prices:hover {
    background-color: #FF9F1C !important;
    color: #fdfffc !important;
    padding: 10px 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.btn-cta {
    background-color: #e71d36;
    color: #fdfffc;
    padding: 10px 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.btn-cta:hover {
    background-color: #FF9F1C;
    color: #fdfffc !important;
    padding: 10px 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.cta-1 {
    background-color: #011627;
    color: #FDFFFC;
}

.circle img {
    border-radius: 50%;
    padding: 40px;
    max-height: 320px;
}

.circle {
    display: flex;
    justify-content: center;
}

.cta-right {
    padding: 40px 40px 40px 0;
}

.further-links img {
    max-width: 90%;
    margin-top: 20px;
}

.further-links {
    text-align: center;
    margin-top: 40px;
}

.further-links h3 {
    margin-top: 20px;
}

.footer .bg-body-tertiary {
    background-color: black !important;
}

.copyright {
    text-align: center;
    padding: 0 0 20px 0;
}

.facilities {
    padding-top: 40px;
}

.facilities h2 {
    text-align: center;
}

.error-404 {
    background-image: url(../images/404.webp);
    height: 400px;
    background-position: center;
    width: 600px;
    margin: auto;
    margin-top: 40px;
    background-repeat: no-repeat;
}

.error-404 h2 {
    text-align: center;
    padding-top: 20px;
}

.error-404-h4 {
    text-align: center;
    font-size: 150%;
}

/* Table Styles */
.adults-timetable thead {
    background-color: #011627;
    color: #FDFFFC;
}

.table .gi {
    background-color: #f5f5f5;
}

.adults-timetable {
    margin-top: 40px;
}

.adults-timetable h2 {
    text-align: center;
    margin-bottom: 40px;
}

.childrens-timetable {
    margin-top: 40px;
}

.childrens-timetable h2 {
    text-align: center;
    margin-bottom: 40px;
}

.childrens-timetable thead {
    background-color: #FF9F1C;
    color: #FDFFFC;
}

.form-border {
    padding: 15px;
}

.contact-form {
    border-top: 1px solid #dee2e6;
}

.contact-form h3 {
    padding-top: 40px;
}

.contact-form iframe {
    margin-top: 40px;
    width: 100%;
    height: 300px;
}

.contact-form .form-group {
    margin-top: 20px;
}

.btn-contact {
    margin-top: 10px;
    background-color: #011627;
    color: white;
}

.btn-contact:hover {
    margin-top: 10px;
    background-color: #FF9F1C;
    color: white;
}

.pricing {
    margin-top: 40px;
}

.pricing-card {
    width: 300px;
    border: 1px solid #ccc;
    padding: 20px;
    margin: auto;
    text-align: center;
    margin-top: 20px;
    background-color: #f5f5f5;
}

.pricing-card h3 {
    color: #333;
}

.pricing-card p {
    color: #777;
}

.pricing-card .price {
    font-size: 24px;
    color: #222;
    margin: 20px 0;
}

.pricing-card .button {
    background-color: #011627;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
}

.pricing-card .button:hover {
    background-color: #FF9F1C;
    color: white;
}


/* Tablet CSS */
@media (max-width: 850px) {
    .carousel-caption {
        bottom: 6rem !important;
    }

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

    .img-container {
        height: 13vh;
        overflow: hidden;
    }

    .img-container-adults img {
        height: 200px !important;
    }

    .childrens-image img {
        height: 200px;
    }
}

/* Mobile CSS */
@media (max-width: 480px) {
    .carousel-caption {
        bottom: 1rem !important;
    }

    .carousel-caption h1 {
        font-size: 100%;
    }

    .btn-outline {
        margin-top: 0px !important;
        padding: 5px 10px;
        font-size: 80%;
    }

    span i {
        margin-left: 5px
    }

    .cta-right {
        padding: 30px;
    }

    .cta-right h3 {
        text-align: center;
    }

    .flex-container {
        display: block;
    }

    .img-container {
        height: 100%;
    }

    .img-container-adults {
        text-align: center;
    }

    .img-container-children {
        text-align: center;
    }

    .error-404 {
        width: 350px;
    }
}

.nav-link.active {
    background-color: #FF9F1C;
    border-radius: 5px;
}

.further-links {
    margin-top: 10px;
}

.contrast {
    font-weight: 500 !important;
    color: #222 !important;
}

.children-header {
    color:#011627;
}

.no-underline {
    text-decoration: none;
    color: #222;
}

.contrast1 a {
    text-decoration: none;
    color: #e71d36;
}