

@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;  /*same Boxsize*/
    font-family: 'Poppins', sans-serif;
}
/******************Style Header ***************************/

.header {
  width: 100px;
  height: 100px;  
  overflow: hidden;
  background-color: #FFFFFF;
  padding: 10px 10px;



}

.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 25px;
  border-radius: 4px;
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;

}

.header a:hover {
  background-color: #ddd;
  color: black;
}

.header a.active {
  background-color: dodgerblue;
  color: white;
}

.header-right {
  float: right;
}




/***************Style the Question ************************/
.question {
  background-color: #FFFFFF;
  padding: 40px;
  text-align: center;
}

/*body {
    display: flex;
    place-items: center;
    min-height: 100vh;
    background-color: #0e0e0e;
   width:100%;
}
     */
     
     
/*.container {
  margin-top:40px;
  display:flex;
 justify-content:center;
  /*flex-wrap:wrap;*/ /*multiple line forcing*/
/*  flex-wrap: nowrap; /*one line forcing */
  /*gap:10px;*/
  /*max-width:650px;
 }*/

/***************Container************************/

.container {

  display: flex;
  justify-content:center;
 
}
.img {
    width: 130px;
    height: 130px;
    border: .3rem solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, .4);
    overflow: hidden;
}
img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}
.card {
    background-color: #FFFFFF;
    width:225px;
    height: auto;
    margin: 0 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: .5rem;
    position: relative;
    cursor: pointer;
    border: .2rem solid transparent;
    transition: 200ms ease-in-out transform;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, .4);
}
.check_btn {
   /* position: absolute;*/
    /*
   position :absolute;
    top: 2%;
    left: 2%;
    background-color: rgba(92, 92, 92, .4);
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: .5rem;*/
     content:"✓";
  position:absolute;
  width:30px;
  height:30px;
   top: 1%;
    left: 1%;
  background:#0d0df1;
  color:#fff;
  text-align:center;
  line-height:30px;
  font-size:20px;
  font-weight:600;
  border-radius:50%;
  opacity:0;
  transform:scale(0.5);
  transition:all 200ms ease-in-out;
  display: none;
}
.fa-check {
    color: #fff;
}
.title {
    margin: 1.5rem 0;
}

.title,
ul li {
    color: #1f1208;
    text-shadow: 0 0 .1rem rgba(0, 0, 0, .4);
}

.card:hover {
    transform: scale(1.02)
}
.card:active {
    transform: scale(.97)
}

input[id="card_one"]:checked ~ label[for="card_one"] .card,
input[id="card_two"]:checked ~ label[for="card_two"] .card,
input[id="card_three"]:checked ~ label[for="card_three"] .card {
    border-color: #0d0df1;
}
/* you can see based on which card is checked the border color will be changed */
/* ~ selector selects the sibling elements, in this case the label */

input[id="card_one"]:checked ~ label[for="card_one"] .card .check_btn,
input[id="card_two"]:checked ~ label[for="card_two"] .card .check_btn,
input[id="card_three"]:checked ~ label[for="card_three"] .card .check_btn {
    background-color: #0d0df1;  opacity:1;
}

input[id="card_one"]:checked ~ label[for="card_one"] .card .img,
input[id="card_two"]:checked ~ label[for="card_two"] .card .img,
input[id="card_three"]:checked ~ label[for="card_three"] .card .img {
   /* background-color: #0d0df1;*/
    box-shadow: 0 0 .5rem #0d0df1;
}

/* its all done and the last thing is we need to remove the input radio btns */
input {
    display: none;
}

/***************Style Footer ************************/

.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
  margin-top: 20px;
}

.space {
   padding: 20px;
   margin-top: 20px;
}


.button-group {
  display: flex;
  justify-content: center;
  gap: 20px; /* Abstand zwischen den Buttons */
}

.button {
  border: none;
  color: white;
  padding: 15px 32px;
	margin-top: 40px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
}

.continue-button {
  background-color: #4CAF50; /* Grüne Farbe für den Weiter-Button */
}

.back-button {
  background-color: #007BFF; /* Blaue Farbe für den Zurück-Button */
}

/*-----------------Respnsive--------------------------*/
@media only screen and (max-width: 780px) {
  .question {
padding: 20px;
  font-size:15px;
}

  .container {
    
    max-width: 100%;

  }

  .card {
    width:auto;
    height:auto;
    /*margin: 5px;     padding: 0.2 0.2rem;*/
    font-size:10px;

    margin: 0 0.25rem;
    padding: 1rem;
  }

  .img {
    width: 90px;
    height: 90px;
  
  }
  img {
    width: 100%;
    height: 100%;

}
    .title {
    margin: 1rem 1;
    font-size:15px;
  }   
  .check_btn {
  display: none;

  }   
  .button {
  margin: auto;

  }   
}
/*-------------------------------------------*/