@import url('fonts.css');

:root {
    --primary: #2c2c2c;
    --primary-light: #3c3c3c;
    --secondary: #1563d8;
    /* 3779df */
}

/* html {
    font-size: clamp(14px, 2.5vw, 16px);
} */

h6 {
    color: var(--secondary);
    font-size: 2.5rem;
    font-family: 'babas';
    margin: auto;
    font-weight: bold;
}

h1 {
    color: var(--secondary);
    font-size: 2.3rem;
    font-family: 'openSans';
    margin: 0 0 0 0;
    font-weight: 600;
    text-align: center;
}

h2,
th {
    color: white;
    font-family: 'openSans';
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    /* margin: 0; */
}

h3,
td {
    color: white;
    font-family: 'openSans';
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

h4 {
    color: white;
    font-family: 'openSans';
    font-size: 1.5rem;
    font-weight: 400;
    /* margin: 0; */
}

p {
    /* font-size: 1rem; */
    line-height: 1.8;
    text-align: center;
}

a {
    text-decoration: none;
    text-wrap: nowrap;
}

small {
    color: white;
    font-size: 1rem;
    text-wrap: nowrap;
}

.white-txt {
    color: white;
}

.dark-txt {
    color: black;
}

.blue-txt {
    color: var(--secondary);
}

.arrow {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.top-line {
    width: 100%;
    margin: 0;
}

.h-line {
    flex-grow: 1;
    /* width: 100%; */
    margin: none;
    /* border-bottom: solid thin white; */
}

.white {
    border-bottom: solid thin white;
}

.dark {
    border-bottom: solid thin var(--primary);
}

body {
    width: 100vw;
    height: fit-content;
    margin: 0;
    font-family: 'openSans';
    /* background-color: var(--primary);
    background-color: white; */
    background-image: url(/assets/background-1.png);
    background-position: center;
    overflow-x: hidden;
    /* background-repeat:repeat-y; */
    position: absolute;
}

.show-mobile {
    display: none;
}

#open-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    margin-left: 0;
    cursor: pointer;
    width: fit-content;
}

#navbar img {}

#close-menu-btn {
    display: none;
    background: none;
    border: 0;
    margin: 0;
    padding: 1em 2em;
    cursor: pointer;
}

.gap {
    gap: 2rem;
    padding-block: 2rem;
}

.show-on-mobile {
    display: none;
}


/* /////////////index page ///////////*/
#top {
    width: 100vw;
    height: fit-content;
    background-color: var(--primary);
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#location-contact-bckgrnd {
    width: 100%;
    display: flex;
    justify-content: center;
    border: none;
    /* background-color: var(--primary); */
    /* border-bottom: solid thin white; */
}

#location-contact {
    width: 90%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    /* height: fit-content; */
    padding: 0.5em 0;
    /* border-bottom: solid thin white; */
    align-items: center;

}

#location-img {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
    gap: 0.3rem;
}

#location-img-container {
    /* margin-right: 0.5rem; */
    display: flex;
    align-items: center;
    justify-content: center;
}

#location-text {
    display: flex;
    align-items: center;
}

#phone-img {
    display: flex;
    justify-content: space-between;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
    gap: 0.3rem;

}

#phone-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

#phone-number {}

#socials-icons {
    display: flex;
    justify-content: space-between;
    width: fit-content;
    flex-grow: none;
    gap: 0.5rem;
}

#socials-icons a {
    height: fit-content;
    width: fit-content;
    z-index: 10;
}

#socials-icons>a:hover {
    background-color: black;
}

.socials-img-contaier {
    height: fit-content;
}

#navbar {
    height: 90px;
    width: 90%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo-title {
    height: 100%;
    margin: 0;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}


#logo-title,
#logo,
#logo img,
#logo-title h6 {
    pointer-events: none;
}

#navbar>.title-logo-btn {
    width: auto;
    height: 85%;
    display: block;
    z-index: 2;
}

