*{
    margin: 0;
    padding: 0;
    box-sizing:border-box;
    font-family: 'Saira Extra Condensed', sans-serif;
}
html{
    scroll-behavior:smooth;
}

a{
    text-decoration:none;
}

/****** HEADER ********/
.top-bar{
    text-align: end;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 12px 24px;
}

.top-bar a{
    color: black;
}

.arrow{
    color:red;
    font-size: 18px;
    font-weight: 900;
}

.main-nav{
    font-size: 13px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    position:sticky;
    top: 0;
    z-index: 10;
    background-color:white;
}

.main-nav-buttons{
    display:flex;
    flex-wrap: nowrap;
    align-items: center;
}

a.main-button{
    padding: 32px 20px;
    color: black;
    font-weight: 750;
    text-align: center;
    letter-spacing: 2px;
    height: 95%;
    position: relative;
}

a.red-bar-button::after{
    content: "";
    position: absolute;
    left: 35%;
    bottom: 0;
    width: 40%;
    max-width: 25px;
    height: 3px;
    background-color: red;
    opacity: 0;
}

a.red-bar-button:hover::after{
    opacity: 1;
}

.classes:hover .hidden-classes{
    display:flex;
}

.hidden-classes{
    list-style:none;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-wrap:nowrap;
    justify-content:flex-end;
    background-color:white;
    width:100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.hidden-classes li{
    padding: 24px 0;
    padding-right: 40px;
}

a.classes-link{
    font-weight: 500;
    font-size: 16px;
    color:black;
}

a.transition-button{
    color: white;
    position: relative;
    overflow: hidden;
}

.transition-button::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform:translateX(-100%);
    transition: transform 0.3s linear;
}

.transition-button:hover{
    color: red;
}

.transition-button span{
    position: relative;
    z-index: 1;
}

.transition-button:hover::before{
    transform: translateX(0);
}

.shop-now{
    background-color: burlywood;
}

.join-now{
    background-color: black;
}

.free-pass{
    background-color: red;
}

.logo{
    display: flex;
    margin-left: 24px;
    margin-right: auto;
    align-items: center;
}

.logo:hover{
    filter: brightness(0) saturate(100%) invert(23%) sepia(99%) saturate(6000%) hue-rotate(350deg);
}

/******* MAIN *********/
/**** HERO ****/

.hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-height: 700px;
    overflow: hidden;
    padding-bottom: 60px;
}

#hero-carousel{
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

#hero-carousel > div{
    flex: 0 0 100%;
}

#hero-carousel img{
    width:100%;
    height:100%;
}

.slide0{
    transform: translateX(0%);
}

.slide1{
    transform: translateX(-100%);
}

.slide2{
    transform: translateX(-200%);
}

.hero-main-slide > video{
    position: absolute;
    z-index: -1;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-text{
    padding-top: 40px;
    display:flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.hero-text > h2:first-of-type{
    font-size: 45px;
}

.hero-text > h2:nth-child(2){
    font-size: 17vh;
    position: relative;
}

.hero-text > h2:nth-child(2)::after{
    content: "";
    position: absolute;
    height: 10%;
    width: 100%;
    top: 50%;
    left: 0;
    background-color:red;
}

.hero-text > h2:nth-child(3){
    font-size: 17vh;
}

.hero-text > h2:last-of-type{
    font-size: 45px;
}

.hero-text > a{
    margin-top: 32px;
    padding: 10px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    background-color: red;
    border: solid red;
    position: relative;
    overflow: hidden;
}

.hero-text > a::before{
    content: "";
    background-color: white;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translateX(-100%);
    transition: transform 0.3s linear;
}

.hero-text > a.entering::before{
    transform: translateX(0%);
}

.hero-text > a.leaving::before{
    transform: translateX(100%);
}

.hero-text > a.restarting::before{
    transition: none;
    transform: translateX(-100%);
}

.control-dots{
    list-style: none;
    display: flex;
    position: absolute;
    z-index: 2;
    bottom: 0px;
    margin: 10px 0;
}

.control-dots > li{
    background-color: rgba(0,0,0,10%);
    width: 50px;
    height: 6px;
    margin: 10px;
    box-shadow: 2px 2px 4px;
    transition: background-color 0.3s linear;
}

.control-dots > li.selected{
    background-color: red;
}

.control-dots > li:not(.selected):hover{
    background-color: red;
}


/**** CLUB LOCATOR ****/
.club-locator{
    display:flex;
    flex-direction: column;
    align-items:center;
    padding: 2.5% 0;
}

.club-locator > span{
    padding-bottom: 1.75%;
}

.club-locator > span:nth-child(2){
    letter-spacing: .1em;
}

.club-locator > span:nth-child(3){
    font-weight:100;
    font-size: 1.7rem;
}

#maps-toggle{
    background-color: white;
    padding: 10px;
    font-weight:600;
    font-size: 1.15rem;
    position: relative;
    overflow:hidden;
    display:block;
    margin-bottom: 2%;
}

#maps-toggle::after{
    content:"";
    width:100%;
    height:100%;
    background-color:white;
    top:0;
    left:0;
    position:absolute;
    transform:translate(100%);
    transition: transform 0.4s ease-in;
    z-index: 3;
}

#maps-toggle:hover::after{
    transform:translateX(0%);
    transition: none;
    z-index: 1;
}

#maps-toggle span{
    position:relative;
    z-index: 2;
    transition: color 0.3s ease-in;
}

#maps-toggle span:hover{
    color: rgb(228, 0, 0);
}

#map-cards{
    display:none;
    margin-top: 60px;
}

.map-card{
    box-shadow: 0px 0px 10px 4px gray;
    margin-right: 80px;
}

.maps{
    display: block;
    border: black solid 1px;
    width: 100%;
    aspect-ratio: 1/1;
}

.map-info{
    padding: 10px 0px 10px 10px;
    border: gray 1px;
    border-style: none solid solid solid;
}

.map-info p{
    line-height: 23px;
}

.map-info p:first-child{
    font-weight: 600;
    line-height: 29px;
}


/**** CLASSES ****/
#calendar{
    border-spacing: 0px;
    text-align:center;
    width:55%;
    margin:0 auto;
}

#month{
    background-color: rgb(207, 1, 18);
    height: 175px;
}

.month-text{
    display:flex;
    justify-content:space-between;
}

#month-name{
    font-size: 60px;
}

#next, #prev{
    font-size: 30px;
    padding: 15px 30px;
}

#week{
    background-color: rgb(0, 0, 0);
    height: 40px;
    color: rgb(255, 255, 255);
    font-weight: 550;
}

#days{
    background-color: rgb(250, 250, 250);
    height: 250px;
}

#active-day{
    background-color: rgb(252, 61, 61);
    padding: 5px 9px;
    color: white;
    font-weight: 550;
}