/* Remove default margins and padding */
* {
  margin: 0;
  padding: 0;
}

/* Make display fill window */
html,
body {
  height: 100%;
}

/* Declare flexbox on all elements of body */
body {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
}

/* Set fixed header that will always be on top */
header {
  width: 100%;
  height: 1.5rem;
  position: fixed;
  left: 0.5rem;
  border-bottom: 1px solid #0a0908;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.05)
  );
  z-index: 5;
}

/* rotate navigation menu and fix to left side of window */
.menu {
  float: left;
  position: fixed;
  width: 3.75rem;
  height: 100%;
  top: 0px;
  margin-left: -2em;
  z-index: 10;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(255, 255, 255, 0.7)),
    to(rgba(255, 255, 255, 0.25))
  );
  background: -webkit-linear-gradient(
    bottom,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.25)
  );
  background: -o-linear-gradient(
    bottom,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.25)
  );
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.25)
  );
  border-right: 1px solid #f2c94c;
}

.menu-item {
  width: 90px;
  transform: rotate(270deg);
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  display: inline-block;
  position: relative;
  margin: 100px 1em 15px 5px;
  text-decoration: none;
  font-family: "Josefin Sans", sans-serif;
  color: rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  font-size: 14px;
}

.menu-item:hover,
.menu-item:active {
  color: #f2c94c;
}

.holding {
  min-height: 100%;
  min-width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px solid black;
}

.empty {
  max-height: 0;
  max-width: 100%;
}

.landing {
  height: 100vh;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  text-align: center;
  display: block;
  text-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 45px;
  font-weight: normal;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.05)
  );
  margin: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  bottom: 5rem;
}

h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 3rem;
  font-weight: normal;
  padding: 5px 2px 0;
  display: inline;
}
h4 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: normal;
  padding: 5px 2px 0;
  display: inline;
}

p {
  font-family: "Poiret One", sans-serif;
  font-size: 1.2rem;
}

ul a {
  color: #0a0908;
  text-decoration: none;
  margin: 5px;
  padding: 6px;
  border-radius: 4px;
  border: 0.5px solid #0a0908;
}

ul a:hover {
  color: #f2c94c;
  margin: 5px;
  padding: 6px;
  text-decoration: none;
  border: 1px solid #f2c94c;
}

ul li {
  font-family: "Poiret One", sans-serif;
  font-size: 14px;
  margin: 20px 40px;
  padding: 5px;
  display: block;
  list-style-type: none;
}

li {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.about-head {
  min-height: 375px;
  background-image: url("/assets/tokyo-min.jpg");
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
}

.about-body {
  text-align: center;
}

.about-body h2 {
  position: relative;
  display: inline-block;
  padding: 5px 0 0 0;
  bottom: 5rem;
  background-color: rgba(255, 255, 255, 0.5);
}

.about p {
  display: inline-block;
  margin-left: 40px;
  margin-right: 40px;
  padding: 10px;
}

.skills {
  margin: 2rem;
}

.skills li {
  margin: 0;
}

.about-links ul {
  margin: 5rem 0 2rem 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.about-links li {
  margin: 0;
  padding: 0;
}

.portfolio-head {
  min-height: 375px;
  background-image: url("/assets/berlin2-min.jpg");
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  border-top: 1px solid #0a0908;
}

.portfolio-body h2 {
  position: relative;
  bottom: 5rem;
  background-color: rgba(255, 255, 255, 0.5);
}

.project {
  padding: 1rem;
  margin-top: 1rem;
  /* border-bottom: 1px solid rgba(10, 9, 8, 0.185); */
  /* background: #F2C94C; */
  max-width: 100%;
  height: auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.project img {
  border: 0.1rem solid #0a0908;
  max-width: 12rem;
  height: auto;
  padding: 0.1rem;
}

.portfolio-body {
  display: block;
  text-align: center;
}

.portfolio-body p {
  margin-left: 10px;
  padding: 10px;
}

.project-links ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 3rem 0 2rem 0;
}

.project-links li {
  margin: 0;
}

.contact {
  min-height: 100%;
  min-width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.contact-image {
  position: absolute;
  min-height: 100%;
  min-width: 100%;
  background-image: url("/assets/london-min.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.contact-form {
  position: relative;
  min-height: 100%;
  min-width: 100%;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-orient: inherit;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.contact h2 {
  top: 3rem;
  margin: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

form {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  top: 8rem;
  margin: 10px;
  padding: 10px;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

input {
  font-family: "Poiret One", sans-serif;
  display: block;
  font-size: 0.8rem;
  margin: 5px 0 20px;
  border-radius: 4px;
  border: 1px solid white;
  outline: none;
  width: 9rem;
  padding: 0.4rem;
  -webkit-appearance: none;
}

textarea {
  display: block;
  margin: 5px 0 20px;
  padding: 10px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.8rem;
  resize: none;
  border-radius: 4px;
  border: 1px solid white;
  outline: none;
  width: 10rem;
  height: 3rem;
  -webkit-appearance: none;
}

input:focus {
  border: 1px solid #f2c94c;
}

textarea:focus {
  border: 1px solid #f2c94c;
}

input[type="submit"] {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 10em;
  background-color: white;
  color: #0a0908;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #f2c94c;
  border: 1px solid #f2c94c;
}

.message-received {
  position: relative;
  min-height: 100%;
  width: 100%;
  background-image: url("/assets/london-min.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.message-received p {
  font-size: 20px;
  margin: auto;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  top: 40%;
}

@media screen and (min-width: 750px) {
  .holding {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .landing {
    max-width: 50%;
    display: block;
  }

  h1 {
    left: 49.5%;
    bottom: 50%;
    background: none;
  }

  .lastname {
    color: white;
  }

  .about {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 100%;
    min-height: 100vh;
    border-bottom: 1px solid black;
  }

  .about-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .about-body h2 {
    margin-top: 180px;
    display: block;
  }

  .portfolio {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 100%;
    min-height: 100vh;
    border-bottom: 1px solid black;
  }

  .portfolio-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }

  .project {
    /* padding-bottom: 2rem; */
    margin-bottom: 2rem;
  }

  .rails {
    max-height: 200px;
  }

  .rails img {
    border: 1px solid black;
  }

  .portfolio-head h2 {
    bottom: 50%;
  }

  .portfolio-body {
    margin-top: 180px;
  }

  .row {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  .contact {
    height: 100vh;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .contact-image {
    min-width: 50%;
    position: relative;
  }

  .contact h2 {
    top: 5rem;
  }

  .contact-form {
    min-width: 50%;
    background: #f2c94c;
    position: relative;
  }

  form {
    top: 10rem;
  }

  label {
    font-size: 1.2rem;
  }

  input {
    font-size: 1rem;
    margin: 1rem 0 2rem;
    width: 12rem;
    padding: 0.4rem;
  }

  textarea {
    margin: 1rem 0 2rem;
    padding: 0.8rem;
    font-size: 1rem;
    width: 20rem;
    height: 5rem;
  }

  input:focus {
    border: 1px solid #0a0908;
  }

  textarea:focus {
    border: 1px solid #0a0908;
  }
  input[type="submit"]:hover {
    background-color: #f2c94c;
    border: 1px solid #0a0908;
  }
  .hidden {
    display: none;
  }
}
