:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{box-sizing:border-box}body,#root{height:100%;width:100%;margin:0;padding:0;display:block;background-color:#000}.home-bar{background-color:#ff4500;width:100%;padding:1rem;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center}#logo{height:auto;width:6rem}.home-list{display:flex;flex-direction:column;align-items:center;width:auto;flex-wrap:wrap;border:2px solid white;border-radius:10px}legend{color:#fff;font-weight:700}.navlinks{display:flex;justify-content:space-between;align-items:center;width:auto;flex-wrap:wrap}.activeNavLink{background-color:#000;color:#fff;width:6rem;margin:1rem;border-radius:10px;padding:1rem;text-align:center;font-size:1rem}.inactiveNavLink{background-color:#fff;color:#000;width:6rem;margin:1rem;border-radius:10px;padding:1rem;text-align:center;font-size:1rem}#search{height:2rem;margin-right:.5rem}#search-button{background-color:#000;color:#fff}#subreddit-list{display:flex;flex-wrap:wrap;margin:4rem;justify-content:space-between}.subreddit{border:1px solid black;background-color:#ffe5d4;border-radius:10px;min-width:300px;padding:.5rem;margin:1rem 0;flex:0 .1 20%}.subreddit:hover{cursor:pointer}.subreddit-header{display:flex;justify-content:space-between;flex-wrap:wrap}.subreddit-icon{width:5rem;height:auto}.subreddit-name{font-weight:700;font-size:1.5rem;width:100%;word-break:break-word}#post-list{display:flex;flex-direction:column;align-items:stretch}.post{background-color:#ffe5d4;border-radius:10px;padding:1rem;margin:1rem;display:flex;flex-wrap:wrap;justify-content:left;overflow:hidden}.post-content:hover{cursor:pointer}.title{font-size:1.25rem}.post-media{margin-right:2rem;width:480px;height:270px}.post-img{width:100%;height:100%;object-fit:contain}.post-content{min-width:400px;flex:1 1 auto;display:flex;flex-direction:column;justify-content:space-between}.post-bottom{display:flex;flex-wrap:wrap;justify-content:space-between}.score{display:inline-flex;justify-content:space-between;align-items:center}.score img{height:auto;width:3rem;margin-right:1rem}#commented-post{background-color:#ffe5d4;border-radius:10px;padding:1rem;margin:0;display:flex;flex-direction:column;align-items:center;width:100%;color:#000}.commented-post-media{margin-bottom:1rem;width:640px;height:360px}.text{font-size:1rem;word-break:break-word}.post-link{background-color:#000;color:#fff;border-radius:10px;padding:.5rem}.commented-post-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}h1{text-align:center;font-size:3rem}h3{font-weight:900}.stars{display:inline-flex;justify-content:space-between;align-items:center}.stars img{height:auto;width:1.5rem;margin-right:1rem}#comments{text-align:left;margin-left:1rem;margin-right:1rem;width:100%;word-break:break-word}.comment{width:100%}.info{color:#fff;font-size:1.5rem}.link{font-size:1.5rem;width:100%;word-break:break-word;text-align:center}.button-active{background-color:#000;color:#fff;width:8rem;margin:1rem;border-radius:10px;padding:1rem;text-align:center;font-size:1rem;border:3px solid white}.button-inactive{background-color:#fff;color:#000;width:8rem;margin:1rem;border-radius:10px;padding:1rem;text-align:center;font-size:1rem}.post-link{margin-bottom:2rem}a:hover{color:#ff4500}@media only screen and (max-width: 760px){.home-bar{justify-content:center;align-items:center;gap:2rem}.activeNavLink{color:#fff;width:5rem;margin:.5rem;padding:.5rem}.inactiveNavLink{color:#000;width:5rem;margin:.5rem;padding:.5rem}#search{background-color:#fff;color:#000}#subreddit-list{justify-content:center;margin:2rem}.subreddit{flex:0 .1 100%;color:#000;min-width:0px}.post{align-items:stretch;flex-direction:column;color:#000}.title{font-size:1.5rem}.post-media{width:240px;height:135px;margin-right:0;align-self:center}.post-content{width:100%;min-width:0;overflow:hidden}.post-bottom{flex-direction:column;justify-content:left}.score{justify-content:left}.commented-post-media{width:240px;height:135px;align-self:center}h1{font-size:2rem}.show-buttons{width:100%;display:flex;flex-wrap:wrap;justify-content:space-around}}
