body {
    display: flex;
    flex-direction: column;
    align-items: center; 
    min-height: 100vh; 
    margin: 0; 
    background-color: #D1F1F6;
    font-family: Arial, sans-serif;
    overflow-y: auto;
}

a {
    display: contents;
}

.header {
    width: 100vw;
    min-height: 8vh;
    padding: 1vh 1vw;
    background-color: #36498A; 
    color: white; 
    top: 0; 
    left: 0;
    position: sticky;
    z-index: 1000;
}

.naver {
    width: 100vw;
    background-color: #82C4FA; 
    color: white; 
    top: 10.7vh;  
    left: 0;
    position: sticky;
    z-index: 999;  
    display: flex; 
    align-items: center;  
    justify-content: center;
    flex-direction: column; 
    padding: 0 0;
    min-height: 3vh;
}

.nav-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    display: none; 
    cursor: pointer;
    margin-bottom: 5px;
}

.choker {
    width: 100vw;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
}

.naver a {
    flex: 1;
    height: 3vh;
    text-align: center;
    background-color: #36498A;
    color: white;
    text-decoration: none;
    margin: 0px 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.naver a:hover {
    background-color: #2A3D70;
    transform: translateY(-3px); 
    transform: translateX(-1px); 
    box-shadow: 0 0px 5px rgba(0, 0, 0, 1); 
}

.wrapper {
    width: 50vw;
    margin: 0 auto 0 auto;
	margin-top: 1vh;
    background-color: #000000;
	color: white;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
	text-align:center;
}

.articleTitle {
    flex: 1 0 20%;
    background-color: #82C4FA;
	color: black;
	padding: 10px;
	position: relative;
}

.articleTitle H1{
    font-size: 28px;
}

.articleTitle H2{
    font-size: 24px;
}

.articleTitle H3{
    font-size: 20px;
}

.articleText {
    flex: 1 0 20%;
    background-color: white;
	color: black;
	padding: 10px;
	position: relative;
}

.articleText H1{
   color: #050505; 
   font-size: 22px;
}

.articleText H2{
   font-size: 20px;
}

.articleText H3{
   font-size: 18px;
}

.articleText p{
    font-size: 18px;
	text-align: left;
}

.articleText a{
    font-size: 18px;
}

.topRow {
	border: 1px solid black;
	padding: 5px;
	font-size: 14px;
	font-weight: bold;
}

.articleText td{
	border: 1px solid black;
	padding: 10px;
}

.articleText table {
    border-collapse: collapse;
    width: 49vw;
    margin: 0 auto;        
    table-layout: fixed;   
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden;
  }
  
.articleText table th,
.articleText table td {
    border: 1px solid #ccc;  
    padding: 8px;          
}

.pressWrapper {
    width: 50vw;
    margin: 0 auto;
    margin-top: 1vh;
    color: black;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
    padding: 20px; /* Add padding to the wrapper */
    box-sizing: border-box; /* Ensure padding is included in width */
}

.pressTitle {
    align-items: flex-start;
}

.pressTitle, .pressText {
    padding: 10px; /* Add padding to child elements */
}

.pressTitle::after {
    content: "";
    display: table;
    clear: both;
}

.pressTitle img {
    height: 5vh;
    float: left;
}

.pressText img {
    width: 90%;
    display: block;
    margin: 0 auto;
}

.highlight {
    background-color: yellow; 
	font-size: 18px;
}

.point {
	font-size: 14px;
	text-align: left;
	margin-left: 15px;
}

.skipperLeft, .skipperRight {
    position: absolute;
    top: 10px;  
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}


.skipperLeft {
    left: 5vw;
}

.skipperLeft img {
    width:7%; 
    height:7%;

}

.skipperRight {
    right: 5vw;
}

.amendButton {
    background-color: rgb(243, 109, 109);
    border: none;
    color: black;
	font-size: 32px;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
	width: 30vw;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 1);
	text-decoration: bold;
}

.amendButton:hover {
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
    transition: box-shadow 0.2s ease-in-out;
    color: black;
}

/*.amendButton {
    background-color: #F6D6D1;
    border: none;
    color: black;
	font-size: 32px;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
	width: 40vw;
	text-decoration: bold;
}

.amendButton:hover {
    background-color: #DFF6D1;
}*/

.amendable-text {
    font-weight: bold;
}

.inline-form {
    margin-top: 20px;
}       

.inline-form textarea {
    width: 40vw;
    height: 10vh;
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
}

.submitButton {
    width: 100%;
    background: linear-gradient(90deg, #02cf39 50%,  rgb(243, 109, 109) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.3s ease-in-out;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 1);
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 18px;
    border: none;
    display: block; /* Ensure it appears */
    margin-top: auto;
    margin-bottom: auto;
}    

.submitButton:hover {
    background-position: left bottom;
    color: black;
}

.dropDownTitle {
	font-size: 28px;
	border: none;
	padding-left: 5px;
	background-color: white;
}

.subField {
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 1);
    background-color: #36498A; 
    color: white;
}

