 
body {
  background-color: #f1f1f1;
}

#regForm {
  background-color: #ffffff;
  margin: 0 auto; 
  padding: 40px;
  width: 50%;
  min-width: 300px;
}

 h1 {
  text-align: center;  
}
.form-w h3 {
  text-align: center;
}

.form-w input {
  padding: 10px;
  width: 100%;
  font-size: 17px; 
  border: 1px solid #97d3dd;
}

 
/* Hide all steps by default: */
.tab {
  display: none;
}

.form-w button {
  background-color: #12bbd8;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-size: 17px; 
  cursor: pointer;
}
.form-w {
    /* width: 70%; */
    margin: 0 auto; 
}
.tab-icon li img {
    width: 115px;
    fill: #12bbd8;
    transition: all 300ms ease-in-out;
}
.tab-icon li {
    display: inline-block;
    margin: 1%;
    width: 46%;
    box-shadow: 0 0 7px #ccc;
    height: 250px;
    vertical-align: text-bottom;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}
.tab-icon li:hover, .tab-icon li.active { 
    background: #12bbd8;
    color: #fff;
}
.tab-icon li:hover img { 
    fill: #fff;
}
.form-w button:hover {
   background-color: #000;
   color: #fff;
}

#prevBtn {
  background-color: #bbbbbb;
}

/* Make circles that indicate the steps of the form: */
.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;  
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
}

#tabs li img
{
  width: 100% !important;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #4CAF50;
} 

@media (max-width:640px) {
  body
  {
    margin: 0px !important;
  }
  #regForm {
    padding: unset !important;
    max-width: 100%;
  }

  .form-w input {
    box-sizing: border-box;
  }

  .tab-icon li {
    height: 180px;
  }
}

@media (max-width:320px) {
  #tabs
  {
    padding: unset;
  }
}