html{height:100%;margin:0;padding:0}body{box-sizing:border-box;max-width:780px;margin:0 auto;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;background:#f6f6f6;min-height:100%;display:flex;flex-direction:column}.app-container{display:flex;flex-direction:column;min-height:100vh;width:100%}.content-wrapper{flex:1 0 auto}.header-info{display:flex;justify-content:space-between;position:fixed;margin-top:0;margin-left:0;margin-right:0;z-index:1000;padding:5px 15px}.main-content{padding-bottom:20px;padding-top:50px}.navbar-wrapper{position:fixed;margin-top:10px;margin-left:10px;z-index:1001}.header-link{text-decoration:none}.logo-container{display:flex;justify-content:flex-end;position:fixed;top:10px;right:16px;z-index:1001}.nc-news-logo{height:40px;width:auto;margin-top:10px}.app{outline:2px solid black;text-decoration:none}.footer-container{display:flex;justify-content:space-evenly;padding:10px;margin-top:5px;margin-bottom:5px;background:#e8e8e8;bottom:0;width:100%;z-index:100;box-shadow:0 -2px 5px #0000001a}.footer-links{text-decoration:none;color:#000;padding:5px 0}.button-basic{outline:2px solid rgb(255,8,70)}.buttons-and-links{padding:10px 20px;background-color:#2b2b2b;color:#fff;border:none;cursor:pointer;font-size:10px;border-radius:5px;text-decoration:none}.article-meta-data-container{display:flex;gap:5px;margin-bottom:10px;margin-top:10px;justify-content:center}.article-header{display:flex;justify-content:center;font-size:20px;text-align:center}.article-details{justify-content:center;max-height:300px}.article-title-link{text-decoration:none;color:inherit}.article-image-single{border-radius:10px;height:280px;width:90%;object-fit:cover;display:block;margin:0 auto 10px}.article-topic-button{margin:5px;background:#dbe28c;color:#202020;padding:5px;border-radius:5px;width:auto}.body-container{display:flex;gap:15px;width:90%;max-width:800px;margin:15px auto;align-items:flex-start}.body-container>*:first-child{flex:1}.body-container>*:last-child{flex:4}.vote-section{display:flex;flex-direction:column;gap:5px;margin:0 auto;align-items:center}.article-body{text-align:left;margin-top:0}.comment-container{display:flex;margin:0 auto;flex-direction:column;width:90%}.comment-intro{display:flex;justify-content:space-between;margin-bottom:10px}.add-comment-button{background:#9d9dff;color:#fff;border:none;padding:5px 7px;border-radius:5px;font-size:11px;align-self:center;cursor:pointer}.comment-header{text-align:left;align-self:center;margin-top:3px;margin-bottom:3px}.comment-card{background:#fff;border-radius:10px;border:3px solid rgb(255,255,255);margin-bottom:10px}.comment-body{text-align:left;margin-block-end:0px;padding:10px;margin-top:0}.comment-details{font-size:small;text-align:left;display:flex;justify-content:flex-start;align-items:center;margin-left:20px}.comment-details p{margin-top:0}.delete-button{width:5%;align-self:center;margin-bottom:8px;margin-left:10px}.author-on-comment{margin-left:auto;align-self:center;margin-right:20px}.comment-vote-button{background:#d6ebff;margin-left:10px;margin-bottom:8px;height:20px;align-self:center;border-radius:5px;border:2px solid rgb(184,211,236)}.vote-count{display:inline-block;padding:3px;margin-block-start:0px;margin-block-end:0px;white-space:nowrap;font-weight:700;text-align:center}.upvote-button{background:#a9ffa9;border:2.5px solid rgb(99,153,99);border-radius:4px;padding-top:.5em;padding-bottom:.5em;font-size:80%;font-weight:400;width:50px;display:inline-block}.downvote-button{background:#fd8a9f;border:2.5px solid rgb(189,41,68);border-radius:4px;padding-top:.5em;padding-bottom:.5em;font-size:80%;font-weight:400;width:50px}.new-comment-input{display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(1,1fr);height:3em;margin-bottom:10px}.form-input{grid-row:1/1;grid-column:1/6;margin-right:5px;background:#eee;border-radius:10px;border:3px solid rgb(157,157,255)}.form-label{grid-row:1/1;text-align:left;align-self:center;font-weight:700;font-size:12px}.form-button{grid-row:1/1;grid-column:6/6;background:#6b6b6b;border-radius:10px;border:3px solid rgb(60,60,60);color:#fff;font-size:12px;cursor:pointer}.modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#9d9dff;width:300px;height:auto;padding:20px;border-radius:8px;box-shadow:0 4px 10px #0000004d;text-align:center;display:flex;flex-direction:column;align-items:center;z-index:1000}.modal p{font-size:larger}.close{cursor:pointer;margin-left:90%;font-size:15px;background:none;border:none}.pop-up-button{margin:10px;padding:8px 12px;border:none;background:#fff;cursor:pointer;border-radius:5px;width:80px}.popup-overlay{position:fixed!important;top:0;left:0;width:100vw;height:100vh;background:#0003;z-index:999}.popup-content{z-index:1001!important}.modal-message{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#efefff;border:4px solid rgb(113,113,255);width:200px;height:auto;padding:10px;border-radius:8px;box-shadow:0 4px 10px #0000004d;text-align:center;display:flex;flex-direction:column;align-items:center;z-index:1000}.modal-message p{margin-top:0;margin-bottom:3px}.modal-message button{cursor:pointer;font-size:15px;background:none;border:none;margin-left:0}.sort-option{display:block;width:100%;padding:.2rem 1rem;clear:both;font-weight:400;color:#2c2c2c;text-align:left;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:.375rem}.sort-menu{z-index:1000;min-width:7rem;padding:.5rem 0rem;font-size:1rem;background-color:#fff;border-radius:.375rem;box-shadow:0 4px 10px #0000004d}.sort-by-button{padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#fff;background:#0d6efd;display:inline-block;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer}.feed-button-container{display:flex;justify-content:center;align-items:center}.user-profile-header{text-align:left}.profile-picture{width:150px}.user-names{display:flex;gap:10px}.user-names h4{margin:0}.page-title{text-align:center}.new-article-form{background:#c3c3ff;padding:50px;border-radius:5px;box-shadow:0 4px 10px #0000004d;display:flex;flex-direction:column;gap:15px}.form-labels{font-size:15px;font-weight:700;margin-bottom:5px;display:inline-block;width:150px}.form-row{display:flex;align-items:center;gap:10px}.article-input{width:100%;padding:8px;border-radius:5px}.topic-input{display:flex;flex-direction:column;gap:10px;margin-left:0}textarea.article-input{height:100px}button.buttons-and-links{padding:10px 20px;background-color:#2b2b2b;color:#fff;border:none;cursor:pointer;font-size:10px}button.buttons-and-links:disabled{background-color:#ccc;cursor:not-allowed}ul{list-style-type:none;padding:0;margin:0}ul li{display:flex;align-items:center;gap:10px}input[type=radio]{margin-left:0}ul li label{font-size:14px}em{color:red;font-weight:700}.welcome-grid{display:flex;justify-content:center;flex-direction:column}.welcome-grid a{margin:10px;font-size:15px}.page-bar{display:flex;justify-content:center;gap:1rem;margin:.5rem 0}.pagination-button{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background-color:#2563eb;color:#fff;border:none;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.article-card{width:100%;max-width:600px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 6px #0000001a;transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;margin-bottom:24px}.article-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px #0000001a}.article-image{width:100%;height:200px;overflow:hidden}.thumbnail{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.article-card:hover .article-image img.thumbnail{transform:scale(1.05)}.article-content{padding:20px;display:flex;flex-direction:column;gap:8px}.topic-button{display:inline-block;background:#f3f4f6;color:#4b5563;font-size:12px;font-weight:600;padding:4px 10px;border-radius:16px;text-decoration:none;text-transform:capitalize;align-self:flex-start;transition:background-color .2s ease}.topic-button:hover{background:#e5e7eb}.article-title{margin:8px 0;font-size:20px;font-weight:700;line-height:1.3}.article-title-link{color:#1f2937;text-decoration:none;transition:color .2s ease}.article-title-link:hover{color:#4b5563}.article-description{color:#6b7280;font-size:14px;line-height:1.5;margin:0 0 16px}.article-meta{display:flex;align-items:center;gap:16px;margin-bottom:8px}.author-button{color:#466a9c;font-size:14px;font-weight:600;text-decoration:none;transition:color .2s ease}.author-button:hover{color:#1f2937}.article-date{color:#8e9cb0;font-size:14px}.article-interactions{display:flex;gap:12px;justify-content:center}.votes-button,.comment-button{display:flex;align-items:center;gap:6px;background:transparent;border:none;padding:6px 8px;border-radius:6px;font-size:14px;color:#6b7280;cursor:pointer;transition:background-color .2s ease,color .2s ease;text-decoration:none}.votes-button:hover,.comment-button:hover{background:#f3f4f6;color:#4b5563}.interaction-icon{font-size:16px}@media (max-width: 640px){.article-card{width:100%}.article-image{height:180px}.article-title{font-size:18px}.article-content{padding:16px}}.article-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;padding:24px;max-width:1200px;margin:0 auto}.article-list{padding:0 24px 24px;max-width:1400px;margin:0 auto}.article-list h2{font-size:24px;font-weight:700;color:#1f2937;margin-bottom:24px;margin-top:15px;text-align:center}.feed-button-container{display:flex;gap:8px;flex-direction:row;justify-content:center}@media (max-width: 768px){.article-gallery{grid-template-columns:1fr;padding:0 16px 16px}.article-card{max-width:100%}.article-image{height:180px}.article-title{font-size:18px}.article-content{padding:16px}.feed-button-container{flex-direction:row;align-items:center}}.toggle-switch{position:relative;width:85px;display:inline-block;vertical-align:middle;text-align:left;margin-right:0}.toggle-switch-checkbox{display:none}.toggle-switch-label{display:block;overflow:hidden;cursor:pointer;border:0 solid #bbb;border-radius:20px;margin:0}.toggle-switch-inner{display:block;width:200%;margin-left:-100%;transition:margin .3s ease-in 0s}.toggle-switch-inner:before,.toggle-switch-inner:after{display:block;float:left;width:50%;height:34px;padding:0;line-height:34px;font-size:14px;color:#fff;font-weight:700;box-sizing:border-box}.toggle-switch-inner:before{content:"Asc";text-transform:uppercase;padding-left:10px;background-color:#9ed467;color:#fff}.toggle-switch-disabled{background-color:#ddd;cursor:not-allowed}.toggle-switch-disabled:before{background-color:#ddd;cursor:not-allowed}.toggle-switch-inner:after{content:"Desc";text-transform:uppercase;padding-right:10px;background-color:#60a8df;color:#fff;text-align:right}.toggle-switch-switch{display:block;width:24px;height:24px;margin:5px;background:#fff;position:absolute;top:0;bottom:0;right:50px;border:0 solid #bbb;border-radius:20px;transition:all .3s ease-in 0s}.toggle-switch-checkbox:checked+.toggle-switch-label .toggle-switch-inner{margin-left:0}.toggle-switch-checkbox:checked+.toggle-switch-label .toggle-switch-switch{right:0}.toggle-switch.small-switch{width:40px}.toggle-switch.small-switch .toggle-switch-inner:after,.toggle-switch.small-switch .toggle-switch-inner:before{content:"";height:20px;line-height:20px}.toggle-switch.small-switch .toggle-switch-switch{width:16px;right:20px;margin:2px}@media screen and (max-width: 991px){.toggle-switch{transform:scale(.9)}}@media screen and (max-width: 767px){.toggle-switch{transform:scale(.825)}}@media screen and (max-width: 575px){.toggle-switch{transform:scale(.6)}}.bm-burger-button{position:fixed;width:25px;height:25px;left:15px;margin-top:15px}.bm-burger-bars{background:#1f1f1f;padding:0pxrgb(27,27,27)}.bm-burger-bars-hover{background:#2563eb}.bm-cross-button{height:24px;width:24px}.bm-cross{background:#bdc3c7}.bm-menu-wrap{position:fixed;height:100%;left:0;top:0;margin-left:0;width:50%}.bm-menu{background:#3956d9;padding:2.5em 1.5em 0;font-size:1.15em}.bm-morph-shape{fill:#373a47}.bm-item-list{color:#b8b7ad;padding:.8em}.bm-item{display:inline-block;color:#d1d1d1;margin-bottom:10px;text-align:left;text-decoration:none;transition:color .2s}.bm-item:hover{color:#fff}.bm-overlay{position:fixed;top:0;left:0;background:#fff3}.topic-card{width:100%;max-width:600px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 6px #0000001a;transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;margin-bottom:24px}.topic-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px #0000001a}.topic-image{width:100%;height:200px;overflow:hidden}.topic-image .thumbnail{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.topic-card:hover .topic-image .thumbnail{transform:scale(1.05)}.topic-content{padding:20px;display:flex;flex-direction:column;gap:12px}.topic-title{margin:0;font-size:24px;font-weight:700;color:#1f2937;line-height:1.3}.topic-description{color:#6b7280;font-size:14px;line-height:1.5;margin:0}.topic-action{margin-top:8px;display:flex;justify-content:center}.topic-button{display:inline-block;background:#333;color:#fff;font-size:12px;font-weight:400;padding:8px 16px;border-radius:6px;text-decoration:none;transition:background-color .2s ease}.topic-button:hover{background:#404040}@media (max-width: 768px){.topic-card{max-width:100%}.topic-image{height:180px}.topic-title{font-size:20px}.topic-content{padding:16px}}.topics-page{max-width:1200px;margin:0 auto;padding:24px}.topics-header{margin-bottom:32px;display:flex;flex-direction:column;align-items:center}.topics-header h2{font-size:32px;font-weight:700;color:#1f2937;margin:0 0 24px}.topic-actions{display:flex;gap:12px;justify-content:flex-start;align-items:center}.action-button{display:inline-block;background:#343434;color:#fff;font-size:12px;font-weight:500;padding:8px 16px;border-radius:6px;text-decoration:none;transition:background-color .2s ease;border:none;cursor:pointer}.action-button:hover{background:#404040}.topics-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}@media (max-width: 768px){.topics-page{padding:16px}.topics-header h2{font-size:24px;margin-bottom:16px}.topics-gallery{grid-template-columns:.7fr;justify-content:center}}.new-article-form{background-color:#fff;padding:2rem;border-radius:16px;box-shadow:0 8px 30px #00000014;display:flex;flex-direction:column;gap:1.25rem;max-width:500px;margin:2rem auto}.form-labels{font-size:.9rem;font-weight:500;color:#333;margin-bottom:.5rem;display:block}h4.form-labels{margin-top:0;margin-bottom:.5rem;font-size:.9rem}.article-input{width:96%;padding:.75rem;border:none;border-radius:8px;background-color:#f5f5f5;font-size:.9rem;transition:all .2s ease}.article-input:focus{outline:none;box-shadow:0 0 0 2px #3b82f64d}.article-input::placeholder,.article-input option{font-family:Roboto Mono,Roboto,monospace;font-size:10px}textarea.article-input{min-height:120px;resize:vertical}.select-container{position:relative}.select-container select,.select-container select option{font-family:Roboto Mono,Roboto,monospace;font-size:10px;color:#787878}.select-container select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;padding:.75rem;border:none;border-radius:8px;background-color:#f5f5f5;font-size:.85rem;cursor:pointer}.select-container:after{content:"";position:absolute;right:12px;top:50%;transform:translateY(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #666;pointer-events:none}.topics-container{margin-bottom:.5rem}.topics-list{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}.topic-item{display:flex;align-items:center;gap:.5rem}.topic-input{font-size:.85rem;color:#555}.submit-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background-color:#0e78f9;color:#fff;border:none;border-radius:25px;padding:.75rem 1.5rem;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease;width:fit-content;align-self:flex-start;margin-top:.5rem}.submit-button:hover{background-color:#0961d3}.submit-button:disabled{background-color:#b3d1fd;cursor:not-allowed}.arrow-icon{display:inline-block}.success-message{color:#16a34a;font-weight:500;margin-top:1rem}.error-message{color:#dc2626;font-weight:500;margin-bottom:.5rem}@media (max-width: 640px){.new-article-form{padding:1.5rem;margin:1rem}}.profile-container{max-width:600px;margin:40px auto;padding:0 20px;position:relative}.profile-image-container{width:120px;height:120px;margin:0 auto -60px;position:relative;z-index:2;background:#fff;border-radius:50%}.profile-image{width:100%;height:100%;border-radius:50%;object-fit:cover;border:4px solid white;box-shadow:0 4px 6px #0000001a;background:#fff}.profile-card{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;padding:80px 24px 24px;text-align:center;width:70%;margin:0 auto}.profile-content{max-width:400px;margin:0 auto}.profile-name{margin:0;font-size:24px;font-weight:700;color:#1f2937}.profile-username{margin:8px 0 20px;font-size:16px;color:#6b7280}.profile-actions{margin-top:24px}.profile-button{display:inline-block;background:#2b2b2b;color:#fff;font-size:14px;font-weight:500;padding:10px 20px;border-radius:6px;text-decoration:none;transition:background-color .2s ease}.profile-button:hover{background:#404040}.loading-container,.error-container{display:flex;justify-content:center;align-items:center;min-height:200px;font-size:18px;color:#6b7280}@media (max-width: 560px){.profile-container{margin:20px auto;max-width:370px}.profile-image-container{width:100px;height:100px;margin-bottom:-40px}.profile-card{padding:60px 16px 16px;max-width:370px;margin:0 auto}.profile-name{font-size:20px}.profile-username{font-size:14px}}
