body{
    margin: 0;
    padding: 0;
    width: 100%;
    height: fit-content;
}

.profile{
  width: 100%;
  min-height: 100vh;
  /* min-height: calc(100vh - 56px);
  background-image: linear-gradient(287.6deg, rgb(100, 37, 86) 29.96%, rgb(135, 31, 49) 75.39%); */
  background: rgb(39,214,197);
  background: linear-gradient(90deg, rgba(39,214,197,1) 0%, rgba(140,0,240,1) 100%);
  position: absolute;
}

.p-inner{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap-reverse;
  max-width: 100%;
  height: fit-content;
  justify-content: center;
 align-items: center;

}

.p-l{
   display: flex;
   flex-direction: column;
   width: 40%;
   height: fit-content;
   padding: 20px;
   margin-top: 10rem;
   margin-bottom: 3rem;
}

.p-l h1{
  background: white;
  font-size: 20px;
  padding: 10px 20px;
  color: #264a87;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.p-l img{
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  min-height: 170px;
  width: 100%;
}

.p-l a{
  background: mediumseagreen;
  color: white;
  width: fit-content;
  padding: 10px 20px;
  margin-top: -4rem;
  margin-left: 12rem;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  max-width: 100%;
}

.p-l a:hover{
  transition: 0.5s ease;
  box-shadow: none;
}



.profile-content{
  width: 40%;
  height: fit-content;
  padding: 20px;
  background: white;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  margin: auto;
  margin-top: 12rem;
}

.profile-content span{
  color: darkslateblue;
  font-size: 17px;
  font-weight: 600;
}

.profile-content h2{
  color: darkslategray;
  font-weight: 600;
  border-left: 2px solid lightslategray;
  padding-left: 10px;
  font-size: 22px;
  margin-top: 2rem;

}

.profile-content .button-profile{
  background-color:  #1e293b;
  color: white;
  outline: none;
  border-radius: 5px;
  padding: 10px 20px;
  border: 2px solid #1e293b;
  cursor: pointer;
  transition: 0.5s ease;
  min-width: 40%;
  margin-top: 2rem;
}

.profile-content .button-profile:hover{
  background: white;
  color: #1e293b;
}


/* This Are My MultiStep Form */
/* Style the form */
#regForm {
    background-color: #ffffff;
    margin: 20% auto;
    width: 50%;
    max-height: 100vh;
    overflow-y: auto;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    display: none;
    flex-direction: column;
  }
  

  h3{
    color: #04AA6D;
    font-size: 28px;
    margin-bottom: 2rem;
    padding-bottom: 10px;
  }

  span{
    color: #1e293b;
    font-size: 22px;
    margin-bottom: 2rem;
    font-weight: 400;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }

  .input-box{
    display: flex;
    flex-direction: column;
  }

  .row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  label{
    color: darkslategray;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 0.4rem;
    margin-top: 1.4rem;
  }

  /* Style the input fields */
  select{
    width: 100%;
    min-width: 98%;
    font-size: 17px;
    border: 1px solid #aaaaaa;
    box-sizing: border-box;
    border-radius: 5px;
    height: 3rem;
    cursor: pointer;
    padding-left: 10px;
    outline: none;
  }


  input {
    padding: 10px;
    min-width: 98%;
    font-size: 17px;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    outline: none;
  }

  textarea{
    padding: 10px;
    min-width: 98%;
    font-size: 17px;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    outline: none;
  }
  
  input:focus{
    border-color: darkslategray;
  }



  /* Mark input boxes that gets an error on validation: */
  /* input.invalid {
    border: 1px solid red;
  } */

    /* Style for the radio button */
    input[type="radio"] {
        display: none; /* Hide the default radio button */
      }
  
      /* Style for the custom button */
      input[type="radio"] + label {
        display: inline-block;
        padding: 9px 13px;
        font-size: 14px;
        text-align: center;
        cursor: pointer;
        border: 2px solid rgb(100, 37, 86);
        color: rgb(100, 37, 86);
        margin: 3px;
        border-radius: 18px;
      }
  
      /* Style for the custom button when selected */
      input[type="radio"]:checked + label {
        background-color: rgb(100, 37, 86);
        color: #fff;
      }
  
  /* Hide all steps by default: */
  .tab {
    display: none;
  }
  
  /* Make circles that indicate the steps of the form: */
  .step {
    height: 4px;
    width: 50px;
    margin: 0 2px;
    margin-bottom: 2rem;
    background-color: #bbbbbb;
    border: none;
    display: inline-block;
    opacity: 0.5;
  }
  
  /* Mark the active step: */
  .step.active {
    opacity: 1;
  }
  
  /* Mark the steps that are finished and valid: */
  .step.finish {
    opacity: 1;
    background-color: #04AA6D;
  }


  .input-box-btn{
    margin-top: 3rem;
    margin-bottom: 2rem;
  }

  .save_submit{
    min-width: 40%;
    height: 3rem;
    border-radius: 5px;
    background: #04AA6D;
    color: white;
    border: 2px solid #04AA6D;
    cursor: pointer;
    margin-top: 1.5rem;
  }

 

  input[type="checkbox"] {
    width: 20px; /* Set the width */
    height: 20px; /* Set the height */
    box-sizing: border-box; /* Include padding and border in the width calculation */
  }
  
 /* My Next & PRevious Buttons */

 #prevBtn{
  background-color: #1e293b;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease;
  margin-top: 1.4rem;
 }

 #prevBtn::before{
  content: "\f177";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  margin-right: 0.5rem;
 }

 #nextBtn{
  background-color: #1e293b;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease;
  margin-top: 1.4rem;

}


#nextBtn::after{
  content: "\f178";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  margin-left: 0.5rem;
 }

/* This is An End To MultiStep Form */


/* This are My Media Queries */

@media screen and (max-width: 700px) {
  .p-l{
    width: 100%;
    margin-top: -1rem;
  }

  .profile-content{
    width: 86%;
    margin: 10% 0;
  }
}

@media screen and (max-width: 830px){
  .profile{
    padding-top: 50px;
  }
  .profile-content{
    max-width: 97%;
    margin: 10% auto;
  }
}

@media screen and (max-width: 600px) {
  #regForm{
    width: 90%;
    padding: 5px 7px;
  }

  #regForm input{
	max-width: 90%;
    padding: 10px 2px;
  }
	
  #regForm textarea{
	max-width: 90%;
    padding: 10px 2px;
  }
}

@media screen and (max-width: 500px) {
  .p-l a{
    margin-left: 0rem;
    margin: auto;
    margin-top: -5rem;
    width: 80%;
  }
}

/* This is An end to My Media Queries */