
/* ************************************** */
/* Global                                 */
/* ************************************** */

* {
  padding: 0;
  margin: 0;
  /* border: 0.1px solid gray; */
}

:root {
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
}


/* ************************************** */
/* Body                                   */
/* ************************************** */

body {
  font-family: Arial, sans-serif;
}

body {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "header"
    "main"
    "footer"
  ;
  justify-items: center;
}


/* ************************************** */
/* Header                                 */
/* ************************************** */

header {
  background-color: #234477;
  color: rgb(230, 230, 230);

  min-width: 100%;
  height: 3rem;
  padding: 0 2rem;
  box-sizing: border-box;

  grid-area: header;

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "header-title header-links";
  align-items: center;
}

.header-title {
  font-size: 1.2rem;
  align-items: center;
  grid-area: header-title;
}

.nav-menu {
  list-style-type: none;
  grid-area: header-links;

  display: flex;
  justify-content: right;
  gap: 1rem;
}

.nav-link {
  text-decoration: none;
  color: rgb(185, 185, 185);
}

.nav-link-active {
  color: rgb(255, 255, 255);
}

.nav-link:hover {
  text-decoration: none;
  color: rgb(255, 255, 255);
}


/* ************************************** */
/* Main                                   */
/* ************************************** */

main {
  width: 100%;
  height: auto;

  grid-area: main;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
}


/* ************************************** */
/* Footer                                 */
/* ************************************** */

footer {
  background-color: #0a1931;
  color: white;

  width: 100%;
  height: 3rem;
  box-sizing: border-box;

  grid-area: footer;

  display: flex;
  align-items: center;
  justify-content: center;
}