:root {
  --bg: #0e1212;
  --green: #74bf00;
  --light: #dbdbdb;
  --gray: gray;
  --comment: #555555;
}

body {
  background-color: var(--bg);
  font-size: 18px;
  font-family: 'Roboto Mono', monospace;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2 {
  font-weight: bolder;
  margin: 0;
}

h1 {
  font-size: 1.8em;
  color: var(--light);
}

h2 {
  font-size: 1.6em;
  color: var(--green);
}

a {
  color: transparent;
}

.wrapper-sections {
  display: flex;
  flex-direction: column;
}

.title-about,
.desc-project {
  font-size: 1.8em;
  font-weight: bolder;
  color: var(--light);
  margin: 0;
}

.list-about,
.list-project,
.list-skills {
  padding: 0;
  list-style: none;
}

.about-section,
.contact-section {
  margin-top: 15vh;
}

/* MAIN SECTION */

.main-section {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow-x: hidden;
}

.wrapper {
  max-width: 85%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-gap: 7%;
}

.navigation {
  display: none;
}

.mobile-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.navigation-mobile {
  position: absolute;
  right: 15px;
  bottom: 10vh;
  width: 100%;
  z-index: 10;
}

#menu {
  height: 100vh;
  width: 100vw;
  z-index: 2;
  position: fixed;
  right: -100vw;
  transition: 1s;
}

#dark-screen {
  background-color: var(--bg);
  opacity: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  position: fixed;
  transition: 0.5s;
}

.menu-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 30px;
  z-index: 2;
}

.nav-list-mobile {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.nav-list-mobile li {
  padding-top: 20px;
  font-weight: bold;
}

.nav-list-mobile li a {
  text-decoration: none;
  color: var(--light);
  font-size: 1.7em;
}

.nav-list-mobile-icons {
  display: flex;
}

#github-mobile {
  padding-right: 20px;
}

#github-mobile,
#linkedin-mobile {
  color: var(--green);
  font-size: 1.2em;
}

.menu-img {
  padding-top: 15px;
  padding-right: 10px;
  z-index: 2;
  position: fixed;
}

.header {
  position: relative;
}

.surname {
  color: var(--green);
  margin-bottom: 15px;
  margin-top: 8px;
}

.subtitle {
  line-height: 0.9em;
}

.desc-header {
  color: var(--gray);
  line-height: 1.5em;
  font-size: 0.9em;
  width: 80%;
}

.bar,
.bar-top {
  width: 0px;
  border: 1px solid;
}

.container-bar {
  position: relative;
  margin-top: 50vh;
}

.bar-top {
  border-image: linear-gradient(
    to top,
    rgba(116, 191, 0, 0.2) 0%,
    rgba(116, 191, 0, 0.3) 20%,
    rgba(116, 191, 0, 0.4) 100%
  );
  border-image-slice: 1;
  height: 100%;
  transform: rotate(180deg);
}

.bar {
  height: 50vh;
  position: fixed;
  top: 50vh;
  border-image: linear-gradient(
    to bottom,
    rgba(116, 191, 0, 1) 0%,
    rgba(116, 191, 0, 0.8) 40%,
    rgba(14, 18, 18, 1) 100%
  );
  border-image-slice: 1;
}

.bullet {
  list-style: none;
  position: absolute;
  bottom: 0;
  height: 50vh;
  margin-left: -6px;
  padding: 0;
}

.bullet > li:before {
  content: '\25CF';
  font-size: 20px;
  color: var(--green);
}

/* WORKS SECTION */

.work-section {
  display: flex;
  flex-direction: column;
  margin-top: 10vh;
  overflow-x: hidden;
}

.comment,
.comment-title {
  margin: 0;
  color: var(--comment);
  line-height: 1.5em;
  font-size: 0.9em;
}

.comment-title {
  color: var(--gray);
  font-weight: bold;
  margin-top: 8px;
  margin-bottom: 10px;
}

.list-project {
  margin: 0;
}

.list-project li {
  padding-top: 50px;
}

.list-project li a {
  text-decoration: none;
}

.details {
  margin-top: 8px;
}

