* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
  }

  body {
    background-color: #49599a;
    font-family: 'Prompt', sans-serif;
    font-size: 65%;
  }

  /* Move the body content down to avoid overlapping */
  .wrapper {
    margin-top: 60px; /* Adjust this value based on the height of your navbar */
  }

  .mainMenu {
    margin-top: 60px; /* Adjust as needed */
    width: auto;
    height: auto;
    display: block;
    border-radius: 10px;
    overflow: hidden;
  }

  .item {
    border-top: 1px solid #c7a4ff;
    overflow: hidden;
  }

  .btn {
    display: block;
    padding: 15px 20px;
    background-color: #8e99f3;
    color: #fff;
    position: relative;
    font-size: 1rem; /* Specific font-size for buttons */
  }

  .btn:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #9162e4;
    right: 15px;
    bottom: -10px;
    z-index: 9;
  }

  .btn i {
    margin-right: 10px;
  }

  .subMenu {
    background: #273057;
    overflow: hidden;
    transition: max-height 0.7s;
    max-height: 0;
  }

  .subMenu a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid #394c7f;
    position: relative;
  }

  .subMenu a:before {
    content: '';
    opacity: 0;
    transition: opacity 0.3s;
  }

  .subMenu a:hover:before {
    content: '';
    position: absolute;
    height: 0;
    width: 6px;
    left: 0;
    top: 0;
    opacity: 1;
    border-top: 24px solid transparent;
    border-left: 11px solid #6f79a8;
    border-bottom: 24px solid transparent;
  }

  .subMenu a:after {
    content: '';
    opacity: 0;
    transition: opacity 0.3s;
  }

  .subMenu a:hover:after {
    content: '';
    position: absolute;
    height: 0;
    width: 6px;
    right: 0px;
    top: 0;
    opacity: 1;
    border-top: 24px solid transparent;
    border-right: 11px solid #6f79a8;
    border-bottom: 24px solid transparent;
  }

  .subMenu a:hover {
    background: #273057;
    background: -moz-linear-gradient(top, #273057 0%, #273057 50%, #394c7f 51%, #394c7f 100%);
    background: -webkit-linear-gradient(top, #273057 0%, #273057 50%, #394c7f 51%, #394c7f 100%);
    background: linear-gradient(to bottom, #273057 0%, #273057 50%, #394c7f 51%, #394c7f 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#273057', endColorstr='#394c7f', GradientType=0);
    transition: all 0.3s;
    border-bottom: 1px solid #394c7f;
  }

  .subMenu a:last-child {
    border: none;
  }

  .item:target .subMenu {
    max-height: 10000em;
  }

  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
  }

  a {
    font-size: 1.5rem;
    padding: 1rem 3rem;
    color: #f4f4f4;
    text-transform: uppercase;
  }

  .btn {
    text-decoration: none;
    border: 1px solid rgb(146, 148, 248);
    position: relative;
    overflow: hidden;
  }

  .btn:hover {
    box-shadow: 1px 1px 25px 10px rgba(146, 148, 248, 0.4);
  }

  .btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      120deg,
      transparent,
      rgba(146, 148, 248, 0.4),
      transparent
    );
    transition: all 650ms;
  }

  .btn:hover:before {
    left: 100%;
  }