/* General */

* {
  font-family: arial, Sans-Serif;
}

body {
  background-color: #66ffd9;
}

p {
  font-size: 1.4rem;
}
h1, h2, h3, h4 {
  word-wrap: break-word;
  min-width: 0;
}

li {
  font-size: 1.4rem;
  word-wrap: break-word;
  min-width: 0;
}

.text {
  margin: 1rem;
}

.center-text {
  text-align: center;
}

img {
  
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
      /*Banner*/

      .banner {
        background-image: url("./media/banner.jpg");
        background-size: cover;
        background-attachment: fixed;
        background-repeat: no-repeat;
        margin-right: 5%;
        margin-left: 5%;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
        border-radius: 10px;
        min-height: 15rem;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        top: 6rem;
        text-align: center;
      }

      .banner h1 {
        color: #eeeeee;
      }



/* Navbar */

.nav-bar {
  font-size: 1.2rem;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 6rem;
  background-color: #09b3a2;
  position: fixed;
  display: flex;
  align-items: center;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.title {
  margin-left: 6%;
  margin-right: 6%;
  white-space: nowrap;
}

.links {
  margin-left: auto;
  margin-right: 6%;
  white-space: nowrap;
  
}

.nav-bar a:hover {
  text-decoration: underline;
}

.title a,
.links a {
  text-decoration: none;
  color: #eeeeee;
}

.links h2 {
  margin-left: 2rem;
  color: white;
}

.image-container {
  padding: 0.5rem;
}

.image-fullsize {
  width: 100%;
  height: 100%;
}
/* Content */

.content {
  position: relative;
  top: 6.5rem;
  margin-right: 5%;
  margin-left: 5%;
  margin-bottom: 8rem;
  padding: 1rem;
  background-color: white;
  border-radius: 10px;
}

.flex-content, .flex {
  display: flex;
}


/* Accessibility */

@media only screen and (max-width: 1080px), (orientation: portrait) {
  /* General */
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  p {
    font-size: 1.2rem;
    line-height: 1.9rem;
  }
  li {
    font-size: 1.4rem;
    line-height: 1.9rem;
  }
  ol {
    font-size: 1.4rem;
    line-height: 1.9rem;
    padding: 0;
    padding-left: 1.7rem;
  }
  .banner {
    top: 2.5rem;
    margin: 0;
    margin-top: 1rem;
    padding: 0.6rem;
    min-height: 10rem;
  }
  /*Navbar*/
  .nav-bar {
    width: 100%;
    height: 2.8rem;
    position: fixed;
  }
  /* Content */
  .content {
    top: 3.1rem;
    margin: 0;
    padding: 0.3rem;
    margin-bottom: 3.6rem;
  }
  .unflex {
    display: grid;
    padding: 0.5rem;
  }
}

/* INDEX */
.index {
  position: relative;
  top: 6.5rem;
  margin: 1rem;
  padding: 0.6rem;
  padding-bottom: 1rem;
  background-color: white;
  border-radius: 10px;
  line-height: 3rem;

}

@media only screen and (max-width: 1080px), (orientation: portrait) {
  .index {
    top: 3.5rem;
    margin: 0.5rem;
    padding: 0;
    padding-bottom: 1rem;
    line-height: 3rem;
  }
}