@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap");

:root {
  --mem-primary: #103f72;
  --mem-primary-dark: #0d345e;
  --mem-red: #d71920;

  --mem-text: #315a82;
  --mem-muted: #607b96;

  --mem-background: #f7f9fc;
  --mem-border: #d9e3ed;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;

  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;

  margin: 0;
  padding: 0;

  color: var(--mem-primary);
  background: var(--mem-background);

  font-family: "Inter", Arial, sans-serif;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;

  max-width: 100%;
}

a {
  color: inherit;

  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.mem-site {
  display: flex;
  flex-direction: column;

  min-height: 100vh;
}

.mem-container {
  width: min(1220px, calc(100% - 32px));

  margin-inline: auto;
}

/* =========================================================
   TOPBAR
   ========================================================= */

.mem-topbar {
  height: 36px;

  color: white;
  background: var(--mem-primary);
}

.mem-topbar-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  height: 100%;

  font-size: 11px;
  font-weight: 500;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.mem-topbar-divider {
  width: 1px;
  height: 13px;

  margin-inline: 12px;

  background: rgb(255 255 255 / 40%);
}

/* =========================================================
   HEADER
   ========================================================= */

.mem-header {
  position: relative;

  overflow: hidden;

  border-bottom: 1px solid #dce5ef;

  background: white;
}

.mem-header-decoration {
  position: absolute;
  top: 0;

  width: 28%;
  height: 100%;

  pointer-events: none;
}

.mem-header-decoration-left {
  left: 0;

  background: linear-gradient(
    to right,
    #eaf1f8,
    rgb(246 249 252 / 70%),
    transparent
  );
}

.mem-header-decoration-right {
  right: 0;

  background: linear-gradient(
    to left,
    #edf3f8,
    rgb(247 250 252 / 60%),
    transparent
  );
}

.mem-header-container {
  position: relative;

  padding-top: 38px;
  padding-bottom: 28px;
}

.mem-branding {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 46px;
}

.mem-government-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mem-government-logo img {
  width: auto;
  max-width: 290px;
  height: 112px;

  object-fit: contain;
}

.mem-brand-divider {
  width: 1px;
  height: 96px;

  background: #9fb2c8;
}

.mem-event-logos {
  display: flex;
  align-items: center;

  gap: 28px;
}

.mem-energy-logo {
  width: auto;
  max-width: 290px;
  max-height: 82px;

  object-fit: contain;
}

.mem-olacde-logo {
  width: auto;
  max-width: 190px;
  max-height: 72px;

  object-fit: contain;
}

/* =========================================================
   TAGLINE
   ========================================================= */

.mem-tagline {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 24px;

  margin-top: 32px;
}

.mem-tagline span {
  width: 112px;
  height: 1px;

  background: rgb(16 63 114 / 70%);
}

.mem-tagline p {
  margin: 0;

  color: #345b83;

  font-size: 12px;
  font-weight: 500;

  letter-spacing: 0.34em;

  text-align: center;
  text-transform: uppercase;
}

/* =========================================================
   BODY
   ========================================================= */

.mem-site-content {
  flex: 1;

  width: 100%;
}

.mem-page {
  width: 100%;
}

/* =========================================================
   FOOTER
   ========================================================= */

.mem-footer {
  border-top: 1px solid var(--mem-border);

  background: white;
}

.mem-footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  gap: 32px;

  padding-top: 28px;
  padding-bottom: 28px;
}

.mem-footer-logo {
  width: auto;
  max-width: 230px;
  max-height: 70px;

  object-fit: contain;
}

.mem-footer-divider {
  width: 1px;
  height: 64px;

  background: #b7c6d6;
}

.mem-footer-event {
  color: #315a82;

  font-family: "Libre Baskerville", Georgia, serif;

  font-size: 13px;

  text-align: center;
}

.mem-footer-separator {
  margin-inline: 12px;

  color: #a7b8c8;
}

.mem-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  color: #315a82;

  font-size: 12px;
}

.mem-footer-label {
  margin-bottom: 6px;

  color: #536e89;
}

.mem-footer-contact a + a {
  margin-top: 4px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .mem-branding {
    flex-direction: column;

    gap: 24px;
  }

  .mem-brand-divider {
    display: none;
  }

  .mem-footer-content {
    display: flex;
    flex-direction: column;

    text-align: center;
  }

  .mem-footer-divider {
    display: none;
  }

  .mem-footer-contact {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .mem-container {
    width: calc(100% - 24px);
  }

  .mem-topbar-content {
    justify-content: center;

    font-size: 9px;
  }

  .mem-header-container {
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .mem-government-logo img {
    width: auto;
    max-width: 230px;
    height: 82px;
  }

  .mem-event-logos {
    gap: 16px;
  }

  .mem-energy-logo {
    max-width: 180px;
  }

  .mem-olacde-logo {
    max-width: 115px;
  }

  .mem-tagline {
    margin-top: 24px;
  }

  .mem-tagline span {
    display: none;
  }

  .mem-tagline p {
    font-size: 9px;
    line-height: 1.6;
  }
}

.mem-confirmation-error-label {
  margin: 24px 0 0;

  color: #c72c32;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}
