* {box-sizing: border-box}

body {
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  margin:0;
  font-size: 1.5rem;
  line-height: 2.5rem;
}

h1 { font-size: 2.2rem;}
h2 {font-size: 1.8rem;}
h3 {font-size: 1.6rem;}
a { font-style: none;
    text-decoration: none;
    color: rgb(140,4,4);}

section {display: none; padding: 2rem 3rem 2rem 3rem;}

img {vertical-align: middle;}

table {
  border-collapse: collapse;
}

table, th, td {
  border: 1px solid #999;
  padding: 10px;
}

code { color: red; font-size: 1.2em; }

.flexbox {
  display: flex;
  flex-wrap: nowrap;
  background-color: white;
}

.flexbox > div {
  background-color: white;
  margin: 10px;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  min-width: 90vw;
  min-height: 90vh;
  border: 1px solid #999;
  position: relative;
  margin: auto;
  margin-top: 15px;
  margin-bottom: 10px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #999;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.7);
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
