/*Begin Font*/
@font-face {
  font-family: "Road Rage";
  src: url("fonts/Road_Rage.otf");
  font-style: normal;
  font-weight: 100;
}

/*End Font*/

/*Begin Global*/
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 12px;
  font-family: 'Roboto', sans-serif;
  color: #bfbfbf;
}

body {
  background: url("images/background_small.jpg") no-repeat center fixed;
  background-size: cover;
  height: 100%;
  width: 100%;
  min-width: fit-content;
}

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

p {
  font-size: 2rem;
  font-weight: 300;
}

img {
  width: 100%;
}

/*End Global*/


.container {
  width: 90%;
  max-width: 120rem;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

section {
  padding: 6rem 0;
}

section:last-of-type {
  margin-top: 6rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 8rem;
}

.section-heading h1 {
  font-size: 6rem;
  color: rgba(255, 255, 255, .8);
  text-transform: uppercase;
  font-weight: 300;
  position: relative;
  margin-bottom: 1rem;
}

.section-heading h1::before {
  content: '';
  position: absolute;
  bottom: -.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, .75);
  width: 15rem;
  height: 3px;
  border-radius: .8rem;
}


.section-heading h6 {
  font-size: 2rem;
  font-weight: 300;
}

.has-margin-right {
  margin-right: 5rem;
}

.announcement {
  color: #ffe838;
}

.vertical-spacer {
  margin-top: 2rem;
}

/*Start Header*/
header {
  width: 100%;
  height: 100vh;
}

.top-nav {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: -100vh;
  z-index: 50;
  background-color: #1e1e4a;
  border-bottom-right-radius: 100%;
  border-bottom-left-radius: 100%;
  transition: all 650ms cubic-bezier(1, 0, 0, 1);
}

.top-nav.open {
  top: 0;
  border-radius: initial;
}

.menu-toggler {
  position: fixed;
  top: 5rem;
  right: 5rem;
  width: 5rem;
  height: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 2000;
  transition: transform 650ms ease-out;
}

.menu-toggler.open {
  transform: rotate(-450deg);
}

