﻿/********/
/* ROOT */
/********/

:root {
  font-family: Montserrat-Regular, 'Courier New', Courier, monospace;
}

*:focus {
  outline-offset: 2px;
  outline-width: 3px;
  outline-style: solid;
  outline-color: var(--color3);
}

/**********************/
/* TOP LEVEL ELEMENTS */
/**********************/

main {
  position: relative;
  overflow: hidden;
}

section {
  padding: 4rem 0;
  overflow: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: MontserratAlternates-Bold, 'Courier New', Courier, monospace;
  color: var(--color4);
}

h1,
.style-as-h1 {
  font-size: 5rem;
  line-height: normal;
}

h2,
.style-as-h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3,
.style-as-h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h4,
.style-as-h4 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

h5,
.style-as-h5 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

h6,
.style-as-h6 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  h1,
  .style-as-h1 {
    font-size: 3.75rem;
  }

  h2,
  .style-as-h2 {
    font-size: 2rem;
  }

  h3,
  .style-as-h3 {
    font-size: 1.75rem;
  }

  h4,
  .style-as-h4 {
    font-size: 1.5rem;
  }

  h5,
  .style-as-h5 {
    font-size: 1.25rem;
  }

  h6,
  .style-as-h6 {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  h1,
  .style-as-h1 {
    font-size: 2.5rem;
  }

  h2,
  .style-as-h2 {
    font-size: 1.5rem;
  }

  h3,
  .style-as-h3 {
    font-size: 1.25rem;
  }

  h4,
  .style-as-h4 {
    font-size: 1.125rem;
  }

  h5,
  .style-as-h5 {
    font-size: 1rem;
  }

  h6,
  .style-as-h6 {
    font-size: 0.875rem;
  }
}

p,
.style-as-p {
  font-size: 1.125rem;
}

@media (max-width: 480px) {
  p,
  .style-as-p {
    font-size: 1rem;
  }
}

li {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

label {
    color: #333;
    font-weight: bold;
    font-size: 1.25rem !important;
    font-family: Montserrat-Regular, 'Courier New', Courier, monospace !important;
    padding: 0 !important;
}
input, textarea {
  	padding: 0.75rem !important;
    border: 1px solid var(--color4) !important;
    border-radius: 5px !important;
  	color: #333;
}

/* -----------------------------
   LINK BUTTON (GENERAL PURPOSE, USED THROUGHOUT SITE)
------------------------------ */
button,
.link-btn {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  border: 5px solid var(--color1);
  transition: background-color 0.2s ease;
  font-size: 1.25rem;
  padding: 10px 15px;
  border-radius: 10px;
  align-items: center;
  gap: 1rem;
  background-color: transparent;
}

.link-btn--full-width {
  display: flex;
  justify-content: space-between;
  padding: 12px 24px;
}

.link-btn--high-border-radius {
  border-radius: 25px;
}

button:hover,
.link-btn:hover {
  background-color: var(--color1);
  color: var(--color4);
}

/* Responsive: .button only */
@media (max-width: 768px) {
  .button {
    font-size: 1rem;
  }
}

/* -----------------------------
   LINK BUTTON (LARGE CTA BLOCK)
------------------------------ */
.link-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  margin-top: 2.5rem;
  border-width: 7px;
  border-radius: 25px;
  border-color: var(--color1);
}

.link-button:hover {
  background-color: var(--color1);
}

/* Utility: shrink-to-fit version */
.link-button--fit-content {
  display: inline-block;
}

/* Inner title styling for link-style buttons */
.link-button__title {
  margin-bottom: 0;
  font-size: 1.25rem;
}

/************************************************************/
/* 
    The following creates the custom ol and ul list styling applied 
    throughout the site.
*/
/***********************************************************/

ol {
  /* Initialize counter */
  counter-reset: step-counter;
  margin-top: 1rem;
  padding-left: 0;
}

ol li {
  /* Increment for each li */
  counter-increment: step-counter;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #3d3d3d25;
}

ol li::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;

  /* Lock the badge size */
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;

  /* Optional, but helps with consistent sizing */
  box-sizing: border-box;
  white-space: nowrap;
  color: var(--color7);
  font-weight: bold;
  border-radius: 6px;
}

/* Colors */
ol li:nth-child(3n + 1)::before {
  background-color: var(--color1);
}

ol li:nth-child(3n + 2)::before {
  background-color: var(--color2);
}

ol li:nth-child(3n + 3)::before {
  background-color: var(--color3);
}

ol li::before li .h2 {
  padding: 1rem 0;
}

ol li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  ol {
    padding-inline-start: 0;
  }
}

