html,
body {
  box-sizing: border-box;
  font-family: Verdana;
  margin: -4;
}

* {
  box-sizing: inherit;
  font-family: inherit;
  margin: inherit;
}

ul,
li {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  list-style-type: none;
}

/* ===========
NAVIGATION BAR
=========== */

.nav-bar {
  display: flex;
  z-index: 999;
  position: fixed;
  min-width: 100vw;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 1%;
}

.nav-bar__logo {
  display: flex;
  flex-direction: row;
  color: #2d3982;
  margin-left: 2%;
}

.nav-bar__list {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin-right: 4%;
}

.nav-bar__list-item {
  padding: 2% 0.5em;
}

.nav-bar__links {
  text-decoration: none;
  color: darkslategray;
}

.nav-bar__list-item--underlined {
  border-bottom: solid 2px #e37889;
}

/* ==============
*** MAIN BODY ***
============== */

.main-body {
  min-height: 100vh;
  min-width: 100vw;
  background-image: url(../assets/iceland.jpg);
  background-size: cover;
  background-position: center;
}

.main-body__heading {
  color: rgb(255, 249, 242);
  font-size: 4.5em;
  padding: 7% 0% 0% 3%;
}

/* ==============
*** THE CARDS ***
============== */

.cards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  border-radius: 5px;
  background-color: white;
  min-width: 275px;
  min-height: 400px;
  max-width: 20%;
  max-height: 25em;
  margin: 3% 2% 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
}

.card__title {
  text-align: center;
  min-width: 90%;
  font-weight: bold;
  border-bottom: 2px solid black;
  margin: 2% 0%;
}

.card-list {
  min-height: 80%;
  min-width: 90%;
}

.card-list__item {
  text-align: center;
  margin: 6% 1%;
  padding: 7% 1%;
  justify-content: space-around;
  background-color: #f0f0f0;
  min-width: 90%;
  border-radius: 3px;
}

/* ==========
DIVING DEEPER
========== */

a.nav-bar__links:hover {
  color: white;
  background-color: #5969d0;
  border-radius: 4px;
  padding: 2px 0px;
}
