:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  --accent-color: #c82e2e;
  --primary-color: #085888;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --title-fontsize: clamp(25px, 1vw + 1rem, 39px);
  --hero-fontsize: clamp(18px, 1vw + 1rem, 25px);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: "Source Sans 3", sans-serif;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

#app {
  display: flex;
  justify-content: center;
}

main {
  padding: 0rem 1rem;
  max-width: 1024px;
}

header {
  padding: 1.5rem 0rem;
}

.header-title {
  color: var(--primary-color);
  font-size: var(--title-fontsize);
  text-align: center;
}

img {
  width: 100%;
  height: 100%;
}

.wrapper-hero {
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 24px;
}

.hero-title {
  color: #fff;
  font-size: var(--hero-fontsize);
}

.hero-image {
  max-width: 350px;
}

.services {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services div {
  display: flex;
}

.banner {
  margin-top: 24px;
}

.cta {
  margin-top: 3rem;
}

.wrapper-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.wrapper-cta p {
  font-size: 1.5rem;
  max-width: 75ch;
}

.cta a {
  border-radius: 12px;
  text-decoration: none;
  background: var(--accent-color);
  color: #fff;
  font-size: 2rem;
  width: 100%;
  padding: 1rem 2rem;
  transition: all 0.2s ease-in-out;
}

.cta a:hover {
  background: #881f1f;
}

.services-images {
  margin-top: 6rem;
}

.content-service-images {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-service-images div {
  display: flex;
}

.wrapper-bottom-services {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.services-bottom-title {
  color: var(--accent-color);
  font-size: clamp(18px, 2vw + 1rem, 39px);
  text-align: center;
}

.services-bottom-subtitle {
  color: var(--primary-color);
  font-size: clamp(18px, 1vw + 1rem, 25px);
  text-align: center;
}
.contact {
  color: var(--primary-color);
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 2rem;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact h4 {
  font-size: 1.125rem;
}

.content-contact-svg {
  width: 120px;
}

.content-mail,
.content-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.content-mail-svg,
.content-phone-svg {
  display: flex;
  width: 24px;
}

.content-blue-logo {
  max-width: 200px;
}

footer {
  border-top: 1px solid rgb(196, 196, 196);
  color: grey;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 14px;
  text-align: center;
  padding: 2rem 0rem;
  margin-top: 2rem;
}

footer span {
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .services {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .cta a {
    width: fit-content;
  }
  .content-service-images {
    flex-direction: row;
  }
}
