body {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 2fr 1fr;
  margin: auto;
}

.main {
  grid-row: 1 / -1;
  grid-column: 2;
}

.margin-image-container {
  margin: 0 auto;
}

.margin-image-container.left {
  grid-column: 1;
}

.margin-image-container.right {
  grid-column: 3;
}

.top {
  grid-row: 1;
  margin-top: 8vh;
}

.bottom {
  grid-row: 2;
}

.margin-image {
  width: 80%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  cursor: zoom-in;
}

@media (max-width: 900px) {
  .container {
    display: block;
    margin: auto;
    width: 85%;
  }

  .margin-image-container {
    display: none;
  }
}

#modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

#close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#modal-content {
  margin: auto;
  display: block;
  width: auto;
  max-width: 650px;
  max-height: 95vh;
}

h1.title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-variant: small-caps;
	font-weight: bold;
  font-size: 5em;
  margin: 5vh auto 10px;
  text-shadow: 2px 2px 2px gray;
}

.tab-link-container {
  margin: auto;
  display: flex;
  justify-content: space-evenly;
}

.tab-link {
  font-size: large;
  flex-grow: 1;
  background-color: white;
  padding: 5px 0;
}

.tab-link:hover {
  background-color: #ddd;
}

.tab-link.active {
  background-color: #bbb;
}

.tab-link#aboutlink {
  border: 1px solid black;
  border-width: 1px 0 1px 1px;
  border-radius: 3px 0 0 3px;
}

.tab-link#readlink {
  border: 1px solid black;
}

.tab-link#contactlink {
  border: 1px solid black;
  border-width: 1px 1px 1px 0;
  border-radius: 0 3px 3px 0;
}

.tab {
  margin-top: 3em !important;
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

.slideshow-container {
  width: 75%;
  margin: auto;
}
