:root {
  --background-1: #f6f4f5;
  --background-2: #6a6262;
  --highlight-1: #01baef;
  --highlight-2: #cfd2b2;
  --highlight-3: #0B4F6C;
}

@font-face {
    font-family: 'Dosis';
    src: url("../fonts/Dosis-Regular.09e98c03373f.ttf") format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Dosis';
    src: url("../fonts/Dosis-Bold.7176a4f7cc08.ttf") format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Dosis';
    src: url("../fonts/Dosis-ExtraBold.746dcd9b0432.ttf") format('truetype');
    font-weight: 800;
}

@font-face {
    font-family: 'Dosis';
    src: url("../fonts/Dosis-ExtraLight.4da9bf1c1d6e.ttf") format('truetype');
    font-weight: 200;
}

@font-face {
    font-family: 'Dosis';
    src: url("../fonts/Dosis-Light.cfe60b79bb20.ttf") format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Dosis';
    src: url("../fonts/Dosis-Medium.8569508a235e.ttf") format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Dosis';
    src: url("../fonts/Dosis-SemiBold.ca0ac6788b21.ttf") format('truetype');
    font-weight: 600;
}

body {
  font-family: "Dosis", sans-serif;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

html {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
}

body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html {
  background-color: var(--background-1);
  color: var(--highlight-1);
}

body {
  display: flex;
  justify-content: center;
}

.main {
  min-height: 100vh;
  width: 100%;
  max-width: 1100px;
}

header {
  padding: 0px 20px;
}

.header-main {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.header-main h1 {
  color: var(--highlight-1);
  font-weight: 800;
  font-size: 4rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.07), 
               4px 4px 6px rgba(0, 0, 0, 0.03);
}

.header-main p {
  padding-left: 40px;
  padding-top: -10px;
  position: relative;
  bottom: 0.65rem;
  color: var(--highlight-2);
  font-weight: 600;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05), 
               1px 1px 1px var(--highlight-3),
               4px 4px 6px rgba(0, 0, 0, 0.025);
}

header nav {
  display: flex;
  flex-direction: row;
  justify-content: right;
  gap: 50px;
  border-bottom: 3px solid var(--highlight-3);
}

header nav a {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--highlight-3);
  text-decoration: none;
}

.content {
  min-height: 100%;
  padding: 0 20px;
}


@media (max-width: 600px) {
  .header-main p {
    font-size: 1.5rem;
  }
}

section.home {
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
  background-color: white;
  color: var(--highlight-3);
}

section.home h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--highlight-3);
  border-bottom: 2px solid var(--highlight-2);
  padding-bottom: 0.5rem;
  margin-top: 20px;
  margin-bottom: 1rem;
}

section.home div {
  font-size: 1.15rem;
  color: var(--highlight-3);
  line-height: 1.7;
  margin-bottom: 1rem;
}

section.home div p:first-of-type::first-letter {
  line-height: 0.9;
  font-size: 2rem;
  font-weight: 600;
  color: var(--highlight-1);
  margin-right: 0.25rem;
}

section.home ul li,
section.home ol li {
  line-height: 1.6;
}

section.home ul li::marker {
  color: var(--highlight-3);
}

section.home ol,
section.home ul {
  margin: 10px 30px;

}

section.home ol {
  list-style-type: decimal;
}

section.home ol li::marker {
  color: var(--highlight-3);
  font-weight: bold;
}

@media (max-width: 768px) {
  section.home {
    padding: 1.5rem;
  }

  section.home h2 {
    font-size: 2rem;
  }

  section.home div {
    font-size: 1rem;
  }
}

section.contact {
    background-color: white;
    padding: 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

section.contact h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--highlight-3);
    border-bottom: 2px solid var(--highlight-2);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

section.contact form p {
  margin-bottom: 0.75rem;
}

section.contact label {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 500;
  color: var(--highlight-3);
  font-size: 1rem;
}

section.contact input,
section.contact textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--highlight-2);
  border-radius: 5px;
  background-color: var(--background-1);
  font-size: 0.95rem;
  font-family: "Dosis", sans-serif;
  color: var(--highlight-3);
}

@media (max-width: 768px) {
  section.contact input,
  section.contact textarea {
    font-size: 16px;
  }
}

section.contact input:focus,
section.contact textarea:focus {
  outline: none;
  border-color: var(--highlight-1);
  background-color: #fff;
}

section.contact textarea {
  min-height: 120px;
  resize: vertical;
}

section.contact .errorlist {
  color: crimson;
  margin: 0.25rem 0 0;
  font-weight: 500;
  font-size: 0.9rem;
}

section.contact button[type="submit"] {
  background-color: var(--highlight-1);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: "Dosis", sans-serif;
}
section.contact button[type="submit"].disabled {
  background-color: var(--highlight-1);
  opacity: 0.6;
  color: white;
  cursor: not-allowed;
}

section.contact button[type="submit"]:hover {
  background-color: var(--highlight-3);
}

.success-message {
  background-color: var(--highlight-2);
  color: var(--highlight-3);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  border-left: 4px solid var(--highlight-1);
  border-radius: 5px;
}


.site-footer {
  color: var(--highlight-3);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 3rem;
  margin: 0 20px;
  max-width: 1100px;
}

.site-footer p {
  margin: 0;
}