.bar {
  background: linear-gradient(to right, #ffe838, #fd57bf);
  width: 100%;
  height: 4px;
  border-radius: 1rem;
}

.bar.half {
  width: 50%;
}

.bar.start {
  align-self: center;
  transition: transform 650ms ease-out;
}

.open .bar.start {
  background-color: black;
  transform: rotate(450deg) translateX(0.8rem);
}

.bar.end {
  align-self: center;
  transition: transform 650ms ease-out;
}

.open .bar.end {
  transform: rotate(-450deg) translateX(0.8rem);
}

.nav-list {
  list-style: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.sm-list {
  list-style: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

li {
  margin: 0 1rem;
}

.nav-link {
  font-family: 'Road Rage', sans-serif;
  font-size: 3rem;
  padding: 1rem;
}

.nav-link:hover,
.nav-link:focus {
  background: linear-gradient(to top, #ffe838, #fd57bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 1;
}

.landing-text h1 {
  font-size: 12rem;
  font-family: "Road Rage", sans-serif;
  background: linear-gradient(to top, #ffe838, #fd57bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 1rem;
}

.landing-text h6 {
  font-size: 3rem;
  font-weight: 500;
}

/*End Header*/

/*Start About*/
.about .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-heading {
  text-align: center;
  text-transform: uppercase;
  line-height: 0;
  margin-bottom: 6rem;
}

.about-content {
  flex: 1;
  height: 100%;
  background-color: rgba(34, 30, 63, .8);
  padding: 2rem;
  border: 1.5px solid rgba(255, 255, 255, .6);
  border-radius: .5rem;
}

.about-heading h1 {
  text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
  font-size: 12rem;
  opacity: .3;
}

.about-heading h6 {
  font-size: 2rem;
  font-weight: 400;
  border: 1.5px solid rgba(191, 191, 191, 0.4);
}

.tech-list-heading {
  margin-bottom: 1rem;
}

.tech-list {
  font-size: 2rem;
}

.profile-img {
  flex: 1;
  margin-right: 5rem;
}

.about-details {
  flex: 1;
}

.contact li {
  margin: 0 2rem;
}

.social-media {
  margin-top: 5rem;
}

.social-media i {
  font-size: 5rem;
  transition: color 650ms;
}

.fab.fa-github:hover {
  color: #404040;
}

.fab.fa-linkedin:hover {
  color: #2867B2;
}

/*End About*/

/*Start Projects*/
.project {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  margin-bottom: 5rem;
}

.project:last-child {
  margin-bottom: 0;
}

.project-img {
  flex: 1;
  width: 25rem;
}

.project-desc {
  flex: 1;
  height: 100%;
  background-color: rgba(34, 30, 63, .8);
  padding: 2rem;
  border: 1.5px solid rgba(255, 255, 255, .6);
  border-radius: .5rem;
}

.project-desc h1 {
  font-size: 3rem;
  font-weight: 300;
  margin: 1rem 0;
}

.project-desc h6 {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.6;
}

.project-desc .content {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #38a1f3;
  transition: color 650ms;
}

.project-desc .content:hover {
  color: #2f67cd;
}

/*End Projects*/

/*Start Experience*/
.timeline .timeline-list {
  border-left: 4px solid #ffe838;
  border-radius: .8rem;
  background-color: rgba(0, 0, 0, .5);
  margin: 0 auto;
  position: relative;
  padding: 5rem;
  list-style: none;
  text-align: left;
  width: 80%;
}

.timeline h1 {
  color: white;
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 1rem;
  opacity: .8;
}

.timeline h2 {
  color: white;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.timeline .date {
  border-bottom: 2px solid rgba(255, 255, 255, .4);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline .date:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}

.timeline .date::before,
.timeline .date::after {
  position: absolute;
  display: block;
  top: 50%;
  transform: translateY(-50%);
}

.timeline .date::before {
  content: attr(data-date);
  left: -21rem;
  text-align: right;
  min-width: 12rem;
  font-size: 1.5rem;
  font-weight: 300;
}

.timeline .date::after {
  content: '';
  box-shadow: 0 0 0 4px #fd57bf;
  border-radius: 100%;
  left: -6.9rem;
  height: 1.5rem;
  width: 1.5rem;
  background-color: #313534;
}

.timeline .experience-list {
  list-style: none;
}

.timeline .experience-list li {
  font-size: 1.5rem;
  padding-left: 1rem;
}

.timeline .experience-list li::before {
  content: "\2022";
  width: 1em;
  margin-left: -1em;
  height: 10px;
  color: #ffe838;
  font-weight: 700;
  line-height: 3rem;
  display: inline-block;
}

/*End Experience*/

/*Start Contact*/
.contact {
  margin: 0 auto;
  width: 80%;
  background-color: rgba(34, 30, 63, .8);
  margin-bottom: 4rem;
  border-radius: 1.8rem;
}

form {
  width: 70%;
  margin: 0 auto;
}

form label {
  font-size: 2rem;
}

input,
textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1.5rem;
  margin-bottom: 5px;
  border: none;
  outline-color: #fd57bf;
}

input[type="submit"] {
  width: initial;
  background-color: #fd57bf;
  color: #eee;
  font-size: 2rem;
  padding: 1rem 2rem;
  border-radius: .5rem;
  cursor: pointer;
  transition: background-color 650ms;
  float: right;
}

input[type="submit"]:hover {
  color: #221e3f;
  background-color: #ffe838;
}

/*End Contact*/

/*Start Footer*/
.copyright {
  width: 100%;
  text-align: center;
  background-color: #16162d;
  padding: 2rem 0;
  position: relative;
}

.up {
  position: absolute;
  width: 5rem;
  height: 5rem;
  background-color: #eee;
  top: -2.5rem;
  right: 5rem;
  border-radius: 100%;
  display: flex;
  animation: pulse 2s infinite;
  cursor: pointer;
}

.up i {
  color: #16162d;
  font-size: 2rem;
  margin: auto;
}

.copyright p {
  font-size: 1.4rem;
}

/*End Footer*/

/*Animations*/
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(253, 87, 191, 0.99);
  }

  70% {
    box-shadow: 0 0 0 2rem rgba(253, 87, 191, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(253, 87, 191, 0);
  }
}


/*Responsivness*/

@media screen and (max-width: 768px) {
  .landing-text h1 {
    font-size: 6rem;
  }

  .landing-text h6 {
    font-size: 1.5rem;
  }

  .nav-list {
    flex-direction: column;
  }

  li {
    margin: 2rem 0;
  }

  .nav-link {
    font-size: 4rem;
  }

  .about-heading h1 {
    font-size: 8rem;
  }

  .section-heading h1 {
    font-size: 3rem;
  }

  .about-details .nav-list {
    flex-direction: initial;
  }

  .about-details li {
    margin: 0 2rem;
  }

  .timeline .timeline-list {
    margin: 0 0 0 auto;
    width: 65%;
  }

  .timeline .date::before {
    left: -20rem;
  }

  .timeline .date::after {
    left: -5.9rem;
  }
}

@media screen and (max-width: 600px) {
  .menu-toggler {
    top: 2rem;
    right: 2rem;
  }

  .landing-text h1 {
    font-size: 4rem;
  }

  .landing-text h6 {
    font-size: 1.2rem;
  }

  .nav-link {
    font-size: 3.5rem;
  }

  .about .container {
    flex-direction: column;
  }

  .profile-img {
    margin: 0 0 -0.5rem 0;
  }

  .about-heading {
    background-color: #fd57bf;
  }

  .about-heading h1 {
    opacity: .5;
  }

  .about-heading h6 {
    color: white;
    z-index: 10;
    position: relative;
  }

  .project {
    flex-direction: column;
    border-top: 3px solid rgba(255, 255, 255, .6);
    padding-top: 5rem;
  }

  .project-img {
    margin: 0 0 2rem 0;
    order: 1;
  }

  .project-desc {
    margin: 0;
    order: 2;
  }

  .timeline p {
    font-size: 1.5rem;
  }

  .timeline .timeline-list {
    width: 85%;
  }

  .timeline .date::before {
    font-size: 1.4rem;
    transform: rotate(90deg);
    font-weight: 700;
    left: -14rem;
  }

  .contact {
    width: 100%;
    margin-bottom: 0;
  }

  .up {
    right: 2rem;
  }
}