:root {
  --black: #0c1718;
  --blue: #80f0ff;
  --gray: #283334;
  scroll-behavior: smooth;
}
section {
  min-height: 100vh;
  background-color: var(--black);
  overflow: hidden;
}

.row {
  margin-left: 90px;
}

nav {
  margin-top: 130px;
  width: 10px;
}

nav a i {
  width: 50px;
  height: 50px;
  font-size: 30px;
  color: var(--blue);
}

nav a i:hover {
  opacity: 0.3;
}

.desk h6,
.myself h5,
.skills h4,
.col-skills-icon p,
.form-label,
.softskills li {
  color: var(--blue);
  font-family: pragmatica, sans-serif;
  text-transform: uppercase;
  font-weight: 800;
}

.title h2 {
  color: var(--black);
  font-family: pragmatica, sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 50px;
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: var(--blue);
}

.photo img {
  background-color: var(--blue);
  position: relative;
  z-index: 1;
  border: 3px solid var(--blue);
  box-shadow: 0px 0px 19px rgba(128, 240, 255, 1);
}

.name-photo h1 {
  color: var(--black);
  font-size: 1.3rem;
  font-family: pragmatica, sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 5px;
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: var(--blue);
  text-align: center;
  display: none;
}

.name h1,
.myself h1 {
  color: var(--black);
  font-size: 4.3rem;
  font-family: pragmatica, sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 5px;
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: var(--blue);
  margin-top: -10px;
}

.myself p {
  color: var(--blue);
  font-family: pragmatica, sans-serif;
  font-weight: 600;
}

.home .btn {
  font-family: pragmatica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  width: 200px;
  height: 50px;
  margin-top: 30%;
}

.home .photo .buttons-wrapper .about-me:hover {
  color: var(--black) !important;
  background-color: var(--blue);
}

.home .photo .buttons-wrapper .contact:hover {
  color: var(--blue) !important;
  background-color: var(--black) !important;
  border: 2px solid var(--blue);
}

.about .skills {
  border-left: 2px solid var(--blue);
  font-size: 30px;
}

.col-skills-icon {
  border: 1px solid var(--gray);
  padding: 10px;
  cursor: pointer;
}

.col-skills-icon:hover {
  border: 1px solid var(--blue);
  filter: brightness(150%);
}

.col-skills-icon p {
  color: var(--blue);
  font-family: pragmatica, sans-serif;
  text-transform: uppercase;
  font-weight: 300;
}

.timeline {
  list-style: none;
  padding: 1.4rem 0;
  margin-top: 1rem;
  position: relative;
}

.timeline::before {
  content: "";
  top: 0;
  bottom: 0;
  position: absolute;
  width: 3px;
  background-color: var(--blue);
  left: 50%;
}

.timeline li {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline li::before,
.timeline li::after {
  content: "";
  display: table;
}

.timeline li::after {
  clear: both;
}

.timeline li .timeline-dot {
  width: 30px;
  height: 30px;
  background-color: var(--blue);
  position: absolute;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, 70px);
}

.timeline li .timeline-panel {
  width: 30%;
  float: left;
  color: var(--blue);
  background-color: var(--gray);
  padding: 2rem;
  position: relative;
  border-radius: 20px;
  transform: translateX(50%);
}

.timeline li .timeline-panel::before {
  content: "";
  display: inline-block;
  position: absolute;
  border-top: 15px solid transparent;
  border-left: 15px solid var(--blue);
  border-right: 0 solid var(--blue);
  border-bottom: 15px solid transparent;
  top: 70px;
  right: -15px;
}

.timeline li .timeline-panel::after {
  content: "";
  display: inline-block;
  position: absolute;
  border-top: 14px solid transparent;
  border-left: 14px solid var(--blue);
  border-right: 0 solid var(--blue);
  border-bottom: 15px solid transparent;
  top: 71px;
  right: -13px;
}

.timeline li:nth-child(even) .timeline-panel {
  float: right;
  transform: translateX(-50%);
}

.timeline li:nth-child(even) .timeline-panel::before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline li:nth-child(even) .timeline-panel::after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -13px;
  right: auto;
}

.my-card .card {
  width: 18rem;
  background-color: var(--gray);
  color: var(--blue);
  margin-top: 2rem;
}

.form-text,
.or {
  color: var(--blue);
  font-family: pragmatica, sans-serif;
  font-weight: 300;
  opacity: 0.3;
}

.button-wrap a:hover {
  opacity: 0.5;
}

/* responsive breakpoint */

/* laptop */
@media (max-width: 992px) {
  .timeline::before {
    left: 60px;
  }

  .timeline li .timeline-dot {
    left: 15px;
    margin-left: 45px;
    top: 16px;
  }

  .timeline li .timeline-panel {
    width: calc(100% - 200px);
    float: right;
  }

  .timeline li .timeline-panel::before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
  }

  .timeline li .timeline-panel::after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -13px;
    right: auto;
  }
}

/* tablet */
@media (max-width: 900px) {
  .about .skills {
    margin-top: 50px;
    border-left: none;
    border-top: 2px solid var(--blue);
  }
  .timeline li:nth-child(even) .timeline-panel {
    transform: translate(-10px, 20px);
  }
  .timeline li .timeline-panel {
    width: 80%;
    transform: translate(-10px, 20px);
    margin-bottom: 50px;
  }

  .my-card {
    transform: translateX(-50px);
    width: 85vw;
  }

  .my-card .col-md-4 {
    margin-right: 6rem;
  }
}

/* hp */
@media (max-width: 576px) {
  .desk h6 {
    font-size: 18px;
  }

  .photo img {
    width: 200px;
  }

  .home .buttons-wrapper {
    text-align: start !important;
    margin-left: 10%;
  }

  .home .btn {
    width: 160px;
    height: 40px;
    margin-top: 10%;
  }

  .home .contact {
    margin-top: 10% !important;
  }

  .name h1 {
    display: none;
  }

  .name-photo h1 {
    display: block;
  }

  .timeline {
    transform: translateX(-20%);
    padding: 0px;
    margin: 0px;
  }

  .timeline li .timeline-dot {
    width: 20px;
    height: 20px;
  }

  .timeline-wrapper::-webkit-scrollbar {
    width: 8px; 
  }

  .timeline-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(128, 240, 255, 0.2);
    border-radius: 10px;
  }

  .timeline-wrapper::-webkit-scrollbar-track {
    background-color: var(--gray);
  }

  .title h2 {
    color: var(--black);
    font-family: pragmatica, sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 35px;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: var(--blue);
  }
  .timeline li:nth-child(even) .timeline-panel {
    transform: translate(45px, 40px);
  }
  .timeline li .timeline-panel {
    width: 80%;
    transform: translate(45px, 40px);
    margin-bottom: 50px;
  }

  .timeline li .timeline-panel::before {
    top: 40px;
  }
  .timeline li .timeline-panel::after {
    top: 41px;
  }
  .my-card {
    transform: none;
  }

  .my-card .card {
    width: 15rem;
  }

  .my-card .col-md-4 {
    margin-right: 0;
  }

  .button-wrap {
    display: block !important;
  }
}
