@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    width: 100%; 
    background: #e5e7eb;
    position: relative;
    display: flex;
}

#menu {
    width: 300px;
    height: 100%;
    background: #111827;
    position: fixed;
    top: 0;
    left: 0;
}

#menu .logo {
    display: flex;
    align-items: center;
    padding: 30px 0 0 30px;
    color: #fff;
}

#menu .logo img {
    width: 40px;
    margin-right: 15px;
}

#menu .items {
    margin-top: 40px;
}

#menu .items li {
    list-style: none;
    padding: 15px 0;
    color: rgb(134, 141, 151);
    transition: 0.3s ease;
}

#menu .items li:hover {
    background-color: #253047;
    cursor: pointer;
    color: #fff;
}
#menu .items li:nth-child(1) {
    border-left: 4px solid #fff;
}

#menu .items li i {
    width: 30px;
    height: 30px;
    align-items: center;
    line-height: 30px;
    color: rgb(134, 141, 151);
    margin: 0 10px 0 25px;
    font-size: 14px;
    text-align: center;
}
#menu .items li:hover i {
    color: #fff;
}

#menu .items li a {
    text-decoration: none;
    font-weight: 300px;
    transition: 0.3s ease;
}

/* NAVIGATION */

#interface {
    width: calc(100% - 300px);
    margin-left: 300px;
    position: relative;
}

#interface .navigation {
    width: calc(100% - 300px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 3px solid #1954d4;
    background: #fff;
    position: fixed;
}

#interface .navigation .n1 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#interface .navigation .n1 #menu-btn{
    display: none;
    color: #2b2b2b;
    margin-right: 20px;
    font-size: 20px;
    cursor: pointer;
}


#interface .navigation .search{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    border: 1px solid #d7dbe6;
    border-radius: 4px;
}

#interface .navigation .search i{ 
    margin-right: 14px;
}

#interface .navigation .search input{ 
    border: none;
    outline: none;
    font-size: 14px;
}

#interface .navigation .profil {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#interface .navigation .profil i{
    margin: 20px;
    font-size: 20px;
    font-weight: 300;
}

#interface .navigation .profil img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

#interface .i-name {
    padding: 30px 30px 0 30px;
    font-size: 24px;
    font-weight: 700;
    margin-top: 80px;
}

#interface .values {
    padding: 30px 30px 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#interface .values .val-box {
    width: 235px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: 3px;
    background-color: #fff;
    border-radius: 4px;
}

#interface .values .val-box i{
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 25px;
    border-radius: 50%;
    color: #fff;
    margin-right: 15px;
    text-align: center;
}

#interface .values .val-box:nth-child(1) i {
    background-color: rgb(255, 0, 34);
}
#interface .values .val-box:nth-child(2) i {
    background-color: rgb(0, 255, 21);
}
#interface .values .val-box:nth-child(3) i {
    background-color: rgb(255, 102, 0);
}
#interface .values .val-box:nth-child(4) i {
    background-color: rgb(0, 26, 255);
}


#interface .values .val-box h3{
    font-weight: 700;
    font-size: 20px;
}
#interface .values .val-box span{
    font-size: 15px;
    color:#828997;
}

.board {
    background-color: #fff;
    width: 94%;
    margin: 30px 0 30px 30px;
    border-radius: 8px;
    overflow: cover;
    
}

.board .people {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align:start;
    
}

.board img{
    width: 40px;
    height: 40px;
    line-height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
} 

.board h5{
    font-weight: 600;
    font-size: 15px;
}
.board p{
    font-weight: 300;
    font-size: 12px;
    color: #253047;
}

table {
    border-collapse: collapse;
}

tr {
    border-bottom: 2px solid #eef0f3;
}

thead td {
    background-color: #f9fafb;
    padding: 15px;
    text-align: start;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

tbody tr td {
    padding: 10px 15px;
}

.active p{
    background-color: #d7fada;
    color: #2b2b2b;
    padding: 2px 10px;
    border-radius: 40%;
    display: inline-block;
    font-weight: 400;
}

.edit a {
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: #554cd1;
}

@media (max-width: 769px) {
    #menu {
        width: 270px;
        position: fixed;
        left: -270px;
        transition: 0.3s ease;
    }
    #menu.active {
        left: 0px;
    }
    #interface .navigation .n1 #menu-btn {
        display: initial;
    }
    #menu.active~#interface {
        width: calc(100% - 270px);
        margin-left: 270px;
        transition: 0.3s ease;

    }

    #interface {
        width: 100%;
        margin-left: 0px;
        display: inline-block;
        transition: 0.3s ease;
    }
    #interface .navigation {
        width: 100%;
    }
    #interface .values {
        padding: 30px 30px 0 30px;
        justify-content: flex-start;
    }
    #interface .values .val-box {
        padding: 16px 20px;
        margin: 10px 20px 0px 0;
    }
    .board {
        width: 92%;
        overflow-x: auto;
        padding: 0;
    }
    table {
        width: 100%;
        border-collapse: collapse;
    }


}

@media (min-width: 477px) {
    #interface .navigation {
        padding: 15px;
    }
    #interface .navigation .search input{
        width: 150px;
    }
    .i-name {
        padding: 30px 15px 0 15px;
    }
    .values {
        padding: 15px 15px 0 15px;
    }
    .values .val-box{
        width: 100%;
        margin: 8px 0;
    }

    .board {
        margin: 30px 15px 30px 15px;
        
    }
}




