/* -----------------All marging and padding start adjustment */
*{
    margin: 0;
    padding: 0;
}

/* ---------------------Header Style-------------------- */
header{
    background-color: rgb(15,15,15);
    color: white;
    display: flex;
    gap: 5%;
    justify-content: space-between;
    align-items: center;
    height: 10dvh;

}

/* -------------------Logo and name style------------- */
.logoandtitle{
    display: flex;
    align-items: center;

    h2{
        font-family: "Montserrat", sans-serif;
    }
    
    img{
        width: 10dvh;
        height: 10dvh;
    }
}

/* ----------------------Navbar style--------------------*/
.navbar{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10%;
}

.navbar a{
    color: whitesmoke;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    font-size: larger;
    text-align: center;
    white-space: nowrap;
    padding: 5px;
}

.navbar a:hover{
    background-color: rgb(200, 16, 46);
    border-radius: 0.5rem;  
}

/* -------------------Footer style-------------------------*/
footer{
    background-color: rgb(26,26,26);
    height: 9%;
    display: flex;
    justify-content: space-between;
    
    a {
        text-decoration: none;
        font-size: large;
        color: lightgray;
        padding: 3px;
    }
    a:hover{
        background-color: rgb(200, 16, 46);
        border-radius: 0.5rem;  
    }
    .footerlinks{
        display: flex;
        flex-direction: column;
        margin-top: 5px;
        margin-left: 8px;
    }

    p{
        color: lightgrey;
        text-align: center;
    }
}

/* ------------------main content style------------------ */
main{
    height: 80%;
    min-height: 80vh;
    h1{
        font-family: "Montserrat", sans-serif;
        color: rgb(200, 16, 46);
        font-weight: 900;
        margin-top: 1vh;
        margin-left: 1vw;
    }
}

/* ---------------------Home Intro Style------------------- */
.homeintro{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2vh;
    margin-top: 5vh;
    padding: 5vh 10%;
    text-align: justify;
    background-color: whitesmoke;
    border-radius: 1rem;

    img{
        width: 45dvw;
        max-width: 500px;
        height: auto;
        border-radius: 1rem;
    }

    p{
        font-family: "Open Sans", sans-serif;
        font-size: large;
        color: rgb(50,50,50);
    }
}

/* ------------------Topics tile Style------------------- */
.topics{
    text-align: center;
    margin-top: 5vh;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    color: rgb(200, 16, 46);
    margin-top: 8vh;
}

/* ----------------Time Table Link Style------------------ */
.timetablelink{
    display: flex;
    justify-content: center;
    background-color: whitesmoke;
    border-radius: 1rem;
    padding: 1vh;

    img{
        width: 50dvw;
        max-width: 500px;
        height: auto;
        border-radius: 1rem;
        transition: transform 0.3s ease; /* Add a transition for smooth scaling */
    }

    img:hover {
        transform: scale(1.05); /* Scale up the image on hover */
    }
}

/* ------------------We Want You Section------------------- */
.wewantyou{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: whitesmoke;
    border-radius: 1rem;
    padding: 2vh 10%;
    gap: 2vh;
    
    h3{
        font-family: "Montserrat", sans-serif;
        color: rgb(200, 16, 46);
        font-weight: 900;
    }
    
    p{
        font-family: "Open Sans", sans-serif;
        font-size: large;
        color: rgb(50,50,50);
        text-align: justify;

    }

    img{
        width: 50dvw;
        max-width: 500px;
        height: auto;
        border-radius: 1rem;

        transition: transform 0.3s ease; /* Add a transition for smooth scaling */
    }

    img:hover {
        transform: scale(1.05); /* Scale up the image on hover */
    }
}

/* --------------Facilities Pictures Style---------------- */
.gympictures{
    display: flex;
    gap: 2vw;
    justify-content: center;
    background-color: whitesmoke;
    padding: 2vh 5%;
    border-radius: 1rem;

    img{
        width: 30dvw;
        height: auto;
        border-radius: 1rem;
    }
  
}

/* gym address */
.gymaddress{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vh;
    margin-top: 2vh;
    margin-bottom: 1vh;
    background-color: whitesmoke;
    border-radius: 1rem;
    
    p{
        font-family: "Open Sans", sans-serif;
        font-size: larger;
        color: rgb(50,50,50);
    }

}

/*--------------------time table style------------------- */
.timetable{
    width: 100%;
    border-collapse: collapse;
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: whitesmoke;
    border-radius: 1rem;
    padding: 5vh;

    th {
    border: 2px solid #ffffff;
    padding: 10px;
    text-align: center;
    background-color: rgb(50,50,50);
    color: white;
    font-family: "Open Sans", sans-serif;
    }
}
.timetable-header{
    font-size: x-large;
    font-weight: 800;
    }


/* -------------contact us style------------- */
.contactus-content{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2vh;
    background-color: whitesmoke;
    border-radius: 1rem;
    padding: 5vh 10%;
    

}

.getintouch{
    h2{
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    color: rgb(15, 15, 15);

    }

p{
    font-family: "Open Sans", sans-serif;
    font-size: large;
    color: rgb(15, 15, 15);
    font-weight: 700;
}
}

/* --------Contact Form Style-------- */
.contactus-form{
    border-radius: 5px;
    background-color: rgb(202, 185, 185);
    padding: 20px;
    max-width: 500px;
    font-family: "Open Sans", sans-serif;




    input[type=text], input[type=email], input[type=tel], textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid rgb(204, 204, 204);
        border-radius: 0.5rem;
        box-sizing: border-box; /* Make sure that padding and width stays in place */
        margin-top: 5px;
        margin-bottom: 15px; 


    }

    h2{
        font-family: "Montserrat", sans-serif;
        color: rgb(0, 0, 0);
        font-weight: 700;
        margin-bottom: 3vh;
    }

/* submit button styles */
    input[type=submit] {
    background-color: #aa0404;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    width: 100%;
    }

    input[type=submit]:hover {
    background-color: #a04545;
    }

}

/* ------Book a Trial Form---------*/
.trialform{
    border-radius: 5px;
    background-color: rgb(202, 185, 185);
    padding: 20px;
    max-width: 500px;
    font-family: "Open Sans", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10vh;
    margin-left: 20vw;
    

    

    input[type=text], input[type=email], input[type=tel], input[type=date], select[name="selectclass"], textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid rgb(204, 204, 204);
        border-radius: 0.5rem;
        box-sizing: border-box; /* Make sure that padding and width stays in place */
        margin-top: 5px;
        margin-bottom: 15px; 
    }

    h2{
        font-family: "Montserrat", sans-serif;
        color: rgb(0, 0, 0);
        font-weight: 700;
        margin-bottom: 3vh;
    
    }

/* submit button styles */
    input[type=submit] {
    background-color: #aa0404;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    width: 100%;
    }

    input[type=submit]:hover {
    background-color: #a04545;
    }
}


/*---------About Table Style-------*/
.abouttable{
    width: 100%;
    border-collapse: collapse;
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: whitesmoke;
    border-radius: 1rem;
    padding: 5vh;

    th {
    border: 2px solid #ffffff;
    padding: 10px;
    text-align: center;
    background-color: rgb(50,50,50);
    color: white;
    font-family: "Open Sans", sans-serif;
    }
}