body {
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: black;
  color: white;
}

/* navbar */

#navbar {
  display: flex;
  justify-content: space-evenly;
  padding-top: 1em;
  align-items: center;
}

.fa-linkedin,
.fa-envelope,
.fa-github {
  font-size: 24px;
}

#navbar a {
  color: white;
  text-decoration: none;
  padding: 0 0.5em;
}

.nav a {
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
}

#navbar .nav a:hover {
  text-decoration: underline;
}

#logo img {
  width: 2.5em;
}

#logo img:hover {
  transform: scale(1.3);
}

.contact-icons a {
  color: white;
  text-decoration: none;
  padding: 0 0.5em;
}

.contact-icons i:hover {
  transform: scale(1.5);
}

/* end navbar */

/* hero */

#hero {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 20px 40px;
}

#about-me-text {
  margin-bottom: 1em;
}

#about-me-text h2 {
  font-family: 'Sofia', 'Arial', sans-serif;
}

#about-me-text #se {
  color: rgb(40, 223, 255);
  margin-bottom: 0.8em;
}

#hello {
  font-size: small;
  margin: 0;
  margin-bottom: 0.5em;
}

#about-me-text h2 {
  font-size: 32px;
  margin: 0;
}

.passionate {
  font-family: 'Salsa', 'Arial', sans-serif;
  font-size: medium;
  margin: 0;
  margin-top: 0.8em;
}

#about-me-contact {
  display: flex;
  margin-top: 2em;
}

#about-me-contact a {
  text-decoration: none;
}

#hero .contact-icons {
  display: none;
}

#hire-me-button {
  width: max-content;
  border: 1px solid rgb(40, 223, 255);
  border-radius: 10px;
  padding: 0.5em 1em;
  background-color: rgb(40, 223, 255);
  margin-right: 2.5em;
}

#hire-me-button a {
  color: black;
  text-decoration: none;
}

#contact-me-button {
  width: max-content;
  border: 2px solid rgb(40, 223, 255);
  border-radius: 10px;
  padding: 0.5em 1em;
  background-color: black;
}

#contact-me-button a {
  color: white;
  text-decoration: none;
}

#hire-me-button:hover,
#contact-me-button:hover {
  transform: scale(1.2);
}

#hero-photo img {
  max-height: 25em;
  border-radius: 30px;
  border: 0.3em solid rgb(40, 223, 255);
}

/* end header */

::-webkit-scrollbar {
  width: 0;
}

.container {
  display: flex;
  overflow-x: auto;
  padding: 10px 10px 0;
}

#tech-expedition,
.journey,
.projects,
#contact-me {
  padding: 20px 40px;
}

h2 {
  font-family: 'Salsa', 'Arial', sans-serif;
}

/* tech-expedition */

.tech-timeline {
  display: flex;
  position: relative;
}

.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-circle {
  border: 2px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  font-size: x-small;
}

.timeline-circle-hover {
  transform: scale(1.3);
  background-color: rgb(40, 223, 255);
  border-color: rgb(40, 223, 255);
  color: black;
  font-weight: bold;
}

.horizontal-line {
  border-top: 2px solid white;
  width: 100px;
  margin-top: 20px;
}

.horizontal-line-short {
  width: 50px;
}

.timeline-description {
  width: max-content;
  text-align: center;
  margin-top: 0.5em;
  font-size: small;
}

.timeline-description ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.timeline-description ul li {
  margin-top: 0.5em;
}

.language-icon {
  width: 3.5em;
}

/* end tech-expedition */


/* education & projects */

.card-date {
  font-size: smaller;
  padding-bottom: 0.3em;
}

.card {
  flex-shrink: 0;
  width: 250px;
  margin-right: 20px;
  border: 1px solid black;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.3s;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 10px;
  color: black;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.card-content .card-description {
  display: none;
  margin: 0;
  padding: 0;
  font-size: smaller;
  list-style: none;
}

.card:hover .card-description {
  display: block;
}

.card-content h4,
.card-content p {
  margin: 0;
}

/* projects */

.tech-description {
  margin-top: 0.2em;
}

.card-description .language-icon {
  width: 2em;
  padding-right: 0.5em;
}

#ps-card:hover {
  cursor: pointer;
}

#popup-card {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  color: black;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  position: relative;
}

.close-btn {
  position: absolute;
  /* top: 10px; */
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: white;
  background: red;
  border: 2px solid red;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* end projects */
/* end education & projects */


/* contact me */

#contact-me-form {
  width: 60%;
}

.form-field {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 3px;
}

.form-input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  font-size: small;
}

.required {
  color: red;
}

#submit-button {
  width: max-content;
  border: 2px solid rgb(40, 223, 255);
  border-radius: 10px;
  padding: 0.5em 1em;
  background-color: black;
  color: white;
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  font-size: large;
}

#submit-button:hover {
  background-color: rgb(40, 223, 255);
  color: black;
  cursor: pointer;
}

#error-message {
  display: none;
  color: red;
}

#popup-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* end contact me */


/* footer */

.line {
  border-top: 1px solid white;
}

footer {
  padding: 40px 40px 20px;
  text-align: center;
  font-size: smaller;
}

footer a {
  color: white;
}

footer .contact-icons {
  margin-top: 2em;
}

footer .contact-icons a {
  padding-right: 1em;
}

footer .nav {
  margin-top: 1.5em;
  margin-bottom: 3.5em;
  font-size: larger;
}

footer .nav a {
  padding-right: 1em;
  text-decoration: none;
}

footer .nav a:hover {
  text-decoration: underline;
}

/* end footer */


/* responsive */

@media (pointer:coarse) {
  #projects .card-description {
    display: block;
  }
}

@media screen and (min-width: 1300px) {
  #tech-expedition .container {
    justify-content: center;
  }

  #tech-expedition h2,
  #contact-me h2,
  .journey h2 {
    display: flex;
    justify-content: center;
  }

  #contact-me-form {
    width: 40%;
    margin: auto;
  }
}

@media screen and (max-width: 1030px) {
  #hero-photo img {
    max-height: 15em;
  }
}

@media screen and (min-width: 1000px) and (max-height: 800px) {
  header {
    height: 100vh;
  }

  #hero {
    height: 90vh;
    padding: 0 40px;
  }
}

@media screen and (max-width: 800px) {
  .passionate {
    font-size: small;
  }

  #ps-canvas {
    width: 80vw;
  }

  #contact-me-form {
    width: 85%;
  }
}

@media screen and (max-width: 600px) {
  #navbar a {
    font-size: small;
  }

  #hero {
    display: block;
  }

  #about-me-text {
    max-width: fit-content;
    margin: 1em auto 2em;
  }

  #about-me-contact {
    display: flex;
    justify-content: space-evenly;
  }

  #hire-me-button {
    margin-right: 0;
  }

  #hero-photo {
    justify-content: center;
    display: flex;
    margin-top: 2em;
  }

  #hero-photo img {
    max-height: 20em;
  }

  footer {
    font-size: x-small;
  }
}

@media screen and (max-width: 450px) {
  #hero .contact-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
  }

  #navbar .contact-icons {
    display: none;
  }

  #about-me-text h2 {
    font-size: x-large;
  }

  #about-me-contact {
    flex-direction: column;
  }

  #hire-me-button {
    margin-bottom: 1.5em;
  }
}