body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f8f4e3;
  }

  .topic {
    background: linear-gradient(to right, #C49A6A, #A68B5D);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  main {
    max-width: 1600px;
    margin: 20px auto;
    padding: 20px;
    display: flex;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .publications {
    flex: 1;
    padding-right: 20px;
  }

  section h3 {
    border-bottom: 2px solid #A68B5D;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #5B3A29;
  }

  .date-link {
    position: relative;
    padding: 10px 20px;
    background: #A68B5D;
    color: white;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: all .4s ease-out;
    display: block;
    margin: 5px auto;
    text-align: center;
  }

  .date-link:after {
    content: attr(data-target);
    position: absolute;
    background: white;
    color: #A68B5D;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    opacity: .5;
    transform: perspective(400px) rotateY(90deg);
    transform-origin: 0 100%;
    transition: all .4s ease-out;
  }

  .date-link:hover {
    transform: translateX(-100%);
  }

  .date-link:hover:after {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg) scale(1);
  }

  footer {
    text-align: center;
    padding: 20px 0;
    background: #5B3A29;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

  .publication {
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    background: #f3f3f3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .author {
    font-weight: bold;
    color: #A68B5D;
  }

  .sidebar {
    margin: 20px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
  }

  .year-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .date-link.active {
    background: white;
    color: #A68B5D;
    /* Light brown */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
  }

  .form-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 10%;
    margin-top: -1%;
  }

  .form-group label {
    margin-right: 10px;
    width: 100%;
  }

  .pagination .active .page-link {
    background-color: rgb(0, 146, 236);
    color: #fff;
    pointer-events: none;
  }


  .publications {
    flex: 1;
    padding-right: 20px;
  }

  .pagination {
    justify-content: center;
    flex-wrap: wrap;
  }

  .page-item {
    margin: 0 5px;
  }

  @media (max-width: 768px) {
    .form-group {
      margin-right: 0;
    }
  }

  @media (max-width: 430px) {
    .form-group {
      display: block;
      margin-top: 10%;
      width: 100%;
    }

    .form-group label {
      display: block;
      margin-bottom: 5px;
    }

    .form-group select {
      width: 100%;
    }
  }