:root {
  --primary-color: #9c2117;
  --secondary-color: #6c757d;
  --background-color: #f8f9fa;
  --text-color: #343a40;
  --border-color: #ced4da;
  --error-color: #9c2117;
  --success-color: #3D9E28;
}

.contact_page{
    width: 100%;
    height: auto;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

/* Info */
.contact_container_info {
    width: 25%;
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 25px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: var(--text-color-medium);
    line-height: 1.6;
}

.contact_container_info a {
    display: block;
    margin-bottom: 20px;
}

.contact_container_info strong {
    font-size: 33px;
    color: var(--text-color-dark);
    display: block;
    margin-bottom: 10px;
}

.red_line_small {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto;
}

.contact_container_info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    display: block;
}


.contact_container_info br {
    display: none;
}

.contact_container_info > div {
    margin-bottom: 5px;
}

.contact_container_info > div:last-of-type {
    margin-bottom: 20px;
}

/* form */
.contact_formcontainer{
    width: 75%;
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 25px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: var(--text-color-medium);
}

.contact_formcontainer > h5{
    font-size: 22px;
    color: var(--primary-color);
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.contact_container{
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
	padding-bottom: 50px;
    padding-top: 20px;
}

.contact {
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  font-family: sans-serif;
  color: var(--text-color);
  min-width: 500px;
}

.contact .content_center {
  text-align: center;
  margin-bottom: 15px;
}

.contact .validation-error {
  color: var(--error-color);
  font-weight: bold;
}

.contact .validation-success {
  color: var(--success-color);
  font-weight: bold;
}

.contact li {
  list-style: none;
  margin-bottom: 15px;
}

.contact li.error input,
.contact li.error textarea {
  border-color: var(--error-color);
}

.contact input[type="text"],
.contact textarea {
  width: 100%;
  min-width: 250px;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  color: var(--text-color);
  outline: none;
}

.contact input[type="text"]::placeholder,
.contact textarea::placeholder {
  color: var(--secondary-color);
}

.contact input[type="text"]:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact textarea {
  resize: vertical;
}

.contact .button {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  width: 100%;
  transition: background-color 0.3s ease;
}

.contact .button:hover {
  background-color: #9c2217d1;
}

@media (max-width: 600px) {
  .contact {
    min-width: 250px;
  }

  .contact input[type="text"],
  .contact textarea,
  .contact .button {
	font-size: 14px;
	padding: 8px;
  }

  .contact_formcontainer{
    margin: 0 auto;
    width: 100%;
  }

  .contact input[type="text"], .contact textarea{
    width: 100%;
    min-width: 0;
  }

  .contact{
    padding: 0;
  }
}

/* Queries all */
@media screen and (max-width: 1000px){
    .contact_page{
        flex-direction: column;
    }

    .contact_container_info{
        width: 100%;
    }
}