@charset "utf-8"; /* CSS Document */ * { box-sizing: border-box; } body { margin: 0; font-family: 'proxima-nova', Arial, Helvetica, sans-serif; } /* Background container with school colors */ .background-container { background: linear-gradient(to right, #007A5E, #B2E0D0); width: 100%; padding: 40px 0; margin-bottom: 30px; margin-top: -30px; } /* Outer container with glass effect */ .outer-container { display: flex; justify-content: center; align-items: center; background: rgba(255, 255, 255, 0.1); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); backdrop-filter: blur(10px); border-radius: 15px; padding: 20px; width: 95%; max-width: 700px; margin: 0 auto; border: 1px solid rgba(255, 255, 255, 0.18); } /* Inner container */ .inner-container { background-color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); padding: 25px; width: 100%; border-radius: 8px; } /* Header for the text */ .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: #51525C; flex-wrap: wrap; } .goal { font-size: 20px; font-weight: bold; display: block; text-align: right; margin-top: 10px; } /* Thermometer container */ .thermometer { background-color: #F4F4F5; border-radius: 25px; height: 35px; width: 100%; position: relative; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1); overflow: hidden; margin: 20px 0; } /* Thermometer fill */ .fill { background: linear-gradient(to bottom, #F3C34ED4, #F7D491, #E0A73A); height: 100%; width: 98%; border-radius: 25px 0 0 25px; box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.2); } /* Responsive Design */ /* Mobile phones (320px to 480px) */ @media (max-width: 480px) { .outer-container { width: 100%; padding: 10px; } .header { display: block; text-align: center; } .goal { font-size: 20px; text-align: center; margin-top: 10px; } .thermometer { width: 80%; margin: 20px auto; } } /* Tablets (481px to 768px) */ @media (min-width: 481px) and (max-width: 768px) { .outer-container { width: 98%; max-width: 600px; padding: 15px; } .goal { font-size: 22px; } .thermometer { height: 30px; } } /* Small laptops (769px to 1024px) */ @media (min-width: 769px) and (max-width: 1024px) { .outer-container { width: 95%; max-width: 700px; padding: 20px; } .amount-raised { font-size: 35px; } .goal { font-size: 22px; } .thermometer { height: 35px; } }