.proj {
    grid-area: proj;
    grid-template-rows:10rem 5rem 25rem;

    grid-template-areas: 
    "empty"
    "proj1"
    "projects"
    ;

    display: grid;
   

    /* text-align: center; */
    /* border: 3px solid #520752; */
    width: 100vw;
    /* background-color: #555; */
}
.empty{
    grid-area: empty;
    width:100vw;
    /* background-color: #1dce2c; */
}

.proj1{
    grid-area: proj1;
    /* border:1px solid #332ab1; */
    width: 100vw;
    /* background-color: aliceblue; */
    color: #353096;
    font-size: 2.3rem;
    padding-left: 0.5rem;
    font-family: 'Silkscreen', sans-serif;
    /* -webkit-text-stroke: 1px rgb(7, 4, 59);  */
    text-shadow: 3px 4px 5px rgb(129, 57, 85);
}

h6{
    /* position: absolute;
    top: 10%;
    left: 10%; */
    color: #353096;
    font-size: 2.3rem;
    padding-left: 0.5rem;
    font-family: 'Silkscreen', sans-serif;
    /* -webkit-text-stroke: 1px rgb(7, 4, 59);  */
    text-shadow: 3px 3px 2px rgb(129, 57, 85);
}
.projects{
    grid-area: projects;
     
    /*background-color: #e6aae6; */

    display: grid;
    grid-template-columns: auto;
    grid-template-areas:
    "project"
    ;
    width: 95%;
    margin: 4px;
    
    
    justify-content: left;
    background: rgba(147, 195, 228, 0.582); /* Light transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    
    border: 1px solid rgba(255, 255, 255, 0.2); /* Light border for depth */
    box-shadow: 0 4px 10px rgba(59, 3, 57, 0.74); /* Subtle shadow */
    border-radius: 15px; /* Optional rounded corners */

    /* Remove excessive opacity & blur */
    opacity: 1;
    filter: none;
}


/* .project{
    grid-area: project;
  
    border: 3px solid rgb(8, 61, 32);
    height: 100%;
    width: 100vw; 
    display: grid;
    grid-template-columns: 3rem auto 3rem;
    grid-template-areas: 
    "left projs right"
    ;
    
} */





/* 
.pink-way {
    grid-area: projects;
    display: grid;
   
    grid-template-columns: 10rem ; 
    grid-template-areas: 
       "carousel";

    background-color: rgba(200, 223, 233, 0.514); 
    height: 50%; 
    border-radius: 150% 150% 0 0 / 40% 90% 0 0;



    border:1px solid #1547a3;
    box-shadow: 0 10px 6px rgba(0, 1, 54, 0.658);
    justify-items: center;
    align-items: center;
    position: relative;
    top:10%;
    
} */




.carousel {
    
    position: relative;
    width: 100vw;
    height: 100%;
    overflow: hidden;
    /* box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.5); Large bottom shadow */
}

.carousel-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 100%;
    
}

.card {
    min-width: 100vw; /* Show only one card at a time */
    height: 100%;
    position: relative;
    overflow: hidden;
    
    
}

.card img {
    display: block; /* Removes unwanted extra spacing */
    padding: 2%; 
    width: 93%; /* Increase width */
    height: 100%; /* Maintain aspect ratio */
    max-height: 100vh; /* Ensures it doesn't exceed the viewport */
    object-fit: cover; /* Prevents cropping */
    border-radius: 10%;
}




/* 🔹 FIXED ARROWS (NOW USING ID) */
#prev, #next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    /* padding: 15px; */
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
}

/* ✅ Left arrow stays on the left */
#prev {
    left: 20px;
}

/* ✅ Right arrow moves to the right */
#next {
    right: 20px;
}

#prev:hover, #next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* 🔹 FIXED PAGINATION: Inside the card at the bottom */
.pagination {
    position: absolute;
    bottom: 15px; /* Position inside the card */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(214, 211, 211, 0.116); /* Dark background for better visibility */
    padding: 5px 10px;
    border-radius: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(189, 76, 119, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: rgb(155, 50, 111);
}


.project-info {
    text-align: center;
    /* margin-top: 20px; */
}

.project-info h5 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #5d1c88;
    font-size: 1.3rem;
    /* padding-left: 0.5rem; */
    font-family: 'Silkscreen', sans-serif;
    /* -webkit-text-stroke: 1px rgb(7, 4, 59);  */
    /* text-shadow: 3px 3px 2px rgb(129, 57, 85); */
}