.subField H1{
	text-align: left;
	padding-left: 1vw;
    padding-top: 1vw;
    color: white;
}

.subField p{
	text-align: left;
	padding-left: 1vw;
}

.subField textarea{
	width: 90%;
    height: 10vh;
    border:rgba(0, 0, 0, 0.7);
    
}

.invisibleLabel {
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
}

.logo {
	height: 25px;
    margin-right: 10px; 
}

.articleLogo {
	width:100%;
    height: auto;
    margin-right: 10px; 
}

.smallTitle {
	flex: 1 0 20%;
    background-color: #82C4FA;
	color: black;
	padding: 5px;
	position: relative;
	text-align: left;
}

.smallTitle H1{
	font-size: 20px;
}

.option1 {
	background-color:green;
}

.option2 {
	background-color:red;
}

#exit-flag img {
    transition: transform 0.3s ease;
}

#exit-flag img:hover {
    transform: scale(1.1) rotate(10deg);
} 

.feedTableContainer {
    width: 100%; 
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-sizing: border-box;
}

.feedTableContainer table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.feedTableContainer table th,
.feedTableContainer table td {
    padding: 12px;
    border-bottom: 1px solid black;
    text-align: left;
}

.feedTableContainer th {
    background-color: #f7f7f7;
    color: #333;
}

.feedTableContainer tr:nth-child(even) {
    background-color: #f9f9f9;
}

.feedTableContainer tr:nth-child(odd) {
    background-color: #fff;
}

footer {
    position: relative; 
    margin-top: 10px; 
    width: 100%;
    text-align: center;
    background-color: #36498A;
    min-height: 3vh;
}

footer a {
    text-decoration: none;
    color: white;
}

.footer-left,
.footer-center,
.footer-right {
  position: absolute;
  padding: 5px;
  color: lightblue;
}

.footer-center {
  left: 50%;
  transform: translateX(-50%);
}

.footer-left {
  left: 10%;
}

.footer-right {
  right: 10%;
}

.passed {
    background-color: greenyellow;
}

.denied {
    background-color: red;
}

.underReview {
    background-color: transparent;
}

.needForFurtherReview {
    background-color: orange;
}

.commentField{
    width: 90%;
    min-height: 15vh;
}

.commentDropdown{
    width: 40%;
    min-height: 5vh;
}

.commentDisruption{
    width: 10%;
    min-height: 5vh;
}

.commentSubmit {
    /* Larger size */
    font-size: 1rem;           /* Adjust font size for a bigger feel */
    padding: 0.75rem 1.5rem;   /* Increase padding for a more substantial look */

    /* Modern styling */
    background-color: #6200EE; /* A modern purple background */
    color: #FFFFFF;            /* White text for contrast */
    border: none;              /* Clean, button-like appearance */
    border-radius: 4px;        /* Slightly rounded corners for a modern feel */

    /* Transition for hover effect */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;

    /* Cursor indicator */
    cursor: pointer;
}

/* Hover effect */
.commentSubmit:hover {
    background-color: #3700B3;  /* Darken background on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Add a subtle shadow on hover */
}

.newsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    grid-gap: 5px;
    grid-auto-rows: 20vh; 
    background: white;
}

.box.tall {
    grid-row: span 2;
}

.box.wide {
    grid-column: span 2;
}

.box {
    border: 2px solid navy;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.box H1 {
    font-size: 18px;
    margin: 0; 
}

.box H2 {
    font-size: 14px;
    margin: 5px 0; 
}

.contentGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    align-items: center;
    grid-gap: 5px;
    grid-auto-rows: auto;
}

.contentGrid > * {
    width: 100%;
    height: 100%;
}

.triGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    grid-gap: 5px;
    grid-auto-rows: auto;
    width: 100vw;
    padding: 10px 20px; 
    box-sizing: border-box;
    margin-bottom: 40px; 
}

.triBox {
    background: lightblue;
    border: 1px solid navy;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background-color: white;
    padding: 10px;
}

.triBox p{
    font-weight: lighter;
}

.triBox.title {
    grid-column: span 3;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip img{
    width: 30px;
}
  
.tooltip .tooltiptext {
    visibility: hidden;
    width: 30vw;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the icon */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.greyout {
    color: grey;
}

.banner {
    width: 100%;
    height: 10vh;
    background-color: #ff6826;
}

.accepted .denied .underReview .needForFurtherReview img {
    height: 5vh;
}

.accepted {
    background-color: #63fc84;
}

.denied {
    background-color: #f4dad5;
}

.underReview {
    background-color: #f2f2f2;
}

.needForFurtherReview {
    background-color: #e176d8;
}

details {
    background: white;
    margin-bottom: 10px;
    padding: 15px;
    border: 1px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 1);
    transition: box-shadow 0.3s ease-in-out;
    overflow: hidden;
}

details:hover {
    box-shadow: 7px 7px 0 rgb(0, 136, 255);
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 0;
    list-style: none;
    outline: none;
    position: relative;
    transition: color 0.3s ease;
}

summary:hover {
    color: #007BFF;
}

summary::after {
    content: "+";
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}

details p {
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    padding-left: 10px;
}

details[open] p {
    max-height: 150px; 
    opacity: 1;
}

.loginField{
    width:20vw;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 1);
}

