body {
    margin: 0;
  }

footer {
    margin: 0px;
}

.logo {
  height: 64px;
}

pre {
  display: block;
  background-color: #121212;
}
.chapter {
    margin-bottom: 2rem;
}

.code-block {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 1.5rem;
  }

  .dark-mode {
    background-color: #121212;
    color: white;
  }
  .dark-mode .navbar {
    background-color: #1c1c1c;
  }
  .dark-mode .code-block {
    background-color: #2d2d2d;
    color: #f8f9fa;
  }

  #main-cover {
    height: 60vh;
    background-image: url(assets/swift_dark.webp);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
  }

  .cover-container {
    background-color: #f8f9fa;
  }

  #toolbox {
    margin-top: 75px;
  }

  #video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #tool-header {
    height: 66vh;
    background-image: url(assets/swift_dark.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
  }

  #title-box {
    background-color: rgba(5, 5, 5, 0.9);
    color: lightsalmon;

  }

  .dark-mode #title-box {
    background-color: #2d2d2d;
  }

  h2 {
    padding-top: 32px;
  }

  .swift-desc {
    background: linear-gradient(
      180deg,
      rgb(255, 150, 71),
      rgb(255, 54, 51)
    )
  }

.buttons {
  display: flex;
  justify-content: center;
}

.buttons a {
  background-color: rgb(255, 150, 71);
  color: #f8f9fa;
  font-weight: bold;
}

.buttons a:hover {
  background-color: rgb(255, 54, 51);
  scale: 1.1;
  color: white;
}

.chapter {
  padding-top: 24px;
}

.card-top {
  height: 25vh;
  object-fit: cover;  
}

.card-list {
  list-style: none;
}

.card-list li a {
  text-decoration: none;
  font-weight: bold;
  font-style: italic;
  color: rgb(255, 150, 71);
}

.card-list li a:hover {
  color: rgb(255, 54, 51);
}