@import url(./reset.css);

:root {
    --background-dark: rgb(24, 23, 31);
    --background-white: rgb(255 255 255);
    --transition: all 0.24s ease-in-out;
}

.container { 
    width: min(100% - 30px, 1080px);
    margin-inline: auto;
}

body {
    font-family: 'Open Sans', 'Nunito Sans', Arial, sans-serif;
    background-color: rgb(246 246 246);
}

main {
    height: calc(100vh - 56px - 150px);
}

/*Utility Classes*/

.flex {
    display: flex;
}

.space-between {
    justify-content: space-between;
}

.center {
    display: grid;
    place-items: center;
}

.gap-30 {
    gap: 30px;
}

.gap-20 {
    gap: 20px;
}

.gap-10 {
    gap: 10px;
}

/*---------------------------------------------------------------*/
/*-------------------Header--------------------------------------*/
/*---------------------------------------------------------------*/

header {
    width: 100%;
    height: 56px;
    background-color: rgb(0, 127, 255);
}

h1 {
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 500;
    line-height: 56px;
}

nav ul {
    gap: 20px;
}

nav ul li {
    color: rgb(255, 255, 255);
    line-height: 56px;
    list-style: none;
    cursor: default;
}

nav ul li a {
    color: rgb(255 255 255);
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.25s ease-in-out;
}

nav ul li a:hover {
    text-decoration: underline;
}


/*---------------------------------------------------------------*/
/*-------------------Hamburger Menu------------------------------*/
/*---------------------------------------------------------------*/

.menu-toggle {
    color: #fff;
    display: none;
    padding: 10px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.hamburger-nav {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hamburger-nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000;
    transition: all 0.25s ease-in-out;
}

.hamburger-nav a:hover {
    color: #fff;
    background-color: #007fff;
 }


@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hamburger-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        transition: all 0.3s ease-in-out;
    }

    .hamburger-nav.active {
        top: 0;
        margin-top: 56px;
    }

    .menu-toggle {
        display: block;
    }
}


/*---------------------------------------------------------------*/
/*-------------------------Content-------------------------------*/
/*---------------------------------------------------------------*/


.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.message {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


.stats {
    margin-top: 15px;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

.stats span {
    font-size: 25px;
}

.icon {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 100px;
    margin-top: 20px;
    box-sizing: border-box;
}

.users-icon {
    background-color: #c4c4ff;
}

.articles-icon {
    background-color: #c4ffc4;
}

.messages-icon {
    background-color: #ffc0cb;
}

.moderators-icon {
    background-color: #ffb1b1;
}

.visits-icon {
    background-color: #ffbbff;
}

.tasks-icon {
    background-color: #ffe3b1;
}

.box {
    background-color: #fff;
    height: 100px;
    width: 340px;
    border-radius: 8px;
}

.box p, span, i {
    line-height: 100px;
}

.icon {
    line-height: 100px;
    font-size: 20px;
    margin-left: 20px;
}


.users-icon i {
    color: #0000ff;
}

.articles-icon i {
    color: #008000;
}

.messages-icon i {
    color: #e75480;
}

.moderators-icon i {
    color: #ff0000;
}

.visits-icon i {
    color: #800080;
}

.tasks-icon i {
    color: #ffa500;
}

/*---------------------------------------------------------------*/
/*-------------------Footer--------------------------------------*/
/*---------------------------------------------------------------*/

footer {
    margin-top: 50px;
    height: 100px;
    background-color: #d3d3d3;
}

footer p {
    line-height: 100px;
    font-size: 15px;
}

.list {
    height: 100%;
}

.list ul {
    gap: 10px;
}

.list ul li {
    line-height: 100px;
    list-style: none;
}

.list i {
    font-size: 25px;
    color: #000;
}

.list ul li a i {
    text-decoration: none;
    cursor: pointer;
    transition: color 0.25s ease-in-out;
}

.list ul li a i:hover{
    color: rgb(0, 127, 255);
}