/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

.active {
    background-color: #04AA6D;
}

body {
    background-color: rgb(43, 43, 43);
    color: rgb(221, 221, 221);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.resultfailed {
    font-family: Arial, Helvetica, sans-serif;
    margin: auto;
    width: 300px;
    height: 45px;
    border: 1px solid rgb(199, 199, 199);
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(255, 0, 0, 0.253);
    text-align: center;
}
h1 {
    margin: 40px;
    text-align: center;
}
h2 {
    margin: 20px;
    text-align: center;
}

/*Permanent UN SC coutries*/
.countries {
    margin: auto;
    width: fit-content;
}

.countrybox {
    width: 50px;
    height: 50px;
    border: 1px solid rgb(199, 199, 199);
    padding: 10px;
    border-radius: 10px;
}


.flag {
    text-align: center;
    width: 100%;
}

.flags {
    height: 35px;
    margin: auto;
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 10px;
}
.country {
    width: 72px;
    margin: 10px;
    float: left;
    display: block;
}

/*Index Permanent members*/
.table {
    margin: auto;
    width: fit-content;
}
td,
th {
    border: 1px solid white;
}
table {
    margin: auto;
    border-radius: 10pt;
    border: rgb(223, 223, 223);
    border-collapse: collapse;
}
.indexred {
    background-color: red;
    height: auto;
}
.indexyellow {
background-color: rgb(212, 210, 38);
height: auto;
}
.indexgreen {
    background-color: rgb(71, 177, 29);
    height: auto;
}

/* Non-permanent members */
.countrybox.green {
    background-color: rgb(71, 177, 29);
}
.countrybox.yellow {
    background-color: rgb(212, 210, 38);
}
.countrybox.red {
    background-color: red;
}