#logo {
    height: 100%;
    margin-right: 1rem;

}

#logo img {
    height: 100%;
    width: auto;
}


#nav-locations {
    /* position: absolute; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
    height: 50%;
    overflow: hidden;
    background-color: var(--primary);
}

#nav-locations ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

#nav-locations li {
    display: flex;
}

.nav-btns {
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2em 1.5em;
    color: white;
}

.nav-btns:hover {
    background-color: #5a5a5a;
}

.contact-us-btn {
    background-color: var(--secondary);
    text-wrap: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2em;
    padding: 0.2em 1.5em;
    color: white;
}

.contact-us-btn:hover {
    background-color: #1c77ff;
}

#overlay {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    inset: 0;
    z-index: 999;
    height: 100vh;
    display: none;
}

footer {
    /* position: absolute; */
    width: 100%;
    background-color: var(--primary);
    height: fit-content;
    display: flex;
    justify-content: center;


}

#footer {

    width: 80%;
    margin: 3em 0;
    display: flex;
    flex-direction: column;
}

#footer-title {
    width: 100%;
}

#footer-content {
    width: 100%;
    /* margin: 3em 0; */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

#footer-address {}

address {
    display: flex;
    flex-direction: column;
    margin-block: 2rem;
}

address a {
    display: inline-block;
}

#footer a {
    justify-content: start;
    height: auto;
}

#footer-nav-opentimes {
    width: auto;
    display: flex;

    margin-block: 2rem 2rem;
    gap: 5rem;
}

#footer-nav-opentimes small,
#footer-nav-opentimes a {
    margin-block: 2px;
}

#footer-nav {
    display: flex;
    flex-direction: column;
}

#footer-opentimes-container {
    display: flex;
    flex-direction: column;
}

#footer-opentimes-container .h-line {
    flex-grow: 0;
}

#footer-opentimes {
    display: flex;
    flex-direction: column;
}

.footer-opentimes-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}


#footer-map {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: auto;
    border: 0;
}

#footer-map iframe {
    width: 250px;
    height: 250px;
    border-radius: 10px;
    border: 0;
}

#main-content {
    width: 100%;
    /* min-height: 100%; */
    /* height: fit-content; */
    position: relative;
    background-color: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding-bottom: 1000px; */
    /* padding-bottom: 1000px; */
}

/* /////////////index page ///////////*/

/* ////////////home page////////////////// */

#banner {
    position: relative;
    width: 100%;
    display: flex;
    max-height: auto;
    background-color: none;
    margin: 0;
    padding: 0;
}

#banner img {
    width: 100%;
    height: auto;
}

#title-box {
    position: absolute;
    top: 38%;
    left: 6%;
    width: 30%;
    height: 33%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: baseline;
    padding: 0 2%;
    background-color: #202020;
    opacity: 90%;

    display: none;
}

#title-box #title {
    color: var(--secondary);
    margin: none;
    /* font-size: 20px; */
    text-wrap: nowrap;
    font-weight: bold;
}


#title_box_buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 30%;
}

.title-box-button {
    border: solid var(--secondary);
    color: white;
    width: 30%;
    height: 100%;

}

a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

#contact-us-button {
    background-color: var(--secondary);
    opacity: 1;
}

.h-line-short {
    width: 35%;
    margin: none;
    border-bottom: solid thin var(--primary);
}

.subheading-title-bar {
    width: 90vw;
    /* margin: 2rem 0; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: inherit;
}

.subheading {
    width: fit-content;
    padding: 0 3%;
}

#welcome {
    min-width: 70%;
    max-width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;

}

#classes {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #3c3c3c;
    background-image: url('/assets/background.svg');
    width: 100%;
    padding-block: 2rem;
}

.no-background {
    background-color: #00000000;
}

#classes p,
#classes h4 {
    text-align: start;
    margin: 0;
    color: white;

}

#classes p {
    font-weight: lighter;
}

#classes h4 {
    /* font-weight: bolder; */
}

