:root {
    --bg-main:#282a36;
    --fg-main:#44475a;
    --acc-cyan:#8be9fd;
    --acc-green:#50fa7b;
    --acc-orange:#ffb86c;
    --acc-pink:#ff79c6;
    --acc-purple:#bd93f9;
    --acc-red:#ff5555;
    --acc-red-dark:#8a2b2b;
    --acc-yellow:#f1fa8c;
    --text-main:#f8f8f2;
}

* {
    margin: 0;
}
body {
    display: flex;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: Arial, Helvetica, sans-serif;
    background-attachment: fixed;
    justify-content: center;
    color-scheme: dark;
    min-width: 380px;
    flex-wrap: wrap;
}
.center {
    display: flex;
    width: 80%;
    flex-wrap: wrap;
    justify-content: center;
}
.top_bar {
    display: flex;
    height: 10vh;
    width: 100%;
    justify-content: space-between;
}
.top_bar_left {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.top_bar_left > span {
    font-size: 1.4em;
}
.top_bar_left > img {
    height: 7vh;
    border-radius: 100%;
    margin-right: 10px;
}
.top_bar_right {
    display: flex;
    align-items: center;
}
.big_screen_menu {
    visibility: hidden;
    width: 0;
    height: 0;
    display: none;
}
.button {
    font-size: 17px;
    padding: 10px;
    margin-right: 10px;
    text-align: center;
    background-color: var(--fg-main);
    border-radius: 15px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    border: none;
}
.button:hover {
    background-color: var(--acc-purple);
    box-shadow: 0px 10px 20px rgba(42, 43, 53, 0.5);
    transform: translateY(-2px);
}
.remove-judge {
    font-size: 14px;
    padding: 6px;
    margin-top: 10px;
    background-color: var(--acc-red);
}
.remove-judge:hover {
    background-color: var(--acc-red-dark);
}
article {
    height: 90vh;
    width: 100%;
    max-width: 1300px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
}
.text_container {
    padding: 20px;
    font-size: 15px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.first_line {
    font-size: 18px;
    margin-bottom: 10px;
}
.about_me {
    margin-bottom: 20px;
}
.list {
    font-size: 19px;
    font-weight: 800;
}
.art_list {
    margin-top: 15px;
    display: block;
}
.art_list > a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 17px;
}
.date {
    color: #858585;
}

form {
    background-color: #333543;
    border-radius: 15px;
    padding: 15px;
    padding-top: 25px;
    padding-bottom: 25px;
    font-size: 16px;
    margin-bottom: 45px;
    max-width: 400px;
}
.forms input[type="number"], .forms input[type="text"], input[type="date"] {
    width: 150px;
    height: 28px;
    border: 1px solid #2b2e3c;
    margin-bottom: 20px;
    margin-left: 5px;
    padding: 0 15px 0 5px;
    background-color: rgb(68 71 90 / 97%);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: var(--text-main);
    font-size: 18px;
}
.forms input[type="submit"], .forms button {
    border: 0;
    font-weight: bold;
    color: var(--text-main);
}
.forms input[type="submit"]:hover, .forms button:hover {
  background-color: #6b558b;
}
.select2-container {
    width: 95% !important; /* Force the dropdown to fill the container width */
    width: -moz-available !important;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available !important;  /* Mozilla-based browsers will ignore this. */
    width: fill-available !important;
    width: stretch !important;
    color: #0D0C1D !important;
}
.select2-dropdown--below {
    overflow-x: hidden;
}
.full_line {
    width: 100%;
    display: inline-block;
    line-height: 1.6em;
    padding-top: 4px;
}
.space_beteween {
    margin-top: 15px;
}
a {
    color: inherit;
    text-decoration: inherit;
}
h1, h2 {
    text-align: center;
}
table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    color: #0D0C1D; 
}
caption {
    color: white;
    text-align: left;
    font-size: 1.4em;
    padding-bottom: 5px;
}
th {
    background-color: #DDDDDD;
    border-width: 2px;
    border-style: solid;
    border-color: #DDDDDD;
}
tr {
    background-color: #EEEEEE;
}
tr:nth-child(even) {
    background-color: #FFFFFF;
}
.actions {
    padding: 5px;
}
.actions1 {
    background-color: #50fa7b;
}
.actions2 {
    background-color: #ff5555;
}
.actions3_1 {
    background-color: #D6AF36;
}
.actions3_2 {
    background-color: #A7A7AD;
}
.actions3_3 {
    background-color: #824A02;
}
.left {
    text-align: left;
}
td {
    padding: 8px 2px;
    text-align: center;
    border-width: 2px;
    border-style: solid;
    border-color: #DDDDDD;
}
.box-div {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: stretch;
}
.login-box {
    padding-top: 20px;
}

.login-div {
  margin-top: 10px;
  font-size: 23px;
  max-width: 270px;
  margin: auto;
}
.login-div form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.login-div i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #44475a;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.login-div input[type="password"], .login-div input[type="text"] {
    width: 150px;
    height: 48px;
    border: 1px solid #44475a;
    margin-bottom: 20px;
    padding: 0 15px;
    background-color: rgb(68 71 90 / 97%);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: white;
    font-size: 18px;
}
.login-div input[type="submit"] {
    width: 100px;
    padding: 10px;
    background-color: #44475a;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
    border-radius: 10px;
    color: white;
    margin: auto;
}
.login-div input[type="submit"]:hover {
  background-color: #6b558b;
  transition: background-color 0.2s;
}
@media screen and (max-width: 1050px) {
    .center {
        width: 100%;
    }
    .top_bar {
        justify-content: space-around;
        width: 100%;
        flex-wrap: wrap;
        height: auto;
        padding-top: 10px;
    }
    .top_bar_left {
        justify-content: flex-start;
        width: 100%;
        padding-bottom: 15px;
    }
    .top_bar_left > img {
        padding-right: 2%;
        padding-left: 2%;
    }
    .top_bar_right {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
    .top_bar_right > a > .button, .sec-center {
        margin-bottom: 10px;
    }
}
@media screen and (min-width: 600px) {
    .sec-center {
        visibility: hidden;
    }
    .big_screen_menu {
        visibility: visible;
        width: auto;
        height: auto;
        display: block;
    }
}