body {
  font-family: "Segoe UI", "Arial", sans-serif;
  margin: 0;
  background: url("/photos/IMG_6709.JPG") no-repeat 15% center fixed, #EEE;
}
#content {
  margin: 8px;
  padding: 20px;
  min-height: calc(100vh - 140px); /*100vh height minus top bar height*/
  background: #FFFD;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 200px;
  column-gap: 20px;
}
#sidebar {
  width: 200px;
  background: transparent;
}
.sidebar-heading {
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  background: #1E90FF;
  color: #FFF;
  border-radius: 4px;
}
.sidebar-section {
  padding: 10px;
}
#topbar {
  width: 100%;
  height: 100px;
  background: #1E90FF;
  display: flex;
  justify-content: space-between;
  position: relative;
}
#menubar {
  position: absolute;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: flex-end;
}
#menubar-button {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 50px;
  line-height: 20px;
  color: #FFF;
  display: block;
  cursor: pointer;
  transform: none;
  transform-origin: center bottom;
  transition: transform 1s;
  user-select: none;
}
#menubar-button.menubar-button-open {
  transform: rotate(-90deg);
  transform-origin: center bottom;
  transition: transform 1s;
}
@media screen and (min-width: 1150px) {
  #menubar {
    bottom: 0;
    right: calc(100% - 60vw);
  }
  #logo {
    font-size: 30px;
    line-height: 100px;
    margin-left: 10vw;
  }
  #menubar-button {
    display: none;
  }
}
@media screen and (min-width: 1800px) and (max-width: 2060px) {
  #menubar {
    right: 30vw !important;
  }
}
@media screen and (min-width: 1470px) and (max-width: 1799px) {
  #menubar {
    right: 20vw !important;
  }
}
@media screen and (min-width: 1290px) and (max-width: 1469px) {
  #menubar {
    right: 10vw !important;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1289px) {
  #menubar {
    right: 3vw !important;
  }
}
@media screen and (min-width: 1150px) and (max-width: 1199px) {
  #menubar {
    right: 0 !important;
  }
}
@media screen and (max-width: 1149px) {
  #menubar {
    display: block;
    transform: translate(0, -200px);
    top: 0;
    opacity: 0;
    transition: transform 1s, opacity 1s;
  }
  #menubar.menubar-open {
    display: block;
    transform: none;
    opacity: 1;
    transition: transform 1s, opacity 1s;
  }
  #menubar-button {
    display: block;
  }
}
@media screen and (max-width: 560px) {
  #logo {
    font-size: 20px;
    line-height: 30px;
    
  }
}
#logo {
  color: #FFF;
  font-size: 20px;
  line-height: 100px;
  margin-left: 10vw;
}
.menuitem {
  display: block;
  min-width: 60px;
  height: 50px;
  background: #1E90FF;
  color: #FFF;
  text-decoration: none;
  text-align: center;
  padding: 0 20px;
  line-height: 50px;
  cursor: pointer;
  transition: background 200ms;
}
.menuitem:hover {
  background: #0E80EF;
}
.menuitem:active {
  background: #0070DF;
}
.announcement {
  padding: 10px;
  border: 1px solid #AAA;
  border-radius: 10px;
}
.announcement:not(:first-child) {
  margin-top: 20px;
}
.announcement-title {
  margin: 5px 0 0 0;
}
.announcement-author {
  font-size: 16px;
  color: #000;
}
.announcement-info {
  font-size: 14px;
  color: #808080;
}
input[type="text"], input[type="password"], textarea {
  padding: 5px;
  font: 14px "Segoe UI", "Arial", sans-serif;
  border: 1px solid #AAA;
  border-radius: 4px;
}
textarea {
  padding: 10px;
}
button {
  background: #EEE;
  color: #000;
  border: 1px solid #CCC;
  border-radius: 2px;
  padding: 5px 10px;
  font: 14px "Segoe UI", "Arial", sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: default;
}
button:hover {
  background: #DDD;
}
button:active {
  background: #CECECE;
}
button:disabled {
  background: #EFEFEF;
  opacity: 0.3;
  cursor: not-allowed;
}
:target {
  animation: highlight 2s linear 0s 1 normal none running;
}
@keyframes highlight {
  0% {background: #FFA500;}
  100% {background: unset;}
}
.link {
  color: #2080FF;
  text-decoration: underline;
  cursor: pointer;
}
.link:visited {
  color: #800080;
}
.link-button {
  background: transparent;
  color: #0080FF;
  border: 1px solid #0080FF;
  border-radius: 4px;
  padding: 6px 12px;
  font: bold 20px "Segoe UI", "Arial", sans-serif;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
  transition: background 200ms, color 200ms;
}
.link-button:hover {
  background: #0080FF;
  color: #FFF;
  transition: background 200ms, color 200ms;
}
.image-slider {
  width: 750px;
  position: relative;
  padding-top: 375px;
  margin: 50px auto;
  user-select: none;
}
.image-slider > img {
  position: absolute;
  top: 0;
  left: 0;
  transition: all 500ms;
  width: 750px;
  height: 475px;
  object-fit: contain;
}
.image-slider input[type="radio"] {
  display: none;
}
.image-slider label {
  margin: 120px 0 0 20px;
  border: 2px solid #CCC;
  border-radius: 2px;
  float: left;
  cursor: pointer;
  transition: all 500ms;
  opacity: 0.5;
}
.image-slider label img {
  display: block;
  width: 150px;
}
@media screen and (max-width: 1000px) {
  .image-slider {
    width: 100%;
    padding-top: 30vw;
  }
  .image-slider > img {
    width: 60vw;
    height: 30vh;
  }
}
.image-slider input[type="radio"]:checked + label {
  border: 2px solid #AAA;
  opacity: 1;
}

.image-slider input[type="radio"] ~ img {
  opacity: 0;
  transform: scale(1.1);
}

.image-slider input[type="radio"]:checked + label + img {
  opacity: 1;
  transform: scale(1);
}