body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #e6ccff;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.modal {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #4119b8;
  width: 60%;
  aspect-ratio: 2 / 1;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.form-body {
  flex: 1;
  display: flex;
  gap: 20px;
}

.form-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-column input[type="text"],
.form-column input[type="color"],
.form-column input[type="email"] {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #b5a6f5;
}

.color-display {
  display: flex;
  align-items: center;
  margin-top: 10px;
  background-color: #b5a6f5;
}

.color-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-left: 10px;
  border: 1px solid #aaa;
}

.modal-content button {
  align-self: center;
  padding: 10px 20px;
  margin-top: 15px;
  background-color: #30a211;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #9933ff;
}

#bg-color {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
  pointer-events: none;
}

.color-wrapper {
  margin: 10px 0;
  display: inline-block;
  cursor: pointer;
}

.color-display-box {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  background-color: #b5a6f5;
  transition: border-color 0.3s;
}

.color-display-box:hover {
  border-color: #999;
}

#hex-code {
  font-weight: bold;
  color: #333;
}

.color-section {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
}

.color-label {
  margin-bottom: 5px;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
}

.snake-icon-section {
  margin-top: 10px;
}

.snake-options {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.snake-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.snake-option input[type="radio"] {
  display: none;
}

.snake-option img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border 0.3s, box-shadow 0.3s;
}

.snake-option input[type="radio"]:checked + img {
  border: 2px solid #b266ff;
  box-shadow: 0 0 5px #b266ff;
}

.snake-check {
  margin-top: 8px;
  width: 12px;
  height: 12px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  transition: background-color 0.3s, border-color 0.3s;
}

.snake-option input[type="radio"]:checked ~ .snake-check {
  background-color: #b266ff;
  border-color: #b266ff;
}

.snake-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 10px 0;
}

.snake-title {
  align-self: flex-start;
  padding-left: 5px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: bold;
  line-height: 1;
  height: 40px;
  display: flex;
  align-items: center;
}

.snake-box {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  gap: 8px;
  background-color: #b5a6f5;
}

.danger-wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.danger-select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 10px;
  background-color: #b5a6f5;
  font-size: 14px;
}

.profile-card {
  width: 40%;
  aspect-ratio: 2 / 1;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  margin: 2rem auto 1rem auto;
  font-family: Arial, sans-serif;
}

.profile-image {
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-image img {
  width: 80%;
  height: auto;
  border-radius: 50%;
  border: 2px solid #888;
}

.profile-info {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
}

.profile-info h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #333;
}

.profile-info p {
  margin: 8px 0;
  font-size: 1rem;
  color: #444;
}

#profile-card {
  max-width: 1100px;
  max-height: 400px;
  width: 40%;
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: start;
  margin: 2rem auto;
  border-radius: 1rem;
  overflow: hidden;
  padding: 1rem;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #fff;
}

#documentation {
  margin-top: 3rem;
  padding: 100px;
  background-color: #f9f9f9;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.documentation-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.image-container {
  margin-bottom: 2rem;
  text-align: center;
}

.documentation-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-bottom: 1rem;
}

figcaption {
  font-size: 1rem;
  color: #666;
  margin-top: 0.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

* {
  box-sizing: border-box;
}

p {
  max-width: 80ch;
}

img {
  width: 100%;
}

@media (max-width: 800px) {
  .modal-content {
    width: 90%;
  }

  .profile-card {
    width: 90%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-info {
    padding: 0;
    align-items: center;
  }

  #profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 10px;
  }

  .profile-card {
    padding: 10px;
  }

  #documentation {
    padding: 50px;
  }
}
