@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Inline+One:ital@0;1&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/*----- DATE BAR ---------------------------------------------------------*/
.info-header {
  background-color: #650095;
  min-height: 50px;
  color: white;
  font-family: 'Open Sans', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS',
    sans-serif;
  text-align: left;
}

.info-description {
  padding-left: 20px;
  margin-top: 0;
  padding-top: 15px;
}

/*----- MAIN NAV ---------------------------------------------------------*/

/*never did figure this out fully on how to make it full width.*/
.row {
  display: flex;
  background-color: #151515;
  min-height: 70px;
  box-shadow: 0 4px 8px 0 rgba(255, 227, 251, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  font-family: 'Jost' 'Open Sans', 'Gill Sans', 'Gill Sans MT', Calibri,
    'Trebuchet MS', sans-serif;
  position: relative;
}

#toggle-nav {
  display: none;
  position: absolute;
  right: 20px;
  top: 63px;
  z-index: 1;
  background-color: #3d3d3d;
  font-size: 25px;
  color: white;
  text-align: center;
  border: none;
  width: 44px;
  height: 44px;
}
#toggle-nav:hover {
  color: #f52f47;
  background-color: #1d1d1d;
}

#primary-nav {
  width: 100%;
  font-size: 20px;
  text-align: right;
  margin-right: 20px;
}

ul {
  padding: 0;
}

#primary-nav li {
  list-style: none;
  display: inline-block;
  padding-right: 10px;
  padding-left: 10px;
  margin-bottom: 5px;
}

#primary-nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 18px;
}

#primary-nav a:hover {
  color: #f52f47;
  padding-top: 10px;
  padding-bottom: 10px;
}

#primary-nav a.active {
  text-decoration: underline;
}

/*----- LOGO ---------------------------------------------------------*/

#logo {
  padding: 5px;
  display: flex;
  font-family: 'Alumni Sans Inline One', 'Open Sans', 'Gill Sans',
    'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 40px;
  background-color: #3d3d3d;
  left: 20px;
  height: 90px;
  max-width: fit-content;
  position: absolute;
  z-index: 1;
  box-shadow: 0 4px 8px 0 rgba(32, 10, 28, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.nav-logo:hover {
  content: url('images/animecon-logo-alt.svg');
}

.nav-logo {
  width: 290px;
  height: 85px;
}

.logo-link {
  text-decoration: none;
  color: black;
}

/*----- MEDIA 767 -----------------------------------*/
@media (max-width: 890px) {
  #primary-nav {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out;
    text-align: center;
  }

  #primary-nav a:hover {
    border-radius: 5px;
    padding-top: 22px;
    padding-bottom: 22px;
    padding-left: 100px;
    padding-right: 100px;
  }
  #primary-nav li {
    display: block;
    height: 34px;
    padding-top: 20px;
  }
  body.nav-open #primary-nav {
    grid-template-rows: 1fr;
  }
  .inner {
    overflow: hidden;
  }
  #toggle-nav {
    display: block; /* display button beneath breakpoint */
  }
  .row {
    flex-direction: column;
  }
  .nav-logo {
    width: 150px;
    height: 100%;
  }
  #logo {
    height: 50px;
  }
}

/*----- MEDIA 500 -----------------------------------*/
@media screen and (max-width: 500px) {
  .nav-logo {
    width: 100px;
    height: 100%;
  }
}
/*----- MEDIA 450 -----------------------------------*/
@media screen and (max-width: 450px) {
  .info-header {
    font-size: 14px;
  }
}

/*----- MEDIA 400 -----------------------------------*/
@media screen and (max-width: 400px) {
  .info-header {
    font-size: 12px;
  }
}

/*----- MEDIA 320 -----------------------------------*/
@media screen and (max-width: 320px) {
  .info-header {
    font-size: 10px;
  }
  .nav-logo {
    width: 80px;
  }
}