.img-project {
  width: 70%;
}

.desc-project {
  font-size: 1em;
}

/* ABOUT SECTION */

.about-section {
  overflow-x: hidden;
}

.header-desc {
  color: var(--green);
  width: 95%;
  font-weight: 300;
  margin: 0;
  margin-top: 10px;
}

.title-about {
  color: var(--light);
  font-size: 1.1em;
  width: 80%;
}

.list-about li {
  padding-top: 20px;
  color: var(--gray);
  font-size: 0.95em;
  font-weight: 500;
  width: 90%;
}

.skill-experience p {
  margin: 0;
  padding: 0;
  font-size: 0.95em;
}

.skill-one,
.skill-two,
.skill-three {
  padding-top: 15px;
}

/* CONTACT SECTION */
.contact-section {
  margin-bottom: 15%;
  overflow-x: hidden;
}

#github-icon,
#linkedin-icon {
  color: var(--green);
  font-size: 1.6em;
}

/* RESPONSIVES */

@media (min-width: 768px) {
  .wrapper {
    grid-gap: 4%;
  }

  .menu-close {
    width: 5%;
  }

  .nav-list-mobile li a {
    font-size: 2.2em;
  }

  #github-mobile,
  #linkedin-mobile {
    font-size: 1.4em;
  }

  .surname {
    margin-bottom: 25px;
    font-size: 1.1em;
  }

  h1 {
    font-size: 2.8em;
  }

  h2 {
    font-size: 2.1em;
    width: 90%;
  }

  .header {
    top: 1%;
  }

  .subtitle {
    line-height: 1em;
  }

  .desc-header {
    font-size: 1em;
    font-weight: bold;
    width: 75%;
  }

  .bullet > li:before {
    font-size: 22px;
  }

  .list-project li,
  .list-project li a {
    display: flex;
  }

  .details {
    margin-left: 20px;
    margin-top: 0;
  }

  .img-project {
    width: 30%;
  }

  .desc-project {
    font-size: 1em;
  }

  .header-desc {
    font-weight: 400;
    width: 75%;
  }

  .list-about li {
    width: 100%;
  }

  .contact-section {
    margin-bottom: 20%;
  }

  .btn-resume {
    width: 20%;
  }
}

@media (min-width: 1024px) {
  .wrapper {
    margin-left: 25%;
    grid-gap: 3%;
  }

  .navigation {
    display: flex;
    position: absolute;
    top: 10px;
    right: 20px;
  }

  .navigation .nav-list {
    display: flex;
    list-style: none;
    justify-content: space-around;
    width: 420px;
    margin-right: 3%;
    z-index: 3;
  }

  .nav-list a {
    text-decoration: none;
    cursor: pointer;
    color: var(--light);
  }

  .nav-list a:hover {
    color: var(--green);
    transition-duration: 0.5s;
  }

  .fab {
    color: var(--green);
    font-size: 1.4em;
    margin-left: 5px;
  }

  .fab:hover {
    color: var(--light);
    transition-duration: 0.5s;
  }

  .menu-img {
    display: none;
    visibility: hidden;
  }

  h1 {
    font-size: 3.5em;
  }

  .header {
    top: 0%;
    width: 60%;
  }

  .header-desc {
    width: 100%;
  }

  .desc-project {
    width: 50%;
  }

  .title-about {
    font-size: 1.4em;
  }

  .list-about li {
    font-size: 1em;
  }

  .skill-experience p {
    font-size: 1em;
  }

  #github-icon,
  #linkedin-icon {
    font-size: 2em;
  }

  .contact-section {
    height: 60vh;
    margin-bottom: 10%;
  }

  .btn-resume {
    width: 30%;
  }
}

@media (min-width: 1440px) {
  .details {
    width: 100%;
  }

  .contact-section {
    height: 60vh;
    margin-bottom: 0%;
  }

  .btn-resume {
    width: 20%;
  }
}

@media (min-width: 320px) and (orientation: landscape) {
  .navigation-mobile {
    bottom: 1vh;
  }

  .menu-close {
    width: 25px;
  }

  .nav-list-mobile li a {
    font-size: 1.4em;
  }
}
