section {
  padding: 5rem 0;
}

svg {
  display: block;
}

p {
  font-size: 1.375rem;
  line-height: 1.5em;
  color: #888;
}

a {
  text-decoration: none;
  color: #fff;
}

a:hover {
  color: #d9ff03;
}

h2 {
  font-size: 2.25rem;
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  margin: 0;
}

h3 {
  font-size: 1.5rem;
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.button-text {
  margin-left: 1rem;
}

canvas {
  display: block;
  position: fixed;
  top: 0;
}

.scroll {
  position: fixed;
  bottom: 1rem;
  transform: translateX(-50%);
  left: 50%;
  animation: scrollSlideIn 1s cubic-bezier(0.17, 0.67, 0.79, -0.65) 3s forwards;
}

@media screen and (max-height: 500px) {
  .scroll {
    left: auto;
    right: 0;
  }
}

.scroll a {
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.scroll a:hover {
  color: #d9ff03;
}

.scroll-arrow {
  display: block;
  position: relative;
  width: 2rem;
  height: 2rem;
  margin-right: 1.5rem;
}

.scroll-text {
  font-family: "Exo 2";
  font-size: 0.875rem;
  letter-spacing: 0.25em;
}

@keyframes scrollSlideIn {
  to {
    bottom: 3rem;
  }
}

.row {
  display: flex;
  margin: 0 auto;
  max-width: 1080px;
  width: 92%;
}

#projects .row {
  flex-flow: row wrap;
}

#content {
  position: absolute;
  top: 100%;
  width: 100%;
}

#me {
  /* background: rgba(0, 0, 0, 0.7); */
  background: linear-gradient(to top, black, transparent);
  text-align: center;
}

#me h1 {
  padding-top: 10rem;
  font-size: 3rem;
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
}

#me .row {
  max-width: 800px;
}

#me .row p {
  font-size: 2rem;
}

#me .row p span {
  color: #fff;
}

#about {
  background: #1e1e1e;
  /* background: #1f2937; */
}

#about .row > div {
  padding: 1rem;
}

.photo-large {
  height: 230px;
  border-radius: 50%;
  border: 1rem solid rgba(255, 255, 255, 0.02);
  box-shadow: rgb(0 0 0 / 60%) 0px 0px 50px 20px;
}

.photo-small {
  display: none;
  height: 110px;
  border-radius: 50%;
  float: left;
  margin-right: 1rem;
  border: 0.5rem solid rgba(255, 255, 255, 0.02);
  box-shadow: rgb(0 0 0 / 60%) 0px 0px 50px 20px;
}

@media screen and (max-width: 800px) {
  .photo-large {
    display: none;
  }
  .photo-small {
    display: inline;
  }
}

@media screen and (max-width: 650px) {
  .photo-small {
    display: block;
    float: none;
    margin-bottom: 0.5rem;
  }
}

#career {
  background: #fff;
  color: #000;
}

#projects {
  background: #eff0f0;
  color: #000;
}

#projects h2 {
  text-align: center;
  margin-bottom: 2em;
}

#projects .row {
  max-width: 1300px;
}

.project-item {
  flex: 0 0 33.33333%;
  max-width: 33.33333%;
  overflow: hidden;
  padding: 1rem;
}

.project-item a {
  display: block;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  padding: 10px;
  /* width: 420px; */
  /* height: 245px; */
  border: 1px solid #ccc;
  box-shadow: rgb(0 0 0 / 24%) 2px 3px 8px;
  background: linear-gradient(
    303deg,
    #111,
    #1f1f1f 55% 30%,
    #333 55%,
    #3b3b3b 77%,
    #383735 77%,
    #161513 100%
  );
}

.project-item a::before {
  content: "";
  width: 200%;
  height: 200%;
  position: absolute;
  top: -200%;
  left: -225%;

  background-image: linear-gradient(
    123deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0)
  );
}

.project-item a:hover::before {
  z-index: 1;
  transition: all 0.5s ease-out;
  top: 200%;
  left: 200%;
}

.project-item a::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    303deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.1) 55% 30%,
    rgba(0, 0, 0, 0.05) 55%,
    rgba(255, 255, 255, 0.05) 77%,
    rgba(0, 0, 0, 0) 77%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.project-item img {
  display: block;
  width: 100%;
  height: auto;
  /* border: 1px solid #444; */
  border-top: 1px solid #333;
  border-left: 1px solid #333;
  border-right: 1px solid #444;
  border-bottom: 1px solid #444;
}