.project-info p {
    font-size: 0.6rem;
    color: #46112b;
    white-space: pre-wrap; /* Preserves line breaks */
    word-wrap: break-word;  /* Breaks long words */
    overflow-wrap: break-word; /* Ensures text wraps within the container */
    max-width: 100%; /* Prevents text from overflowing */
}
.github-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: white;
    background: linear-gradient(to right, rgb(223, 142, 156), rgb(207, 128, 226), lightblue);
    border: 1px solid rgb(153, 130, 206);
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Silkscreen', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease-in-out;
}

.github-btn:hover {
    background-color: #8b55c4; /* Slightly lighter shade on hover */
}







@media (min-width: 600px){
    body{
        background-size: 500px;
        font-size: 1.4rem;
    }
}
@media (min-width: 1024px){
    .proj {
        grid-area: proj;
        grid-template-rows:10rem 5rem 40rem;
    
        grid-template-areas: 
        "empty"
        "proj1"
        "projects"
        ;
    
        display: grid;
       
    
        /* text-align: center; */
        /* border: 3px solid #520752; */
        width: 100vw;
        /* background-color: #555; */
    }
    .empty{
        grid-area: empty;
        width:100vw;
        /* background-color: #1dce2c; */
    }
    
    .proj1{
        grid-area: proj1;
        /* border:1px solid #332ab1; */
        width: 100vw;
        /* background-color: aliceblue; */
        color: #353096;
        font-size: 3rem;
        padding-left: 0.5rem;
        font-family: 'Silkscreen', sans-serif;
        /* -webkit-text-stroke: 1px rgb(7, 4, 59);  */
        text-shadow: 3px 4px 5px rgb(73, 15, 78);
    }
    
    h6{
        /* position: absolute;
        top: 10%;
        left: 10%; */
        color: #353096;
        font-size: 2.3rem;
        padding-left: 0.5rem;
        font-family: 'Silkscreen', sans-serif;
        /* -webkit-text-stroke: 1px rgb(7, 4, 59);  */
        text-shadow: 3px 3px 2px rgb(129, 57, 85);
    }
    .projects{
        grid-area: projects;
         
        /*background-color: #e6aae6; */
    
        display: grid;
        grid-template-columns: auto;
        grid-template-areas:
        "project"
        ;
        width: 80%;
        /* margin: 6px; */
        position: relative;
        left: 10%;
        
        
        justify-content: left;
        background: rgba(147, 195, 228, 0.582); /* Light transparent background */
        backdrop-filter: blur(10px); /* Blur effect */
        -webkit-backdrop-filter: blur(10px); /* Safari support */
        
        border: 1px solid rgba(255, 255, 255, 0.2); /* Light border for depth */
        box-shadow: 0 4px 10px rgba(59, 3, 57, 0.74); /* Subtle shadow */
        border-radius: 15px; /* Optional rounded corners */
    
      
        opacity: 1;
        filter: none;
    }
    
    
    /* .project{
        grid-area: project;
      
        border: 3px solid rgb(8, 61, 32);
        height: 100%;
        width: 100vw; 
        display: grid;
        grid-template-columns: 3rem auto 3rem;
        grid-template-areas: 
        "left projs right"
        ;
        
    } */
    
    
    
    
    
    /* 
    .pink-way {
        grid-area: projects;
        display: grid;
       
        grid-template-columns: 10rem ; 
        grid-template-areas: 
           "carousel";
    
        background-color: rgba(200, 223, 233, 0.514); 
        height: 50%; 
        border-radius: 150% 150% 0 0 / 40% 90% 0 0;
    
    
    
        border:1px solid #1547a3;
        box-shadow: 0 10px 6px rgba(0, 1, 54, 0.658);
        justify-items: center;
        align-items: center;
        position: relative;
        top:10%;
        
    } */
    
    
    
    
    .carousel {
        
        position: relative;
        width: 100vw;
        height: 100%;
        overflow: hidden;
        /* box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.5); Large bottom shadow */
    }
    
    .carousel-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
        
    }
    
    .carousel-track {
        display: flex;
        transition: transform 0.6s ease-in-out;
        height: 100%;
        
    }
    
    .card {
        min-width: 100vw; /* Show only one card at a time */
        height: 100%;
        position: relative;
        overflow: hidden;
        
        
    }
    
    .card img {
        display: block; /* Removes unwanted extra spacing */
        padding: 2%; 
        width: 77%; /* Increase width */
        height: 100%; /* Maintain aspect ratio */
        max-height: 100vh; /* Ensures it doesn't exceed the viewport */
        object-fit: cover; /* Prevents cropping */
        border-radius: 50px ;
    }
    
    
    
    
    /* 🔹 FIXED ARROWS (NOW USING ID) */
    #prev, #next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        /* padding: 15px; */
        border-radius: 50%;
        transition: 0.3s;
        z-index: 10;
    }
    
    /* ✅ Left arrow stays on the left */
    #prev {
        left: 30px;
    }
    
    /* ✅ Right arrow moves to the right */
    #next {
        right:21%;
    }
    
    #prev:hover, #next:hover {
        background: rgba(0, 0, 0, 0.8);
    }
    
    /* 🔹 FIXED PAGINATION: Inside the card at the bottom */
    .pagination {
        position: absolute;
        bottom: 15px; /* Position inside the card */
        left: 40%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 10;
        background: rgba(214, 211, 211, 0.116); /* Dark background for better visibility */
        padding: 5px 10px;
        border-radius: 20px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
        background-color: rgba(189, 76, 119, 0.5);
        border-radius: 50%;
        cursor: pointer;
        transition: 0.3s;
    }
    
    .dot.active {
        background-color: rgb(155, 50, 111);
    }
    
    
    .project-info {
        position: relative;
        left: -10%;
        /* margin-top: 20px; */
    }
    
    .project-info h5 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 5px;
        color: #5d1c88;
        font-size: 1.3rem;
        /* padding-left: 0.5rem; */
        font-family: 'Silkscreen', sans-serif;
        /* -webkit-text-stroke: 1px rgb(7, 4, 59);  */
        /* text-shadow: 3px 3px 2px rgb(129, 57, 85); */
    }
    
    .project-info p {
        font-size: 1.3rem;
        color: #46112b;
        white-space: pre-wrap; /* Preserves line breaks */
        word-wrap: break-word;  /* Breaks long words */
        overflow-wrap: break-word; /* Ensures text wraps within the container */
        max-width: 100%; /* Prevents text from overflowing */
    }
    
    
    
}
@media (min-width: 1900px){
    .proj {
        grid-area: proj;
        grid-template-rows:10rem 5rem 55rem;
    
        grid-template-areas: 
        "empty"
        "proj1"
        "projects"
        ;
    
        display: grid;
       
    
        /* text-align: center; */
        /* border: 3px solid #520752; */
        width: 100vw;
        /* background-color: #555; */
    }
    .empty{
        grid-area: empty;
        width:100vw;
        /* background-color: #1dce2c; */
    }
    
    .proj1{
        grid-area: proj1;
        /* border:1px solid #332ab1; */
        width: 100vw;
        /* background-color: aliceblue; */
        color: #353096;
        font-size: 3rem;
        padding-left: 0.5rem;
        font-family: 'Silkscreen', sans-serif;
        /* -webkit-text-stroke: 1px rgb(7, 4, 59);  */
        text-shadow: 3px 4px 5px rgb(73, 15, 78);
    }
    
    h6{
        /* position: absolute;
        top: 10%;
        left: 10%; */
        color: #353096;
        font-size: 2.3rem;
        padding-left: 0.5rem;
        font-family: 'Silkscreen', sans-serif;
        /* -webkit-text-stroke: 1px rgb(7, 4, 59);  */
        text-shadow: 3px 3px 2px rgb(129, 57, 85);
    }
    .projects{
        grid-area: projects;
         
        /*background-color: #e6aae6; */
    
        display: grid;
        grid-template-columns: auto;
        grid-template-areas:
        "project"
        ;
        width: 80%;
        /* margin: 6px; */
        position: relative;
        left: 10%;
        
        
        justify-content: left;
        background: rgba(147, 195, 228, 0.582); /* Light transparent background */
        backdrop-filter: blur(10px); /* Blur effect */
        -webkit-backdrop-filter: blur(10px); /* Safari support */
        
        border: 1px solid rgba(255, 255, 255, 0.2); /* Light border for depth */
        box-shadow: 0 4px 10px rgba(59, 3, 57, 0.74); /* Subtle shadow */
        border-radius: 15px; /* Optional rounded corners */
    
      
        opacity: 1;
        filter: none;
    }
    
    
    /* .project{
        grid-area: project;
      
        border: 3px solid rgb(8, 61, 32);
        height: 100%;
        width: 100vw; 
        display: grid;
        grid-template-columns: 3rem auto 3rem;
        grid-template-areas: 
        "left projs right"
        ;
        
    } */
    
    
    
    
    
    /* 
    .pink-way {
        grid-area: projects;
        display: grid;
       
        grid-template-columns: 10rem ; 
        grid-template-areas: 
           "carousel";
    
        background-color: rgba(200, 223, 233, 0.514); 
        height: 50%; 
        border-radius: 150% 150% 0 0 / 40% 90% 0 0;
    
    
    
        border:1px solid #1547a3;
        box-shadow: 0 10px 6px rgba(0, 1, 54, 0.658);
        justify-items: center;
        align-items: center;
        position: relative;
        top:10%;
        
    } */
    
    
    
    
    .carousel {
        
        position: relative;
        width: 100vw;
        height: 100%;
        overflow: hidden;
        /* box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.5); Large bottom shadow */
    }
    
    .carousel-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
        
    }
    
    .carousel-track {
        display: flex;
        transition: transform 0.6s ease-in-out;
        height: 100%;
        
    }
    
    .card {
        min-width: 100vw; /* Show only one card at a time */
        height: 100%;
        position: relative;
        overflow: hidden;
        
        
    }
    
    .card img {
        display: block; /* Removes unwanted extra spacing */
        padding: 2%; 
        width: 77%; /* Increase width */
        height: 100%; /* Maintain aspect ratio */
        max-height: 100vh; /* Ensures it doesn't exceed the viewport */
        object-fit: cover; /* Prevents cropping */
        border-radius: 50px ;
    }
    
    
    
    
    /* 🔹 FIXED ARROWS (NOW USING ID) */
    #prev, #next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        /* padding: 15px; */
        border-radius: 50%;
        transition: 0.3s;
        z-index: 10;
    }
    
    /* ✅ Left arrow stays on the left */
    #prev {
        left: 30px;
    }
    
    /* ✅ Right arrow moves to the right */
    #next {
        right:21%;
    }
    
    #prev:hover, #next:hover {
        background: rgba(0, 0, 0, 0.8);
    }
    
    /* 🔹 FIXED PAGINATION: Inside the card at the bottom */
    .pagination {
        position: absolute;
        bottom: 15px; /* Position inside the card */
        left: 40%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 10;
        background: rgba(214, 211, 211, 0.116); /* Dark background for better visibility */
        padding: 5px 10px;
        border-radius: 20px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
        background-color: rgba(189, 76, 119, 0.5);
        border-radius: 50%;
        cursor: pointer;
        transition: 0.3s;
    }
    
    .dot.active {
        background-color: rgb(155, 50, 111);
    }
    
    
    .project-info {
        position: relative;
        left: -10%;
        /* margin-top: 20px; */
        /* background-color: #5d1c88; */
        font-size: 2.5rem;
    }
    
    .project-info h5 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 5px;
        color: #5d1c88;
        font-size: 1.3rem;
        /* padding-left: 0.5rem; */
        font-family: 'Silkscreen', sans-serif;
        /* -webkit-text-stroke: 1px rgb(7, 4, 59);  */
        /* text-shadow: 3px 3px 2px rgb(129, 57, 85); */
    }
    
    .project-info p {
        font-size: 1.5rem;
        color: #46112b;
        white-space: pre-wrap; /* Preserves line breaks */
        word-wrap: break-word;  /* Breaks long words */
        overflow-wrap: break-word; /* Ensures text wraps within the container */
        max-width: 100%; /* Prevents text from overflowing */
    }
    
   

}

