body
{
    font-family: 'Rubik', sans-serif;
    /* background-color: #E7F5FF; */
    color: #103A62;
}

html
{
    font-size: 62.5%;
}


.containerX
{
    padding: 10px 10%;
}


/*? Project */

.work-list
{
    /* background-color: #fff; */

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-gap: 30px;
    margin-top: 10px;
    margin-left: 25px;
    margin-right: 25px;
}

.work
{
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.work img
{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.layer
{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #1864ab);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.9s;
    color: #f1f9ff;
}

.layer h3
{
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
}

.layer p
{
    font-size: 16px;
}

.work:hover img
{
    transform: scale(1.1);
}

.work:hover .layer
{
    height: 100%;
}

.icon-container
{
    color: #f1f9ff;
    text-decoration: none;
    font-size: 25px;
    line-height: 60px;
    margin-top: 20px;
    margin-left: 15px;
    /* display: inline-block; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}


.icon-container i
{
    font-size: 40px;
    /* Adjust the font size to control the icon size */
    color: #f1f9ff;
}


/* Copyright */
.copyright
{
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: #103A62;
    margin-top: 35px;


}

.copyright-p
{
    color: #f1f9ff;
    font-family: 'Rubik';
    font-size: 2rem;
    letter-spacing: 1px;


}



.hidden
{
    display: none;
}

.overlay
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 5;
}


/* Changing Properties of Images */
.changing-prop-img
{
    width: 1050px;
    height: 500px;
}


nav .fa-solid
{
    display: none;
}

.header-p-mobile
{
    display: none;
    color: #103A62;

}

.horizontal-ruler
{
    display: none;
}


@media (max-width: 1300px)
{
    .work-list
    {
        /* background-color: #fff; */

        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-gap: 30px;
        margin-top: 10px;
        margin-left: 25px;
        margin-right: 25px;
    }

    .work img
    {
        /* width: 90%; */
        /* height: 85vh; */
        border-radius: 10px;
        display: block;
        transition: transform 0.5s;
    }

}

@media only screen and (max-width: 800px)
{
    .work-list
    {
        /* background-color: #fff; */
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-gap: 30px;
        margin-top: 10px;
        margin-left: 25px;
        margin-right: 25px;
    }

    .work img
    {
        height: 40vh;
        border-radius: 10px;
        display: block;
        transition: transform 0.5s;
    }

}


@media only screen and (max-width: 680px)
{
    .work-list
    {
        /* background-color: #fff; */
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-gap: 30px;
        margin-top: 10px;
        margin-left: 25px;
        margin-right: 25px;
    }

    

    .work img
    {
        height: 100%;
        width: 100%;
        border-radius: 10px;
        display: block;
        transition: transform 0.5s;
    }

}


/*! ---------------CSS for Small Screen --------------- */
@media only screen and (max-width: 600px)
{





    .work-list
    {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /* Center projects horizontally */
    }

    .work
    {
        /* margin: 10px; */
        border-radius: 30px;
        position: relative;
        overflow: hidden;
        width: 500px;
        /* Set a fixed width for each project card */
        height: 400px;
    }

    .work img
    {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        display: block;
        transition: transform 0.5s;
    }

    .layer
    {
        text-align: center;
        /* Center text content */
    }


    .container
    {
        padding: 0px;
    }
}