#classes-cards-wrapper {
    width: 100vw;
    max-width: 100vw;
    display: flex;
    justify-content: center;
}

#classes-cards {
    width: 90vw;
    max-width: 90vw;
    height: fit-content;
    margin: 0;

    display: flex;
    flex-wrap: wrap;

    /* overflow-x: scroll;
    scroll-snap-type: x mandatory; */


}

#classes-cards>* {
    scroll-snap-align: start;
}

#classes-cards>:last-child {
    scroll-snap-align: end;
}

/* #classes-cards>:last-child {
    border-right: 0;
}

#classes-cards>:first-child {
    border-left: 0;
} */

#adults-mixed-card {
    height: fit-content;
}

.class-card-container {
    box-sizing: border-box;
    border: solid 1rem #00000000;
    min-width: 33.33%;
    max-width: 33.33%;
    height: 100%;

    /* flex-grow: 1; */
    /* min-height: 100%;
    max-height: 100%; */

}

.class-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid thin #535353;
    /* background-color: var(--primary); */
    background-color: #2c2c2cec;
    padding-bottom: 1rem;
    width: 100%;
    box-shadow: 0 0 5px var(--primary);

    /* height: 100%; */
    /* flex-grow: 1; */
}



.class-card:hover {
    /* border: solid black; */
    /* background-color: #3c3c3c; */
}

.class-card h4 {
    margin: 0;
}

.class-img-container {
    /* display: flex;
    align-items: center;
    justify-content: center; */
    /* padding: 2rem; */
    width: 100%;
    height: auto;
}

.class-card img {
    width: 100%;
    height: auto;
}

.class-card-title-text {
    width: 90%;
    padding-block: 1rem;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
    /* align-items: stretch; */
    /* min-height: 5rem; */
}



#beginners-title-img {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#beginners-title {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 10px;
    margin-bottom: 20px;
}

#class-beginners-container {
    width: 90%;
    box-sizing: border-box;
    height: fit-content;
    display: flex;
    justify-content: center;
    padding: 1rem;

}

#class-beginners {

    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem;
    gap: 2rem;
    border: solid thin #535353;
    background-color: #2c2c2cec;
    box-shadow: 0 0 5px var(--primary);
}

#beginners-img-container {
    width: 100%;
    height: auto;
}

#beginners-img-container img {
    width: 100%;
    height: auto;
}

#beginners-text {
    display: flex;
    width: 40%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

#beginners-text:last-child {
    font-weight: bolder;
}

.book-now {
    color: white;
    background-color: var(--secondary);
    padding: 0.8rem 1.2rem;
    border-radius: 2px;
}

.book-now:hover {
    background-color: #1c77ff;
}



.class-card-more-info {
    position: absolute;
    transform: translateY(-4rem);
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    width: 22vw;
    padding: 2rem;
    gap: 2rem;
    border-radius: 10px;
    background-color: var(--primary);
    box-shadow: 0 0 20px #5a5a5a;
    /* opacity: 0; */
    /* scale: 0; */
    /* pointer-events: none; */
    display: none;
    transform-origin: center;
    /* scale: 0; */
    /* box-shadow: 0 0 5px rgb(255, 255, 255); */

}

.show-class-more-info {
    display: flex;
    animation-duration: 0.5s;
    animation-name: grow;
}



.hide-class-more-info {
    /* display: none; */
    /* display: flex; */
    /* display: none; */
    animation-duration: 0.5s;
    animation-name: shrink;
}

@keyframes grow {
    0% {
        scale: 0;
        /* opacity: 0; */
    }

    100% {
        scale: 1;
        /* opacity: 1; */
    }
}

@keyframes shrink {
    0% {
        scale: 1;
        /* opacity: 1; */
    }

    100% {
        scale: 0;
        /* opacity: 0; */
        /* display: none; */
    }
}

.class-card-more-info h4 {
    margin: 0;
}

