* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    body {
        overflow: auto;
        font-family: Arial, sans-serif;
        background-color: #121716;
        padding-top: 60px;
        overflow-y: auto;
    }

    main {
    margin: 40px;
}


    /* ID tags */

#active-button a {
    font-style: normal;
    font-weight: bold;
    color: hotpink;
    text-decoration: none;
}

#active-button a:hover {
    color: white;
    font-weight: bold;
    font-style: normal;
}
    /* NAV en dergelijk item */

    .navbar {
        display: flex;
        justify-content: space-around;
        padding: 15px;
        background-color: #40f;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
    }

    .navbar a {
        color: #121716;
        font-style: oblique;
        font-size: 22px;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .navbar a:visited {
        color: #121716;
    }

    .navbar a:hover {
        color: hotpink;
    }

    @media only screen and (max-width: 600px) {
        .navbar a {
            font-size: 16px; 
        }
    }


.video-feature-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

#video-description {
    margin: 20px 0;
    font-size: 18px;
    color: white;
}

#next-video {
    background-color: hotpink;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

#next-video:hover {
    background-color: #ff66b2;
}

/*  page wrapper style */

.page-wrapper {
  display: flex;
  margin: 70px auto 40px;
  gap: 30px;
  padding: 0 20px;
}

.category-panel {
  flex: 1;
  max-width: 300px;
  color: white;
}

.category-panel h3 {
  margin-bottom: 10px;
  color: hotpink;
  font-weight: bold;
  font-style: normal;
  padding-bottom: 5px;
}

.category-panel ul {
  list-style: none;
  margin-bottom: 30px;
}

.category-panel ul li {
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background-color 0.2s ease;
  font-size: 16px;
  font-style: oblique;
  color: #ddd;
}

.category-panel ul li:hover {
  background-color: hotpink;
  color: #121716;
}

.video-panel {
  flex: 2;
  display: flex;
  flex-direction: column;
  color: white;
}

.video-panel iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.description-box {
  font-size: 18px;
  line-height: 1.5;
}

/* phone */

@media (max-width: 768px) {
  .category-panel {
    border-bottom: solid;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .page-wrapper {
    flex-direction: column;
  }

  .category-panel,
  .video-panel {
    width: 100%;
  }

  .category-panel {
    order: 1;
  }

  .video-panel {
    order: 2;
  }
}

/* phone */

@media (max-width: 768px) {
  .description-box.collapsed {
    max-height: 150px;
    overflow: hidden;
    position: relative;
  }

  .toggle-desc {
    display: block;
    margin-top: 10px;
    color: hotpink;
    cursor: pointer;
    font-style: italic;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .description-box.collapsed {
    max-height: 150px;
    overflow: hidden;
    position: relative;
  }

  .toggle-desc {
    display: inline-block;
    margin-top: 10px;
    color: hotpink;
    cursor: pointer;
    font-style: italic;
    font-size: 16px;
  }
}

.toggle-desc {
  display: none;
}