body {
    background: radial-gradient(circle, rgb(8, 20, 37) 0%, rgb(6, 16, 27) 100%);
    
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(11, 28, 51, 1);

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 80px;
    /* Adjusted for visibility */
    height: 80%;

}

.navbar ul {
    display: flex;
    flex-direction: column;
    /* Stack vertically in mobile */
    align-items: center;
    width: 100%;
}

.navbar li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
}

.navbar a i {
    margin-bottom: 4px;
    /* Space between icon and text */
}

.navbar i {
    display: block;
    /* Ensure icons are always shown */
    font-size: 28px;
    /* Adjust size as needed */
    color: #57d0f5;
}

.navbar .fa-info-circle{
    color: #8be0fa;
    text-shadow: 2px 2px 5px rgba(120, 217, 255, 0.2);
}

.nav-text {
    font-weight: 500;
    
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-top: 60px;
}

main h2{
    color: aliceblue;
    font-size: 40pt;
    margin-bottom: 20px;
    font-weight: 500;
    border-bottom: 1px solid #57d0f5;

}

.mainDiv {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 60px;
    
}

.mainDiv #box {

    width: 400px;
    height: 300px;
    margin: 0 20px;
    height: max-content;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    text-align: left;

    border-left: 3px solid #57d0f5;
    color: aliceblue;

}


.mainDiv #box h3 {
    font-size: 20pt;


}

.mainDiv #box p {
    font-size: 12pt;
    margin-top: 10px;

}






@media (min-width: 928px) {

    header {
        padding: 10px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .navbar ul {
        flex-direction: row;
        /* Align horizontally in desktop */
    }

    .navbar li a {
        flex-direction: row;
    }

    .navbar i {
        display: none;
    }

    .nav-text {
        display: inline-block;
        /* Show text next to icons */
        font-weight: 400;

    }

    header #usernameDisplay {
        padding-left: 20px;
    }


    
    


}


@media screen and (max-width: 1484px) {

    .mainDiv {
     margin-top: 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 60px;
        
    }


    .mainDiv #box h3 {
        font-size: 16pt;
    
    
    }
    
    .mainDiv #box p {
        font-size: 8pt;
        margin-top: 10px;
    
    }

}


@media screen and (max-width: 1000px) {

    .mainDiv {
    
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 60px;
        
    }

    .mainDiv #box {
        max-width: 300px;
    }

}

@media screen and (max-width: 928px) {
    main {
        flex-direction: column;
        margin: 20px 20px;
    }

    header {
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }



    .navbar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(11, 28, 51, 0.95);
        padding: 10px;
    }

    .navbar ul {
        flex-direction: row;
        justify-content: space-around;
    }

    .navbar li {
        padding: 0px;
    }

    .navbar a {
        flex-direction: column;
    }

    .nav-text {
        display: block;
        font-size: 6pt;
    }





    .logo {
        scale: 0.9;
        /* Adjusted top positioning */
    }



    .mainDiv{
        margin-top: 30px;
    }

    .mainDiv #box {
        max-width: 250px;
    }

    main h2{
        margin-top: 40px;
    }
}


@media screen and (max-width: 768px) {

    .mainDiv #box {
        max-width: 200px;
    }


    .mainDiv {
        
        gap: 40px;
        
    }

    main h2{
        font-size: 20pt;
        margin-top: 20px;
    }


}


@media screen and (max-width: 568px) {

    .mainDiv #box {
        max-width: 100%;
    }


    .mainDiv {
        display: flex;
        flex-direction: column;
        gap: 40px;
        width: 100%;
        padding-right: 40px;
        margin-bottom: 100px;
        
    }


    .navbar {
        margin-top: 60px;
    }

}


@media screen and (max-width: 360px){
    .navbar .nav-text {
        display: block;
        font-size: 4px;
        font-weight: 400;
    }
    
}