make a compile css from this full css : .jss29.flex-center { display: none; } .tab-container { width: 100%; overflow-x: auto; white-space: nowrap; overflow-y: hidden; background-color: #f0f0f0; } /* Hide scrollbar for Chrome, Safari and Opera */ .tab-container::-webkit-scrollbar { display: none; width: 100%; } /* Hide scrollbar for IE, Edge and Firefox */ .tab-container { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } .tab { display: inline-block; padding: 10px 20px; background-color: #f0f0f0; border: 1px solid #ccc; cursor: pointer; transition: background-color 0.3s; } .tab.active { background-color: #1fffa4; } .tab-content { display: none; padding: 20px; width:100% ! important; } .tab-content.active { display: block; } /* Style for filled fields */ input:valid, select:valid { background-color: green; color: white; } img { max-width: 99% ! important; } /* Style for unfilled fields */ input:invalid, select:invalid { background-color: red; color: #fff; } /* Style for background overlay */ #overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 128, 0, 0.3); /* Greenwich with opacity 30% */ z-index: 9999; display: none; } #copyButton { display: block; margin: 0 auto; background-color: green; color: white; font-weight: bold; border-radius: 5px; padding: 10px 20px; border: none; cursor: pointer; } select, input { border-radius: 5px; padding: 5px; font-size: 100%; } a { text-decoration: none; color: #294ee2; } #lanlongbtn { width: auto; padding: 7px; font-size: 14px; border: none; border-radius: 10px; background-color: #007bff; color: white; cursor: pointer; outline: none; margin: 5px 0 15px 0; } button:hover { background-color: #0056b3; } #refreshButton { width: 90px ! important; position: fixed; bottom: 15px; right: 15px; padding: 3px; margin: 0; } table { width: 100%; max-width: 100%; /* Ensures table does not exceed device width */ border-collapse: collapse; word-wrap: break-word; } th, td { text-align: left; padding: 3px; word-wrap: break-word; max-width: 33%; } th { background-color: #f2f2f2; } tr:nth-child(even) { background-color: #f9f9f9; } @media screen and (max-width: 600px) { table { font-size: 12px; width: 97%; } } .scroll_container { width: 100%; overflow-x: auto; } td{ padding:2px; margin:0; max-width: 100px; /* Adjust this value as needed */ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } td:nth-child(1), td:nth-child(7) { width: auto; } .reset-button { margin: 10px 0; padding: 10px 20px; background-color: #ff4d4d; color: white; border: none; cursor: pointer; font-size: 16px; } .hidden { display: none; } /* General Reset and Box Model */ /* Container Styling */ div#quizContainer { max-width: 800px; /* width: 100%; */ margin: 0 auto; padding: 20px; background-color: #f4f7fc; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); font-family: 'Arial', sans-serif; flex-wrap: wrap; justify-content: space-between; gap: 15px; } label { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 5px; display: block; } select { /* width: 100%; */ padding: 10px 15px; border-radius: 5px; border: 1px solid #ccc; font-size: 16px; background-color: #fff; color: #333; transition: all 0.3s ease; } select:focus { border-color: #6c63ff; outline: none; box-shadow: 0 0 8px rgba(108, 99, 255, 0.2); } button { padding: 12px 25px; font-size: 16px; background-color: #6c63ff; color: white; border: none; border-radius: 30px; cursor: pointer; transition: all 0.3s ease; /* width: 100%; */ max-width: 200px; margin-top: 15px; } button:hover { background-color: #2196F3; transform: translateY(-3px); } button:active { transform: translateY(1px); } /* Responsive Styles */ .correct { background-color: lightgreen; } .incorrect { background-color: lightcoral; } /* Centering the Button */ .button-container { width: 100%; display: flex; justify-content: center; margin-top: 5px; } /*extra css*/ /* Quiz Container */ #quizContainer { text-align: center; /* display: flex; */ flex-direction: column; gap: 20px; } /* Question Styling */ #questionText { font-size: 24px; font-weight: bold; color: red; margin-bottom: 20px; } /* Options Container (2x2 Grid Layout) */ #optionsContainer { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } /* Option Button Styling */ #optionsContainer button { padding: 15px; font-size: 16px; color: white; border: none; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; } #optionsContainer button:hover { background-color: #5749f0; transform: translateY(-3px); } #optionsContainer button:active { transform: translateY(1px); } /* Explanation Text */ #explanationText { /*border: 1px solid #ccc;*/ border-radius: 8px; color: blue; padding: 15px; font-size: 16px; color: #555; margin-top: 20px; /* display: none; */ } /* Next Question Button Styling */ #quizContainer .next-button { padding: 12px 25px; font-size: 16px; background-color: #ff6347; /* Changed button color (Tomato) */ color: white; border: none; border-radius: 30px; cursor: pointer; transition: all 0.3s ease; width: auto; margin-top: 20px; align-self: center; /* Centering the button */ } #quizContainer .next-button:hover { background-color: #e5533f; /* Darker shade on hover */ transform: translateY(-3px); } #quizContainer .next-button:active { transform: translateY(1px); } /* Responsive Styles */ @media screen and (max-width: 768px) { #optionsContainer { grid-template-columns: 1fr; /* Stack options in a single column */ } #optionsContainer button { width: 100%; /* Make the option buttons full width */ } #questionText { font-size: 20px; /* Slightly smaller font size for mobile */ } #quizContainer { padding: 15px; /* Reduce padding for smaller screens */ } /* Next Question Button (on small screens) */ #quizContainer .next-button { width: 100%; /* Full width on small screens */ max-width: 300px; /* Limit the max-width */ margin-top: 20px; } } /*other extra part*/ /* Dropdown Button Styling */ button#toggleButton { margin: 0; width: auto; border-radius: 5px; padding: 0 10px; font-size: 16px; background-color: #6c63ff; color: white; border: none; /* border-radius: 30px; */ cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; /* margin-top: 20px; */ } #toggleButton:hover { background-color: #2196F3; transform: translateY(-3px); } #toggleButton:active { transform: translateY(1px); } /* Smooth Hide/Show Dropdown Container */ #dropdownContainer { height: auto; transition: height 0.5s ease-in-out, visibility 0s linear 0.5s; /* Added transition on visibility */ overflow: hidden; } /* Hidden Dropdown */ #dropdownContainer.hidden { height: 0; display: none; } /* Parent Container for Centering the Button */ #buttonContainer { display: flex; /* Use Flexbox */ justify-content: center; /* Center horizontally */ align-items: center; /* Center vertically */ width: 100%; /* Full width of the page or container */ position: relative; /* Ensures flexbox works within this container */ } /* Optional: Icon transition when menu is shown */ #toggleButton i { transition: transform 0.3s ease; } /*More more extra css*/ .my-options { padding: 12px 25px; font-size: 16px; border: none; border-radius: 15px; cursor: pointer; transition: all 0.3s ease; /* width: 100%; */ /* max-width: 200px; */ margin-top: 15px; border: 1px solid #ccc; } button#nextquestionbutton, button#prevquestionbutton button#shownowbtn { max-width: fit-content; } /* Checkbox css */ #modeToggleContainer { display: flex; position: fixed; margin: 5px 10px; bottom: 0; text-align: center; } #modeToggle { margin-right: 5px; transform: scale(1.2); /* Optional: makes the checkbox slightly larger */ } #modeLabel { margin: 5px; font-size: 15px; font-weight: bold; color: #333; } label { font-size: 16px; margin-bottom: 8px; display: block; } select, input[type="number"], button { padding: 8px; margin-bottom: 15px; font-size: 16px; width: 200px; } button { cursor: pointer; background-color: #4CAF50; color: white; border: none; } .output { margin-top: 20px; } .output div { font-size: 18px; } *, *::before, *::after { padding: 0; margin: 0; box-sizing: border-box; list-style: none; text-decoration: none; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } body { font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; font-size: 1rem; font-weight: normal; line-height: 1.5; color: #252a32; background: #ffffff; } .container { max-width: 80rem; width: 100%; padding: 4rem 2rem; margin: 0 auto; } .main .container { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 1rem; justify-content: center; align-items: center; } .main .card { color: #252a32; border-radius: 2px; background: #ffffff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24); } .main .card-image { position: relative; display: block; width: 100%; padding-top: 70%; background: #ffffff; } .main .card-image img { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } @media only screen and (max-width: 600px) { .main .container { display: grid; grid-template-columns: 1fr; grid-gap: 1rem; } } li.boldendate { font-weight: bold; color: #06afa5; } table#workcalender { overflow-x: scroll; } th select { width: 100%; } canvas { margin: 20px auto; display: block; } .scrollable-container { overflow-x: auto; } #pr_barChart { width: 96%; } #pr_sansadPieChart, #pr_ownershipPieChart, #pr_kindPieChart { width: 300px; height: 300px; } table { width: 100%; border-collapse: collapse; } th, td { border: 1px solid black; padding: 8px; text-align: left; } th { background-color: #f2f2f2; } td.balance { color: darkgreen; } td.expense { font-weight: bold; color: red; } table#myTable { margin: 0 auto; max-width: 500px; }