/**
 * Homepage (index) styling
 */
/**
 * A variable for any cross SCSS file animation variables, like default timing
 */
/**
 * IMPORTANT: Most of these are exposed as CSS variables in main.scss
 */
/**
 * Variables for spacing (like margin and padding) and sizing (like breakpoints
 * and content width)
 */
body, .text-cont > * {
  background-color: var(--intense-bg-color);
}

section.first-sect {
  position: relative;
  overflow: hidden;
}

.main-cont {
  display: grid;
  grid-template-rows: 26rem;
  grid-template-columns: 26rem 1fr;
  width: 95%;
  max-width: 1200px;
  margin: 8rem auto 14rem;
}
.main-cont p:first-of-type {
  margin: 10px 0 0;
}
.main-cont .img-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}
.main-cont .img-cont img {
  height: 100%;
  border-radius: 30px;
  box-shadow: -6px 6px 0px rgba(0, 0, 0, 0.25);
}

.text-cont {
  margin-left: 5rem;
  align-self: center;
}
.text-cont > * {
  display: inline-block;
  padding: 0 0.5rem;
}
.text-cont p {
  font-size: 1.1rem;
}

.shape#img-tri {
  animation-duration: 8.8s;
  left: -9%;
  top: -10%;
}
.shape#img-pent {
  left: 92%;
  top: 91%;
}
.shape#sect-sq-1 {
  left: 10%;
  top: 80%;
}
.shape#sect-sq-2 {
  right: 10%;
  top: 10%;
}
.shape#sect-circ-1 {
  animation-duration: 7.2s;
  right: 30%;
  bottom: 0%;
}
.shape#sect-circ-2 {
  animation-duration: 8.8s;
  right: 5%;
  bottom: 10%;
}

.hero {
  height: 50rem;
  padding: 0 2rem;
}
.hero .sect-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: auto;
  height: 100%;
  gap: 5rem;
  color: #FFFFFF;
  box-sizing: border-box;
}
.hero .sect-inner .hero-text {
  max-width: 650px;
}
.hero .sect-inner .hero-text h2 {
  font-size: 2rem;
}
.hero .sect-inner .hero-text p {
  font-size: 1.5rem;
}
.hero .sect-inner svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/**
 * Unique styling for each section. They each have linear gradients which rotate
 * on mobile so that the icon and text are always in front of the same color.
 */
.hero.-moon-sect {
  background: linear-gradient(90deg, #3F3F3F, #1F1F1F);
}
@media (max-width: 1200px) {
  .hero.-moon-sect {
    background: linear-gradient(180deg, #3F3F3F, #1F1F1F);
  }
}
.hero.-moon-sect svg #MoonOnly {
  animation: bob 4s ease-in-out 0s infinite alternate;
}
.hero.-moon-sect svg #Stars path {
  animation: blink 10s ease-in-out 0s infinite;
}
.hero.-moon-sect svg #Stars path:nth-of-type(1) {
  animation-delay: 2s;
}
.hero.-moon-sect svg #Stars path:nth-of-type(2) {
  animation-delay: 10s;
}
.hero.-moon-sect svg #Stars path:nth-of-type(3) {
  animation-delay: 12s;
}
.hero.-moon-sect svg #Stars path:nth-of-type(4) {
  animation-delay: 6s;
}
.hero.-moon-sect svg #Stars path:nth-of-type(5) {
  animation-delay: 5s;
}
.hero.-moon-sect svg #Stars path:nth-of-type(6) {
  animation-delay: 1s;
}
.hero.-moon-sect svg #Stars path:nth-of-type(7) {
  animation-delay: 18s;
}

.hero.-a11y-sect {
  background: linear-gradient(90deg, #0042C1, #0098A2);
}
@media (max-width: 1200px) {
  .hero.-a11y-sect {
    background: linear-gradient(180deg, #0042C1, #0098A2);
  }
}
.hero.-a11y-sect .sect-inner svg {
  animation: bob 2s ease-in-out 0s infinite alternate;
  height: 15rem;
}

.hero.-fast-sect {
  background: linear-gradient(90deg, #FA6000, #D80000);
}
@media (max-width: 1200px) {
  .hero.-fast-sect {
    background: linear-gradient(180deg, #FA6000, #D80000);
  }
}
.hero.-fast-sect svg:hover #Train, .hero.-fast-sect svg:hover #TrainShadow {
  animation: train-bob 0.5s ease-in-out;
}

.hero.-hire-sect {
  height: 40rem;
  margin-bottom: 0;
}
.hero.-hire-sect .sect-inner {
  justify-content: center;
  min-height: 0;
}
.hero.-hire-sect .sect-inner > div {
  position: relative;
  text-align: center;
  width: 100%;
}
.hero.-hire-sect h2, .hero.-hire-sect a {
  position: relative;
  z-index: 2;
}
.hero.-hire-sect h2 {
  color: #FFFFFF;
  font-size: 3.5rem;
  margin: 0;
}
.hero.-hire-sect a {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  margin-top: 2rem;
  background-color: #FFFFFF;
  border: 5px solid #D80000;
  border-radius: 15px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
  color: #D80000;
  font-size: 1.5rem;
  font-weight: bold;
}
.hero.-hire-sect a:hover, .hero.-hire-sect a:focus {
  color: #A30000;
  text-decoration: none;
  border-color: #A30000;
}
.hero.-hire-sect a:focus {
  outline-color: #FFFFFF;
}

/**
 * Bob up and down
 */
@keyframes bob {
  0% {
    transform: translate(0, -0.5rem);
  }
  100% {
    transform: translate(0, 0.5rem);
  }
}
/**
 * An animation for stars that keeps them fully opaque but blinks them quickly
 * at the start
 */
@keyframes blink {
  0% {
    opacity: 1;
  }
  2% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
/**
 * Does a quick but small bob at the animation start, like a train going over a
 * bump
 */
@keyframes train-bob {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(0, 5px);
  }
  40% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}
/**
 * Tablet & Mobile - Switch to vertical layout
 */
@media (max-width: 1200px) {
  .main-cont {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    background-color: transparent;
    width: 90%;
    box-shadow: none;
    margin: 3rem auto 2rem;
    border-radius: 0;
  }
  .main-cont .img-cont {
    width: 75%;
    max-width: 400px;
    height: auto;
    margin: auto;
  }
  .main-cont .img-cont img {
    width: 100%;
    height: auto;
  }
  .main-cont .text-cont {
    padding: 1.25rem 0;
    margin: 0;
    align-self: flex-start;
  }
  .shape.-desktop {
    display: none;
  }
  .shape#sect-circ-2 {
    bottom: 2%;
  }
  .hero {
    height: auto;
  }
  .hero.-a11y-sect .sect-inner svg {
    width: 40%;
  }
  .hero.-hire-sect.shapes-hero .shape:nth-of-type(3) {
    bottom: -9rem;
    top: auto;
  }
  .hero.-hire-sect .sect-inner h2 {
    font-size: 3rem;
  }
  .hero.-hire-sect .sect-inner a {
    font-size: 1.5rem;
  }
  .hero .sect-inner {
    flex-direction: column;
    justify-content: space-around;
    padding: 5rem 0rem;
    min-height: 80vh;
    gap: 3rem;
  }
  .hero .sect-inner h2 {
    margin-top: 0;
    font-size: 1.5rem;
  }
  .hero .sect-inner svg {
    width: 80%;
    height: auto;
  }
}

/*# sourceMappingURL=index.css.map */