* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.navigation {
  height: 60px;
  position: sticky;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0px;
  z-index: 999;
  background-color: #1e1a20;
  color: #fff;
  padding-right: 24px;
}
.navigation #links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.navigation #links span {
  color: #fff;
  font-size: 16px;
}
.navigation #links span:hover {
  cursor: pointer;
}
#burger {
  display: none;
  font-size: 30px;
  margin-left: 16px;
  cursor: pointer;
}
#profile, #resume, #certifications, #footer {
  background-color: #1e1a20;
  color: #fff;
  padding: 40px 20px;
}
#profile .header {
  max-width: 900px;
  margin: 0px auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
#profile .header .text {
  display: flex;
  flex: 1;
  justify-content: center;
}
#profile .header .text .content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#profile .header .text .content .name {
  font-weight: 700;
  font-size: 28px;
}
#profile .header .text .content .profession {
  font-weight: 700;
  font-size: 16px;
}
#profile .header .image {
  flex: 1;
}
#profile .header .image img {
  width: 250px;
  height: 250px;
  border-radius: 15px;
}
#skills, #portfolio, #contact {
  padding: 40px 20px;
}
h1 {
  text-align: center;
  margin-bottom: 40px;
}
#skills .gallery {
  max-width: 900px;
  margin: 0px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
#skills .gallery .column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 30px;
  padding: 20px;
  border: 5px solid #1e1a20;
  border-radius: 25px;
}
#skills .gallery .column .title {
  grid-column: 1 / -1;
  text-align: center;
}
#skills .gallery .column .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#skills .gallery .column .item img {
  width: 80px;
  height: auto;
  border-radius: 10px;
}
#resume .timeline {
  max-width: 900px;
  margin: 0px auto;
  position: relative;
  padding: 0px;
}
#resume .timeline::before {
  width: 4px;
  position: absolute;
  content: "";
  top: 20px;
  bottom: 20px;
  left: 50%;
  background-color: #fff;
  transform: translateX(-50%);
}
#resume .timeline .item {
  width: 50%;
  position: relative;
  padding: 20px 0px;
  box-sizing: border-box;
}
#resume .timeline .item:nth-last-child(odd) {
  left: 0px;
  text-align: right;
  padding-right: 40px;
}
#resume .timeline .item:nth-last-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 40px;
}
#resume .timeline .item .dot {
  width: 40px;
  height: 40px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50%;
}
#resume .timeline .item:nth-last-child(odd) .dot {
  right: -20px;
  left: auto;
}
#resume .timeline .item:nth-last-child(even) .dot {
  left: -20px;
  right: auto;
}
#resume .timeline .item .content {
  position: relative;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
}
#resume .timeline .item .content .year {
  display: block;
  color: #1e1a20;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}
#resume .timeline .item .content h3 {
  color: #007bff;
}
#resume .timeline .item .content h3 .divider, #resume .timeline .item .content p {
  color: #1e1a20;
}
#portfolio .cards, #certifications .cards {
  max-width: 900px;
  margin: 0px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-content: center;
  gap: 30px;
}
#portfolio .cards .card, #certifications .cards .card, #contact .contact #contactForm {
  display: flex;
  flex-direction: column;
}
#portfolio .cards .card a.noLink {
  pointer-events: none;
  cursor: default;
}
#portfolio .cards .card img, #certifications .cards .card img {
  width: 100%;
  height: 280px;
}
#portfolio .cards .card .text, #certifications .cards .card .text, #footer p {
  text-align: center;
}
#portfolio .cards .card .text h3 {
  margin: 8px 0px;
}
#certifications .cards .card .text h3 {
  margin-top: 10px;
}
#contact {
  color: #1e1a20;
}
#contact .contact {
  max-width: 900px;
  margin: 0px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 8px 24px rgba(30, 26, 32, 0.25);
}
#contact .contact .information p {
  margin-bottom: 12px;
  font-size: 16px;
}
#contact .contact .information p span {
  font-weight: 700;
}
#contact .contact .information p span a {
  color: inherit;
  text-decoration: none;
}
#contact .contact .information #downloadButton {
  background-color: #1e1a20;
  color: #fff;
  font-weight: 700;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#contact .contact .information #downloadButton:hover {
  transform: scale(1.05);
}
#contact .contact #contactForm label {
  font-weight: 700;
  margin-bottom: 5px;
}
#contact .contact #contactForm input, #contact .contact #contactForm textarea, #contact .contact #contactForm #contactButton {
  border: 2px solid #1e1a20;
  border-radius: 5px;
  margin-bottom: 15px;
  padding: 8px;
  font-size: 14px;
}
.contact #contactForm textarea {
  resize: none;
}
#contact .contact #contactForm input:focus, #contact .contact #contactForm textarea:focus {
  outline: none;
}
#contact .contact #contactForm input.error, #contact .contact #contactForm textarea.error {
  border-color: #ff0000;
}
#contact .contact #contactForm #contactButton {
  background-color: #007bff;
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
#contact .contact #contactForm #contactButton:disabled {
  background-color: #555;
  color: #fff;
  opacity: 0.7;
  cursor: not-allowed;
}
#contact .contact #contactForm #contactButton:not(:disabled):hover {
  background-color: #0056b3;
}
.banner {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  margin-bottom: 10px;
}
.banner.success {
  background-color: #d1e7dd;
  color: #0f5132;
  border-color: #badbcc;
}
.banner.error {
  background-color: #f8d7da;
  color: #842029;
  border-color: #f5c2c7;
}
.banner .close {
  background-color: transparent;
  border: none;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
  padding-left: 5px;
}
@media (max-width: 768px) {
  .navigation {
    justify-content: flex-end;
  }
  .navigation #links {
    width: 100%;
    position: absolute;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    top: 60px;
    left: 0px;
    background-color: #1e1a20;
    padding-bottom: 32px;
  }
  .navigation #links.active {
    display: flex;
  }
  #burger {
    display: block;
  }
  #profile .header {
    flex-direction: column;
  }
  #resume .timeline::before, #resume .timeline .item .dot {
    display: none;
  }
  #resume .timeline .item {
    width: 100%;
    left: 0px !important;
    text-align: center !important;
    padding: 20px 0px !important;
  }
  #contact .contact {
    grid-template-columns: 1fr;
  }
}
