@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
  font-family: 'Merriweather Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  color: #333;
}

header.main-cover {
  background: url('imgs/APRMA-laboratorio-CBD-01.png') no-repeat bottom left/cover;
  color: white;
  text-align: center;
  padding: 50px 20px;
  text-shadow: 1px 1px 2px #000;
}

header .cover-content {
  max-width: 80%;
  margin: 0 auto;
}

header .cover-content h1 {
  font-family: 'Fjalla One', sans-serif;
  font-size: 3em;
  margin: 0;
}
header .cover-content h1 span {
  border: 0;
  clip: rect(0, 0, 0, 0);height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

header .cover-content p {
  font-family: 'Fjalla One', Sans-serif;
  font-size: 1.75em;
  text-transform: uppercase;
}

main {
  font-size: 1.25rem;
  line-height: 1.6em;
}

main section {
  margin: 0 auto;
  text-align: justify;
}

section {
  padding: 60px 0;
}

h2 {
  font-family: 'Fjalla One', sans-serif;
  color: #3d5a40;
  margin: 2em 0 .5em;
}
h2:first-child {
  margin-top: 0;
}

.mission-vision {
  background-color: #3d5a40;
  color: white;
}
.mission-vision h2 {
  color: white;
}
.mission-vision img {
  max-width: 100%;
  height: auto;
  display: block;
}

.mission-vision-columns {
  display: flex;
  flex-direction: column;
}


@media (min-width: 1200px) {
  .mission-vision-columns {
      flex-direction: row;
  }
  .mission-vision-image {
    flex: 2;
    margin-left: 40px;
  }
  .mission-vision-text {
    flex: 7;
  }
}

.contact-us p {
  margin-bottom: 40px;
}

.contact-columns {
  display: flex;
  flex-wrap: wrap;
}

.contact-columns > div {
  flex: 1;
}

.whatsapp-link {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1199px) {
  .contact-columns {
      flex-direction: column;
  }
}
@media (min-width: 1200px) {
  .contact-form {
    margin-left: 40px;
  }
}
.contact-form .form-response {
  border: 1px solid transparent;
  border-radius: 4px;
  display: none;
  font-size: 1rem;
  margin: 20px auto;
  line-height: 1.5;
  padding: 20px;
  transition: display .5s;
  text-align: center;
  width: calc(100% - 40px);
}
.contact-form .form-response.visible {
  display: block;
}
.contact-form .form-response.success {
  background-color: #eaf4e1; /* Light olive green */
  border-color: #3d5a40; /* Olive green border */
  color: #3d5a40; /* Darker olive green text */
}
.contact-form .form-response.error {
  background-color: #f8d7da; /* Light red */
  border-color: #721c24; /* Red border */
  color: #721c24; /* Dark red text */
}
.contact-us form {
  display: flex;
  flex-direction: column;
}

.contact-us label {
  margin: 10px 0 5px;
}

.contact-us input, .contact-us textarea {
  font-family: 'Merriweather Sans', sans-serif;
  font-size: .85rem;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-us textarea {
  height: 5em;
}

.contact-us button {
  background-color: #3d5a40;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-family: 'Fjalla One', sans-serif;
  cursor: pointer;
}

.contact-us button:hover {
  background-color: #4b7a55;
}

.contact-us a {
  color: #3d5a40;
  text-decoration: none;
  font-weight: bold;
}

.contact-us a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 40px 0;
  background: #333;
  color: white;
}

@media (max-width: 1199px) {
  header .cover-content, 
  main section {
    margin: auto;
    max-width: 90%;
  }
}
@media (min-width: 1200px) {
  header .cover-content,
  main section {
      margin: auto;
      max-width: 80%;
  }
}
