body{
    background: #1f2833;
    color: cyan;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.links{
    display: flex;
    gap: 20px;
}

header{
    background-color: blueviolet;
    padding: 10px;
    border-radius: 15px;

    box-shadow: 0 0 30px 5px blueviolet;
}

img{
    height: 200px;
    border-radius: 999px;
}

.container{
    text-align: center;
    padding: 10px;
}

.container:hover{
    border-radius: 15px;
    background-color: black;

    box-shadow: 0 0 30px 5px black;
    transition: 0.5s;
    transform: translateY(-15px);

    text-shadow: 0 0 10px 3px white;
}

button{
    font-size: 16px;
    border-radius: 5px;
    border-style: solid;
    width: 200px;
    height: 55px;
    background-color: transparent;
    transition: 0.4s;
    border-color: white;
    color: white;
}

button:hover{
    background-color: #00f3ff;
    color: white;
    box-shadow: 0 0 30px 5px #00f3ff;
    transform: translateY(-3px);
}

button:active{
    background-color: black;
    color: white;
}

#pics{
    border-radius: 10px;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
}

.topic{
    text-align: center;
}

.minprj{
    display: grid;
    border-radius: 20px;
    
    border-style: outset;
    border-width: 1px;
    background-color: black;

    padding: 15px;
    color: white;
}

/* Responsive Styles for Mobile and Tablet Devices */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    img {
        height: 150px; /* Scales down the 200px image size so it fits mobile screens */
        width: auto;
    }

    .minprj {
        /* If your grid has multiple columns, this switches them to a single column on mobile */
        grid-template-columns: 1fr; 
        gap: 15px;
    }

    .container:hover {
        /* Reduces the aggressive lift effect on mobile to prevent accidental layout jumps while scrolling */
        transform: translateY(-5px); 
    }
}
