@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Bellefair&family=Comfortaa:wght@300..700&family=Cutive+Mono&family=Maven+Pro:wght@400..900&family=Moirai+One&family=Mooli&family=Rokkitt:ital,wght@0,100..900;1,100..900&family=Rubik+Doodle+Shadow&display=swap');

html, body{
    overflow-x: hidden;
}

::-webkit-scrollbar {
    display: none;
}

.center-text{
    text-align: center;
    margin-top: 50px;
    font-size: 30px;
    font-family: "Moirai One", system-ui;
}

.Projects-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    align-items: center;
    justify-content: center; /* ✅ centers the grid */
    gap: 2.3rem;
    margin: 4.2rem auto;     /* ✅ horizontal auto-margin for centering */
    max-width: 1200px;        /* optional: limit content width */
    
}

.row img{
    height: auto;
    width: 100%;
    border-radius: 28px;
    margin-bottom: 1.4rem;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

}

.ri-internet-fill{
    margin-left: 15px;
}
.ri-yt-fill{
    margin-left: 15px;
}

.ri-devpost-fill{
    margin-left: 15px;
}


.row{
    background: #212632;
    backdrop-filter: blur(10px);
    border-radius: 28px;
    border: 1px solid transparent;
    box-shadow: 0 0 5px pink;
    padding: 20px;
    transition: all .5s ease;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
}

.main-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.row h4{
    font-size: 30px;
    font-weight: 600;
    color: aquamarine;
}

.row i{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    font-size: 20px;
    border-radius: 50%;
    color: white;
    background: rgba(255, 150, 150, 0);
}

.row h5{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.row-icon{
    transition: filter 0.35s ease-in-out;
}

.row:hover{
    transform: translateY(-5px);
    filter: drop-shadow(0 0 20px rgba(81, 81, 81, 0.712));
    background: #212632ee;
    .row-icon{
        filter: drop-shadow(0 0 5px rgba(245, 245, 245, 0.664));
    }
}

.icon-img {
    width: 10px;
    height: 10px;
  }

  .devpost-img {
    filter: brightness(0) saturate(100%) invert(50%) sepia(26%) saturate(2223%) hue-rotate(168deg) brightness(94%) contrast(92%);
}



.ri-devpost-fill {
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out; 
}


.ri-github-fill,
.ri-internet-fill,
.ri-yt-fill{
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out; 
}

.ri-github-fill:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgb(134, 23, 174));
}

.ri-yt-fill:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgb(185, 36, 36));
}



.ri-internet-fill:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgb(78, 235, 249));
}

.ri-devpost-fill:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgb(26, 73, 116));
}

/* Media Queries for smaller screen sizes */
@media screen and (max-width: 768px) {
    .center-text {
        font-size: 20px;
    }

    .row h4 {
        font-size: 20px;
    }

    .row i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .row h5 {
        font-size: 16px;
    }
}