.classes-more-info-img-container {
    width: 15vw;
}

.class-card-more-info p {
    color: white;
    margin: 0;
}

.classes-more-info-img-container img {
    width: 100%;
    height: auto;
}




#slideshow-section {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 2rem;
    /* box-shadow: 0 0 5px rgb(255, 255, 255); */
}

#slideshow-container {
    position: relative;
    width: 100vw;
}

#coaches-slideshoww {

    display: flex;
    /* height: fit-content; */
    /* border: solid 2px black; */
    /* gap: 1em; */
    width: 100vw;
    /* overflow-x: scroll; */
    overflow-x: scroll;
    /* overflow-y: hidden; */
    scroll-snap-type: x mandatory;

    box-sizing: border-box;
    scrollbar-width: none;
}

#coaches-slideshoww::-webkit-scrollbar {
    display: none;
}

.slide-container {
    /* position:absolute; */
    display: flex;
    flex-shrink: 0;
    /* inset: 0; */
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    width: 100vw;

    height: fit-content;
    /* border: solid blue; */
    /* margin-bottom: 60px; */
    scroll-snap-align: start;
}

.slide-container:last-child {
    scroll-snap-align: end;
    /* Align the last slide to the end */
}

.slide-container h2,
.slide-container h4,
.slide-container p {
    color: black;
    margin: 5px 0;
    text-align: left;
}

.slide-txt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 30%;
    height: 100%;
    margin: 0 20px;
}

.slideshow-img {
    height: 25rem;
    margin: 0 2rem;
}

.slideshow-img>img {
    height: 100%;
    width: auto;
}

.slideshow-button {
    position: absolute;
    z-index: 3;
    background: none;
    top: 50%;
    transform: translateY(-50%);
    height: 5rem;
    width: 5rem;
    padding: 0;
    border: 0;

}

.slideshow-button svg {
    width: 100%;
    height: 100%;
}

.arrow {
    stroke: var(--primary);
    fill: none;
    width: 40px;
}

.circle {
    stroke: var(--primary);
    fill: none;
}

.slideshow-button:hover .arrow {
    /* stroke: #fff; */
}

.slideshow-button:hover .circle {
    fill: #3c3c3c4b;
}

.slideshow-button.prev {
    left: 1rem;
}

.slideshow-button.next {
    right: 1rem;
}


/* ////////////home page////////////////// */


#timetable {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: white; */

}

/* /////////////////////////////////////////classes page //////////////////////////////////// */

.classes-page {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#classes-section {
    width: 100vw;
}

#classes-page-section {
    width: 90%;
}

#classes-section h2 {
    color: var(--secondary);
}

#classes-section h4 {
    color: black;
}

.class-section {
    display: flex;
    justify-content: space-between;
}

.img-right {
    display: flex;
    gap: 5rem;
}

.classes-title-text {
    height: fit-content;
    width: 60vw;
    text-align: center;
}

.classes-img {
    width: 20rem;
    height: auto;
}

.classes-img img {
    width: 100%;
    height: auto;
}


#prices-section {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: white; */
    margin-bottom: 60px;
}

#prices-section h2 {
    color: var(--secondary);
}

#prices-section #prices {
    width: 100vw;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(4, auto);
    grid-template-rows: repeat(1, auto);
    /* align-items: center; */
    /* justify-content: space-evenly; */
    justify-content: space-evenly;
}

.prices-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
    width: 15rem;
    background-color: #3c3c3c;
    border-radius: 10px;
}

.prices-img-container {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.prices-img-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.prices-txt {
    width: 100%;
    text-align: center;
}

#timetable-section {
    background-color: #3c3c3c;
}

#timetable-mobile {
    display: none;
}

.timetable {
    border-collapse: collapse;
    border: none;
    max-width: 70%;
    min-width: 70%;
    height: 30vh;
    margin-bottom: 3rem;
}

.timetable th {
    color: var(--secondary);
}

.timetable td {
    color: white;
    /* font-size: 18px; */
}

