

body{
 background-color: #fff;
 margin: 0;
 display: flex;
 justify-content: center;
 height: 100vh;
 align-items: center; 
}
.card{
  background-color: rgb(255, 255, 255);
  border: 3px solid rgb(85, 3, 3);
  border-radius: .5rem;
  padding: .5rem;
  max-width: 300px;
  margin: 0 auto;
  animation: fade 250ms ease-in-out forwards;
  align-items: center;
  box-shadow: 0 8px 10px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
 }
 .flex {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  gap: .25rem;
}
.flex:last-child{
  margin: 0;
}
.bg-green-100{
  color: #3828de;
  font-size: 1rem;
  padding: .25em;
}

.flex > label {
  font-weight: bold;
  font-size: 1em;
  color: rgb(41, 2, 2);
}

.flex > input {
  border: 1px solid rgb(199, 193, 193);
  border-radius: .25em;
  font-size: 1rem;
  padding: .25em;
}
.block w-full text-center text-grey-darkest mb-6{
  margin: 0;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: center;
}

.card.active{ 
 animation: slide 250ms 125ms ease-in-out both;
}
.multi-step-form {
  overflow: hidden;
  position: relative;
}
.hide {
  display: none;
}
h2{
  color: rgb(85, 3, 3);
}
.container h4{
  font-size: 28px;  
  color: rgb(37, 191, 20);
}
/* --------- R G P D ----------- */
.container p{
  text-align: left;
  justify-content: space-between;
}
[type="checkbox"]{
  opacity: 0;
  margin: 3px 53px 3px 4px;
  appearance: auto;
}
[type="checkbox"] + label{
  position: relative;
  padding-left: 50px;
  cursor: pointer;
  display: inline-block;
  color: rgb(85, 3, 3);
  line-height: 25px;
}
[type="checkbox"] + label::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  outline: 2px solid #aaa;
  background: rgb(255, 255, 255);
}
[type="checkbox"]:checked + label::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  outline: 2px solid rgb(85, 3, 3);
  background: rgb(255, 254, 254);
}
[type="checkbox"]:checked + label::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background-image: url(../../img/trans-check.png);
  background-size: contain;
  background: contain;
  transform: scale(1);
  opacity: 1;
  transition: all .3 ease;
}
[type="checkbox"]:not(:checked) + label::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background-image: url(trans-check.png);
  background-size: contain;
  background: contain;
  transform: scale(0);
  opacity: 0;
}


/*li:first-of-type + li {
  color: red;
}*/
/* --------- R G P D ----------- */

span{
  color: #eb0f0f;
}

button{
  background-color: #711227;
  border: none;
  color: white;
  padding: 15px 10px;
  text-align: center;
  text-decoration: none; 
  font-size: 15px;
  margin: 4px 13px;
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  justify-content: space-between;
  width: 120px; 
  place-content: center;   /* animatie buton loader */
}
/* animatie buton loader */
.loader{
  pointer-events: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #fff;
  animation: an1 1s ease infinite;
 
}
@keyframes an1 {
  0%{
    transform: rotate(0turn);
  }
  100%{
    transform: rotate(1turn);
  }
}
/*----- End animatie buton loader */

button:hover {
  background-color: #f44336;
  color: white;
  box-shadow: 0 8px 10px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19)
}
.card .button {
  width: 100%;
  display: flex;
  margin-top: 50px; 
}
.card .button .aboutMe{
  margin-left: 18px;  
}

.card .button .service{
  background-color: #711227;
  border: none;  
  padding: 15px 10px;
  text-align: center;
  text-decoration: none; 
  font-size: 15px;
  margin: 4px 13px;
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  justify-content: space-between;
  width: 120px;
}
.card .button .service:hover {
  background-color: #f44336;
  color: white;
  box-shadow: 0 8px 10px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19)
}
.card .button .service a{
  text-decoration: none;
  color: white;
}

.textarea{
  resize: none;
  width: 100%;
  height: 100px;
  font-size: 18px;
  font-family: sans-serif;
  padding: 10px;
  box-sizing: border-box;
  border: solid 2px darkgray;
}

.counter-container{
  display: flex;
  justify-content: space-between;
  padding: 0 5px;
}

.counter-container p{
  font-size: 18px;
  color: gray;
}

.total-counter{
  color: slateblue;

}
.textarea{
  resize: none;
  width: 100%;
  height: 100px;
  font-size: 18px;
  font-family: sans-serif;
  padding: 10px;
  box-sizing: border-box;
  border: solid 2px darkgray;
}

.counter-container{
  display: flex;
  justify-content: space-between;
  padding: 0 5px;
}

.counter-container p{
  font-size: 18px;
  color: gray;
}

.total-counter{
  color: slateblue;

}

.remaining-counter{
  color: brown;
}

@keyframes slide {
  0%{
   
    transform: translateX(200%);
    opacity: 0;
  }

  100%{
   
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade {
  0%{
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(.75);
    opacity: 0;
    display: block;
  }
  
  100%{
   opacity: 0;
   transform: scale(0);
  display: none;  
  }
}