/* Sectiune welcome */
.welcome {
  background-image: url("../img/welcome-background.png");
  background-size: cover;
  background-position: 3px;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome h1 {
  text-align: center;
}

/* Sectiune welcome responsive */
@media (max-width: 768px) {
  .welcome h1 {
    font-size: 23px;
  }
}

/* Sectiune contact */
.contact h2 {
  text-align: center;
  padding-top: var(--spacing-large);
}

.contact h2,
.contact .main-paragraph,
.contact .content-wrapper {
  margin-bottom: var(--spacing-large);
}

.contact .content-wrapper {
  display: flex;
}

.contact ul,
.contact form {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-medium);
}

.contact li {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--spacing-small);
  margin-bottom: var(--spacing-large);
  border-bottom: 1px solid #ddd;
}

.contact .content-wrapper p,
.contact a,
.contact label,
.contact input,
.contact textarea {
  font-size: var(--fs-medium);
}

.contact .material-symbols-outlined {
  color: var(--text-primary);
  vertical-align: middle;
}

.contact .content-wrapper p:not(.description),
.contact label,
.contact input,
.contact textarea {
  color: var(--text-dark);
}

.contact a,
.contact .description,
.contact input::placeholder {
  color: #8e8e8e;
}

.contact a:hover {
  color: var(--text-primary);
}

.contact label {
  margin-bottom: var(--spacing-tiny);
}

.contact input,
.contact textarea {
  padding: var(--spacing-small);
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: var(--spacing-medium);
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #8e8e8e;
}

.contact textarea {
  height: 100px;
}

.contact input[type="submit"] {
  font-size: var(--fs-medium);
  text-align: center;
  color: var(--text-white);
  background-color: var(--button-color);
  border: 1px soli var(--button-color);
  border-radius: 5px;
  padding: var(--spacing-small);
  width: 100px;
}

.contact input[type="submit"]:hover {
  transform: scale(1.1);
}

/* Sectiune Contact responsive */
@media (max-width: 768px) {
  .contact .content-wrapper {
    flex-direction: column;
  }

  .contact ul,
  .contact form {
    width: 100%;
    padding: 0;
  }

  .contact li {
    margin-bottom: var(--spacing-medium);
  }

  .contact li:last-of-type {
    margin-bottom: var(--spacing-large);
  }

  .contact input[type="submit"] {
    margin-bottom: 0;
  }
}
