* {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

a {
  color: inherit;
}

strong {
  font-weight: 700;
}
html,
body {
  overflow-x: hidden;
}
h1 {
  font-size: 4em;
}
li {
  padding-bottom: 5px;
  margin-bottom: 5px;
}

button:hover {
  cursor: pointer;
}

nav {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 50px;
  padding: 20px 0px;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;

  -webkit-transition: all 0.4s linear;
  -moz-transition: all 0.4s linear;
  -o-transition: all 0.4s linear;
  transition: all 0.4s linear;
}

.nav-buttons {
  width: 300px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.nav-contact-social {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-contact {
  background-color: white;
  border-radius: 10px;
  padding: 5px 20px;
}

.nav-popout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 50px 0;
  position: fixed;
  top: 70px;
  z-index: 11;
  background-color: black;

  -webkit-transition: all 0.4s linear;
  -moz-transition: all 0.4s linear;
  -o-transition: all 0.4s linear;
  transition: all 0.4s linear;
}

.nav-popout .white-text {
  font-size: 30px;
  margin: 20px 0;
}

.nav-popout-contact {
  background-color: white;
  text-align: center;
  font-size: 30px;
  padding: 10px 10px;
  border-radius: 20px;
}

.nav-social-icons {
  padding: 10px;
  height: 30px;
  width: 30px;
  margin-top: 3px;
}

.white-text {
  color: white;
}
.black-shadow {
  text-shadow: 1px 1px 5px black;
}
.container {
  display: flex;
  justify-content: center;
  padding: 1% 5%;
  flex-direction: column;
  align-items: center;
}
.header {
  background-color: black;
  width: 100%;
}
.h1-padding {
  padding: 20px;
}
.width-maker {
  width: 100%;
}
.benren-25pc {
  display: flex;
  width: 25%;
}
.benren-75pc {
  display: flex;
  width: 75%;
  background-color: #318ba3;
}
.background-image-me {
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  background-color: #ffffff;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
}
.benren-image {
  height: 500px;
}
.typing-text-container {
  height: 100%;
  width: 100%;
  padding: 0 5%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  -webkit-transition: all 1s linear;
  -moz-transition: all 1s linear;
  -o-transition: all 1s linear;
  transition: all 1s linear;
}
.nametag {
  background-color: #ffaa00;
  padding: 20px;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  bottom: 0;
}
.headline {
  box-sizing: border-box;
  display: inline;
  background-color: black;
  border-radius: 25px;
  padding: 20px 50px;
  position: relative;
  left: -40px;
}
.learn-background {
  background-image: url("images/names-bg-15pc-01.svg");
  background-color: #14abbd;
  background-size: 100%;
}
.spacer-bottom-20px {
  height: 20px;
  width: 100%;
}
.explanation-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.partial-name {
  box-sizing: border-box;
  width: 300px;
  border: 12px solid #318ba3;
  background-color: white;
  border-radius: 5%;
  margin: 10px 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.part-of-name {
  color: #14abbd;
  font-size: 4em;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  width: 100%;
  box-shadow: 0 4px 68px 0 rgba(0, 0, 0, 0.5), 0 6px 68px 0 rgba(0, 0, 0, 0.5);
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-size-limiter {
  display: flex;
  width: 90%;
  padding: 40px;
  min-width: 300px;
  max-width: 1280px;
}
.map-responsive {
  overflow: hidden;
  padding-bottom: 40%;
  position: relative;
  height: 0;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.blue-background {
  background-color: #1c3a6e;
}
.footer-text {
  color: #6b6b6b;
  text-align: center;
  padding: 5px;
}
.footer-grey {
  color: #6b6b6b;
}
.padding-bottom {
  padding-bottom: 10px;
}
.linear-gradient {
  position: relative;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0) 40%
  );
}
.linear-gradient-long {
  background-color: black;
}
.black-shadow {
  text-shadow: 2px 2px 5px black;
}
/* iPhone styles */
#iphone {
  margin: auto;
  height: 480px;
  width: 230px;
  background: black;
  border-radius: 25px;
  border-top: #333 5px solid;
  border-right: #474747 5px solid;
  border-left: #333 5px solid;
  border-bottom: #333 5px solid;
  box-shadow: 0px 13px 20px #212121;
}
#sleepbutton {
  height: 3px;
  width: 30px;
  background-color: #2e2e2e;
  border-top-right-radius: 2px;
  border-top-left-radius: 2px;
  margin-left: 310px;
}
#accelerometer1 {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background-color: #2e2e2e;
  margin-top: 3px;
  display: inline-block;
}
#accelerometer2 {
  height: 5px;
  width: 50px;
  border-radius: 5px;
  background-color: #2e2e2e;
  margin-top: 3px;
  display: inline-block;
  border-left: 2px solid #222;
  border-right: 2px solid #212;
  border-top: 2px solid #111;
  border-bottom: 2px solid #222;
}
#camera {
  margin: auto;
  margin-top: 13px;
  height: 9px;
  width: 12px;
  border-radius: 50%;
  background-color: #5f5f5f;
  padding-top: 3px;
}
#inner_camera {
  position: relative;
  height: 6px;
  width: 6px;
  margin: auto;
  border-radius: 50%;
  background-color: #000045;
}
#screen {
  height: 370px;
  width: 215px;
  background-color: #ffffff;
  border-radius: 4px;
  margin: auto;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
  z-index: 4;
}
#homebutton {
  height: 30px;
  width: 30px;
  border-radius: 100%;
  background-color: #000;
  margin: auto;
  margin-top: 10px;
  border: 3px solid #3d3d3d;
  border-top: 3px solid #4d4d4d;
  border-left: 3px solid #4d4d4d;
  border-right: 3px solid #4d4d4d;
}
.cellphone-image {
  margin-top: 5px;
  height: 94%;
  width: 94%;
  border-radius: 12px;
  position: absolute;
}
.cellphone-top-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
  padding: 5px;
  background-color: white;
}
.cellphone-image-container {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: transform 0.15s linear;
  display: flex;
  justify-content: center;
}
.animate-kindler {
  transform: rotate(-20deg) translate(60px, 0px);
}
.kindler-icons {
  height: 20px;
  width: 20px;
}
.kindler-details {
  margin: 0 10px;
  position: absolute;
  bottom: 40px;
  left: 10px;
  z-index: 1;
  color: white;
}
.kindler-like-container {
  position: absolute;
  top: 150px;
  left: 20px;
  width: 120px;
  height: 120px;
  transition: opacity 0.5s;
  z-index: 4;
}
#cellphone-image {
  z-index: 2;
}
.center-text {
  text-align: center;
  margin: auto 0;
}
/* Computer styles */
#computer {
  margin: auto 100px;
  background: black;
  border-radius: 25px;
  border-top: #333 5px solid;
  border-right: #474747 5px solid;
  border-left: #333 5px solid;
  border-bottom: #333 5px solid;
  box-shadow: 0px 13px 20px #212121;
  margin-bottom: 80px;
}
#computer-screen {
  height: 85%;
  width: 95%;
  background-color: #ffffff;
  border-radius: 4px;
  margin: auto;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: row;
}
#stand-vertical {
  margin: auto;
  height: 50px;
  width: 100px;
  background: black;
}
#stand-horizontal {
  margin: auto;
  height: 15px;
  width: 200px;
  background: black;
  border-radius: 20px;
}
/* end of computer styles*/
.device-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 2% 0%;
  flex-wrap: wrap;
}

