@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
  }
  .slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
  }
  .slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out forwards;
  }
  .slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out forwards;
  }
  .delay-1 {
    animation-delay: 0.2s;
  }
  .delay-2 {
    animation-delay: 0.4s;
  }
  .delay-3 {
    animation-delay: 0.6s;
  }
  .delay-4 {
    animation-delay: 0.8s;
  }
  .delay-5 {
    animation-delay: 1s;
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .slide-up,
  .slide-in-left,
  .slide-in-right {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
body {
  font-family: "VT323", monospace;
  background-color: #2e2e2e;
  color: #fff;
  padding-top: 100px;
  line-height: 1.6;
  margin: 0;
}

section {
  scroll-margin-top: 100px;
}

a {
  color: #f7c5cc;
  text-decoration: none;
  min-height: 24px;
  display: inline-block;
  padding: 4px 2px;
}
a:hover {
  text-decoration: underline;
}
a:focus {
  outline: 2px dotted #f7c5cc;
  outline-offset: 2px;
}
a:focus-visible {
  outline: 3px solid #f7c5cc;
  outline-offset: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

img {
  border: 2px dashed #f7c5cc;
  box-shadow: 2px 2px #444;
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #89cff0;
  color: #2c2c2c;
  border: 2px solid #2c2c2c;
  box-shadow: 2px 2px #444;
  cursor: pointer;
  font-family: "VT323", monospace;
  font-size: 1.1rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 4px;
  min-width: 44px;
  min-height: 44px;
}
.btn:hover, .btn:focus {
  background: rgb(91.7518796992, 188.5939849624, 234.2481203008);
  transform: translateY(-2px);
  outline: 2px solid #f7c5cc;
  outline-offset: 2px;
  box-shadow: 3px 3px #444;
}
.btn:focus-visible {
  outline: 3px solid #f7c5cc;
  outline-offset: 3px;
}
@media (max-width: 768px) {
  .btn {
    width: 100%;
    max-width: none;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    margin: 0.5rem auto;
    min-height: 48px;
  }
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #2e2e2e;
  border-bottom: 2px solid #f7c5cc;
  z-index: 1000;
  padding: 0.25rem 0;
  transition: padding 0.3s ease;
}
.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.header.shrunk, .header:hover {
  padding: 0.125rem 0;
}
.header.shrunk h1, .header:hover h1 {
  font-size: 1.5rem;
}
.header.shrunk .nav, .header:hover .nav {
  padding: 0.125rem 0;
}
.header h1 {
  text-align: center;
  font-size: 1.8rem;
  color: #f7c5cc;
  padding-top: 0.25rem;
  margin: 0;
  transition: font-size 0.3s ease;
}
.header .nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.25rem 0;
  transition: padding 0.3s ease;
}
.header .nav__logo {
  font-size: 1.5rem;
  color: #f7c5cc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  height: 2.5rem;
  overflow: visible;
}
.header .nav__logo:hover, .header .nav__logo:focus {
  opacity: 0.8;
  outline: none;
}
.header .nav__logo.nav__skip:focus {
  outline: none;
  background: none;
  border-radius: 4px;
  padding: 0;
}
.header .nav__logo-img {
  height: 4rem;
  width: auto;
  border: none;
  box-shadow: none;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 10;
}
.header .nav__logo-img:hover {
  transform: scale(1.05);
}
.header .nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 1.5rem;
  list-style: none;
}
.header .nav__item a {
  font-weight: bold;
  color: #f7c5cc;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header .nav__item a:hover, .header .nav__item a:focus {
  background-color: rgba(247, 197, 204, 0.1);
  transform: translateY(-2px);
  outline: none;
}
.header .nav__item a:focus-visible {
  outline: 3px solid #f7c5cc;
  outline-offset: 2px;
  background-color: rgba(247, 197, 204, 0.2);
}
.header .nav__item a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #f7c5cc;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.header .nav__item a:hover::before {
  width: 80%;
}
.header .nav__menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .header .nav__menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.header .nav__menu-toggle:hover, .header .nav__menu-toggle:focus {
  background-color: rgba(247, 197, 204, 0.1);
  outline: none;
}
.header .nav__menu-toggle:focus-visible {
  outline: 3px solid #f7c5cc;
  outline-offset: 2px;
  background-color: rgba(247, 197, 204, 0.2);
}
.header .nav__menu-toggle__lines {
  width: 25px;
  height: 3px;
  background: #f7c5cc;
  position: relative;
  transition: all 0.3s ease;
}
.header .nav__menu-toggle__lines::before, .header .nav__menu-toggle__lines::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 3px;
  background: #f7c5cc;
  transition: all 0.3s ease;
}
.header .nav__menu-toggle__lines::before {
  top: -8px;
}
.header .nav__menu-toggle__lines::after {
  top: 8px;
}
@media (max-width: 768px) {
  .header .nav {
    flex-direction: row;
    align-items: center;
  }
  .header .nav__list {
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2e2e2e;
    border-top: 1px solid rgba(247, 197, 204, 0.2);
  }
  .header .nav__list.open {
    max-height: 300px;
  }
  .header .nav__item a {
    padding: 1rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(247, 197, 204, 0.2);
    display: block;
  }
  .header .nav__item a:hover {
    background-color: rgba(247, 197, 204, 0.1);
    transform: none;
  }
}

