* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* Adding black as a background color and seeting font family s poppins in whole html doc*/
html{
    background-color: black;
    font-family: poppins;

}

/* Added width and height too all img element*/
img{width: 100%;
    height: auto;}

/* made background transparent and set the display as  flex and also addded some padding */    
#nav{
    background-color: transparent;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px 0px 20px;
    width: 100%;
}

/*added font weight, size and letter spacing in nav p a tags*/
header nav p a{
    text-decoration: none;
    color: orange;
    cursor: pointer;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none !important;
}

header nav p a:hover{
    color: orange;

}

/* added display as flex and also added some column gap beside that I hav ealso set a font size and weight and remove the liste style*/
header div ul{
    display: flex;
    flex-wrap: wrap;
    column-gap: 50px;
    list-style-type: none;
    font-weight: 600;
    
}

/* added a color to a tag under ul header and removed the text decoration also added hover and active color */
header  nav ul a{
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 3px;
    text-decoration: none;
    color: white;
} 

header nav ul a:hover{
    color:orange;
    text-decoration: none;
}

header nav div ul:active{
    color:orange;
}

/* dropdown */
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-workout-content {
    display: none;
    position: absolute;
    background-color: /*rgba(212, 212, 212, 0.26)*/ black;
    min-width: 110px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-workout-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-workout-content a:hover {background-color: #ddd;}
  
  /* Show the dropdown menu on hover */
  .dropdown-workout:hover .dropdown-workout-content {
    display: block;
    margin-left: -10px;
    /* text-align: center; */
}

  /* main section: Added display prop., and also added a background image and adjust its position */
#main-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(../Images/Hero\ Image.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 400px 0px 540px 0px;
    margin-top: -100px;
    height: 150vh;
}

/*added color to the h1 heading and change the font-weight, size letter, spacing*/

#main-section h1{
    color: white;
    font-size:45px;
    font-weight: 400;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 2px;
}

#mark{
    color:orange; background-color: transparent; font-size: 50px; font-weight: 700;
}

/*added background color and change the font size, weight of the btn and also added some padding made text align-center plus border radius by 2 px*/
#main-section-button{
    background-color: orange;
    font-size: 20px;
    font-weight: 500;
    border: solid 1px transparent;
    border-radius: 2px;
    color: white;
    text-align: center;
    padding: 4px 20px 4px 20px;
    margin-top: 30px;
    cursor: pointer;
}

#form-section{
    width: 50%;
    left: 25%;
    position: absolute;
    bottom: 0%;
    background-color: black;
    display: none;
    flex-direction: column;
    align-items: center;
    color: white;
    padding: 80px 30px 100px 30px;
    margin-bottom: -250px;
}

h2{
    font-size: 30px;
}

form{
    display: flex;
    flex-direction: column;
    padding: 25px 0px 25px 0px;
}

.input-fields-div{
    display: flex;
    flex-direction: column;
}

label{
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1.1px;
    margin-top: 10px;
}

input{
    height: 35px;
    color: orange;
    padding-left: 5px;
}


#main-check-box-div{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
   column-gap: 60px;
   flex-wrap: wrap;
}

.checkbox-div{
    display: flex;
    flex-direction: column;
    column-gap: 80px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

#checkbox-div{
    justify-content: flex-start;
    column-gap: 93px;
    flex-wrap: wrap;
}

.checkbox-input-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
}



input[ type=checkbox]{
    width: 20px;
    color: orange;
}

/* .container input:checked ~ .checked {
    background-color: orange;
} */

#form-btn{
    margin-top: 20px;
    background-color: orange;
    color: white;
    padding: 4px 0px 4px 0px;
    border: solid 1px orange;
    font-size: 18px;
    font-weight: 500;
}

#icon-div{
    position: sticky;
    bottom: 100%;
    left: 100%;
    margin-top: -34px;
    margin-right: -5px;
    z-index: 10;
}

.fa{
    rotate: 226deg;
}
/*Added some media queries to make it mobile responsive*/

@media (max-width: 1051px){
    #form-section{
        bottom: 2%;
    }

    .checkbox-div{
        align-items: flex-start;
        justify-content: flex-start;
    }
}

@media (width: 912px){
    #main-section{
        height: 150vh;
        padding: 0px;
    }
}

@media (max-width: 894px){
    #nav{
        justify-content: center;
        flex-direction: column;
    }

    header div ul{
        justify-content: center;
        row-gap: 15px;
    }

    #main-section{
        padding: 650px 0px 600px 0px;
        margin-top: -220px;
        height: 150vh;
        /* background-position-x: -900px; */
    }

    #form-section{
        margin-bottom: -230px;
    }
}

/* @media (max-width:750px){

    #main-section{
        background-position-x: -1200px;
    }
} */


/* @media (max-width: 691px){

#nav{
    flex-direction: column;
    align-items: flex-start;
}

header div ul{
    display: none;
    flex-direction: column;
    background-color: black;
    width: 400px;
    padding: 20px;
    margin-top: 40px;
    row-gap: 10px;
}
} */




@media (max-width: 691px){

    #main-section{
        height: 200vh ;
    }
    #form-section{
        width:70%;
        left: 15%;
        bottom: 0%;
        margin-bottom: -77%;
    }

    /* .checkbox-div{
        display: flex;
        column-gap: 80px;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
    } */
    
    #checkbox-div{
        justify-content: flex-start;
        column-gap: 93px;
        flex-wrap: wrap;
    }
    
}

@media (max-width:454px){
    #form-section {
        margin-bottom: -573px;
}

@media (max-width:355px){
    #main-section{
        padding: 450px 0px 300px 0px;
        margin-top: -300px;
    }

    #main-section h1{
        font-size: 30px;
        line-height: 1.3;
    }

    #form-section{
        margin-bottom: -350px;
    }
}

@media (max-width:325px){

    #main-section{
        padding: 550px 0px 500px 0px;
    }
    #mark{
        font-size: 35px ;
    }

    #form-section{
        margin-bottom: -616px ;
    }
}
