* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin-top: 50px;
}

.container {
  display: flex;
  flex-direction: row;
  width: 40%;
  margin: auto;
  gap: 1rem;
}

.sidebars {
  min-width: 100px;
  flex-basis: 15%;
  /*       margin-top: 40px; */
}

.sideheaders {
  background-color: #cccade;
  border: 1px solid #f1ecff;
  box-shadow: 0px 0px 5px #f1ecff;
  font-weight: normal;
  color: #6a6788;
  font-size: 16px;
}

.middleheaders {
  background-color: #cccade;
  border: 1px solid #cccade;
  box-shadow: 0px 0px 5px #cccade;
  font-weight: normal;
  color: #6a6788;
  font-size: 18px;
  border-radius: 15px 15px 0px 0px;
  margin-bottom: 5px;
}

.sidebox {
  padding: 8px 3px 8px 3px;
  font-size: 13px;
  color: pink;
  letter-spacing: 1px;
}

.sidebars ul {
  padding: 0;
}

.sidebars li {
  list-style-type: none;
  border-bottom: 1px solid;
  margin-bottom: 6px;
}

.sidebars a {
  color: black;
}

.sidebars a:visited {
  color: black;
}

.sidebars a:hover {
  text-shadow: purple;
  font-style: normal;
}

.sidebars a:active {
  font-style: italic;
  text-shadow: 0px 0px 5px purple;
}

.main {
  flex-basis: 70%;
  min-width: 300px;
  padding: 20px;
  font-size: 14px;
}

.main-content {
  margin-bottom: 15px;
}

a {
  color: blue;
  text-decoration: none;
}

a:visited {
  color: blue;
}

a:hover {
  font-style: italic;
}

a:active {
  font-style: italic;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

@media (max-width: 685px) {
  .headerwrapper {
    height: 268px;
    position: relative;
    top: 0px;
  }

  .header {
    background-size: 100%;
    background-position: top left;
  }

  .header h1 {
    font-size: 40px;
    align-self: center;
    padding-left: 1em;
  }

  .container {
    width: 100%;
    margin-top: 0;
  }

  .boxwrapper {
    display: flex;
    flex-direction: column;
    padding-left: 1em;
    padding-right: 1em;
  }

  .boxes {
    min-width: 100%;
  }

  .sidebox {
    text-align: center;
  }

  .sidebars {
    margin-top: 0;
  }

  .sidebars li {
    display: inline;
    margin: 0;
    border: none;
  }
}

@media (max-width: 820px) {
  .header h1 {
    padding-left: 1.5em;
  }
}
