@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

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

body {
    font-family: 'Space Mono', monospace;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    cursor: none;
}

h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

h3 {
    font-size: 36px;
}

.background-gif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease;
    z-index: -1;
}

.custom-cursor {
    width: 80px;
    height: 80px;
    background-image: url("assets/cursor.gif");
    background-size: cover;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.menu-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all .5s ease-in-out;
    border: none;
    background: transparent;
}

.menu-btn__burger {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(255, 101, 47, .2);
    transition: all .3s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(255, 101, 47, .2);
    transition: all .5s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-10px);
}

.menu-btn__burger::after {
    transform: translateY(10px);
}

/* ANIMATION */
.menu-btn.open .menu-btn__burger {
    transform: translateX(-50px);
    background: transparent;
    box-shadow: none;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg) translate(35px, -35px);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
}

.menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: top 0.5s ease;
}

.menu a {
    color: #fff;
    font-size: 24px;
    margin: 20px 0;
    text-decoration: none;
}

.social-menu {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.social-menu a {
    display: inline-block;
    margin: 0 15px;
    font-size: 30px;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-menu a:hover {
    transform: scale(1.2);
}

.social-menu a:nth-child(1):hover {
    color: #E1306C;
    /* Instagram color */
}

.social-menu a:nth-child(2):hover {
    color: #25D366;
    /* WhatsApp color */
}

.social-menu a:nth-child(3):hover {
    color: #6e5494;
    /* GitHub color */
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: start;
    align-items: center;
}

.hero-content {
    text-align: start;
    padding: 0px 380px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20rem;
    overflow: hidden;
    height: 3rem;
    background-size: 300% 300%;
    backdrop-filter: blur(1rem);
    border-radius: 10px;
    transition: 0.5s;
    animation: gradient_301 5s ease infinite;
    border: double 4px transparent;
    background-image: linear-gradient(#212121, #212121), linear-gradient(137.48deg, #ffdb3b 10%, #FE53BB 45%, #8F51EA 67%, #0044ff 87%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    text-decoration: none;
    cursor: none;
}

#container-stars {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: 0.5s;
    backdrop-filter: blur(1rem);
    border-radius: 10px;
}

strong {
    z-index: 2;
    font-size: 12px;
    letter-spacing: 5px;
    color: #FFFFFF;
    text-shadow: 0 0 4px white;
}

#glow {
    position: absolute;
    display: flex;
    width: 12rem;
}

.circle {
    width: 100%;
    height: 30px;
    filter: blur(2rem);
    animation: pulse_3011 4s infinite;
    z-index: -1;
}

.circle:nth-of-type(1) {
    background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
    background: rgba(142, 81, 234, 0.704);
}

.btn:hover #container-stars {
    z-index: 1;
    background-color: #212121;
}

.btn:active {
    border: double 4px #FE53BB;
    background-origin: border-box;
    background-clip: content-box, border-box;
    animation: none;
}

.btn:active .circle {
    background: #FE53BB;
}

#stars {
    position: relative;
    background: transparent;
    width: 200rem;
    height: 200rem;
}

#stars::after {
    content: "";
    position: absolute;
    top: -10rem;
    left: -100rem;
    width: 100%;
    height: 100%;
    animation: animStarRotate 90s linear infinite;
}

#stars::after {
    background-image: radial-gradient(#ffffff 1px, transparent 1%);
    background-size: 50px 50px;
}

#stars::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 170%;
    height: 500%;
    animation: animStar 60s linear infinite;
}

#stars::before {
    background-image: radial-gradient(#ffffff 1px, transparent 1%);
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes animStar {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-135rem);
    }
}

@keyframes animStarRotate {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0);
    }
}

