/* Reset default margin and padding for all elements */
body,
h1,
form,
h4,
h2 {
  margin: 0;
  padding: 0;
  font-family: 'Zen Maru Gothic', serif;
}

.result_discription p {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: large;
  white-space: pre-line;
  line-height: 2;
}

.question p {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: medium;
  font-weight: 800;
  margin-top: 60px;
  margin-bottom: 20px;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  text-align: center;
  padding: 20px;
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

form {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

button#calculate-button {
  background-color: orange;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin: 40px 40px;
}

button#calculate-button :hover {
  background-color: white;
  color: orange;
}

#score-container {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  display: flex;

}


#total-score {
  font-weight: bold;
  font-size: 24px;
  color: darkorange;
}


#Problemsolving-score,
#Resilience-score,
#timeperspective-score,
#Selfesteem-score,
#Communication-score {
  font-weight: bold;
  font-size: 24px;
  color: darkorange;
}

#highest-attribute {
  background-color: orange;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 4px;
  display: inline-block;
  margin: 20px 0;
}

p {
  margin-bottom: 10px;
}

#radar-chart {
  margin-top: 20px;
  width: 100%;
}

.result {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
}

.result_theme {
  font-weight: 500;
}

.result_type {
  background-color: orange;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 4px;
  display: inline-block;
  margin: 20px 20px;
}

h4 {
  font-size: 18px;
}

h2 {
  font-size: 16px;
}

.return-btn {
  margin: 30px 30px;
}

.return {
  background-color: orange;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-right: 10px;
}


* {
  box-sizing: border-box;
}

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

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

.Radio-Input {
  appearance: none;
  position: absolute;
  visibility: hidden;
}

.Radio-Text::before {
  content: '';
  display: block;
  border-radius: 50%;
  border: 1px solid orange;
  width: 30px;
  height: 30px;
}

.Radio-Input:checked+.Radio-Text::after {
  content: '';
  position: absolute;
  left: calc(8px - 3px);
  display: block;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background-color: orange;
}

.Radio-Text {
  position: relative;
  display: flex;
  align-items: center;
}

.options {
  display: flex;
  justify-content: center;
}

.Radio {
  margin: 0 10px;
}

#radar-chart {
  width: 200px;
  height: 200px;
}

.result_theme {
  margin-right: 10px;
}

.canvas-container {
  height: 400px;
  overflow: hidden;
  margin: 20px;
  flex: 1;
  justify-content: center;
  display: flex;
  align-items: center;
}

.flex-container {
  display: flex;
  justify-content: space-around;
}


.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pic {
  display: flex;
  justify-content: space-around;
}


@media (max-width: 767px) {
  .flex-container {
    display: block;
  }
}

@media (max-width: 500px) {
  .pic {
    flex-direction: column;
  }

  .wrapper {
    margin: 20px 20px;
  }
}