    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', 'Lucida Sans', Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #e9edfa 0%, #f3faf3 80%);
      display: flex;
      justify-content: center;
      padding: 20px;
      color: #111;
      min-height: 100vh;
      position: relative;
      overflow-x: hidden;
    }

    .title {
      flex-grow: 1;
      text-align: center;
      font-size: 25px;
      font-weight: 800;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      color: #232867;
      letter-spacing: 1px;
    }

    .containers {
      width: 100%;
      max-width: 550px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      padding: 30px 25px;
      border-radius: 25px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2);
      /* animation: slideInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1); */
      position: relative;
      overflow: hidden;
    }

    /* .containers::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: conic-gradient(from 0deg, transparent, rgba(135, 206, 250, 0.1), transparent);
      animation: rotate 20s linear infinite;
      z-index: -1;
    } */

    h3 {
      text-align: center;
      margin-bottom: 25px;
      color: #232867;
      font-size: 25px;
      font-weight: 800;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      position: relative;
      /* animation: titleGlow 3s ease-in-out infinite alternate; */
    }

    /* h2::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background: linear-gradient(90deg, #87CEEB, #232867);
      border-radius: 2px;
      animation: underlineExpand 2s ease-out;
    } */

    /* @keyframes titleGlow {
      0% { text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
      100% { text-shadow: 0 2px 20px rgba(135, 206, 250, 0.4); }
    }

    @keyframes underlineExpand {
      0% { width: 0; }
      100% { width: 60px; }
    } */

    .semester-select {
      margin-bottom: 25px;
      position: relative;
    }

    .semester-select label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #232867;
      font-size: 16px;
    }


    .semester-select select {
      width: 100%;
      padding: 15px 20px;
      font-size: 16px;
      border-radius: 15px;
      border: 2px solid #87CEEB;
      background: #f6f7fb;
      color: #232867;
      font-weight: 600;
      transition: border-color 0.27s, box-shadow 0.3s;
      cursor: pointer;
      appearance: none;
      position: relative;
    }

    .semester-select::after {
      content: '▼';
      position: absolute;
      right: 20px;
      top: 67%;
      transform: translateY(-50%);
      color: #87CEEB;
      font-size: 12px;
      pointer-events: none;
      transition: transform 0.3s ease;
    }

    /* .semester-select:hover::after {
      transform: translateY(-50%) rotate(180deg);
    } */

    .semester-select select:focus {
      outline: none;
      border-color: #232867;
      box-shadow: 0 0 0 4px rgba(135, 206, 250, 0.2);
    }

    .subject {
      background: linear-gradient(145deg, #232867, #1a1f4f);
      color: #fff;
      padding: 25px;
      border-radius: 20px;
      margin-bottom: 20px;
      /* animation: slideInLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
      position: relative;
      overflow: hidden;
      transition: all 0.4s ease;
    }

    .subject::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(135, 206, 250, 0.1), transparent);

    }

    .subject:hover::before {
      left: 100%;
    }

    /* .subject:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(35, 40, 103, 0.3);
    } */

    .code {
      font-weight: 700;
      font-size: 17px;
      color: #87CEEB;
      margin-bottom: 5px;
      /* opacity: 0;
      animation: fadeInRight 0.8s ease 0.2s forwards; */
    }

    .name {
      margin-bottom: 15px;
      font-size: 1.1rem;
      color: #fff;
      font-weight: 700;
      /* opacity: 0;
      animation: fadeInRight 0.8s ease 0.4s forwards; */
    }

    .grades {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 15px;
      justify-content: center;
    }

    .grades1 {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 15px;
      justify-content: center;
    }

    .grades input[type="radio"],
    .grades1 input[type="radio"] {
      display: none;
    }

    .grades label {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: linear-gradient(145deg, #1a1f4f, #232867);
      color: #fff;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      position: relative;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
      /* animation: popIn 0.6s ease; */
      font-size: 16px;
    }

    .grades1 label {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: linear-gradient(145deg, #1a1f4f, #232867);
      color: #fff;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      position: relative;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
      /* animation: popIn 0.6s ease; */
      font-size: 16px;
    }

    .grades label::before,
    .grades1 label::before {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(45deg, #87CEEB, #232867, #87CEEB);
      border-radius: 50%;
      z-index: -1;
      /* opacity: 0;
      transition: opacity 0.3s ease; */
    }

    .grades label:hover,
    .grades1 label:hover {
      transform: scale(1.2) rotate(5deg);
      box-shadow: 0 0 20px rgba(135, 206, 250, 0.6);
      background: linear-gradient(145deg, #87CEEB, #5f9ea0);
      color: #ffffff;
    }

    .grades label:hover::before,
    .grades1 label:hover::before {
      opacity: 1;
    }

    .grades input[type="radio"]:checked+label,
    .grades1 input[type="radio"]:checked+label {
      background-color: white;
      color: #ffffff;
      border: 5px solid #fff;
      transform: scale(1.25);
      box-shadow: 0 0 25px rgba(135, 206, 250, 0.8);
      animation: pulse 1s ease-in-out infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        box-shadow: 0 0 25px rgba(135, 206, 250, 0.8);
      }

      50% {
        box-shadow: 0 0 35px rgba(135, 206, 250, 1);
      }
    }

    @media (max-width: 480px) {

      /* Make subject cards and containers use full width */
      .subject-card1,
      .subject-card,
      .container,
      .containers1 {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
      }
    }

    .center-btn {
      text-align: center;
      margin: 30px 0;
    }

    .add-btn {
      background: linear-gradient(145deg, #87CEEB, #5f9ea0);
      color: #232867;
      font-size: 28px;
      width: 60px;
      height: 60px;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      box-shadow: 0 10px 25px rgba(135, 206, 250, 0.4);
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      font-weight: bold;
      position: relative;
      overflow: hidden;
    }

    .add-btn::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      transition: all 0.4s ease;
      transform: translate(-50%, -50%);
    }

    .add-btn:hover::before {
      width: 100px;
      height: 100px;
    }

    .add-btn:hover {
      transform: scale(1.2) rotate(90deg);
      box-shadow: 0 15px 35px rgba(135, 206, 250, 0.6);
    }

    .add-btn:active {
      transform: scale(1.1) rotate(90deg);
    }

    .calculate-button {
      text-align: center;
      margin-top: 25px;
    }

    .calculate-button button {
      width: 100%;
      padding: 18px 0;
      font-size: 20px;
      background: #232867;
      color: white;
      border: none;
      border-radius: 15px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      box-shadow: 0 10px 30px rgba(35, 40, 103, 0.3);
      position: relative;
      overflow: hidden;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .calculate-button button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(135, 206, 250, 0.2), transparent);
      transition: left 0.6s ease;
    }

    .calculate-button button:hover::before {
      left: 100%;
    }

    .calculate-button button:hover {
      background: #232867;
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 15px 40px rgba(135, 206, 250, 0.4);
    }

    .calculate-button button:active {
      transform: translateY(-1px);
    }

    /* --- Custom Alert/Notification Bar --- */
    #custom-alert-bar {
      display: flex;
      align-items: center;
      position: fixed;
      top: 26px;
      left: 50%;
      transform: translateX(-50%);
      min-width: 315px;
      max-width: 92vw;
      padding: 13px 22px;
      border-radius: 13px;
      background: #24ce57;
      color: #fff;
      font-size: 1.13rem;
      font-weight: 600;
      z-index: 10099;
      box-shadow: 0 6px 18px #0002;
      opacity: 0.98;
      transition: opacity 0.27s, top 0.27s;
    }

    #custom-alert-bar .icon {
      font-size: 1.3rem;
      margin-right: 16px;
      line-height: 1;
      display: flex;
      align-items: center;
    }

    /* Add a subtle shake effect when visible (optional) */
    #custom-alert-bar.showing {
      animation: alertBounce 0.35s cubic-bezier(.71, -0.39, .6, 1.43) 1;
    }

    @keyframes alertBounce {
      0% {
        transform: translateX(-50%) scale(0.95);
      }

      60% {
        transform: translateX(-50%) scale(1.07);
      }

      100% {
        transform: translateX(-50%) scale(1);
      }
    }

    /* Enhanced Animations */
    @keyframes slideInUp {
      0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
      }

      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    @keyframes slideInLeft {
      0% {
        opacity: 0;
        transform: translateX(-60px);
      }

      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes fadeInRight {
      0% {
        opacity: 0;
        transform: translateX(30px);
      }

      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes popIn {
      0% {
        transform: scale(0.3) rotate(0deg);
        opacity: 0;
      }

      50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.8;
      }

      100% {
        transform: scale(1) rotate(360deg);
        opacity: 1;
      }
    }

    @keyframes rotate {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    /* Loading animation for subjects */
    .subject.loading {
      animation: shimmer 1.5s ease-in-out infinite;
    }

    @keyframes shimmer {
      0% {
        opacity: 1;
      }

      50% {
        opacity: 0.7;
      }

      100% {
        opacity: 1;
      }
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      body {
        padding: 10px;
      }

      .container {
        padding: 20px 15px;
        margin: 5px;
        max-width: 100%;
        border-radius: 20px;
      }

      h2 {
        font-size: 26px;
        margin-bottom: 20px;
      }

      .semester-select select {
        font-size: 16px;
        padding: 14px 20px;
      }

      .subject {
        padding: 20px 15px;
        margin-bottom: 15px;
      }

      .grades,
      .grades1 {
        gap: 10px;
        justify-content: center;
      }

      .grades label,
      .grades1 label {
        width: 40px;
        height: 40px;
        font-size: 14px;
        font-weight: 700;
      }

      .add-btn {
        width: 56px;
        height: 56px;
        font-size: 26px;
      }

      .calculate-button button {
        font-size: 18px;
        padding: 16px 0;
        border-radius: 12px;
      }

      .name,
      .subject-title1 {
        font-size: 18px;
        margin-bottom: 12px;
      }

      .code,
      .subject-code1 {
        font-size: 15px;
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 18px 12px;
        margin: 5px;
        border-radius: 15px;
      }

      h2 {
        font-size: 22px;
        margin-bottom: 18px;
      }

      .semester-select {
        margin-bottom: 20px;
      }

      .semester-select select {
        font-size: 15px;
        padding: 12px 16px;
      }

      .subject {
        padding: 18px 12px;
        margin-bottom: 12px;
        border-radius: 15px;
      }

      .grades,
      .grades1 {
        gap: 9px;
        margin-top: 12px;
      }

      .grades label,
      .grades1 label {
        width: 24px;
        height: 24px;
        font-size: 13px;
        font-weight: 700;
      }

      .add-btn {
        width: 52px;
        height: 52px;
        font-size: 24px;
        margin: 20px 0;
      }

      .calculate-button {
        margin-top: 20px;
      }

      .calculate-button button {
        font-size: 16px;
        padding: 14px 0;
        border-radius: 10px;
        letter-spacing: 0.5px;
      }

      .name,
      .subject-title1 {
        font-size: 18px;
        margin-bottom: 10px;
      }

      .code,
      .subject-code1 {
        font-size: 15px;
        margin-bottom: 4px;
      }

      /* Optimize animations for mobile */
      .grades label:hover,
      .grades1 label:hover {
        transform: scale(1.15) rotate(3deg);
      }

      .grades input[type="radio"]:checked+label,
      .grades1 input[type="radio"]:checked+label {
        transform: scale(1.2);
      }

      .subject:hover {
        transform: translateY(-3px);
      }

      /* Better mobile particle animation */
      .particle {
        width: 12px !important;
        height: 12px !important;
      }
    }

    @media (max-width: 360px) {
      .container {
        padding: 15px 10px;
        margin: 3px;
      }

      h2 {
        font-size: 20px;
        margin-bottom: 15px;
      }

      .grades,
      .grades1 {
        gap: 5px;
      }

      .grades label,
      .grades label1 {
        width: 28px;
        height: 28px;
        font-size: 10px;
      }

      .subject {
        padding: 15px 10px;
      }

      .name,
      .subject-title1 {
        font-size: 14px;
      }

      .code,
      .subject-code1 {
        font-size: 13px;
      }

      .add-btn {
        width: 48px;
        height: 48px;
        font-size: 22px;
      }

      .calculate-button button {
        font-size: 15px;
        padding: 12px 0;
      }
    }

    /* Container for the row */
    .flex-row {
      display: flex;
      gap: 3rem;
      margin-top: 2rem;
    }

    /* Selected Subjects and Custom Subjects containers */
    .selected-subjects-container1 {
      background: none;
      padding: 0;
    }

    /* Subject Card Styling */
    .subject-card {
      background: #20294a;
      /* Dark blue */
      border-radius: 20px;
      box-shadow: 0 4px 16px rgba(32, 41, 74, 0.18), 0 1.5px 6px rgba(0, 0, 0, 0.09);
      margin-bottom: 1.5rem;
      padding: 1.2rem 1.8rem;
      min-width: 350px;
      color: #fff;
      font-family: 'Montserrat', Arial, sans-serif;
      transition: box-shadow 0.2s;
    }

    .subject-card h4 {
      font-size: 1.2rem;
      color: #8ddbff;
      margin-bottom: 6px;
    }

    .subject-card .subject-title {
      font-size: 1.18rem;
      font-weight: 600;
      margin-bottom: 12px;
      color: #fff;
    }

    .grade-choices {
      display: flex;
      gap: 18px;
      margin-top: 14px;
    }

    .grade-choice {
      background: #2a3354;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 1rem;
      box-shadow: 0 2px 8px rgba(32, 41, 74, 0.14);
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }

    .grade-choice.selected,
    .grade-choice:hover {
      background: #1da1f2;
      color: #fff;
    }

    /* Custom Subjects List, similar card-style */
    #subjectList1 .custom-subject-card {
      background: #20294a;
      border-radius: 20px;
      box-shadow: 0 4px 16px rgba(32, 41, 74, 0.18), 0 1.5px 6px rgba(0, 0, 0, 0.09);
      margin-bottom: 1.5rem;
      padding: 1.1rem 1.6rem;
      color: #fff;
    }

    .custom-subject-card {
      background: #20294a;
      border-radius: 20px;
      box-shadow: 0 4px 16px rgba(32, 41, 74, 0.18), 0 1.5px 6px rgba(0, 0, 0, 0.09);
      margin-bottom: 1.2rem;
      padding: 1.2rem 1.8rem;
      color: #fff;
    }

    .subject-title {
      font-size: 1.1rem;
      font-weight: 600;
    }

    .subject-meta {
      color: #8ddbff;
      font-size: 0.93rem;
    }


    .container {
      background: #f5f5f5;
      padding: 20px;
      border-radius: 10px;
      max-width: 500px;
      margin: 50px auto;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      background: rgba(255, 255, 255, 0.97);
      border-radius: 24px !important;
      box-shadow: 0 8px 40px 0 rgba(67, 48, 137, 0.13), 0 1.5px 5px 0 rgba(67, 48, 137, 0.07);
      margin-top: 40px !important;
      padding: 36px 32px !important;
      transition: box-shadow 0.3s;
      /* Responsive width, max for desktop */
    }

    .container2 {
      background: #f5f5f5;
      padding: 20px;
      border-radius: 10px;
      max-width: 500px;
      margin: 50px auto;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      background: rgba(255, 255, 255, 0.97);
      border-radius: 24px !important;
      box-shadow: 0 8px 40px 0 rgba(67, 48, 137, 0.13), 0 1.5px 5px 0 rgba(67, 48, 137, 0.07);
      margin-top: 40px !important;
      padding: 36px 32px !important;
      transition: box-shadow 0.3s;
      /* Responsive width, max for desktop */
    }

    .subject-card {
      background: white;
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .subject-info {
      flex: 1;
    }

    .subject-title {
      font-weight: bold;
    }

    .subject-meta {
      color: #666;
      font-size: 14px;
    }

    .remove {
      color: red;
      font-weight: bold;
      cursor: pointer;
      font-size: 18px;
      margin-left: 10px;
    }

    .selected-subjects-container1 {
      background: #f8f9fa;
      padding: 1rem 2rem;
      border-radius: 8px;
      min-width: 280px;
    }


    .subject-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px;
      margin: 8px 0;
      background-color: white;
      border-radius: 5px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .remove-subject {
      background: none;
      border: none;
      color: #ff4444;
      cursor: pointer;
      font-size: 16px;
    }

    .custom-form {
      background-color: #f5f5f5;
      padding: 25px;
      border-radius: 12px;
      margin-top: 30px;
    }

    .form-title {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 20px;
      text-align: center;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
    }

    .form-input {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid #858282;
      border-radius: 8px;
      font-size: 16px;
    }

    .form-input:focus {
      outline: none;
      border-color: #4a6bff;
      box-shadow: 0 0 0 2px rgba(74, 107, 255, 0.2);
    }

    .submit-button {
      background-color: black;
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      width: 100%;
      transition: background-color 0.3s;
    }

    .submit-button:hover {
      background-color: #3a5bef;
    }

    .containers1 {
      width: 100%;
      max-width: 520px;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(10px);
      padding: 32px 24px 24px 24px;
      border-radius: 24px;
      box-shadow: 0 10px 30px rgba(35, 40, 103, 0.3);
      margin: 36px auto;
    }

    .containers1 h2 {
      text-align: center;
      color: #232867;
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 26px;
    }

    .subject-lists1 {
      margin-top: 12px;
    }

    .subject-card1 {
      background: linear-gradient(145deg, #232867 90%, #1a1f4f 130%);
      color: #fff;
      border-radius: 17px;
      box-shadow: 0 5px 24px rgba(0, 0, 0, 0.09), 0 1.5px 5px rgba(65, 70, 130, 0.10);
      padding: 18px 28px 14px 28px;
      margin-bottom: 17px;
      display: flex;
      flex-direction: column;
      font-family: 'Segoe UI', 'Lucida Sans', Geneva, Verdana, sans-serif;
      min-width: 240px;
    }

    .subject-code1 {
      /* font-size: 15px; */
      color: #87CEEB;
      margin-bottom: 2px;
      margin-left: 5px;
      font-weight: 600;
      letter-spacing: 0.03em;
    }

    .subject-title1 {
      /* font-size: 18px; */
      font-weight: 700;
      margin-left: 5px;
      color: #fff;
      margin-bottom: 8px;
      letter-spacing: 0.01em;
    }

    /* .grades1 {
      display: flex;
      flex-wrap: wrap;
      gap: 13px;
      margin-top: 15px;
      justify-content: center;
    }

    .grades1 input[type=radio] {
      display: none;
    }

    .grades1 label {
      width: 43px;
      height: 43px;
      border-radius: 50%;
      background: linear-gradient(145deg, #1a1f4f, #232867);
      color: #fff;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      position: relative;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
       animation: popIn 0.6s ease; 
      font-size: 16px;
    }

    .grades1 label::before {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(45deg, #87CEEB, #232867, #87CEEB);
      border-radius: 50%;
      z-index: -1;
       opacity: 0;
        transition: opacity 0.3s ease; 
    }

    .grades1 label:hover {
      transform: scale(1.2) rotate(5deg);
      box-shadow: 0 0 20px rgba(135, 206, 250, 0.6);
      background: linear-gradient(145deg, #87CEEB, #5f9ea0);
      color: #ffffff;
    }

    .grades1 label:hover::before {
      opacity: 1;
    }

    .grades1 input[type="radio"]:checked+label {
      background-color: white;
      color: #ffffff;
      border: 5px solid #fff;
      transform: scale(1.25);
      box-shadow: 0 0 25px rgba(135, 206, 250, 0.8);
      animation: pulse 1s ease-in-out infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        box-shadow: 0 0 25px rgba(135, 206, 250, 0.8);
      }

      50% {
        box-shadow: 0 0 35px rgba(135, 206, 250, 1);
      }
    }

    .grades1 input[type=radio]:checked+label {
      background-color: #87CEEB;
      color: #232867;
      border-color: #5f9ea0;
      box-shadow: 0 4px 13px #87ceeb34;
    } */

    /* .grades1 label:active {
      transform: scale(1.13) rotate(8deg);
    } */

    .no-subjects1 {
      color: #868ec6;
      font-style: italic;
      text-align: center;
      margin: 44px 0;
      font-size: 1.04rem;
      font-weight: 500;
    }

    @media (max-width: 600px) {
      .containers1 {
        padding: 16px 4px;
        border-radius: 13px;
      }

      .subject-card1 {
        padding: 10px 8px;
        border-radius: 13px;
      }

      .grades1 {
        flex-wrap: wrap;
      }
    }