/* Only vertical gridlines */
.timetable th,
.timetable td {
    border-right: 1px solid black;
    padding: 1rem 1rem;
    text-align: center;
    border-top: none;
    border-bottom: none;
}

.timetable thead {
    border-bottom: 1px solid black;
}

/* Remove left border on first column to avoid outer border */
.timetable th:first-child,
.timetable td:first-child {
    border-left: none;
}

.timetable th:last-child,
.timetable td:last-child {
    border-right: none;
}

/* /////////////////////////////////////////classes page //////////////////////////////////// */


/* ///////////   info page   ////////////////// */

.info-page {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    flex-direction: column;

}

#equipment-section h2 {
    color: var(--secondary);
}

#equipment-section {
    /* position: sticky; */
}

#equipment-section p {

    margin: 0;
}


.equip-cards-container {
    width: 95%;
    height: fit-content;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    /* margin-top: 2rem; */
    /* margin-left: 2rem;
    margin-right: 2rem; */
}

.equip-card {
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: fit-content;
    align-items: center;
    justify-content: center;
}

.equip-img-container {
    width: 12rem;
    aspect-ratio: 1/1;
}

.equip-img-container img {
    height: 100%;
    width: 100%;
}

.equip-txt p {
    margin-top: 2rem;
}

#FAQ-section {
    background-color: #3c3c3c;
    height: fit-content;
    /* position: sticky; */
}

#FAQ-section h2 {
    color: white;
}

.faqs-container {
    display: flex;
    width: 90%;
    min-height: fit-content;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

/* .faq {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: fit-content;
    padding: 0 30px;
    background-color: var(--primary);
    border-radius: 20px;
    margin: 2rem 0;
} */

.faqs-container details {
    background: var(--primary);
    padding: 0 2rem;
    border-radius: 1.5rem;
    overflow: hidden;
    width: 100%;
}

.faqs-container details * {
    margin: 0;
}

.faqs-container h4 {
    padding-block: 1.5rem;
}

.faqs-container p {
    color: white;
    padding: 1rem;
    text-align: start;
}

.faq summary {
    list-style-position: outside;
    display: flex;
    align-items: center;
    justify-content: cent;
    gap: 0.5rem;
    width: 100%;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: "\27A4";
    /* font-size: 2rem; */
    /* align-items: centre; */
    /* line-height: 2rem; */
    /* display: inline-block; */
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

details[open] summary::before {
    transform: rotate(90deg);
}

#spacer {
    display: flex;
    z-index: 200;
    background-color: #0066cc;
    /* padding: 300px; */
    width: 100%;
    height: 100px;

    position: relative
}

/*///////////// info page ///////// */

/*///////////////////////// fighter page ///////////////////////////*/
#fighter-1 {
    width: 100%;
    height: fit-content;
}

#fighter-1-title {
    position: absolute;
    height: 100%;
    z-index: 100;
}

#fighter-1 h1 {
    font-size: 15rem;
    width: 100%;
    color: white;
    font-family: 'Times New Roman', Times, serif;
    /* position: sticky; */
    /* top: 200px; */
    /* left: auto; */
    /* margin-right: auto; */
}

#fighter-1 img {
    width: 100%;
}








/*///////////////////////// fighter page ///////////////////////////*/

/* ///////////////////////////// conact page //////////////////////*/
#contact-page {
    width: 100%;
    height: auto;
    /* margin:60px 60px 60px 60px; */
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color: white; */
}

#contact-form {
    display: flex;
    width: 50vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.form-field {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;

}

#message,
textarea {
    padding-bottom: 5rem;
    text-wrap: wrap;
}

.required-asterisk {
    color: red;
}

#contact-form button {
    background: #0066cc;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ///////////////////////////// conact page //////////////////////*/


