@font-face {
  font-family: 'taco-din';
  src: url(/assets/fonts/DIN\ Condensed\ Bold.ttf);
}

@font-face {
  font-family: 'taco-avenir';
  src: url(/assets/fonts/AvenirNext-DemiBold.otf);
}

@font-face {
  font-family: 'taco-lon';
  src: url(/assets/fonts/LondrinaSolid-Regular.otf);
}

:root {
  --main-bg-yellow: #F4FFA1;
  --main-bg-orange: #FFC217;
  --main-bg-red: #BE1E2D;
  --main-bg-green: #15473c;
  --win-width: 100vw;
}

h1 {
  font-family: 'taco-din', sans-serif;
  color: darkgreen;
}

p {
  font-family: 'taco-avenir', sans-serif;
  font-weight: 100;
}

.londrina-solid-light {
  font-family: "Londrina Solid", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.hamburger-menu {
  display: none;
}


.main-nav-top a:hover,
.main-nav-top a:active,
.main-nav-top a:focus,
.main-nav-top a.active {
  border-bottom: 2px solid #F4FFA1;
}

.active {
  border-bottom: 2px solid #15473c;
}


.main-nav {
  top: 0px;
  border-top: 16px solid var(--main-bg-red);
  padding: 0 110px;
  z-index: 999;
  position: relative;
}

.main-nav-top {
  display: flex;
  justify-content: space-between;
}

.main-nav-item a {
  margin-left: 1rem;
  padding: 5px 12px;
  position: relative;
  top: 1rem;
  color: #F4FFA1;
  text-decoration: none;
  font-family: 'taco-avenir', 'IBM Plex Sans Condensed', 'sans-serif';
}

.main-nav a.link {
  text-decoration: none;
}

.main-nav a.visited {
  text-decoration: none;
}

.logo {
  top: -34px;
  width: 11.5rem;
  height: auto;
  position: absolute;
}

.footer-header {
  font-family: 'taco-din', 'IBM Plex Sans Condensed', 'sans-serif';
  font-size: 1.5rem;
}

@media screen and (min-width: 769px) {
  .close-on-mobile {
    display: none;
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .9));
  }
}

.footer {
  background-image: url('assets/png/footer-bg.png');
  width: 100vw;
  position: relative;
  padding: 1rem 0;
  margin-top: -25px;
  color: var(--main-bg-green);
}

.cards {
  margin-top: 15px;
  font-family: 'taco-din', 'IBM Plex Sans Condensed', 'sans-serif';
  font-size: 1.5rem;
}

.footer-main-content {
  margin-top: 4rem;
  color: var(--main-bg-green);
  font-family: "IBM Plex Sans Condensed", sans-serif;
  width: 100vw;
  display: flex;
  justify-content: space-around;

  .column {
    float: left;
    text-align: center;

  }

  .footer-menu {
    display: grid;

    >a {
      font-family: 'taco-din', 'IBM Plex Sans Condensed', sans-serif;
      font-size: 1.5rem;
      text-decoration: none;
      color: var(--main-bg-green);
    }
  }

  .footer-social {
    color: var(--main-bg-green);
    font-family: "IBM Plex Sans Condensed", sans-serif;
  }

  .footer-form {
    display: flex;
    /* align-content: space-between; */
    flex-direction: column;

    .submit {
      float: right;
      border-radius: 3px;
      color: #F4FFA1;
      padding: 6px;
      margin: 10px 0 20px 0;
    }
  }

  .footer-icons > a {
    text-decoration: none;
  }

  .social-icons {
    height: 50px;
  }

  .cards-img>img {
    width: 15rem;
    height: 7rem;
  }
}

.copyright {
  bottom: 0px;
  position: absolute;
  width: 100vw;
  height: 5vh;
  line-height: 5vh;
  background-color: #BE1E2D;
  color: #ffffff;
  text-align: center;
  vertical-align: middle;
  font-family: 'taco-avenir', 'Courier New', Courier, monospace;
  font-size: 14px;
}

.row {
  display: flex;
  justify-content: end;
  align-items: center;
}

.row label {
  color: var(--main-bg-green);
  font-size: 16px;
  margin-left: 10px;
}

input[type=text],
textarea {
  margin: 10px 0;
  border: none;
  padding-left: 10px;
  border-radius: 2px;
}

input[type=text] {
  height: 25px;
  width: -webkit-fill-available;
  border: none;
  padding-left: 10px;
}

input[type=submit] {
  background-color: var(--main-bg-green);
  color: #FFFFFF;
  border-radius: 2px;
  font-size: 18px;
  margin-left: 10px;
  border: none;
}

.message textarea {
  width: 100%;
}

#overlay {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  inset: 0;
  z-index: 9;
  display: none;
}

@media only screen and (min-width: 768px) {
  .footer {
    height: 28rem;
  }
}

@media only screen and (max-width: 768px) {

  main {
    height: 30vh;

    img {
      height: 30vh;
      object-fit: cover;
    }
  }

  .footer-social {
    padding: 20px 0;
  }

  .main-nav {
    padding: 0 10px;

    .main-nav-top {
      display: flex;

      .logo {
        width: 6rem;
      }
    }

  }

  .main-nav-item {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(10rem, 100%);
    z-index: 10;
    background-color: rgba(190, 30, 45, 1);
    transition: right 300ms ease-out;
  }

  .main-nav-item a {
    margin: 15px;
    padding: 0;
    position: relative;
    top: 1rem;
    color: #F4FFA1;
    text-decoration: none;
    font-size: 0.8rem;
    font-family: 'taco-avenir', 'IBM Plex Sans Condensed', 'sans-serif';
  }

  .show {
    right: 0%;
  }

  #open-sidebar-button {
    display: block;
    background: none;
    border: none;
    /* padding: 1em; */
    margin-left: auto;
    cursor: pointer;
    margin-top: -6px;
    top: 18px;
    position: relative;
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .9));
  }

  #close-sidebar-button {
    background: none;
    border: none;
    padding: 1em 1em 0;
    cursor: pointer;
  }

  nav a {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
  }

  .about-head {
    font-size: 1.5rem;
    color: var(--main-bg-green);
  }


  body {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
  }

  .footer-main-content {
    background-repeat: no-repeat;
    background-color: #FFC217;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .footer-menu {
    align-items: center;
    padding-bottom: 2rem;

    >.menu-middle {
      padding: 2rem;
    }

    >a {
      text-decoration: none;
    }
  }

  .footer-icons {
    align-items: center;
    cursor: pointer;
    padding: 5px;
    height: 50px;
  }

  .footer-form {
    display: flex;
    padding: 5%;

    .row .label {
      margin: auto;
    }
  }

  .copyright {
    position: absolute;
  }

  .footer-social {
    width: 100%;
  }

  .main-nav-top a:hover,
  .main-nav-top a:active,
  .main-nav-top a:focus,
  .main-nav-top a.active {
    border-bottom: 2px solid #F4FFA1;
  }

  .footer-menu span .active {
    border-bottom: 2px solid #F4FFA1;
  }
/* 
  @keyframes scroll {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  .announcement-content {
    animation: scroll 30s linear infinite; 
  } */

}
/* 
#announcement-banner {
  position: sticky;
  bottom: 0;
  width: 100%;
  background-color: #f70404;
  color: #F4FFA1;
  text-align: center;
  padding: 10px 0;
  font-size: 24px;
  font-weight: 400;
  z-index: 1000;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-content {
  display: inline-block;
  padding-left: 50%;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
} */