/*************/
/* UTILITIES */
/*************/

/* 
    The following are utility classes for layout and sizing.  They can be added 
    to elements when needed 
*/

/* Wrappers to constrain max width of content */
.max-width-wrapper {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px 24px;
}

.max-width-wrapper--half {
  max-width: 592px;
}

.max-width-wrapper--wide {
  max-width: 1184px;
}

.max-width-wrapper--mid {
  max-width: 1072px;
}

.max-width-wrapper--narrow {
  max-width: 768px;
}

/* Background colors */
.bg-white {
  background-color: var(--color6);
}

.bg-offwhite {
  background-color: var(--color7);
}

.bg-gray {
  background-color: var(--color7);
}

/* Width utilities */
.width-10pc {
  width: 10%;
}
.width-20pc {
  width: 20%;
}
.width-30pc {
  width: 30%;
}
.width-40pc {
  width: 40%;
}
.width-50pc {
  width: 50%;
}
.width-60pc {
  width: 60%;
}
.width-70pc {
  width: 70%;
}
.width-80pc {
  width: 80%;
}
.width-90pc {
  width: 90%;
}
.width-100pc {
  width: 100%;
}

/* Flexbox utilities */
.flex {
  display: flex;
}
.flex-1 {
  flex: 1;
}
.flex-end {
  justify-content: flex-end;
}

/* Padding utilities */
.padding-0 {
  padding: 0;
}
.padding-1 {
  padding: 1rem;
}
.padding-2 {
  padding: 2rem;
}
.padding-3 {
  padding: 3rem;
}

.padding-top-0 {
  padding-top: 0;
}
.padding-top-1 {
  padding-top: 1rem;
}
.padding-top-2 {
  padding-top: 2rem;
}
.padding-top-3 {
  padding-top: 3rem;
}
.padding-bottom-0 {
  padding-bottom: 0;
}
.padding-bottom-1 {
  padding-bottom: 1rem;
}
.padding-bottom-2 {
  padding-bottom: 2rem;
}
.padding-bottom-3 {
  padding-bottom: 3rem;
}

/* Margin utilities */
.margin-0 {
  margin: 0;
}
.margin-1 {
  margin: 1rem;
}
.margin-2 {
  margin: 2rem;
}
.margin-3 {
  margin: 3rem;
}

.margin-top-0 {
  margin-top: 0;
}
.margin-top-1 {
  margin-top: 1rem;
}
.margin-top-2 {
  margin-top: 2rem;
}

.margin-top-2-5 {
  margin-top: 2.5rem;
}

.margin-top-3 {
  margin-top: 3rem;
}

.margin-bottom-0 {
  margin-bottom: 0;
}
.margin-bottom-1 {
  margin-bottom: 1rem;
}
.margin-bottom-2 {
  margin-bottom: 2rem;
}
.margin-bottom-3 {
  margin-bottom: 3rem;
}

.margin-left-auto {
  margin-left: auto;
}
.margin-right-auto {
  margin-right: auto;
}

.margin-left-0 {
  margin-left: 0;
}
.margin-left-1 {
  margin-left: 1rem;
}
.margin-left-2 {
  margin-left: 2rem;
}
.margin-left-3 {
  margin-left: 3rem;
}
.margin-right-0 {
  margin-right: 0;
}
.margin-right-1 {
  margin-right: 1rem;
}
.margin-right-2 {
  margin-right: 2rem;
}
.margin-right-3 {
  margin-right: 3rem;
}

/* Text alignment utilities */
.text-align-center {
  text-align: center;
}
.text-align-right {
  text-align: right;
}
.text-align-left {
  text-align: left;
}
.text-align-justify {
  text-align: justify;
}

/* Position utilities */
.position-relative {
  position: relative;
}
.position-absolute {
  position: absolute;
}
.position-fixed {
  position: fixed;
}
.position-static {
  position: static;
}
.position-sticky {
  position: sticky;
}
.position-centered {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.position-centered-vertically {
  top: 50%;
  transform: translateY(-50%);
}
.position-centered-horizontally {
  left: 50%;
  transform: translateX(-50%);
}
.positioned-on-right-edge {
  right: 0;
}

/* Z-index utilities */
.z-index--1 {
  z-index: -1;
}
.z-index-0 {
  z-index: 0;
}
.z-index-1 {
  z-index: 1;
}
.z-index-2 {
  z-index: 2;
}

/* Border radius utilities */
.border-radius-0 {
  border-radius: 0;
}
.border-radius-1 {
  border-radius: 1rem;
}
.border-radius-2 {
  border-radius: 2rem;
}
.border-radius-3 {
  border-radius: 3rem;
}
