:root {
  font-size: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.4;
  color: black;
  margin: 0;
  background: linear-gradient(
    0deg,
    rgba(251, 251, 251, 1) 0%,
    rgba(246, 247, 252, 1) 100%
  );
}

h1 {
  font-size: 3rem;
  line-height: 2;
  margin-bottom: 4rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

label {
  display: inline;
  align-items: center;
  margin-bottom: 1rem;
}

input,
button,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  border: none;
  transition: transform 0.3s ease-in-out;
}
button:focus{
  transform: scale(1.1);
}
p {
  display: inline;
  margin-bottom: 1rem;
}
.radio-options-wrapper {
  margin: 10px 0;
}

.container {
  width: 100%;
  margin: 6rem auto 6rem auto;
  box-shadow: 0 0.2rem 1.3rem 0.2rem rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  background-color: #fff;
}

.options {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.option-label {
  display: flex;
  width: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#successMessage {
  display: none;
  color: green;
  margin-top: 20px;
  font-size: 2rem;
  font-weight: 700;
}

#error-message-container {
  width: 100%;
  height: 80vh;
  padding: 10px;
  display: none;
  place-items: center;
  place-content: center;
  row-gap: 4rem;
}
.logo-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.emoji-radio {
  display: none;
}
.emoji-label {
  font-size: 3rem;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 5px;
}
.number-label {
  display: block;
  text-align: center;
  font-weight: 500;
  font-size: 1.5rem;
  margin-top: 5px;
}
.option-wrapper {
  display: inline-block;
  text-align: center;
}

.error-message {
  width: fit-content;
  margin: auto;
  padding: 20px;
  font-size: 2rem;
  font-weight: 600;
  border: 1px solid #ff0000;
  border-radius: 5px;
  text-align: center;
  color: #ff0000;
  display: block;
}

.emoji-radio {
  display: none;
}
.emoji-label {
  font-size: 3rem;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 5px;
}
.number-label {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  margin-top: 5px;
}
.option-wrapper {
  display: inline-block;
  text-align: center;
}

/* Different shades for each rating */
.emoji-radio[value="1"]:checked + .emoji-label {
  background-color: #e74c3c;
  color: white;
  border-color: #e74c3c;
}
.emoji-radio[value="2"]:checked + .emoji-label {
  background-color: #ec7063;
  color: white;
  border-color: #ec7063;
}
.emoji-radio[value="3"]:checked + .emoji-label {
  background-color: #d4ac0d;
  color: white;
  border-color: #d4ac0d;
}
.emoji-radio[value="4"]:checked + .emoji-label {
  background-color: #ffbf00;
  color: white;
  border-color: #ffbf00;
}
.emoji-radio[value="5"]:checked + .emoji-label {
  background-color: #f4d03f;
  color: white;
  border-color: #f4d03f;
}
.emoji-radio[value="6"]:checked + .emoji-label {
  background-color: #abebc6;
  color: white;
  border-color: #abebc6;
}
.emoji-radio[value="7"]:checked + .emoji-label {
  background-color: #58d68d;
  color: white;
  border-color: #58d68d;
}
.emoji-radio[value="8"]:checked + .emoji-label {
  background-color: #2ecc71;
  color: white;
  border-color: #2ecc71;
}
.emoji-radio[value="9"]:checked + .emoji-label {
  background-color: #28b463;
  color: white;
  border-color: #28b463;
}
.emoji-radio[value="10"]:checked + .emoji-label {
  background-color: #239b56;
  color: white;
  border-color: #239b56;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 976px) {
  .container {
    max-width: 920px;
  }
}

.header {
  padding: 4.5rem;
}

/*Header*/
.column-header {
  float: left;
  width: 54%;

  margin-right: 6%;
}

.column-image {
  float: left;
  width: 40%;
}

.header:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 1000px) {
  .column-header,
  .column-image {
    width: 100%;
    margin: 0;
  }
  #image-div img {
    margin: auto;
  }
}

/*Form*/

form {
  padding: 2.5rem;
  border-radius: 0.5rem;
}

.form-group {
  margin: 0 auto 2rem auto;
  padding: 0.5rem;
}

.form-control {
  display: block;
  width: 100%;
  height: 4.5rem;
  padding: 1rem;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #a6d8e2;
  outline: 0;
  box-shadow: 0 0 1rem 0.2rem rgba(205, 240, 247, 0.25);
}

.input-radio,
.input-checkbox {
  display: inline-block;
  margin-right: 1rem;
  min-height: 1.5rem;
  min-width: 1.5rem;
}

.input-textarea {
  min-height: 120px;
  width: 100%;
  padding: 1rem;
  resize: vertical;
}

.submit-button {
  display: inline-block;
  width: 10rem;
  padding: 1rem;
  background: #32004a;
  color: #fff;
  border-radius: 0.5rem;
  cursor: pointer;
}

.submit-button:hover {
  animation-name: background-color;
  animation-duration: 500ms;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

@keyframes background-color {
  100% {
    background-color: #6f4c81;
  }
}

.footer {
  color: #28003b;
  padding: 0.1rem;
  text-align: center;
}