@keyframes gradient_301 {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse_3011 {
    0% {
        transform: scale(0.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.projects {
    padding: 50px 0;
}

.project-content {
    align-self: center;
    width: 400px;
}

.project-content p {
    padding-top: 20px;
    padding-bottom: 20px;
}

.project {
    justify-content: space-between;
    display: flex;
    flex-direction: row;
}

.project-image {
    width: 600px;
    height: 400px;
    background-size: cover;
    margin-bottom: 20px;
    background-position: center;
    clip-path: inset(100% 0 0 0);
}

.project h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.project p {
    font-size: 18px;
    margin-bottom: 20px;
}

.project-content h2,
.project-content p {
    clip-path: inset(0 100% 0 0);
}

.explore-button {
    opacity: 0;
    transform: translateY(20px);
}

.explore-button {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    cursor: none;
    overflow: hidden;
}

.explore-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
}

.explore-button:hover:before {
    left: 100%;
}

.explore-button:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.more-projects {
    text-align: start;
    padding: 100px 0;
}

footer {
    padding: 50px 0;
    text-align: start;
}

footer p {
    font-size: 22px;
}

footer hr {
    border: none;
    border-top: 1px solid gray;
    margin: 1.7rem 24rem
}

/* Responsive styles */

/* Extra large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
    .container {
        max-width: 1140px;
    }

    .hero-content {
        padding: 0 100px;
    }

    footer hr {
        margin: 1.7rem 10rem
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }

    .hero-content {
        padding: 0 200px;
    }

    .project-image {
        width: 500px;
        height: 333px;
    }

    .project-content {
        width: 350px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }

    .hero-content {
        padding: 0 100px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .hero p {
        font-size: 20px;
    }

    .project {
        flex-direction: column;
        align-items: start;
    }

    .project-image {
        width: 100%;
        height: 400px;
        margin-bottom: 30px;
    }

    #pro-2 {
        flex-direction: column-reverse;
    }

    .project-content {
        width: 100%;
        text-align: start;
    }

    footer hr {
        margin: 1.7rem 10rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }

    .hero-content {
        padding: 0 50px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 26px;
    }

    .hero p {
        font-size: 18px;
    }

    .btn {
        width: 20rem;
    }

    .project {
        flex-direction: column;
        align-items: start;
    }

    .project-image {
        height: 300px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 28px;
    }

    footer p {
        font-size: 18px;
    }

    footer hr {
        margin: 1.7rem 5rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 0px;
    }

    .btn {
        width: 16rem;
        height: 2.5rem;
    }

    .project-image {
        height: 250px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 24px;
    }

    footer p {
        font-size: 16px;
    }

    footer hr {
        margin: 1.7rem 2rem;
    }

    .custom-cursor {
        width: 60px;
        height: 60px;
    }
}

#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.space-scene {
    position: relative;
    width: 300px;
    height: 300px;
}

.planet {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #4b0082, #000);
    box-shadow: 0 0 50px #4b0082;
    top: 50px;
    left: 50px;
}

.orbit {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: orbit 4s linear infinite;
}

.satellite {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    top: -15px;
    left: 135px;
    box-shadow: 0 0 10px #fff;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    animation: twinkle 1s infinite alternate;
}

.loading-text {
    position: absolute;
    bottom: 20px;
    color: #fff;
    font-size: 24px;
    letter-spacing: 3px;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

/* Additional styles for the About page */

.about-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
}

.about-hero h1 {
    font-size: 120px;
    margin-bottom: 80px;
}

.about-hero .tagline {
    font-size: 24px;
    margin-bottom: 50px;
    color: #a0a0a0;
}

.description {
    padding-top: 20px;
    padding-bottom: 20px;
}

.about-hero .description {
    font-size: 18px;
}

.Services-list {
    display: flex;
    flex-direction: column;
}

.hero-content ul {
    list-style-type: none;
    gap: 20px;
}

.hero-content li {
    position: relative;
    padding-left: 25px;
}

.hero-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
}

.projects,
.skills,
.contact {
    padding: 100px 0;
}

h1 {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 2rem;
    position: relative;
}
h1::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 50%;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.tool {
    font-size: 0.9rem;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s ease;
}
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.skill-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.skill-list li {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.skill-list li:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 0, 222, 0.5);
}

.contact {
    text-align: center;
}

.contact p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Responsive styles */
@media (max-width: 768px) {

    .about-hero {
        height: 170vh;
    }
    .about-hero h1 {
        font-size: 48px;
    }

    .about-hero .tagline {
        font-size: 20px;
    }

    .about-hero .description {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .projects,
    .skills,
    .contact {
        padding: 50px 0;
    }
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}
.tool {
    font-size: 1rem;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    background-color: rgba(100, 100, 255, 0.2);
    transition: background-color 0.3s ease;
    border: 1.5px dashed #a0a0ff;
}
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-list {
    background-color: rgba(20, 20, 40, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(100, 100, 255, 0.3);
    overflow: hidden;
    z-index: 1;
}
.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(100, 100, 255, 0.2);
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
}
.project-item:last-child {
    border-bottom: none;
}
.project-item:hover {
    background-color: rgba(40, 40, 80, 0.8);
}
.project-name {
    font-size: 28px;
    font-weight: bold;
}
.rocket {
    width: 30px;
    height: 30px;
    fill: #a0a0ff;
}


.interests {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .interests h2 {
    text-align: start;
    margin-bottom: 40px;
  }
  
  .interests-container {
    display: flex;
    flex-direction: column;
    background: rgba(20, 20, 40, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(100, 100, 255, 0.3);
  }
  
  .interest-tabs {
    display: flex;
    justify-content: space-around;
    background-color: rgba(40, 40, 80, 0.8);
  }
  
  .tab-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .tab-btn:hover, .tab-btn.active {
    background-color: rgba(100, 100, 255, 0.2);
  }
  
  .tab-btn i {
    margin-right: 8px;
  }
  
  .interest-content {
    padding: 20px;
  }
  
  .tab-content {
    display: none;
  }
  
  .tab-content.active {
    display: block;
  }
  
  .tab-content h3 {
    margin-bottom: 15px;
  }
  
  .tab-content p, .tab-content ul, .tab-content ol {
    margin-bottom: 15px;
  }
  
  .tab-content ul, .tab-content ol {
    padding-left: 20px;
  }
  
  @media (max-width: 768px) {
    .interest-tabs {
      flex-wrap: wrap;
    }
    
    .tab-btn {
      flex: 1 0 33.333%;
    }
  }
  
  @media (max-width: 480px) {
    .tab-btn {
      flex: 1 0 50%;
    }
  }