.pie-chart {
    width: 200px;
    height: 100px; 
    border-radius: 100px 100px 0 0; 
    overflow: hidden;
    position: relative;
}

.legend {
    text-align: center;
    font-family: sans-serif;
}

.legend span {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.pie-chart-half {
    width: 200px;
    height: 100px;      
    overflow: hidden;
    position: relative;
    margin: 20px auto;
}

.pie-chart-half-inner {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 0;          
    left: 0;
}

.midline {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 5px; 
    background: #000; 
    transform: translateX(-50%) rotate(9deg);
    transform-origin: bottom;
}

.msline {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 5px;
    background: #000;
    transform: translateX(-50%) rotate(28.8deg);
    transform-origin: bottom;
}

.mappy {
    position: relative;
    width: 40vw;   
    height: 30vw;  
}

.layer-container {
    position: relative;
    width: 30vw;   
    height: 22vw; 
    display: grid;
    place-items: center; 
    margin: 0;
}

.layer-container img{
    width: 30vw;   
    height: 22vw; 
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
}
  
.checkcheck {
    flex: 1 0 20%;
    background-color: white;
	color: black;
	padding: 10px;
	position: relative;
    justify-content: center; 
    align-items: center; 
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    width: 50%;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.btn {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.stay-btn {
    background-color: green;
    color: white;
}

.leave-btn {
    background-color: red;
    color: white;
}

.voteButton {
    background-color: rgb(243, 109, 109);
    border: none;
    color: black;
	font-size: 32px;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
	width: 15vw;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 1);
	text-decoration: bold;
}

.voteButton:hover {
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
    transition: box-shadow 0.2s ease-in-out;
    color: black;
}

.pressbanner {
    width: 100%; 
    height: 20vh; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}

.feedbanner {
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}

.news-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%; 
    text-decoration: none;
}

.startbanner {
    width: 100%;
    flex: 1; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feedcontent {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px; 
}

.feedcontent H1 {
    font-size: 18px;
    margin: 0; 
}

.feedcontent H2 {
    font-size: 14px;
    margin: 5px 0; 
}

.sortDropdown select {
    padding: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 1);
    background-color: #f9f9f9;
    font-size: 16px;
    color: #333;
}

.sortDropdown select:hover {
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
    transition: box-shadow 0.2s ease-in-out;
}

.share-button {
    display: inline-block !important;
    background-color: #003267; 
    color: white; 
    padding: 10px; 
    border: none; 
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
}

.pressFooter {
    flex: 1 0 20%;
	color: black;
	padding: 10px;
	position: relative;
    width: 100%;
}

.neutralButton {
    background-color: rgb(243, 109, 109);
    border: none;
    color: black;
	font-size: 32px;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 1);
	text-decoration: bold;
    width: 50%;
    height: 80%;
}

.neutralButton:hover {
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
    transition: box-shadow 0.2s ease-in-out;
    color: black;
}

.pagination a {
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 1);
    background-color: #36498A; 
}

.resultsTable {
    width: 100%;
}

.feedWrapper {
    width: 80vw;
    margin: 0 auto 0 auto;
	margin-top: 1vh;
    background-color: #000000;
	color: white;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
	text-align:center;
}

@media (max-width: 800px) {
    html, body, text {
        font-size: 12px;
    }
    h1 {
        font-size: 16px;
    }
    h2, h3 {
        font-size: 14px;
    }
    .nav-toggle {
        display: block; 
    }
    .choker {
        display: none;
        flex-direction: column; 
        width: 100%;
    }
    .choker.open {
        display: flex;
    }
    .naver a {
        margin: 2px 0;
        width: 100%;
    }
	.wrapper {
        width: 90vw; 
    }
	.wrapperAmend {
		width: 90vw; 
	}
    .feedWrapper{
        width: 90vw;
    }
    .pressWrapper{
        width: 90vw; 
    }
    .grid {
        grid-template-columns: 1fr;
        grid-auto-flow: row; 
        grid-auto-rows: 100px;
    }
    .box.tall {
        grid-row: span 1;
    }
    .box.wide {
        grid-column: span 1;
    }
    .tooltip .tooltiptext {
        width: 80vw;
    }
    summary {
        font-size: 16px;
    }
    details p {
        font-size: 14px;
    }
}

.articleBlock.greyedArticle {
    color: #999;
    opacity: 0.65;
}