.contact-component *::-webkit-scrollbar {
  display: none;
  overflow: scroll;
}
.contact-component .contact__icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 1rem;
}

.contact-component .contact__icons a svg {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  cursor: pointer;
}

.contact-component .contact__icons a:hover svg {
  transform: scale(1.1);
  opacity: 0.8;
}
.contact-component .contact__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20%;
  max-width: 80%;
  margin: 0 auto;
}

.contact-component .contact__title {
  font-family: Aboreto;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 4%;
}

.contact-component .contact__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.contact-component .contact__info p {
  text-align: center;
  max-width: 500px;
}

.contact-component .contact__logo {
  margin: 25px auto;
  max-height: 80px;
}

.contact-component .contact__icon {
  padding: 5px;
  color: var(--primary-color);
}

.contact-component .contact__form-fields {
  border: solid rgb(210, 201, 201);
  width: 90%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  padding: 5%;
}

.contact-component .contact__form-fields input,
.contact-component .contact__form-fields textarea {
  border: none;
  border-bottom: 1px solid rgb(210, 201, 201);
  padding: 10px;
  margin-bottom: 15px;
  width: 100%;
  background: transparent;
  outline: none;
  resize: none;
}

.contact-component .contact__form-fields button {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

/* Styles for form messages */
.contact-component .form-message {
  position: fixed;
  top: 5%;
  left: calc(50% - 100px);
  margin-top: 1rem;
  font-weight: bold;
  transition: opacity 0.3s;
  min-height: 2em;
  border-radius: 25px;
  width: 50%;
  max-width: 200px;
  padding: 5px;
  pointer-events: none;
}

.contact-component .form-message.success {
  min-width: 200px;
  color: rgb(209, 255, 209);
  background-color: rgb(159, 255, 172);
}

.contact-component .form-message.error {
  min-width: 200px;
  color: rgb(56, 56, 56);
  background-color: rgb(255, 211, 211);
}

@media (min-width: 768px) {
  .contact-component .contact__wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
  .contact-component .contact__info {
    flex: 1;
    text-align: center;
  }
  .contact-component .contact__form-fields {
    flex: 1;
    max-width: 550px;
  }
}
