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

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Container using flexbox to align the sections vertically */
.container {
    display: flex;
    flex-direction: column;  /* Align children (top, middle, bottom) vertically */
    height: 100vh;  /* Full viewport height */
}

/* Top section - 10% height */
.top {
    display: flex;
    background-color: white;
    flex: 0 0 5%;  /* No growth, no shrink, 5% height */
    text-align: center;
    line-height: 50px;
    border-bottom: 1px lightgray solid;
}

.top section { flex: 0 0 30%; }

/* Middle section - 80% height */
.middle {
    background-color: white;
    flex: 1;  /* Middle section takes up remaining space */
    text-align: center;
    /*line-height: 400px;*/
    padding: 5%;
}

/* Bottom section - 10% height */
.bottom {
    background-color: black;
    flex: 0 0 10%;  /* No growth, no shrink, 10% height */
    text-align: center;
    line-height: 100px;
    color: white;
}

#app_title{
    width: 10%;
    /*padding-bottom: 5%;*/
}

#app_icon{
    width: 30%;
}

/* Styling the navbar */
.navbar {
    /*background-color: #333;*/
    padding: 10px;
    width: 100%;                  /* Make the navbar take the full width */
    display: flex;
    justify-content: center;      /* Center the menu inside the navbar */
}

/* The menu container (ul) */
.menu {
    display: flex;               /* Apply flexbox to the menu */
    justify-content: space-evenly; /* Distribute space evenly between items */
    align-items: center;          /* Align items vertically centered */
    list-style-type: none;        /* Remove default list styles */
}

/* Styling the menu items (li) */
.menu li {
    margin: 0;                    /* Remove any extra margin */
}

/* Styling the links (a) */
.menu a {
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    color: black;
}

.menu a:hover {
    background-color: #f0f0f0;
    border-radius: 5px;
}