* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
}

nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 4%;
    height: 100%;
    padding: 10px;
    background-color: black;
    border-right: 1px solid rgb(113, 113, 113);
}

nav ul {
    width: 100%;
    height: 100%;
}

nav #footer {
    height: 5%;
    background-color: rgb(37, 37, 37);
    border-radius: 5px;
}

nav ul li {
    list-style: none;
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    background-color: rgb(172, 178, 178);
    border-radius: 5px;
}

main {
    width: 96%;
    height: 100vh;
}

main header {
    height: 5%;
    border-bottom: 1px solid rgb(113, 113, 113);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
main header #application {
    width: 10%;
    height: 80%;
    background-color: rgb(172, 178, 178);
    border-radius: 5px;
}
main header #search_group {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 20%;
    height: 80%;
    border-radius: 5px;
    padding: 0 10px;
    gap: 10px;
}
main header #search_group #search_input {
    width: 80%;
    height: 80%;
    background-color: rgb(200, 200, 200);
    border-radius: 5px;
}
main header #search_group #search_icon {
    width: 15%;
    height: 80%;
    background-color: rgb(150, 150, 150);
    border-radius: 5px;
}

main #dashboard {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 95%;
    background-color: rgb(236, 237, 237);
    padding: 25px;
}
main #dashboard #insights {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 15%;
    width: 100%;
}
main #dashboard #insights .insight-item {
    width: 21%;
    height: 100%;
    background-color: rgb(172, 178, 178);
    border-radius: 5px;
}

main #dashboard #visualizations {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 50%;
    width: 100%;
    margin-top: 10px;
}
main #dashboard #visualizations #bar-chart {
    width: 60%;
    height: 100%;
    border: 1px solid rgb(201, 201, 201);
    border-radius: 5px;
}
main #dashboard #visualizations #pie-chart {
    width: 37%;
    height: 100%;
    border: 1px solid rgb(201, 201, 201);
    border-radius: 5px;
}
main #dashboard #ending {
    width: 100%;
    height: 30%;
    border-radius: 5px;
    margin-top: 10px;
    border: 1px solid rgb(201, 201, 201);
}

.template {
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 10px;
}
.template-title {
    width: 30%;
    height: 20%;
    background-color: rgb(150, 150, 150);
    border-radius: 5px;
}
.template-content {
    width: 100%;
    height: 75%;
    background-color: rgb(200, 200, 200);
    border-radius: 5px;
}