:root {
  --white: rgba(255,255,255,1);
  --gray-light: #f3f3f3;
  --gray: rgba(128, 128, 128, 1);
  --gray-dark: rgba(40,40,40,1);
  --black: #333333;
  --purple: rgba(108,0,255,1);
  --light-purple: #a86aff;
  --blue: rgba(0,156,255,1);
  --blue-dark: #1583C7;
  --blue-light: rgba(0,156,255,.6);
  --red: rgba(255,0,84,1);
  --orange: rgba(245,80,35,1);
  --yellow: #f6fa53;
  --green: rgba(34,209,25,1);
  --teal: rgba(33,198,169,1);
  --pink: #ff2bbc;
  
  --text: var(--black);
  --border: var(--white);
  --bg: var(--white);
  
  --font-family: "Source Sans 3", sans-serif;
  --font-family-headings: "Trajan Pro", serif;
  --font-size: 1.6rem;
}

html {
  font-size: 62.5%;
  font-family: var(--font-family);
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  line-height: 1.5;
  font-size: var(--font-size);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-headings);
  font-weight: 400;
}

a {
  color: currentColor;
  text-decoration: underline;
}

a:focus,
a:hover {
  color: var(--blue-dark);
}

a:active {
  color: var(--orange);
}

.container {
  max-width: 1024px;
  margin-inline: auto;
  padding-inline: 5vw;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: var(--border);
  color: var(--text);
  border-inline: 5vw solid transparent;
  padding-block: 1rem;
}

.site-header .container {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.site-header .site-branding {
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: center;
  max-width: 300px;
  gap: 1.6rem;
}

.site-header .site-branding a {
  text-decoration: none;
}

.site-branding .site-title {
  font-weight: 900;
  font-size: 1.8rem;
  text-transform: uppercase;
  line-height: 1.125;
}

.site-header .site-logo img {
  max-height: 3.5em;
}

.main-menu .mobile-menu {
  position: relative;
}

.mobile-menu summary {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-block: 5px solid transparent;
  padding-block: 1.25rem;
}

.mobile-menu[open] summary {
  border-bottom-color: var(--blue-dark);
}

.mobile-menu .mobile-menu-items {
  margin-top: 0;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  display: flex;
  flex-flow: column nowrap;
  text-align: right;
  gap: 1rem;
  background-color: var(--white);
  border-right: 5px solid var(--blue-dark);
  padding: 1.5rem;
}

@media screen and (min-width: 1023px) {
  .mobile-menu {
    display: none;
  }
}

.main-menu .desktop-menu {
  display: none;
}

@media screen and (min-width: 1024px) {
  .main-menu .desktop-menu {
    display: flex;
    flex-flow: row nowrap;
    gap: 1.5em;
  }
}

section {
  padding-block: 15rem;
  border-bottom: 5vw solid var(--border);
  border-inline: 5vw solid;
  background-color: var(--bg);
  color: var(--text);
}

section:nth-of-type(odd) {
  border-left-color: var(--border);
  border-right-color: transparent;
}

section:nth-of-type(even) {
  border-left-color: transparent;
  border-right-color: var(--border);
}

@media screen and (min-width: 1024px) {
  section {
    padding-block: 20rem;
  }
}

#capa {
 padding-block: 0;
 border: none;
 position: relative;
}

#capa .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
}

#capa .hero {
  max-width: 300px;
  width: 100%;
}

.carousel .slide {
  width: 100%;
  height: calc(100vh - 93px);
}

.carousel .slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section:not(#capa) > .container {
  display: flex;
  flex-flow: column nowrap;
  align-items: start;
}

@media screen and (min-width: 1024px) {
  section:not(#capa) .container {
    flex-flow: row nowrap;
  }
  
  section:not(#capa):nth-of-type(odd) .container {
    flex-flow: row-reverse nowrap;
  }
}

section:not(#capa) h2 {
  font-size: calc(var(--font-size) * 1.5);
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 1rem solid var(--text);
}

@media screen and (min-width: 1024px) {
  section:not(#capa) h2 {
    min-width: 300px;
  }
  
  section:not(#capa):nth-of-type(odd) h2 {
    flex-flow: row-reverse nowrap;
    text-align: right;
  }
}

section:not(#capa) .content {
  margin-top: 1.5rem;
}

@media screen and (min-width: 1024px) {
  section:not(#capa) .content {
    border-left: 1rem solid var(--text);
    padding-left: 2vw;
  }
  
  section:not(#capa):nth-of-type(odd) .content {
    border-left: 0;
    border-right: 1vw solid var(--text);
    padding-left: 0;
    padding-right: 2vw;
    
  }
}

section .content > * {
  margin-bottom: var(--font-size);
}

.content details {
  background: var(--white);
  color: var(--black);
  border-left: 5px solid transparent;
  padding: 1.5rem;
}

.content details[open] {
  border-left-color: var(--black);
}

.content summary {
  font-weight: 900;
  font-size: 125%;
}

details > :not(summary) {
  margin-top: 1.5rem;
}

ul, ol {
  list-style-position: inside;
}

summary {
  cursor: pointer;
  list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

details > summary::marker {
    display: none;
}

form {
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  gap: 1.5rem;
}

form > div {
  display: flex;
  flex-flow: column nowrap;
  gap: 0.5rem;
}

form label {
  font-weight: 700;
}

form input,
form textarea {
  width: 100%;
  border: none;
  border-left: 2px solid var(--blue-dark);
  font-size: 1.85rem;
  line-height: 1.5;
  padding-block: 1rem;
  padding-inline: 0.5rem;
  transition: border 0.5s ease;
}

form input:focus,
form textarea:focus,
form input:active,
form textarea:active {
  border-left-color: var(--orange);
  outline: none;
}

form textarea {
  min-height: 150px;
  font: inherit;
}

button {
  font: inherit;
  font-size: 1.5em;
  font-weight: 900;
  padding-block: 0.5rem;
  cursor: pointer;
  color: var(--white);
  background-color: var(--blue-dark);
  border: 0.15rem solid var(--text);
  box-shadow: 5px 5px 0 var(--gray-dark);
  transition: color 0.36s ease, background-color 0.36s ease, box-shadow 0.25s ease;
}

button:hover,
button:focus {
  background-color: var(--yellow);
  color: var(--black);
  outline: none;
}

button:active {
  box-shadow: 0 2px 0 var(--gray-dark);
}

.site-footer {
  border-inline: 5vw solid transparent;
  border-right-color: var(--border);
  background: var(--black);
  color: var(--white);
  padding-block: 5rem;
  font-size: 1.4rem;
}

.site-footer .container {
  display: flex;
  flex-flow: column nowrap;
  gap: 1.5rem;
}

@media screen and (min-width: 1024px) {
  .site-footer .container {
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
  }
}

.site-footer ul {
  list-style: none;
  font-size: 1.4rem;
}

@media screen and (width < 1024px) {
  .site-footer ul {
    text-align: center;
    line-height: 2;
  }
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--green);
}

.site-footer .brand {
  text-align: center;
}

/* Honeypot field - completely hidden from users */
.honeypot {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

dialog[open] {
  box-shadow: 5px 5px 0 var(--gray-dark);
  border: none;
  border-left: 5px solid var(--blue);
  display: flex;
  flex-flow: column nowrap;
  gap: 2rem;
  width: 100%;
  max-width: 350px;
}