.intro-banner {
  background: url("../src/img/background-subtle.svg") no-repeat center center/cover, linear-gradient(45deg, #aaf0d1, #cdb4db);
  color: #222;
  padding: 4rem 1rem;
  margin-top: 2rem;
}
.intro-banner .intro-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 2rem;
}
.intro-banner .intro-content img {
  width: 150px;
  border-radius: 50%;
}
.intro-banner .intro-content .intro-text {
  max-width: 600px;
}
.intro-banner .intro-content .intro-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}
.intro-banner .intro-content .intro-text .intro-actions {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.intro-banner .intro-content .intro-text .intro-actions .btn {
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 768px) {
  .intro-banner .intro-content {
    flex-direction: column;
    text-align: center;
  }
  .intro-banner .intro-content img {
    width: 200px;
  }
  .intro-banner .intro-content .intro-text .intro-actions {
    flex-direction: column;
    align-items: center;
  }
  .intro-banner .intro-content .intro-text .intro-actions .btn {
    margin: 0.5rem 0;
    width: 85%;
  }
}

.projects {
  background-color: #2e2e2e;
  padding: 4rem 1rem;
}
.projects h2 {
  color: #f7c5cc;
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}
.projects .project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .projects .project-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.projects .card {
  background: #111;
  border: 2px solid #f7c5cc;
  color: #fff;
  padding: 1.5rem;
  box-shadow: 3px 3px #444;
  transition: all 0.3s ease;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.projects .card:hover, .projects .card:focus-within {
  transform: translateY(-5px);
  box-shadow: 5px 5px #444;
  border-color: rgb(253.1818181818, 241.8181818182, 243.4090909091);
  outline: 2px solid #f7c5cc;
  outline-offset: 2px;
}
.projects .card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}
.projects .card h3 {
  color: #89cff0;
  background-color: #2c2c2c;
  border-radius: 5px;
  padding: 8px;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  text-align: center;
}
.projects .card p {
  font-size: 1.2rem;
  flex-grow: 1;
  line-height: 1.6;
}
.projects .btn {
  margin: 2rem auto 0;
  display: block;
  width: 100%;
  max-width: 600px;
}

.skills {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  padding: 4rem 1rem;
}
.skills h2 {
  color: #f7c5cc;
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}
.skills .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .skills .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.skills .skill-category {
  background: #111;
  border: 2px solid #f7c5cc;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 3px 3px #444;
  transition: all 0.3s ease;
}
.skills .skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 5px 5px #444;
  border-color: #89cff0;
}
.skills .skill-category h3 {
  color: #89cff0;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px dashed #f7c5cc;
  padding-bottom: 0.5rem;
}
.skills .skill-category ul {
  list-style: none;
  padding: 0;
}
.skills .skill-category ul li {
  color: #fff;
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  transition: color 0.3s ease;
  font-size: 1.2rem;
}
.skills .skill-category ul li:before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #f7c5cc;
  font-size: 1rem;
}
.skills .skill-category ul li:hover {
  color: #89cff0;
  padding-left: 2rem;
}

.resume {
  background: url("../src/img/background-subtle.svg") no-repeat center center/cover, linear-gradient(45deg, #cdb4db, #aaf0d1);
  color: #222;
  padding: 4rem 1rem;
}
.resume h2 {
  color: #222;
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}
.resume .resume-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (max-width: 768px) {
  .resume .resume-content {
    gap: 1.5rem;
  }
}
.resume .resume-section {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #333;
  box-shadow: 3px 3px #444;
  padding: 2rem;
  border-radius: 8px;
}
.resume .resume-section h3 {
  color: #89cff0;
  background-color: #2c2c2c;
  border-radius: 5px;
  padding: 8px;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px dashed #333;
  padding-bottom: 0.5rem;
  text-align: center;
}
.resume .resume-item {
  margin-bottom: 1.5rem;
}
.resume .resume-item:last-child {
  margin-bottom: 0;
}
.resume .resume-item h4 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.resume .resume-item .duration {
  color: #89cff0;
  background-color: #2c2c2c;
  border-radius: 5px;
  padding: 8px;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.resume .resume-item .company {
  color: #666;
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.resume .resume-item p {
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.resume .resume-item p.duration {
  margin-bottom: 0.5rem;
}
.resume .resume-item p.company {
  margin-bottom: 0.5rem;
}
.resume .download-btn {
  margin-top: 2rem;
}

.contact {
  background-color: #2e2e2e;
  padding: 4rem 1rem;
}
.contact h2 {
  color: #f7c5cc;
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}
.contact .contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact .contact-content p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.contact .contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .contact .contact-links {
    flex-direction: column;
    gap: 1rem;
  }
}
.contact .contact-link {
  background: #111;
  border: 2px solid #f7c5cc;
  color: #fff;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 3px 3px #444;
  transition: all 0.3s ease;
  font-family: "VT323", monospace;
  font-size: 1.1rem;
  min-width: 120px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact .contact-link:hover, .contact .contact-link:focus {
  background: #89cff0;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 5px 5px #444;
  border-color: #89cff0;
  outline: 2px solid #f7c5cc;
  outline-offset: 2px;
}
.contact .contact-link:focus-visible {
  outline: 3px solid #f7c5cc;
  outline-offset: 3px;
  background-color: rgba(247, 197, 204, 0.1);
}
.contact .contact-link span {
  display: block;
  font-weight: bold;
}
@media (max-width: 768px) {
  .contact .contact-link {
    width: 100%;
    max-width: none;
    min-height: 48px;
  }
}

.footer {
  text-align: center;
  background-color: #2e2e2e;
  color: #f7c5cc;
  padding: 2rem 1rem;
  font-size: 1rem;
  border-top: 2px solid #f7c5cc;
  margin-top: 2rem;
}
.footer p {
  margin: 0;
  font-family: "VT323", monospace;
}
