@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700');
/* i used ai to adjut the designe */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #1f242d;
    color: #fff;
    overflow-x: hidden;
}

.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 20px;
    color: aliceblue;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
}

.logo-img {
    height: 60px;
    width: 60px;
}

.navbar a {
    font-size: 16px;
    color: aliceblue;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px;
    transition: 3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.navbar a:hover,
.navbar a.active {
    color: #0ef;
}

.home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 5% 50px;
    text-align: center;
}

.home-content {
    max-width: 100%;
    margin-bottom: 30px;
}

.home-content h3:nth-of-type(2) {
    margin-top: 20px;
}

.home-img img {
    max-width: 280px;
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 2s, 3s;
}

.home-content h3 span {
    color: #0ef;
}

.home-content h3 {
    font-size: 24px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom .1s ease forwards;
    animation-delay: .7s;
    line-height: 1.3;
}

.home-content h3.no-animation {
    opacity: 1;
    animation: none;
}

.home-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin: -3px 0;
    line-height: 1.3;
}

.home-content p {
    font-size: 14px;
    opacity: 0;
    animation: slideRight .1s ease forwards;
    animation-delay: .1s;
    line-height: 1.5;
    margin: 10px 0;
}

.social-media {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.social-media a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 18px;
    color: #0ef;
    text-decoration: none;
    margin: 0 10px;
    opacity: 0;
    animation: slideInRight .5s ease forwards;
    animation-delay: calc(.5s * var(--i));
}

.social-media a:hover {
    background: #0ef;
    color: #1f242d;
    box-shadow: 0 0 10px #0ef;
}

.btn {
    display: inline-block;
    padding: 10px 28px;
    background: #0ef;
    box-shadow: 0 0 10px #0ef;
    font-size: 14px;
    color: #1f242d;
    letter-spacing: 1px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px 0;
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Tablet styles */
@media (min-width: 768px) {
    .header {
        padding: 20px 8%;
    }
    
    .logo-img {
        height: 80px;
        width: 80px;
    }
    
    .navbar a {
        font-size: 18px;
        margin-left: 30px;
    }
    
    .home {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 100px 8% 0;
    }
    
    .home-content {
        max-width: 50%;
        margin-bottom: 0;
    }
    
    .home-img img {
        max-width: 350px;
    }
    
    .social-media {
        justify-content: flex-start;
    }
    
    .home-content h3 {
        font-size: 28px;
    }
    
    .home-content h1 {
        font-size: 42px;
    }
    
    .home-content p {
        font-size: 15px;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .header {
        padding: 20px 10%;
    }
    
    .home {
        padding: 70px 10% 0;
    }
    
    .home-content {
        max-width: 600px;
    }
    
    .home-img img {
        max-width: 450px;
    }
    
    .home-content h3 {
        font-size: 32px;
    }
    
    .home-content h1 {
        font-size: 52px;
    }
    
    .home-content p {
        font-size: 16px;
    }
}
.audio-loading::after {
  content: "Tap to enable audio";
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: #0ef;
  font-size: 14px;
}

.about-contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(14, 239, 255, 0.1);
  border-left: 3px solid #0ef;
  border-radius: 0 8px 8px 0;
}

.about-contact p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-link {
  color: #0ef;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  text-decoration: underline;
  text-shadow: 0 0 5px rgba(14, 239, 255, 0.5);
}

/* About Me Section */
.about-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.about-section h1 {
  color: #0ef;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-content {
  background: rgba(14, 239, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.about-content h2 {
  color: #0ef;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.about-content p {
  line-height: 1.6;
  color: #ccc;
}

/* Black Skills Section */
.black-section {
  background: #1a1a1a;
  color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.black-section h2 {
  color: #0ef;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.skills-content {
  padding: 0 1rem;
}

.skills-list {
  list-style-type: none;
  padding: 0;
}

.skills-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
  color: #ddd;
}

.skills-list li:before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #0ef;
}

.skills-list strong {
  color: #0ef;
  font-weight: 600;
}

/* Contact CTA */
.about-contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(14, 239, 255, 0.1);
  border-left: 3px solid #0ef;
  border-radius: 0 8px 8px }

  /* Goodbye Section */
.goodbye-section {
  margin: 3rem 0 1rem;
  padding: 2rem;
  text-align: center;
  border-top: 2px dashed #0ef;
  border-bottom: 2px dashed #0ef;
}

.goodbye-section h2 {
  color: #0ef;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(14, 239, 255, 0.3);
}

.goodbye-section p {
  line-height: 1.7;
  color: #eee;
  font-size: 16px;
  margin-bottom: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.signature {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.goodbye-text {
  font-style: italic;
  color: #aaa;
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.name {
  color: #0ef;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #0ef, 0 0 10px rgba(14, 239, 255, 0.5);
  }
  to {
    text-shadow: 0 0 10px #0ef, 0 0 20px rgba(14, 239, 255, 0.8);
  }
}   