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

::-webkit-scrollbar {
  width: 8px
}

::-webkit-scrollbar-track {
  background: #2d2d2d
}

::-webkit-scrollbar-thumb {
  background-color: #1b1b1b;
  border: 2px solid #595959;
  border-radius: 4px
}

body {
  background-color: #1b1b1b;
  color: #fefefe;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(45, 45, 45, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: none
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem
}

.card,
.project-card,
.article-item,
.social-links a,
.medias-card .media-item {
  background: rgba(45, 45, 45, 0.5);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  transition: backdrop-filter .3s ease, transform .3s ease
}

.card:hover,
.project-card:hover,
.article-item:hover,
.social-links a:hover,
.medias-card:hover .medias-item:hover {
  backdrop-filter: blur(12px)
}

.card h2 {
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: .5rem;
  color: #42a5f5;
  text-align: center
}

.card h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #42a5f5;
  box-shadow: 0 0 5px #42a5f5, 0 0 10px #42a5f5
}

.profile-card {
  text-align: center
}

.profile-image {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #42a5f5;
  box-shadow: none
}

.profile-card h1 {
  font-size: 2rem;
  margin-bottom: .5rem;
  text-transform: uppercase
}

.description {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  font-size: 1rem
}

.btn-cv {
  display: inline-block;
  text-decoration: none;
  color: #2d2d2d;
  background: #42a5f5;
  border: none;
  padding: .75rem 1.5rem;
  border-radius: 4px;
  transition: background 0.3s, transform .3s;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)
}

.btn-cv:hover {
  background: #64b5f6;
  transform: scale(1.05)
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem
}

.project-card h4 {
  color: #42a5f5;
  margin-bottom: .5rem
}

.project-card p {
  margin-bottom: 1rem;
  line-height: 1.5
}

.project-card a {
  color: #42a5f5;
  text-decoration: none;
  font-weight: 700;
  transition: color .3s
}

.project-card a:hover {
  color: #64b5f6
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.article-item h3 {
  margin-bottom: .5rem;
  color: #42a5f5
}

.article-item p {
  margin-bottom: .75rem;
  line-height: 1.5
}

.article-item a {
  color: #42a5f5;
  text-decoration: none;
  font-weight: 700;
  transition: color .3s
}

.article-item a:hover {
  color: #64b5f6
}

.medias-list {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.media-item h3 {
  margin-bottom: .5rem;
  color: #42a5f5
}

.media-item p {
  margin-bottom: .75rem;
  line-height: 1.5
}

.media-item a {
  color: #42a5f5;
  text-decoration: none;
  font-weight: 700;
  transition: color .3s
}

.media-item a:hover {
  color: #64b5f6
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem
}

.social-links a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(48, 48, 48, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1)
}

.social-links img {
  width: 24px;
  height: 24px
}

.social-links a:hover {
  transform: scale(1.1);
  background: rgba(55, 55, 55, 0.7)
}

footer {
  background-color: rgba(45, 45, 45, 0.8);
  text-align: center;
  padding: 1rem;
  margin-top: auto;
  color: #fefefe;
  font-size: .9rem;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1)
}

.skills-card .skill {
  margin-bottom: 1rem
}

.skills-card .skill p {
  margin-bottom: .5rem;
  color: #fefefe;
  font-weight: 500
}

.skills-card .skill-bar {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden
}

.skills-card .progress {
  height: 10px;
  background-color: #69f0ae;
  width: 0;
  transition: width 1s ease-in-out
}

iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 16px
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr
  }

  .profile-image {
    width: 120px;
    height: 120px
  }

  .profile-card h1 {
    font-size: 1.6rem
  }

  .description {
    font-size: .95rem
  }
}