﻿/* Define the palettes as maps */
/* Mixin to generate CSS custom properties from a color map */
/* Apply themes as classes */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
.light-mode {
  --hero-color: rgb(11, 70, 80);
  --hero-contrast: rgb(80, 21, 11);
  --inverse-hero: white;
  --inverse-contrast: #151515;
  --plain-text: black;
  --bg-color: white;
  --inverse-text-color: white;
  --highlight1: rgba(11, 70, 80, 0.2);
  --highlight2: rgba(11, 70, 80, 0.15);
  --highlight3: rgba(11, 70, 80, 0.1);
  --link-hover: rgb(34, 88, 195);
  --cta-block-1-bg: rgba(11, 70, 80, 0.2);
  --cta-block-2-bg: rgba(11, 70, 80, 0.15);
  --cta-block-3-bg: rgba(11, 70, 80, 0.1);
  --tinted-bg: rgba(11, 70, 80, 0.1);
  --tinted-bg-2: rgba(11, 70, 80, 0.1);
  --tinted-bg-3: rgba(11, 70, 80, 0.2);
  --complimentary70: rgb(80, 21, 11);
  --thumbnail-background: rgba(0, 0, 0, 0);
  --sidebar-bg: rgba(255, 255, 255, 0.4);
  --edge-fade-color: #e8ecec;
}

.dark-mode {
  --hero-color: white;
  --hero-contrast: rgba(179, 47, 25, 0.7);
  --inverse-hero: rgb(11, 70, 80);
  --inverse-contrast: rgb(80, 21, 11);
  --plain-text: white;
  --bg-color: rgb(85, 85, 85);
  --inverse-text-color: rgb(11, 70, 80);
  --highlight1: rgba(165, 231, 243, 0.8);
  --highlight2: rgba(165, 231, 243, 0.75);
  --highlight3: rgba(165, 231, 243, 0.7);
  --link-hover: rgb(34, 88, 195);
  --cta-block-1-bg: rgba(165, 231, 243, 0.8);
  --cta-block-2-bg: rgba(165, 231, 243, 0.75);
  --cta-block-3-bg: rgba(165, 231, 243, 0.7);
  --tinted-bg: rgba(11, 70, 80, 0.7);
  --tinted-bg-2: rgb(72, 114, 121);
  --tinted-bg-3: rgb(72, 114, 121);
  --complimentary70: rgba(179, 47, 25, 0.7);
  --thumbnail-background: white;
  --sidebar-bg: rgba(0, 0, 0, 0.5);
  --edge-fade-color: #254951;
}

.contact-form-heading {
  color: var(--hero-color);
  font-weight: bold;
  font-size: 1.4rem;
  font-family: Roboto;
  text-align: center;
}

.contact-form-description {
  color: var(--hero-color);
  font-size: 1rem;
  font-family: Roboto;
  text-align: center;
}

.contact-form-container {
  max-width: 600px;
  width: 100%;
  border-radius: 4px;
  border: 2px solid var(--hero-color);
  box-sizing: border-box;
  background-color: var(--tinted-bg);
  padding: 20px;
}

input:hover, textarea:hover, select:hover {
  box-shadow: inset 1px 1px rgba(0, 0, 0, 0.3);
}

form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cform-label {
  min-width: 48%;
  margin-bottom: 10px;
  font-family: Roboto;
  font-size: 0.9rem;
}

input[type=text], select {
  min-width: 45%;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  font-family: Roboto;
  box-sizing: border-box;
}

textarea {
  min-width: 45%;
  height: 150px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  font-family: Roboto;
  box-sizing: border-box;
}

input[type=submit] {
  width: 100%;
  background-color: var(--hero-color);
  color: var(--inverse-text-color);
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: Roboto;
}

input[type=submit]:hover {
  background-color: rgba(11, 70, 80, 0.75);
}

@media screen and (max-width: 600px) {
  label,
  input[type=text],
  input[type=submit],
  select, textarea {
    flex: 100%;
    min-width: 100%;
  }
}
