* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --blue: #1e90ff;
  --white: #ffffff;
  --black: #393939;
  --red: #e40a1a;
  --gray: #eaeaea;
}

.ourblack {
  background-color: #393939;
}
/* This came from heropatterns.com; It's the Autumn pattern. */

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 1.1em;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='24' viewBox='0 0 88 24'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='autumn' fill='%23000000' fill-opacity='0.1'%3E%3Cpath d='M10 0l30 15 2 1V2.18A10 10 0 0 0 41.76 0H39.7a8 8 0 0 1 .3 2.18v10.58L14.47 0H10zm31.76 24a10 10 0 0 0-5.29-6.76L4 1 2 0v13.82a10 10 0 0 0 5.53 8.94L10 24h4.47l-6.05-3.02A8 8 0 0 1 4 13.82V3.24l31.58 15.78A8 8 0 0 1 39.7 24h2.06zM78 24l2.47-1.24A10 10 0 0 0 86 13.82V0l-2 1-32.47 16.24A10 10 0 0 0 46.24 24h2.06a8 8 0 0 1 4.12-4.98L84 3.24v10.58a8 8 0 0 1-4.42 7.16L73.53 24H78zm0-24L48 15l-2 1V2.18A10 10 0 0 1 46.24 0h2.06a8 8 0 0 0-.3 2.18v10.58L73.53 0H78z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.logo {
  height: 8em;
}

.display-error {
  color: var(--red);
}

/* ====================================================== */
/*                      Announcements                     */
/* ====================================================== */

.announcements {
  width: 33%;
}
.announcement-title {
  padding: 5px;
}

/* ====================================================== */
/*                      Hamburger Menu                    */
/* ====================================================== */

/* [ON BIG SCREENS] */
/* (A) WRAPPER */
#hamnav {
  display: flex;
  justify-content: center;
  width: 100%;
  background: var(--gray);
  /* Optional */
  position: sticky;
  top: 0;
}

/* (B) HORIZONTAL MENU ITEMS */
#hamitems {
  display: flex;
}
#hamitems a {
  flex-grow: 1;
  flex-basis: 0;
  padding: 5px;
  color: var(--black);
  text-decoration: none;
  text-align: center;
  font-size: 0.9em;
}
#hamitems a:hover {
  background: #ff9393;
}

/* (C) HIDE HAMBURGER */
#hamnav label,
#hamburger {
  display: none;
}

/* [ON SMALL SCREENS] */
@media screen and (max-width: 768px) {
  /* (A) BREAK INTO VERTICAL MENU */
  #hamitems a {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border-top: 1px solid #333;
  }
  .seperator {
    display: none;
  }

  /* (B) SHOW HAMBURGER ICON */
  #hamnav label {
    display: inline-block;
    color: white;
    /* background: #a02620; */
    background: black;
    font-style: normal;
    font-size: 1.2em;
    padding: 10px;
  }

  /* (C) TOGGLE SHOW/HIDE MENU */
  #hamitems {
    display: none;
  }
  #hamnav input:checked ~ #hamitems {
    display: block;
  }
}

.seperator {
  color: #9ca3af;
}
/* ====================================================== */
/*                      Headings                          */
/* ====================================================== */

.rotateImage180 {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.flipVertical {
  transform: scaleY(-1);
}
.flipHorizonal {
  transform: scaleX(-1);
}

.top-heading {
  font-family: "Mochiy Pop One", sans-serif;
  font-size: 1.5em;
}

header {
  background-image: url("../img/header-640.svg");
  background-repeat: no-repeat;
  background-position: center;
  height: 115px;
}

/* ====================================================== */
/*                   Footer                               */
/* ====================================================== */

footer {
  background-color: var(--black);
  color: #d1d5db;
  padding: 30px;
  font-weight: 400;
}

.lastfooter {
  background-color: var(--black);
  color: #d1d5db;
  padding: 10px;
  font-weight: 400;
}

.middlefooter {
  background-color: var(--black);
  margin-top: -2px;
  margin-bottom: -2px;
}

.footer-logo {
  height: 4em;
}

.anLogo {
  height: 30px;
}

img.centered {
  margin: auto;
  display: block;
}

.grid-container {
  background-color: var(--black);
  color: white;
  width: 350px;
  justify-content: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.inside-button {
  background-color: #969da9;
  color: var(--gray);
}

.outside-button {
  background-color: #c07a7a;
  color: var(--gray);
}
/* ====================================================== */
/*                   Phone Breakpoints                    */
/* ====================================================== */

@media (max-width: 640px) {
  .logo {
    height: 100px;
    padding: 5px;
  }
  header {
    justify-content: center;
  }
  .footer {
    flex-direction: column;
    font-size: 90%;
    text-align: center;
  }
}

/* ====================================================== */
/*                   Tablet Breakpoints                   */
/* ====================================================== */

@media (min-width: 641px) {
  .top-heading {
    margin-top: 10px;
    flex-direction: row;
  }
  .footer {
    flex-direction: column;
    text-align: center;
  }
  header {
    background-image: url("../img/header-1000.svg");
  }
  #hamitems {
    width: 60%;
  }
}

/* ====================================================== */
/*                   Desktop Breakpoints                  */
/* ====================================================== */

@media (min-width: 1000px) {
  header {
    background-image: url("../img/header-2000.svg");
  }
  #hamitems {
    width: 60%;
  }
}
