@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
html{
    scroll-behavior: smooth;
}
body {
    overflow-x: hidden;
    overflow-y: scroll;
    font-family: "Space Grotesk", serif;
}

/* loader */

.loader{
    height: 100%;
    width: 100%;
    position: fixed;
    background-color: black;
    z-index: 5;
    color: white;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
  }

/* main */
.hero-img{
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.1; 
    pointer-events: none;
}

.hero-container{
    background-color: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(100%);
}

.menu ul li a{
      font-weight: bold;
      cursor: pointer;
      padding: 5px;
      transition: ease-in-out 100ms ;
      
}

.menu ul li a:hover,a.active{
    color: rgb(250, 177, 40);
    border-bottom: 3px solid rgb(255, 197, 22);
    border-radius: 4px;
}

#menu-items {
    float: right;
    right: 0;
    padding:5px;
}

.fbimg {
    border-radius: 110%;
}

#menu-items ul {
    transition: height linear 3s all;
}

.img-container {
    background: url(assets/dp.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.name-p{
    letter-spacing: 5px;
    font-weight: 600;
}

.follow-ball{
    position: fixed;
    height: 10px;
    width: 10px;
    background-color: grey;
    border-radius: 100%;
    transform: translate(-50%,-50%);
    opacity: 50%;
    z-index: 10;
    pointer-events: none;
}

.blur-ball{
    position: fixed;
    height: 200px;
    width: 200px;
    background-color: rgba(174, 255, 0, 0.142);
    border-radius: 100%;
    transform: translate(-50%,-50%);
    z-index: 10;
    filter: blur(40px);
    pointer-events: none;
    transition: ease 100ms;
}


/* page 2 */
#page2 {
    margin-top: 10vh;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(106, 32, 122, 0.3);
    border-top: 5px solid rgba(128, 128, 128, 0.3);
    border-bottom: 5px solid rgba(128, 128, 128, 0.3);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    text-align: left;
    color: white;
}

.leftabt {
    flex: 1 1 50%;
    padding: 1rem;
}

.rightabt {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.9rem;
    perspective: 1000px;
}

.abt-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.intro {
    font-size: 1rem;
    line-height: 1.6;
    color: white;
}

.text-purple-600 {
    color: #6b46c1;
}

.text-purple-600.font-bold {
    font-weight: bold;
}

.avatar-image {
    width: 100%;
    max-width: 300px;
    min-width: 200px;
    border-radius: 50%;
    object-fit: cover;
    transition: ease-in-out 0.3s;
    animation: transform 0.1s;
}

.card-cont {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    align-items: center;
    justify-content: center; 
    padding: 10px; 
}

.card {
    height: 250px;
    max-height: 250px;
    width: 300px;
    min-width: 150px;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: scale(1.05); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
}

.card-cont div:nth-child(1){
    background: url(assets/Screenshot\ 2025-05-18\ 114922.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.card-cont div:nth-child(2){
    background: url(assets/palcare.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.card-cont div:nth-child(3){
    background: url(assets/weatherapp.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.card-cont div:nth-child(4){
    background: url(assets/randonnum.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


/* responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .leftabt, .rightabt {
        flex: 1 1 100%;
        padding: 0.5rem;
    }

    .abt-title {
        font-size: 1.5rem;
    }

    .intro {
        font-size: 0.9rem;
    }

    .avatar-image {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .abt-title {
        font-size: 1.2rem;
    }

    .intro {
        font-size: 0.8rem;
    }

    .avatar-image {
        max-width: 150px;
    }
}

@media (max-width: 1024px) {
    .card {
        width: 250px; 
    }
    .card-cont {
        gap: 15px; 
    }
}

@media (max-width: 768px) {
    .card {
        width: 200px; 
        height: 200px;
    }
    .card-cont {
        gap: 10px; 
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%;
        height: 180px; 
    }
    .card-cont {
        flex-direction: column; 
    }
}

