* {
  box-sizing: border-box;
}

@keyframes fadeAnimation {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.btn,
body>header li:hover {
  text-decoration: none;
  color: #0059ff;
  background-color: #fff;
  animation-name: fadeAnimation;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
  animation-direction: normal;
  animation-fill-mode: both;

}



body {
  margin: 0;
  font-family: sans-serif;
  background-color: #f4f4f4;
}

body>header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background-color: #ffffff9a;
}

body>header h1 {
  font-size: 1rem;
}

body>header nav {
  flex: stretch;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
}

header nav a {
  max-width: 18ch;
  align-content: center;
  display: block;
  text-decoration: none;
  min-width: 100%;
  min-height: 100%;
  text-decoration: none;
  background-color: #0059ffb6;
  /* background-color: red; */
  color: #fff;
  border-radius: 25px;
  padding: 8px 12px;
}

main, header{
  padding: 1em;
}

main>article {
  display: flex;
  flex-direction: column;
}

article h1 {
  text-align: center;
}

article li {
  margin-bottom: 0.5em;
}

.listicle-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .listicle-container {
    flex-wrap: nowrap;
  }
}


/* AI suggestion for mindmap -  container of node that contains a span of class 'arrow-head' */
/* <div class="arrow-box">
  Start
  <span class="arrow-head"></span>
</div>
*/
.arrow-box {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #333;
  background: #f5f5f5;
  border-radius: 4px;
}

/* Triangular arrow using borders */
.arrow-head {
  position: absolute;
  top: 50%;
  right: -10px;
  /* stick out to the right */
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #f5f5f5;
  /* same as background */
  transform: translateY(-50%);
}