@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;500;700;900&family=Roboto:wght@300;400;500;700;900&display=swap");

:root {
  --pink: rgb(212, 20, 171);
  --yellow: rgb(241, 241, 88);
  --green: rgb(117, 197, 141);
  --blue: rgb(45, 158, 192);
  --red: rgb(189, 64, 64);
}

html {
  background-color: rgb(7, 7, 12);
  color: rgb(214, 212, 212);
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 600;
  scroll-behavior: smooth;
}

.container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#menu {
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100vw;
  height: auto;
}

.options {
  overflow: hidden;
}

.options a {
  float: left;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.options a:hover {
  background-color: rgb(18, 18, 18);
}

/* Active link classes */
.options .home-active {
  color: var(--pink);
}

.options .projects-active {
  color: var(--yellow);
}

.options .about-active {
  color: var(--green);
}

.options .experience-active {
  color: var(--blue);
}

.options .contact-active {
  color: var(--red);
}

#menu .menu {
  min-height: 10vh;
  background-color: rgba(7, 7, 12, 0.5);
}

.brand {
  position: relative;
  top: 0;
  left: -50px;
  z-index: 1;
  color: white;
  font-weight: 100;
  font-size: 60px;
  padding: 0 10px;
  text-decoration: none;
}

.option {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 2rem;
  color: white;
  font-weight: 100;
  text-decoration: none;
}
/*
#home{
  #background-image: url(neuron.png);
}
.home{
  background-image: url(ship.png);
  right: -3px;
  background-size: 600px 200px;
  background-repeat: no-repeat;
  background-position: 25% 75%;

}
*/
.home-description {
  position: relative;
  top: 0;
  left: -31px;
  z-index: 100;
}

#home .button {
  font-weight: 700;
  color: var(--pink);
  display: inline-block;
  padding: 10px 30px;
  background-color: transparent;
  border: 1px solid var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-top: 30px;
  transition: 0.3s ease background-color;
  text-decoration: none;
  z-index: 100;
}

#home .button:hover {
  color: white;
  background-color: var(--pink);
}

.project {
  position: relative;
  margin: 10px;
}

#about {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#about p {
  width: 1000px;
  text-align: justify;
}

#about .cv {
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
  display: inline-block;
  padding: 10px 30px;
  background-color: transparent;
  border: 1px solid var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-top: 30px;
  transition: 0.3s ease background-color;
  text-decoration: none;
}

#about .cv:hover {
  color: white;
  background-color: var(--green);
}

.jobs {
  padding: 50px;
}

.jobs h2 {
  font-weight: 700;
  font-size: 20px;
}

.jobs h3 {
  font-weight: 400;
  font-size: 20px;
}

.line {
  border-left: 1px solid var(--blue);
  height: 550px;
}

#contact span {
  color: var(--red);
}

.contact {
  text-align: center;
  position: relative;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}

.contact-items {
  width: 90%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.contact-item {
  height: 200px;
  position: relative;
  text-align: center;
  margin: 5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer {
  min-height: 200px;
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 10px;
}

.footer-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.footer-icon {
  height: 5px;
  width: 32px;
  margin: 0 5px;
}

#projects .container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10px;
}

.projects-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  box-sizing: border-box;
}

.language-button {
  background-color: var(--yellow);
  color: rgb(7, 7, 12);
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.language-button:hover {
  background-color: orange;
}

.project-button {
  background-color: transparent;
  color: var(--yellow);
  padding: 10px 20px;
  border: 2px solid var(--yellow);
  cursor: pointer;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.project-button:hover {
  background-color: var(--yellow);
  color: rgb(7, 7, 12);
}

/* Responsive styles */
@media (max-width: 768px) {
  .brand {
    font-size: 40px;
    left: 0;
    padding: 0;
  }

  .options a {
    float: none;
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 18px;
  }

  .home-description {
    left: 0;
    text-align: center;
  }

  .home-description h1 {
    font-size: 24px;
  }

  .container {
    flex-direction: column;
  }

  #about p {
    width: 90%;
  }

  .jobs {
    padding: 20px;
  }

  .jobs h2, .jobs h3 {
    font-size: 18px;
  }

  .line {
    height: auto;
    border: none;
  }

  .contact-items {
    grid-template-columns: 1fr;
  }

  .contact-item {
    height: auto;
  }

  .footer-icons {
    flex-direction: column;
  }

  .footer-icon {
    margin: 10px 0;
  }

  .projects-row {
    flex-direction: column;
  }

  .language-button, .project-button {
    width: 100%;
    text-align: center;
  }
}

/* Menu Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
}

/* Show the toggle button on small screens */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .options {
    display: none;
  }

  .options.show {
    display: block;
  }
}

