.register-section {
  text-align: center;
  margin-top: 30px;
}

.register-btn {
  display: inline-block;
  padding: 5px 25px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.register-btn:hover {
  background-color: #0056b3;
}
.selected-course-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.course-image {
  flex: 1 1 100%;
  max-width: 200px;
}

.course-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.course-description {
  flex: 2 1 100%;
  padding: 10px;
}

.course-register {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10px;
}
.button-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
     
    }

    .topic-button {
      padding: 5px 10px;
      background-color: #007BFF;
      color: white;
      border: none;
      border-radius: 8px;
      text-decoration: none;
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .topic-button:hover {
      background-color: #0056b3;
    }

 .logout-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: #e74c3c;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .logout-btn:hover {
            background-color: #c0392b;
        }

    @media (max-width: 600px) {
      .topic-button {
        width: 100%;
      }
    }
/* Responsive for tablets and up */
@media (min-width: 768px) {
  .course-image {
    flex: 1;
    max-width: 20%;
  }

  .course-description {
    flex: 2;
  }

  .course-register {
    flex: 1;
  }
}
@media (min-width: 768px) {
  .course-image {
    flex: 1;
    max-width: 20%;
  }

  .course-description {
    flex: 3; /* More width than image and register */
  }

  .course-register {
    flex: 1;
  }
}