/* Zarrachali fon konteyneri */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    background-color: #0f172a;
}

/* Umumiy body uslubi */
body {
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: monospace;
    color: white;
  }

.container {
    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
    text-align: center;
}

h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #66ccff;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #88ddff;
}

p {
    font-size: 18px;
    color: #dddddd;
}
.projects {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }

  .project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #66ccff33;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 700px;
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.2);
  }

  .project-card:hover {
    transform: scale(1.03);
    border-color: #66ccff;
  }

  .profile-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: contain; /* LOGO hajmiga moslashadi */
    border: 4px solid #66ccff;
    background-color: white;
  }

  .profile-details h2,
  .profile-details h3,
  .profile-details p {
    margin: 6px 0;
  }

  .location-button {
    background-color: transparent;
    border: 2px solid #7a7a7a;
    border-radius: 25px;
    margin-left: 50px;
    color: #8a8aff;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
  }

  .location-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  .typing-block {
    margin-top: 50px;
    font-size: 24px;
    color: #66ccff;
    white-space: pre-wrap; /* Bu kerak yangi qatorni ko‘rsatish uchun */
    padding-right: 5px;
  }

  .icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
  }

.social-icons {
    margin-top: 30px;
    margin-bottom: 80px;
}

.social-icons a {
    margin: 0 10px;
    font-size: 45px;
    color: #66ccff;
    transition: 0.3s;
    border: 2px black;
    border-radius: 20px;
}

.social-icons a:hover {
    color: #ffffff;
}

/* Custom cursor (dumaloq shakl) */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: rgba(102, 204, 255, 0.6);
    border: 2px solid #66ccff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background-color 0.3s ease;
}

.cursor.hover {
    transform: scale(2.5);
    background-color: #ffffff55;
}

.trail {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #66ccff;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
    transform: translate(-50%, -50%);
    animation: fadeOut 0.3s ease-out forwards;
    z-index: 9998;
}

@keyframes fadeOut {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: rgba(102, 204, 255, 0.6);
    border: 2px solid #66ccff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background-color 0.3s ease;
}

.cursor.hover {
    transform: scale(2.5);
    background-color: #ffffff55;
}

.trail {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #66ccff;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
    transform: translate(-50%, -50%);
    animation: fadeOut 0.3s ease-out forwards;
    z-index: 9998;
}

@keyframes fadeOut {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}

/* Loyihalar blokining kichik ekranlar uchun moslashuvi */
@media (max-width: 768px) {
    .projects {
        flex-direction: column;
        align-items: center;
    }
}

/* Project card */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #66ccff33;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 700px;
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.2);
}

/* Kichik ekranlar uchun card o'lchamini o'zgartirish */
@media (max-width: 768px) {
    .project-card {
        max-width: 100%;
        padding: 20px;
        gap: 15px;
    }
}

/* Hover effekti */
.project-card:hover {
    transform: scale(1.03);
    border-color: #66ccff;
}

/* Profile logo */
.profile-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: contain;
    border: 4px solid #66ccff;
    background-color: white;
}

/* Logo o'lchami kichik ekranlar uchun moslashadi */
@media (max-width: 768px) {
    .profile-logo {
        width: 120px;
        height: 120px;
    }
}

/* Profil ma'lumotlari */
.profile-details h2,
.profile-details h3,
.profile-details p {
    margin: 6px 0;
}

/* Location button */
.location-button {
    background-color: transparent;
    border: 2px solid #7a7a7a;
    border-radius: 25px;
    margin-left: 50px;
    color: #8a8aff;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

/* Kichik ekranlar uchun location button */
@media (max-width: 768px) {
    .location-button {
        margin-left: 0;
        margin-top: 15px;
    }
}

/* Typing block */
.typing-block {
    margin-top: 50px;
    font-size: 24px;
    color: #66ccff;
    white-space: pre-wrap;
    padding-right: 5px;
}

/* Icon */
.icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

/* Social icons */
.social-icons {
    margin-top: 30px;
}

.social-icons a {
    margin: 0 10px;
    font-size: 45px;
    color: #66ccff;
    transition: 0.3s;
    border: 2px black;
    border-radius: 20px;
}

/* Kichik ekranlar uchun social icon hajmini kamaytirish */
@media (max-width: 768px) {
    .social-icons a {
        font-size: 35px;
    }
}

/* Hover effekti */
.social-icons a:hover {
    color: #ffffff;
}

/* Custom cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: rgba(102, 204, 255, 0.6);
    border: 2px solid #66ccff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background-color 0.3s ease;
}

/* Kichik ekranlar uchun kursor hajmi */
@media (max-width: 768px) {
    .cursor {
        width: 15px;
        height: 15px;
    }
}

.cursor.hover {
    transform: scale(2.5);
    background-color: #ffffff55;
}

.trail {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #66ccff;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
    transform: translate(-50%, -50%);
    animation: fadeOut 0.3s ease-out forwards;
    z-index: 9998;
}

/* Kichik ekranlar uchun trail o'lchami */
@media (max-width: 768px) {
    .trail {
        width: 8px;
        height: 8px;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}