header {
  color: #fff;
  padding: 1rem;
  margin-top: 5%;
  margin-bottom: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.dark-mode p {
  font-size: 18px;
  color: white;
}

.kai {
  font-weight: bold;
  font-size: 80px;
  color: black;
  position: absolute;
}

.kai-library {
  font-weight: bold;
  font-size: 80px;
  color: black;
  position: absolute;
}

.title {
  font-size: 40px;
  color: black;
  margin-left: 40px;
}

.footericon {
  font-weight: bold;
  font-size: 80px;
  color: black;
  position: absolute;
  font-style: normal;
}

footer p {
    font-size: 14px;
}

@media (min-width: 100px) {
  .kai {
    top: 2%;
    left: 4%;
    font-size: 60px;
  }

  .title {
    font-size: 30px;
  }

  .kai-library {
    top: -1%;
    left: 42%;
  }

  .switch {
    top: -10px;
  }

  .text-container {
    margin: 0 5% 8% 5%;
  }

  body.dark-mode footer p {
    font-size: 14px;
    color: white;
  }

  .footericon {
    left: 80%;
    top: -15%;
    font-size: 60px;
  }

  footer p {
      margin-left: 5%;
      max-width: 255px;
      font-size: 14px;
  }
}

@media (min-width: 768px) {
  #content {
    max-width: 90%;
  }

  .kai {
    top: 3%;
    left: 5%;
    font-size: 70px;
  }

  .title {
    font-size: 40px;
  }

  .kai-library {
    top: 8%;
    left: 45%;
    font-size: 80px;
  }

  .switch {
    top: -40px;
    right: 20px;
  }

  .text-container {
    margin:0 14% 8% 14%;
  }

  .footericon {
    left: 85%;
    top: -15%;
    font-size: 80px;
  }

  footer p {
      margin-left: 10%;
      max-width: 100%;
  }

}

@media (min-width: 1024px) {
  #content {
    max-width: 80%;
  }

  .kai {
    top: 5%;
    left: 15%;
    font-size: 80px;
  }

  .kai-library {
    top: 8%;
    left: 47%;
  }

  .switch {
    top: -50px;
    right: 30px;
  }

  .text-container {
    margin:0 14% 8% 14%;
  }

  .footericon {
    left: 85%;
    top: -15%;
  }

  footer p {
      margin-left: 10%;
  }

}

@media (min-width: 1366px) {
  #content {
    max-width: 60%;
  }

  .kai {
    top: 8%;
    left: 20%;
  }

  .kai-library {
    top: 8%;
    left: 48%;
  }

  .switch {
    top: -80px;
    right: 30px;
  }

  .text-container {
    margin:0 14% 8% 14%;
  }

  .footericon {
    left: 85%;
    top: -15%;
  }

  footer p {
      margin-left: 10%;
  }

}

html {
  scroll-behavior: smooth;
}


body {
    background-color: #fff;
    color: black;
    font-family: 'PP Neue Montreal', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

body.dark-mode {
  background-color: #212121;
  color: white;
}

.switch {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: lightblue;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

h2 {
  font-size: 40px;
  font-weight: normal;
  margin-bottom: -20px;
}

body.dark-mode a {
  color: white;
}

p {
  font-size: 18px;
  color: black;
}


a {
  text-decoration: none;
}

a:hover {
  color: darkgray;
  text-decoration: none
}

body.dark-mode a:hover {
  text-decoration: none;
  color: darkgray;
}


main {
    padding: 20px;
    flex: 1;
}

#content {
  text-align:center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10%;
}

.text-container {
    text-align: left;
}

.library-link {
  font-size: 18px;
  font-weight: bold;
  color: black;
  padding-top: 10%;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  margin: auto;
  margin-bottom: 10%;
  display: flex;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.thumbnail {
  width: 80%;
  height: auto;
  margin-bottom: 10%;
  border: solid 1px darkgray;
}

.music-player {
  font-size: 10px;
  color: #cccccc;
  line-break: anywhere;
  word-break: normal;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 10%;
}

footer {
    color: black;
    position: relative;
    bottom: 0;
    width: 100%;
    font-style: italic;
    max-width: 100%;
  }