.slider > div {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.slider > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 20px;
}

.slider > div > p {
  margin-bottom: 15px;
}

/* photo gallery styles below */
.photo-gallery {
  transition: all 1s linear;
  height: 750px;
  display: flex;
  flex-direction: row;
}

.photo-gallery-left,
.photo-gallery-right {
  width: 50%;
}

.photo-gallery-left {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 5%;
}

.photo-gallery-right {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100%;
}

.photo-gallery-right > img {
  height: 100%;
  margin: 20px;
}

.name-intro-clumper {
  transition: all 0.5s linear;
}

.inline-block {
  display: inline-block;
}
#typer {
  height: 2em;
}

.computer-screen-image {
  height: 100%;
  object-fit: cover;
  transition: width 0.5s ease-out;
}

.computer-screen-description-text {
  margin: 10px;
  transition: all 1s linear;
}

.computer-screen-bars {
  height: 10px;
  width: 100%;
  background-color: grey;
  margin: 10px 5px 10px 0px;
}

.opacity-low {
  opacity: 0.2;
}

/* Services description below */

.services-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 10px;
}

.services-description p,
.services-description h2,
.services-description h1,
.services-description strong {
  text-align: center;
  margin-bottom: 10px;
  overflow-wrap: normal;
}

.view-gallery-button {
  font-size: 1.5em;
  padding: 20px 35px;
  margin: 20px 0px;
  border-radius: 50px;
  color: black;
  background-color: white;
}

.services {
  display: flex;
  background-image: url("images/services-background.jpg");
  background-color: black;
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
  background-position: center left;
}

.services-overlay {
  background-color: rgba(0, 0, 0, 0.9);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
}

.photo-grid {
  margin: 10px 10px 20px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  align-items: stretch;
}

.photo-grid img {
  max-width: 100%;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form > form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contact-form > form textarea {
  height: 250px;
  padding: 2px;
}

.contact-form > form input {
  height: 2em;
}

.contact-form > form button {
  font-size: 20px;
  padding: 20px 0px;
  border-radius: 50px;
  color: white;
  background-color: black;
}

.contact-method {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.contact-method > img {
  height: 3em;
}

.contact-method * {
  margin: 10px 10px;
}

/* mobile version */
@media only screen and (max-width: 870px) {
  .inventory-box {
    width: 100%;
    padding-bottom: 10px;
  }
  .small-h1 {
    font-size: 2em;
  }
  #computer {
    height: 200px;
    width: 280px;
  }
  .linear-gradient {
    position: relative;
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.5) 30%,
      rgba(0, 0, 0, 0) 40%
    );
  }
  .typing-text-container {
    justify-content: flex-end;
  }

  .linear-gradient-long {
    background-color: black;
  }
  .hide-if-mobile {
    display: none;
  }

  .contact > div {
    width: 100%;
    flex-wrap: wrap;
  }

  .contact-form > form * {
    margin: 5px 0;
    width: 300px;
  }
}

/* desktop version */
@media only screen and (min-width: 870px) {
  .inventory-box {
    width: 50%;
  }
  .inventory-box:first-of-type {
    padding-right: 15px;
  }
  .inventory-box:nth-of-type(2) {
    padding-left: 15px;
  }
  #computer {
    height: 375px;
    width: 500px;
  }
  #stand-vertical {
    height: 100px;
    width: 150px;
  }

  .hide-if-desktop {
    display: none;
  }

  .services-description,
  .photo-grid {
    width: 50%;
  }

  .contact > div {
    width: 50%;
  }

  .contact-form > form * {
    margin: 5px 0;
    width: 500px;
  }
}

.header-spacer-div {
  /* Gives 90px of height to avoid content being in the nav bar. */
  width: 100%;
  height: 90px;
}
