

:root{
  --black:#2b2a2c;
  --gray:#6a696b;
  --gray-light:#dedede;
  --white:#fff;
  --pink-light:#f8f6f7;
  --pink-accent:#d88fa0;
  --pink-hover:#c77b8f;
  --text-dark:#333333;
  --text-muted:#555555;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  width: 15px;    
  height: 10px;    
}

*::-webkit-scrollbar-track {
  background: #f7f4fe;    
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--pink-accent);   
  border-radius: 15px;
  border: 2px solid #f7f4fe;  
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--pink-hover);   
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--pink-light);
  color: var(--text-dark);
  scroll-behavior: smooth;
  cursor: default;
}

a {
  color: var(--pink-hover);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

a:hover {
  color: var(--pink-accent);
  border-bottom: 2px solid var(--pink-accent);
}

/*               HEADER                */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 15px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;          
  max-width: 100%;      
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav-list {
  display: flex;
  justify-content: space-around;
  width: 100%;
  list-style: none;
}

.nav-list a {
  font-weight: 500;
  font-size: 15px;
}

main {
  margin-top: 70px;
}

/*               HOME SECTION               */

.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-bottom: 120px;
}

.home-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.home-text, .image {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.image {
  animation-delay: 0.3s;
}

.name {
  font-size: 0;
  font-weight: 700;
  color: var(--pink-accent);
  line-height: 1.1;
}

.bounce span {
  font-size: 60px;
  display: inline-block;
  transition: transform 0.2s linear;
}

.bounce .space {
  width: 15px;
}

.bounce span:hover {
  animation: bounce 0.4s ease;
}

.subtitle {
  font-size: 30px;
  color: var(--text-muted);
}

.intro {
  margin-top: 25px;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 450px;
  line-height: 1.6;
}



.image img {
  border: 1px solid var(--black);
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  transition: 0.4s;
}

.image img:hover {
  transform: scale(1.05);
}

/*               ABOUT SECTION                */

.section-full {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 80px 0;
  scroll-margin-top: 70px;
}

.section-full:nth-child(even) {
  background: #fdf5f7;
}

.section-content {
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.section-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--pink-accent);
}

pre {
  max-width: 700px;
  font-size: 17px;
  margin-top: 10px;
  line-height: 1.5;
  color: var(--text-muted);
}

.code-wrapper {
  width: 100%;           
  overflow-x: auto;      
}

.section-content p {
  font-size: 18px;
  padding: 20px;
  margin-top: 20px;
  line-height: 1.6;
  color: var(--text-muted);
  border-radius: 20px;
  background: #f7f4fe;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--gray-light);
}

/*               EDUCATION SECTION               */

.edu-list {
  margin-top: 10px;
  padding-left: 20px;
}

.edu-list li {
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--text-muted);
}

.education-content {
  display: flex;
  flex-direction: column;
}

/*          SKILLS & LANGUAGES SECTION            */

.skills-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.skills-list h3 {
  font-size: 28px;
  color: var(--pink-accent);
  margin-bottom: 15px;
}

.skills-list ul, .languages-section ul {
  list-style: none;
  padding: 0;
}

.skills-list li, .languages-section li {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/*          PROJECTS SECTION           */

.project {
  margin-bottom: 30px;
}

.project h3 {
  font-size: 24px;
  color: var(--pink-accent);
  margin-bottom: 8px;
}

.project p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.project a {
  color: var(--pink-hover);
  font-size: 16px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.project a:hover {
  color: var(--pink-accent);
  border-bottom: 2px solid var(--pink-accent);
}

/*          CONTACT SECTION               */

.contact-list {
  margin-top: 20px;
}

.contact-list li {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.contact-list a {
  color: var(--pink-hover);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.contact-list a:hover {
  color: var(--pink-accent);
  border-bottom: 2px solid var(--pink-accent);
}

/*             FOOTER                   */

.footer {
  background: #f8f6f7;
  color: var(--text-muted);
  padding: 10px 0;
  font-size: 13px;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-content > * {
  margin: 0 20px 0 20px;
}

.footer a {
  color: var(--pink-hover);
  font-size: 13px;
  padding-right: 5px;
}

.footer a:hover {
  color: var(--pink-accent);
  border-bottom: 2px solid var(--pink-accent);
}

.rs-logo {
  width: 50px;
  height: auto;
}

/*        Burger          */

.menu-toggle {
  display: none;
}

.burger {
  display: none;
  width: 30px;
  height: 3px;
  background: var(--pink-accent);
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.burger::before,
.burger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--pink-accent);
  transition: transform 0.3s, top 0.3s;
}

.burger::before {
  top: -10px; 
}

.burger::after {
  top: 10px; 
}

ul {
  list-style-type: circle; 
}

ul li::marker {
  color: var(--pink-accent);
}


/*      ANIMATIONS & MEDIA QUERIES        */

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(-15px); }
  60% { transform: translateY(5px); }
  100% { transform: translateY(0); }
}

@media (max-width: 1100px) {
  .home-content {
    gap: 20px;
  }

  .bounce span {
    font-size: 36px;
  }

  .subtitle{
    font-size: 20px;
  }

  .image img {
    width: 280px;
    height: 280px;
  }

  .intro {
    font-size: 13px;
  }
}

@media (max-width: 768px) {

  pre {
    font-size: 14px;
  }

  .home-content {
    flex-direction: column;
    text-align: center;
  }

  .image img {
    width: 220px;
    height: 220px;
  }

  .section-content h2 {
    font-size: 32px;
  }

  .skills-list h3 {
    font-size: 24px;
  }

  .skills-list li,
  .languages-section li {
    font-size: 16px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .rs-logo {
    width: 40px;
  }

  .burger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    flex-direction: column;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list li {
    padding: 15px;
    text-align: center;
  }

  .menu-toggle:checked + .burger + .nav {
    max-height: 500px;
  }

  .menu-toggle:checked + .burger {
    background: transparent; 
  }

  .menu-toggle:checked + .burger::before,
  .menu-toggle:checked + .burger::after {
    top: 0; 
  }

  .menu-toggle:checked + .burger::before {
    transform: rotate(45deg);
  }

  .menu-toggle:checked + .burger::after {
    transform: rotate(-45deg);
  }

}

@media (max-width: 425px) {
  .bounce span {
    font-size: 25px;
  }

  .subtitle{
    font-size: 15px;
  }
}