.project-content {
  opacity: 0;
  position: absolute;
  background: #000;
  top: 11px;
  left: 11px;
  right: 11px;
  bottom: 11px;
  padding: 10px;
  transition: opacity 0.5s ease-out;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  color: #04d9ff;
  line-height: 1.5;
  font-size: 11px;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #04d9ff;
}

.project-on {
  opacity: 1;
}

.project-content:hover {
  opacity: 1;
}

.project-text {
  height: 100%;
}

@media screen and (max-width: 1100px) {
  .project-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 800px) {
  .project-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .project-item a {
    margin: 0 auto;
    width: 370px;
  }
}

@media screen and (max-width: 500px) {
  .project-item a {
    width: auto;
  }
}

/* @media screen and (max-width: 600px) {
  .col1 {
    flex: 0 0 100%;
    max-width: 100%;
  }
} */

#hello {
  background: #151515;
}

#hello .row {
  /* flex-flow: row wrap; */
  justify-content: space-between;
}

#hello .row p {
  display: flex;
  color: #fff;
  margin: 0 0 1rem 0;
}

/* #hello .row > div {
  flex: 0 0 33%;
} */

#hello .row > div {
  /* flex: 1 1 33%; */
  padding: 1rem;
}

#hello .row > div:nth-child(1) {
  flex: 0 0 370px;
  min-width: 330px;
}

#hello .row > div:nth-child(1) p {
  font-size: 2rem;
  line-height: 2.5rem;
}

#hello .row > div:nth-child(2) {
  flex: 1 1 33%;
  min-width: 330px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
}

#hello .row > div:nth-child(3) {
  flex: 0 0 310px;
  min-width: 310px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #fff;
}

@media screen and (max-width: 1100px) {
  #hello .row {
    flex-flow: row wrap;
  }
  #hello .row > div:nth-child(1) {
    flex: 0 0 100%;
  }
}

#email {
  line-height: 27px;
}

.mailto {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  border-radius: 10px;
  border: 3px solid #282828;
  background: #282828;
  padding: 9px;
  margin-bottom: 1rem;
}

.mailto:hover {
  /* background: #ff035b; */
  color: #d9ff03;
  border: 3px solid #d9ff03;
}

#copy {
  min-height: 48px;
}

.copy {
  display: flex;
  align-items: center;
  background: #656565;
  border-radius: 13px;
}

.copy div {
  width: 110px;
  margin: 0 0.5rem 0 0;
}

.button {
  user-select: none;
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 9px;
  margin-bottom: 1rem;
}

.button span {
  margin-left: 1rem;
}

.success {
  border: 3px solid #4bb543;
  background: #4bb543;
}

.error {
  border: 3px solid #c00;
  background: #c00;
}

input[type="email"],
input[type="submit"],
textarea {
  overflow: hidden;
  appearance: none;
  background-color: #222;
  padding: 0.5em;
  margin: 0;
  border: 3px solid #00adcc;
  border-radius: 10px;
  color: #fff;
  font-size: 1.25rem;
  font-family: Arial, Helvetica, sans-serif;
}

input[type="email"] {
  flex-grow: 1;
  width: 100%;
  /* width: 20em; */
  margin-right: 1rem;
}

textarea {
  width: 100%;
  /* width: 30em; */
  resize: none;
  height: 4.5em;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #00adcc;
}

input[type="submit"] {
  cursor: pointer;
  background: #282828;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  border: 3px solid #282828;
  width: 100px;
  text-shadow: none;
}

input[type="submit"]:hover {
  color: #d9ff03;
  border: 3px solid #d9ff03;
}

input[type="submit"]:disabled {
  cursor: default;
  color: #444;
  border: 3px solid #282828;
}

#tag {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: -22px;
}

#tag::after {
  content: "";
  position: absolute;
  left: 0;
  background: #000;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #04d9ff;
  box-shadow: inset 0rem 0rem 0.1rem 0.05rem #0cf, 0rem 0rem 0.1rem 0.05rem #0cf;
}

#tag::before {
  content: "";
  width: 100%;
  height: 0px;
  border-top: 2px solid #04d9ff;
  box-shadow: 0rem 0rem 0.1rem 0.05rem #04d9ff;
}

#tag p {
  border: 2px solid #04d9ff;
  margin: 0;
  padding: 0 0.5em;
  font-size: 12px;
  box-shadow: 0rem 0rem 0.1rem 0.05rem #04d9ff;
  color: #04d9ff;
}

#tag p:hover {
  color: #fff;
}