/* ////////////////////// blog posts section  //////////////////////*/
#blog-posts-section {

    /* grid-template-columns: auto auto auto auto; */
    /* column-count: 4; */
    /* position: absolute; */
    /* left: 50%;
    transform: translate(-50%); */


    /* display: grid;
    grid-template-columns: repeat(auto-fill, 24vw);
    grid-template-rows: 10px;
    justify-content: center; */



    /* justify-content: center; */



    /* flex-direction: column; */
    /* align-items: center; */
    column-gap: 0.5vw;
    /* row-gap: 1vw; */
    /* gap: 1vw; */
    padding: 1vw;
    width: 99vw;
    /* height: fit-content; */
}

#blog-posts-section img {
    width: 24vw;
}

.post {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;

    /* border: solid thin black; */

    background-color: rgba(0, 0, 0, 0.1);

    z-index: 1000;
    width: 24vw;
    height: 80vh;

    break-inside: avoid;
    margin-bottom: 0.5vw;

    grid-row-end: span 45;
}

.post button {
    position: absolute;
    top: 0;
    right: 0;
}

.img-container {
    min-width: 100%;
    height: 70%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    z-index: 100;
}

.post-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    display: block;
    object-fit: contain;
}


#createPostForm {
    display: flex;
    flex-direction: column;
    width: 50vw;

    display: none;
}

/* ////////////////////// blog posts section  //////////////////////*/




/* mobile phone */


/* Small tablets (600px+) */
@media (min-width: 600px) {
    /* ... */
}

/* Tablets (768px+) */
@media (min-width: 768px) {
    /* ... */
}

/* Small desktops (1024px+) */
@media (max-width: 1174px) {

    p {
        font-size: 16px;
    }

    small {
        font-size: 12px;
    }

    .show-desktop {
        display: none;
    }

    .show-mobile {
        display: flex;
    }

    #banner {
        display: none;
    }

    body.no-scroll {
        overflow: hidden;
    }

    #nav-locations {
        position: fixed;
        top: 0;
        /* left: 0; */
        right: -100%;

        width: 80vw;

        min-height: 100vh;
        margin: 0;
        align-items: flex-start;
        z-index: 10000;
        border-left: 1px solid #5a5a5a;
        transition: right 300ms ease-out;
        /* min-width: 60vw;
        max-width: 60vw; */
        box-sizing: border-box;
    }

    #nav-locations.show-nav {
        right: 0;
        overflow: hidden;
    }

    #nav-locations.show-nav~#overlay {
        display: block;
        max-height: 100vh;
    }

    #open-menu-btn {
        display: block;
    }

    #close-menu-btn {
        display: block;
    }

    #open-menu-btn:hover,
    #close-menu-btn:hover {
        background-color: #5a5a5a
    }

    #nav-locations ul {
        width: 100%;
        /* margin-top: 20px; */
        flex-direction: column;
        align-items: center;

    }

    #nav-locations li {
        width: 100%;
        border-bottom: 1px solid #5a5a5a;
    }

    .nav-btns {
        /* height: auto; */
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 1rem 2rem;
        color: white;
        font-size: 2rem;
        width: 100%;
    }

    .p {
        width: 90%;
        text-align: center;
        text-wrap: wrap;
    }

    #classes-cards {
        width: 95%;
        display: grid;
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(2, auto);
    }

    .class-card-container {
        /* width: 100%; */
        min-width: 100%;
        max-width: 100%;
    }

    .class-card {
        /* width: 100%; */
    }

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

    #class-beginners {
        flex-direction: column;
        align-items: center;
    }

    #class-beginners h3 {
        /* font-weight: bolder; */
    }

    #beginners-title-img {
        width: 100%;
    }

    #beginners-img-container {
        width: 100%;
    }

    #beginners-text {
        width: 100%;
        /* padding: 1rem; */
        text-align: center;
    }

    #beginners-text p {

        /* padding: 1rem; */
        text-align: center;
    }


    .classes-more-info-img-container {
        width: 90%;
    }

    .class-card-more-info {

        top: 50%;
        left: 50%;

        transform: translate(-50%, -50%);
        width: 80vw;
    }


    @keyframes grow {
        0% {

            transform: translate(-50%, -50%) scale(0);
            /* left: 50%; */
        }

        100% {

            transform: translate(-50%, -50%) scale(1);
            /* left: 50%; */
        }
    }

    @keyframes shrink {
        0% {

            transform: translate(-50%, -50%) scale(1);
            /* left: 50%; */
        }

        100% {

            transform: translate(-50%, -50%) scale(0);
            /* left: 50%; */
        }
    }



    #prices-section #prices {
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(2, auto);
        row-gap: 3rem;
        /* align-items: center; */
        /* justify-content: space-evenly; */
        justify-content: space-evenly;
    }

    .timetable {
        display: none;
    }

    #timetable-section {
        height: fit-content;

    }

    #timetable-mobile {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-bottom: 2rem;
        padding: 0;
        width: 90vw;
    }

    .timetable-day {
        /* max-width: 100vw; */
        margin-block: 2rem;
    }

    .timetable-entry {
        display: flex;
        align-items: center;
        margin: 0 0 0 2rem;
        width: 100%;
        height: 5rem;
    }

    .verticle-line {
        height: 65%;
        width: 0px;
        margin-inline: 1rem;
        border: solid 2px var(--secondary);
        border-radius: 3px;
    }

    .timetable-time {
        width: auto;
    }

    #timetable-mobile h2 {
        color: var(--secondary);
        margin: 0;
    }

    #timetable-mobile h4 {
        margin: 0;
    }
}


