@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond:400i&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: #000;
  font-family: 'Cormorant', 'Garamond', serif;
}

.wrapper {
  /* display: flex; */
  justify-content: space-between;
}

.main {
  width: 100%;
  height: 100%;
}

.sidebar {
  width: 250px;
  height: 100%;
  color: #ccc;
  display: none;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
}

.currentImg {
  width: 100vw;
  z-index: 0;
}

.currentQuote {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #ffffff;
  text-shadow: 1px 1px #000;
  text-align: center;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.3);
  padding: 3px;
  border-radius: 4px;
}

.currentAuthor {
  padding: 5px;
  font-size: 0.65em;
  color: #56bdca;
}

h3 {
  font-size: 2.5em;
}

h5 {
}

.currentPhotographer {
  color: #444;
  position: absolute;
  bottom: 30px;
  right: 8px;
  background: rgba(221, 221, 221, 0.5);
  padding: 2px;
}

.currentImg {
  height: 100vh;
  overflow: hidden;
  object-fit: cover;
}

#closed-sidebar {
  font-size: 2rem;
  position: fixed;
  color: #ccc;
  text-shadow: 1.5px 1.5px 5px #000;
  left: 30px;
  top: 10px;
  padding: 0px 8px 5px 8px;
  background: rgba(0, 0, 0, 0.1);
}

#closed-sidebar:hover {
  background: rgba(0, 0, 0, 0.4);
  transition: background 1s;
  cursor: pointer;
}

#open-sidebar {
  float: right;
  padding: 4px;
  font-size: 2rem;
  color: #ccc;
  text-shadow: 1.5px 1.5px 5px #000;
  text-align: center;
}

#open-sidebar:hover {
  cursor: pointer;
  color: #fff;
}
/* look into adding a light background on text */

#logo {
  /* height: auto;
  width: 300px; */
  position: fixed;
  top: 0;
  right: 0;
  border-radius: 20px;
  opacity: 0.9;
}

.keyword-query {
  justify-content: center;
  width: 175px;
  height: 35px;
  padding: 2px 15px;
  border-radius: 8px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #3d768a;
  text-align: center;
  margin: auto;
  position: fixed;
}

.random,
.submit-btn {
  width: 150px;
  background: linear-gradient(to bottom, #599bb3 5%, #47a1ad 100%);
  color: #ffffff;
  font-size: 1em;
  padding: 7px 15px;
  border-radius: 8px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #3d768a;
  text-align: center;
  margin: auto;
}

.submit-btn {
  position: relative;
  top: 40px;
  display: block;
}

.random {
  margin: auto;
  position: relative;
  top: 20px;
  text-align: center;
  display: block;
}

form {
  margin: 40px;
}

footer {
  display: inline-block;
  position: fixed;
  bottom: 0;
  display: block;
  background-color: #000;
  color: #ddd;
  width: 100vw;
  padding: 2px;
  line-height: 1.25em;
}

/* a {
  color: #111;
  text-decoration: none;
} */

.design-by {
  float: left;
}

.about {
  float: right;
  padding: 0 10px;
}

.contact {
  float: right;
  padding: 0 10px;
}

.design-by {
  font-size: 0.9em;
  color: #ccc;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .currentQuote {
    font-size: 1.5em;
  }
}

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

.modal-textbox {
  background-color: #f4f4f4;
  border-radius: 3px;
  margin: 20% auto;
  padding: 20px;
  width: 70%;
  box-shadow: 0 5px 8px 0 rgba(255, 255, 255, 0.2),
    0 7px 20px 0 rgba(255, 255, 255, 0.17);
  overflow: scroll;
}

.modal-text {
  color: #333;
  width: 95%;
}

.closeBtn {
  color: #ccc;
  float: right;
  font-size: 30px;
}

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

#openModal {
  float: right;
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

#openModal:hover {
  color: #408c99;
}

.contact-info {
  float: right;
  color: #408c99;
  margin: 5px;
  padding: 10px;
  text-decoration: none;
}

.contact-info > div::after {
  padding: 10px;
}
