        * {
            margin: 0;
            padding: 1px;
            box-sizing: border-box;
          }

       body {
            padding: 0;
            font-family: 'Montserrat', sans-serif;
            line-height: initial;
         }
         
        /* Navbar */
        .nav-wrapper {
            width: 100%;
            display: flex;
            justify-content: center;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1000;
            background-color: transparent;
        }

        .nav {
            width: 100%;
            max-width: 1200px;
            padding: 10px 0;
            transition: background-color 0.3s;
        }

        .nav.scrolled {
        	background-color: rgba(255, 255, 255, 0);
         /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
        }

        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: #333;
            text-decoration: none;
        }

        .nav.scrolled .logo {
            color: #333;
        }

        .nav.scrolled .hamburger span {
            background-color: #333;
        }

        .nav-menu {
            display: flex;
            gap: 30px;
        }

        .nav-menu a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        .nav.scrolled .nav-menu a {
            color: #333;
        }

        .nav-menu a:hover {
            color: #007bff;
        }

        /* hamburger btn */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            cursor: pointer;
            z-index: 1001;
            padding: 0;
            background: none;
            border: none;
        }

        .hamburger span {
            display: block;
            width: 100%;
            height: 3px;
            background-color: #333;
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -6px);
        }

        /* sidebar menu */
        .sidebar-menu {
            position: fixed;
            top: 0;
            left: -60%;
            width: 60%;
            height: 100vh;
            background: #2f3640;
            display: flex;
            flex-direction: column;
            padding-top: 80px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
        }

        .sidebar-menu.active {
            left: 0;
        }

        .sidebar-menu a {
            font-size: 1.1rem;
            margin: 0rem 1rem;
            padding: 0.8rem 1.5rem;
            text-decoration: none;
            color: #e9e9e9;
            transition: all 0.2s ease-in-out;
            border-radius: 8px;
            border-bottom: 1px solid #404854;
        }

        .sidebar-menu a:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(5px);
        }

        .sidebar-menu a:active {
            background: rgba(255, 255, 255, 0.15);
            transform: translateX(3px);
        }

        /* overlay*/
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 998;
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .main-list {
            margin-top: 60px;
        }

        /* table */
        table {
            width: 100%;
         /*   max-width: 500px; */
            border-collapse: collapse;
        }

        th, td {
            padding: 3px;
            border: 1px solid #a3a3a3;
            text-align: center;
            font-size: 13px;
        }

        th {
            background-color: #F2F2F2;
            border-bottom: 3px double #444;
        }

        /* input */
        input {
            margin: 0;
            padding: 0;
            width: 100%;
            border: none;
            text-align: center;
            font-size: 13px;
            user-select: text;
        }

        #inputValue,
        #totalSum {
            font-size: 16px;
        }

        #thirdSum,
        #sixthSum,
        #inpSun,
        #totalSum {
            background-color: white;
        }

        tbody tr:nth-child(even) {
            background-color: #f7f7f7;
        }

        tbody tr:nth-child(even) input {
            background-color: #f7f7f7;
        }

        /* Hover & Focus */
        tbody tr:hover,
        tbody tr:focus-within {
            background-color: #d6eaff !important;
            transition: 0.3s;
        }

        tbody tr:hover input,
        tbody tr:focus-within input {
            background-color: #cfe7ff !important;
            transition: 0.3s;
        }

        tbody tr input:focus {
            background-color: #fff !important;
        }

        #myInput {
            border: none;
            border-bottom: 1px solid black;
          }

        table, th, td {
            user-select: none;
        }

        th:nth-child(1) { width: 14%; } 
        th:nth-child(2) { width: 12%; }
        th:nth-child(3) { width: 12%; }
        th:nth-child(4) { width: 12%; } 
        th:nth-child(5) { width: 14%; } 
        th:nth-child(6) { width: 36px; }

        /* message box */
        .msg {
            padding: 3px;
            text-align: center;
            color: #323232;
        }

        .message {
            padding: 30px;
            border: 1px solid #ddd;
            text-align: left;
            border-radius: 5px;
            margin-top: 10px;
        }

        /* Button */
        .btn {
            padding: 1px 2px;
            border: none;
            background-color: #007bff;
            color: white;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .btn:hover {
            background-color: #0056b3;
        }
        .btn-next {
            text-align: center;
        }

        .ss {
            text-decoration: line-through;
        }
        .st {
            opacity: 0;
        }

        /* Footer */
        .footer {
            max-width: 1200px;
        	margin: 0 auto;
            background-color: rgba(255, 255, 255, 0);
            color: black;
            padding: 0px 0;
            text-align: center;
        }
        
        /*Fade-up */
        .fade-up {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); 
        }
        
        .fade-up.show {
            opacity: 1;
            transform: translateY(0);
        } 
        
        body {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        #desktop-message {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        @media screen and (max-width: 768px) {
        #desktop-message {
              display: none;
            }
          .nav-menu {
              display: none;
            }
          .hamburger {
              display: flex;
            }
        }

        @media (min-width: 768px) {
        #desktop-message {
              display: block;
            }
          .nav-wrapper, .sidebar-menu, .main-list, .main-next, .footer, .btn-next, .msg {
              display: none;
            }
        #desktop-message {
              display: block;
            }
        }