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

body {
  font-family: "Lucida Sans", sans-serif;
}

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 0.5rem 1rem;
    color: white;
  }

  .logo {
    font-weight: bold;
    font-size: 1.5rem;
  }

  .user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    cursor: default;
  }

  /* User icon SVG styling */
  .user-icon {
    width: 24px;
    height: 24px;
    fill: white;
  }

.grid-container {
  display: grid;
  grid-template-areas:
    'header header header header header header'
    'menu main main main main right'
    'footer footer footer footer footer footer';
    gap: 10px;
    background-color: black;
    padding: 10px;
}

.grid-container > div {
  padding: 10px;
  font-size: 16px;
}


.header {
  grid-area: header;
  background-color: slategrey;
  text-align: center;
  color: #ffffff;
}

.header > h1 {
  font-size: 40px;
}

.menu {
  grid-area: menu;
  color: white
  }

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 8px;
  margin-bottom: 7px;
  background-color: greenyellow;
  color: black;
}

.menu li:hover {
  background-color: limegreen;
}

.main {
  grid-area: main;
  color:white;
}

.main > h1 {
  font-size: 30px;
  margin-bottom: 7px;
}

.main > p {
  margin-bottom: 7px;
}

.right {
  grid-area: right;
  border: 2px solid limegreen;
  background-color: white;
  padding: 15px;
  color: #000000;
}

.right > h2 {
  font-size: 20px;
  padding-bottom: 10px;
}

.right li {
  padding: 5px;
  margin-bottom: 5px;
}

.footer {
  grid-area: footer;
  background-color: slategrey;
  color: #ffffff;
  text-align: center;
}

@media only screen and (max-width: 600px) {
  .header {grid-area: 1 / span 6;}
  .menu {grid-area: 2 / span 6;}
  .main {grid-area: 3 / span 6;}
  .right {grid-area: 4 / span 6;}
  .footer {grid-area: 5 / span 6;}
}

@media only screen and (min-width: 600px) {
  .header {grid-area: 1 / span 6;}
  .menu {grid-area: 2 / span 1;}
  .main {grid-area: 2 / span 4;}
  .right {grid-area: 3 / span 6;}
  .footer {grid-area: 4 / span 6;}
}

@media only screen and (min-width: 768px) {
  .header {grid-area: 1 / span 6;}
  .menu {grid-area: 2 / span 1;}
  .main {grid-area: 2 / span 4;}
  .right {grid-area: 2 / span 1;}
  .footer {grid-area: 3 / span 6;}
}

/* BUTTONS */
.button {
    background-color: greenyellow;
    border-radius: 4px;
    cursor: pointer;
    padding: 3px 6px;
    text-decoration: none;
}
.button.danger {
    background-color: #d9534f;
    color: white;
}
.button.danger:hover {
    background-color: #c9302c;
}

/* DIVS */
div.row {
  display: flex;
}
div.box {
  border: 1px solid darkgray;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 5px;
}

/* TABLES */
table {
    text-align: left;
    border-spacing: 15px 10px;
}
td th{
    border-bottom: 1px solid #ddd;
}
/*tr:nth-child(even){background-color: lightgray;}*/
tr:hover {background-color: #0099cc;}
