body {
    background: #f8f9fa;
    font-family: 'josefin Sana', sans-serif;
}

/* Background Image */
.view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* start of tech infomation bar */
    .info {
        display: flex;
        min-height: 6vh;
        flex-direction: column;
        background-color: lightblue;
        padding: 1% 2%;
        margin-bottom: 2%;
        background-color: #f0f0f0; /* Light background color */
        position: relative; /* Set position to relative for positioning pseudo-elements */

        /* Neumorphism */
        box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1), -4px -4px 8px rgba(255, 255, 255, 0.7);
        border-radius: 12px; /* Add border radius for a smoother effect */
    }

 

.container {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #ccc;
    padding: 20px 3%;
    border-radius: 10px;
    margin-top: 30px;
    width: 50%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

.container h1 {
    color: #333;
}

.container hr {
    background-color: #333;
    border: none;
    height: 2px;
    margin-top: 5px;
}

.divided_title_bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.divided_title_bar img{
/*    border: 1px solid grey;*/
}

.radio_inline {
    margin: 0px 40px 20px 0px;
    cursor: pointer;
}

label {
    color: #333;
}


#message {
    outline: none;
    border: none;
    padding: 10px 0px 0px 15px;
    font-size: 16px;
    color: #333;
    border-radius: 5px;
    width: 100%;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    resize: none;
}

.row{
	margin-bottom: 2%;
}



/* Submit button style */
.btn-submit {
    width: 100%;
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #0056b3;
}

.quiz, .answer{
	margin-left: 2%;
	}
.answer{
	width: 100%;
/*	border: 1px solid hotpink;*/
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.input_label{
	font-size: 14px;
	margin-bottom: 10px;

}

.align_center{
	display: flex;
	justify-content: center;

}

.hidden{
    display: none;
}



/* Style for the buttons (radio and checkbox) */
    .radio_button_container{
        padding: 0;
        padding: 1% 2%;
    }

    .radio-button {
      display: inline-block;
      border: 2px solid #ccc;
      padding: 0;
      margin: 5px;
      width: auto;
      cursor: pointer;
      background-color: #ffffff;
      border-radius: 8px;
    }

    /* Hide the radio buttons */
    .radio-button input[type="radio"] {
      display: none;
    }

    /* Style for the labels (buttons) */
    .radio-button label {
      display: block;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
    }

    /* Style for the selected button */
    .radio-button input[type="radio"]:checked + label {
      background-color: deepskyblue;
      color: white;
      border-color: deepskyblue;
    }

    .radio-button label:hover {
      background-color: #f0f0f0;
    }

    /* Style for the form container */
    .form-container {
      max-width: 500px;
      margin: 0 auto;
      padding: 20px;
      background-color: #ffffff;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
    }

    .radio_button_container{
        padding: 0;
        padding: 1% 2%;
    }

    /* Style for the buttons */
    .radio-button {
      display: inline-block;
      border: 2px solid #ccc;
      padding: 0;
      margin: 5px;
      width: auto;
      cursor: pointer;
      background-color: #ffffff;
      border-radius: 8px;
    }

    /* Hide the radio buttons */
    .radio-button input[type="radio"] {
      display: none;
    }

    /* Style for the labels (buttons) */
    .radio-button label {
      display: block;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
    }

    /* Style for the selected button */
    .radio-button input[type="radio"]:checked + label {
      background-color: deepskyblue;
      color: white;
      border-color: deepskyblue;
    }

    .radio-button label:hover {
      background-color: #f0f0f0;
    }

    /* Style for the submit button */
    .submit-button {
      display: block;
      margin-top: 15px;
      padding: 10px 20px;
      background-color: deepskyblue;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 16px;
      transition: background-color 0.3s ease;
    }

    .submit-button:hover {
      background-color: dodgerblue;
    }



.stars {
    display: flex;
        justify-content: space-around;
        width:50%;
    font-size: 40px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
}

.stars_titles{
    display: flex;
    justify-content: space-between;
    width:50%;
    font-size: 14px;
    color: #ccc;
/*    cursor: pointer;*/
}

.star {
  margin: 0 5px;
}

.star:hover,
.star.active {
  color: #f39c12;
}






  .form_container {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .form_input-field {
    width: 200px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
  }

  .form_input-field:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }

  .form_input-label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
  }

  .form_submit-button {
    margin-top: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
  }

  .form_submit-button:hover {
    background-color: #0056b3;
  }




/* Small screen styles */
@media (max-width: 767px) {

    .divided_title_bar img{
        max-width: 25%;
    }

    .container{
        width: 94%;
    }
    .checkbox-group {
        display: flex;
        width: 90%;
        justify-content: space-between;
    }

     .stars {
        display: flex;
        width: 90%;
        justify-content: space-between;
    }

    .stars_titles{
        width: 90%;
    }

    .checkbox-group input[type="checkbox"] {
        display: none;
    }

    .checkbox-button {
        display: inline-block;
        padding: 10px 20px;
        background-color: #ccc;
        color: #000;
        cursor: pointer;
        border: none;
        border-radius: 5px;
        margin: 5px;
    }

    .checkbox-button.active {
        background-color: #FFD700;
    }
}