/* Use same font for all text */
* {
  font-family: "Courier New", Courier, monospace;
}

/* Hardcoded box at top of page */
.hardBox {
  position: fixed;
  top:0;
  background-color: white;
  overflow: hidden;
  opacity: 95%;
  border: none;
  outline: none;
  width: 100%;
  height: 50px;
}

/* Set height of body and the document to 100% */
body, html {
  height: 100%;
  margin: 0;
  font-family: Arial;
}

/* Style tab links */
.tablink {
  background-color: white;
  color: black;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 16px;
  float: right;
  height: 50px;
}

.links {
  position: fixed;
  top: 0;
  right: 20%;
  z-index: 999;
  width: 100%;
  background-color: white;
  overflow: hidden;
  opacity: 95%;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  color: black;
  display: none;
  padding: 100px 20px;
  height: 100%;
  margin-right: 20%;
  margin-left: 20%;
}

.tabmargins10 {
  margin-right: -15%;
  margin-left: -15%;
}

.profilePicture {
  float: right;
  padding-left: 2%;
  display: inline;
  vertical-align: middle;
}

.leftPicture {
  float: left;
  padding-right: 2%;
}

/* **** Styling for photography tab photos and modals **** */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

#instaLogo:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 50;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }
  to {
    transform: scale(1)
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

.centerPhotos {
  text-align: center; margin: auto;
}

.grid-container {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 10px;
}

.column {
  float: left;
  width: 40%;
  padding: 10px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}