*{
    box-sizing: border-box;
    margin:0;
    padding: 0;
    font-family: Calibri, 'Trebuchet MS', sans-serif;
    color: #0c373c;
    font-size: 1.1rem;
}


header{
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 7%;
    border-bottom:6px solid #0c373c;
    border-top:6px solid #0c373c;
    background-color: white;
    width: 100%;
    font-size: 1.2rem;
}

.logo{
    height: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

nav ul {
    list-style-type: none;
}

nav ul li{
    display: inline-block;
    padding: 0px 20px;
    font-weight: bold;
    
} 

nav ul li a{
    text-decoration: none;
    color:#0c373c;
    transition: all 0.3s;
}

nav ul li a:hover{
    color:#008181;
}

header button,.container button{
    padding: 10px 25px;
    background-color: #0c373c;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}
.container button{
    background-color: white;
    color:#0c373c;
}

header button:hover,.container button:hover{
    background-color: #008181;
    color: white;
    box-shadow:4px 6px 0px 0px rgb(0, 0, 0,0.3);
}

header button:active,.container button:active{
    opacity: 0.6;
}

.container{
    background-image:url(photo/landingpage.jpg);
    background-position: center;
    background-size: cover;
    height: 620px;
    padding: 5% 7% 0 7%;
}

.container h1{
    color: white;
    font-size: 3.4rem;
}

.container p{
    margin: 20px 0 30px 0;
    color: white;
    font-size: 1.2rem;
    text-align: justify;
}

.overflow{
    overflow-x: auto;
}

.priceh{
    padding: 0 7%;
}
.priceh h2,.training h2{
    font-size: 2rem;
    text-align: center;
    margin: 16px 0 8px 0;
}

.priceh p,.training p{
    font-size: 1.3rem;
    text-align: center;
    margin: 10px;
}

.offers{
    min-height: 220px;
    min-width: 250px;
    display: flex;
    flex-direction: row;
    column-gap: 12px;
    padding: 10px 7%;
}

.offerbox{
    display: flex;
    flex-direction: column;
    border: 3px solid #008181;
    padding: 12px;
    transition: all 0.3s;
    height: auto;
    min-width: 250px;
   
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.offerbox:hover{
    box-shadow:0 0 5px 5px rgb(0, 128, 128,0.5);
    h3{
        background-color:#008181;
    }
    a{
        color: #008181;
        border-color: #008181;
    }
}
.offerbox h3{
    text-align: center;
    margin-bottom: 12px;
    background-color: rgb(12, 55, 60);
    color: white;
    border-radius: 15px;
    transition: all 0.3s;
    padding:3px;
}

.offerbox p{
    margin: 10px 0;
    text-indent: 15px;
    text-align: justify;
}

.offerbox span{
    font-weight: bold;
}

hr{
    border-color: #008181;
}

.offerbox ul{
    list-style-image: url(photo/);
    margin: 5px 0 20px 12px;
}

.offerbox li{
    color: rgb(12, 55, 60);
}

.offerbox .price{
    font-size: 1.2em;
    font-weight: bold;
    color: #008181;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin-top: auto;
    padding-bottom: 10px;
    
}

.join{
    text-align: center;

    color:#0c373c;
    border: 2.5px solid #0c373c;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
}

.offerbox a:hover{
  background-color: #008181;
  color: white;
  box-shadow:4px 6px 0px 0px rgb(0, 0, 0,0.3);
}

.offerbox a:active{
    opacity: 0.6;
}

.training{
    margin: 0 7% 30px 7%;
}
.trainingbox{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 800px;
    row-gap: 30px;
    column-gap: 50px;
    padding: 10px 7%;
}


#Cardio{
    background-image: url(photo/cardio.jpg);
    height: 65%;
    background-size: cover;
    background-position: 0 -30px;

    border-top-left-radius: 40px;
}

#Strength{
    background-image: url(photo/strength.jpg);
    height: 65%;
    background-size: cover; 
    background-position: 0 -60px;

    border-top-left-radius: 40px;
}

#Yoga{
    background-image: url(photo/yoga.jpg);
    height: 65%;
    background-size: cover;
    background-position: 0 -90px;

    border-top-left-radius: 40px;
}

#Hiit{
    background-image: url(photo/hiit.jpg);
    height: 65%;
    background-size: cover;
    background-position: 0 -90px;

    border-top-left-radius: 40px;
}

.classes{
    background-color: #0c373c;
    height: 35%;
    padding: 12px;
    text-align: justify;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;

    border-bottom-right-radius: 40px;
}

.classes h3{
    color: white;
    
}
.classes p{
    color: white;
    
}

.eachbox{
    transition: all 0.3s;
    min-width: 500px;
    min-height: 440px;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}
.eachbox:hover{
    box-shadow:0 0 5px 5px rgb(0, 128, 128,0.5);
    .classes{
        background-color: #008181;
    }
}

.classes a{
    border-radius: 15px;
    color: #0c373c;
    background-color: white;
    text-decoration: none;
    padding: 4px 8px;
    margin-top: 5px;
    transition: all 0.3s;
    font-weight: bold;
    cursor: pointer;
    width: 120px;
    

    display: flex;
    justify-content: space-around;;
    align-content: flex-end;
    margin-top: auto;
}

.classes a:hover{
    box-shadow:4px 6px 0px 0px rgb(0, 0, 0,0.3);
}

.classes a:active{
    opacity: 0.6;
}

footer{
    height: 100px;
    background-color: #0c373c;
    margin-top: 20px;
    padding-left: 7%;
    padding-right: 7%; 

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

footer p{
    color: white;
}

.icon{
    width: 30px;
}

