/*regular text (body, p, b, h*) styles*/ * { margin: 0px; font-family: system-ui; transition: 0.2s; } b { color: #ff6200 } a { color: #007AFF } body { background-color: #ddd; color: #222; } p { font-size: 20px; padding-left: 20px; padding-right: 20px; } h1 { font-size: 40px; font-weight: 750; padding-top: 0px; padding-bottom: 0px; padding-left: 20px; padding-right: 20px; } h2 { font-size: 30px; font-weight: 400; padding-top: 0px; padding-bottom: 0px; padding-left: 20px; padding-right: 20px; } h3 { font-size: 25px; font-weight: 400; padding-top: 0px; padding-bottom: 0px; padding-left: 20px; padding-right: 20px; } /* regular text (body, p, b, h*) styles*/ .contentPush{ height: 65px; } /* Bar styling*/ .bar { width: 100%; position: fixed; list-style-type: none; padding: 0; overflow: hidden; background-color: rgba(255, 255, 255, 0.25); list-style-type: none; -webkit-backdrop-filter: blur(2.5px); -moz-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px); -webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25); box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25); } .barItem { float: left; text-align: center; } .barItem * { color: #222; text-decoration: none; display: block; font-size: 16px; padding: 12px; } .barItem h1 { } .barItem a:hover { background-color: #111; color: #eee; font-weight: 1000; -webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25); box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.25); } .bar:has(#barItem1:hover) #barItem2 { } /* Bar styling*/ @media (prefers-color-scheme: dark) { body { background-color: #222; color: #ddd; } .bar { background-color: rgba(0, 0, 0, 0.25); -webkit-box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25); -moz-box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25); box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25); } .barItem * { color: #ddd; } .barItem a:hover { background-color: #eee; color: #111; -webkit-box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25); -moz-box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25); box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.25); } } @media screen and (max-width: 600px) { img { width: 100%; } p { width: 100%; } } /* flexbox waffle */ .flexContainer { height: 300px; display: flex; } .flexItem { margin: 10px; background: orangered; color: white; flex-grow: 1; background: purple; }