@import url("https://webfontworld.github.io/sunn/SUIT.css");
@import url("https://webfontworld.github.io/pretendard/Pretendard.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;200;300;400;500;600;700;800;900&display=swap");

.shown400, .shown500, .shown1000 {
  display: none;
}

@media (max-width: 400px) {
  .shown400 {
    display: block;
  }
}
@media (max-width: 500px) {
  .shown500 {
    display: block;
  }
}
@media (max-width: 1000px) {
  .shown1000 {
    display: block;
  }
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}
header nav {
  height: 90px;
}
@media (max-width: 600px) {
  header nav {
    height: 4.5rem;
  }
}
header .nav-link {
  border-radius: 10px;
}
header li {
  padding: 0 10px;
}
header a {
  text-decoration: none;
  color: inherit;
}
header .navbar-footer {
  display: none;
}

.logo {
  width: 180px;
}

@media (max-width: 1000px) {
  header .nav-link.current {
    background: none;
    box-shadow: none;
  }
}
@media (max-width: 600px) {
  .logo {
    width: 120px;
    margin-left: 10px;
  }
  .navbar-toggler {
    display: flex;
  }
  .navbar-toggler-icon {
    width: 1.3rem;
    height: 1.3rem;
  }
  header .navbar-footer {
    margin: 0;
    padding: 0;
    display: block;
    color: gray;
  }
  header .flex-grow-1 {
    flex-grow: 0 !important;
  }
  .offcanvas-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}
body {
  font-weight: 600;
}

main {
  margin-top: 90px;
  min-height: 95vh;
  padding: 50px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
}

.bg-gray {
  background-color: gray;
}
.bg-white {
  background-color: white;
}

.page_title {
  text-align: center;
  font-size: 2rem;
}

#footer {
  font-family: "SUIT-Regular";
  background-color: #222 !important;
  padding: 60px 0;
  font-size: 1rem;
  font-weight: 400;
  color: #c4c4c4;
}
#footer dl, #footer dt, #footer dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
#footer dt {
  float: left;
  line-height: 1.2;
}
#footer dd {
  float: left;
  margin-left: 7px;
  margin-right: 24px;
  line-height: 1.2;
}
#footer a {
  text-decoration: none;
}
#footer .footer-wrap {
  justify-content: space-between;
}
#footer .ft-info, #footer .ft-bot {
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
}
#footer .ft-bot p {
  font-size: 1rem;
  position: relative;
  top: 65;
}
#footer .img_fix {
  padding: 5px;
}
#footer .flex {
  display: flex;
}
#footer .flex .copy {
  position: relative;
  top: 2.4rem;
}
#footer .contents {
  width: 100%;
  max-width: 1300px;
  padding: 0 10px;
  margin: 0 auto;
}

@media (max-width: 1000px) {
  #footer {
    display: none;
  }
}/*# sourceMappingURL=main.css.map */


@import url("https://fonts.googleapis.com/css?family=Chivo:700i|Open+Sans");

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

body {
  color: hsl(0, 0%, 0%);
  font-family: "Open Sans", sans-serif;
}

/* include the board in the center of the viewport */
.board {
  max-width: 950px;
  width: 90vw;
  margin: 4rem auto;
  /* display grid without specifying any structure, at least beyond the media query
  this is mostly helpful for alignment purposes
  */
  display: grid;
  border: 4px solid hsl(207, 79%, 21%);
  background: #fff;
  box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.3);
  /* position relative to absolute position the pseudo element */
  position: relative;
}
/* include a slightly rotated rectangle of the same size of the board, right behind it */
.board:before {
  position: absolute;
  content: "";
  background: hsl(180, 90%, 2%);
  width: 100%;
  height: 100%;
  transform: rotate(-2deg) scale(1.02);
  z-index: -5;
}

/* for the heading include a slightly darker background */
.board__heading {
  /* margin to have the heading overlap on the surrounding border */
  margin: -4px;
  margin-bottom: 1.75rem;
  font-family: "Chivo", sans-serif;
  font-size: 1.25rem;
  color: #fff;
  background: hsl(200, 100%, 10%);
  padding: 0.75rem;
  padding-left: 1.5rem;
}

/* navigation displaying the items evenly in a non-wrapping row */
.board__nav {
  display: flex;
  margin: 1rem 2rem;
  justify-content: space-evenly;
  width: 80%;
  justify-self: center;
}
/* style the buttons to have a bit of whitespace around the text
a background is specified in the script */
.nav--item {
  border: none;
  background: none;
  color: inherit;
  font-size: 0.85rem;
  font-family: inherit;
  text-transform: capitalize;
  border-radius: 30px;
  letter-spacing: 0.05rem;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
}

/* on hover and focused slightly decrease the color of the button and add an underline */
.nav--item:hover,
.nav--item:focus {
  color: hsl(0, 0%, 35%);
  text-decoration: underline;
}

/* for the section describing the news items, display the items in a single column layout */
.board__news {
  display: flex;
  margin: 1rem 0 3rem;
  flex-direction: column;
  width: 80%;
  justify-self: center;
  /* dictate a maximum height to allow for vertical scroll */
  max-height: 600px;
  overflow-y: auto;
}
/* minor style changes for the scrollbar */
.board__news::-webkit-scrollbar {
  width: 0.25rem;
}
.board__news::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px hsla(200, 100%, 5%, 0.3);
}
.board__news::-webkit-scrollbar-thumb {
  background: hsl(200, 100%, 10%);
  border-radius: 5px;
}

/* remove the default properties of the anchor links describing the news items */
.news--item {
  text-decoration: none;
  color: inherit;
  margin: 1.25rem 0;
  padding-left: 0.75rem;
}
/* on hover and when focused slightly decrease the weight of the anchor links */
.news--item:hover,
.news--item:focus {
  color: hsl(0, 0%, 35%);
}
.news--item .date {
  font-size: 1.2rem;
}
.news--item .brief {
  font-size: 0.9rem;
}

/* on smaller viewports */
@media (max-width: 700px) {
  /* change the grid layout to have the heading atop the navigation and section elements */
  .board {
    grid-template-areas: "heading heading" "nav section";
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto 1fr;
  }
  .board__heading {
    grid-area: heading;
  }
  /* position the navigation items atop one another instead of side by side */
  .board__nav {
    grid-area: nav;
    flex-direction: column;
    /* at the top of the container */
    align-self: start;
  }
  .board__nav .nav--item {
    text-align: left;
    margin: 0.75rem 0;
  }

  /* slightly increase the height of the container to include a taller board */
  .board__news {
    grid-area: section;
    width: 90%;
    max-height: 380px;
  }
}