@media (max-width: 599px) {

    .show-on-mobile {
        display: block;
    }

    .show-on-desktop {
        display: none;
    }

    #footer {
        flex-wrap: wrap;
    }

    #footer-content {
        justify-content: center;
    }

    #footer-address {
        width: 100%;
    }

    #footer-nav-opentimes {
        width: 100%;
        justify-content: space-around;
    }

    #footer-map iframe {
        width: 70vw;
        height: auto;
        aspect-ratio: 1;
        /* border-radius: 10px;
                            border: 0; */
    }

    html {
        font-size: 10px;
    }

    h4 {
        font-size: 1.6rem;
    }

    #navbar {
        width: 100%;
        z-index: 100;

    }

    #logo {
        margin: 0;
    }

    /* #banner {
        position: relative;
        width: 100vw;
        display: flex;
        height: 50vh;
        background-color: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    #banner img {
        width: auto;
        height: auto;
        object-fit: cover;
    } */

    .slide-container {
        flex-wrap: wrap;

    }

    .slide-txt {
        min-width: 90vw;
        align-items: center;
    }

    .slide-txt p {
        text-align: center;
    }

    .slideshow-img {
        height: 20rem;
    }

    #classes {
        /* background-image: none; */
    }

    #class-beginners {
        border: none;
        background-color: #00000000;
        box-shadow: none;
    }

    #classes p,
    #classes h4 {
        text-align: center;
    }


    #classes-cards {
        display: flex;
        flex-direction: column;
        width: 100vw;
        overflow-x: hidden;
    }

    #classes-cards>:last-child {
        /* border-bottom: thin solid #3c3c3c; */
    }

    .class-card-container {
        min-width: 100%;
        border: 0;
        border-top: solid thin #535353;
    }

    .class-card {
        padding: 0;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        border: 0;
        gap: 2rem;
        background-color: #00000000;
        box-shadow: none;
    }

    .class-img-container {
        width: 80%;
        height: auto;
    }

    .class-card-title-text {
        padding: 0;
    }


    #prices-section #prices {
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(2, auto);
        row-gap: 3rem;
        /* align-items: center; */
        /* justify-content: space-evenly; */
        justify-content: space-evenly;
    }



}

/* Large desktops (1280px+) */
@media (max-width: 1280px) {
    .faq {
        width: 85%;
    }

    .slideshow-button {
        display: none;
    }
}