@font-face {
    font-family: AudioWide;
    src: url(/static/fonts/Audiowide-Regular.ttf);
}

#submit {
    cursor: pointer;
}
.form_container {
    padding: 20px;
}
.form_horizontal_sort {
    display: flex;
	justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
}
.form_input_field {
    border: 1px solid #DDDDDD;
    background: rgb(197, 234, 247);
    width: 50%;
    max-width: 250px;
}
.form_input_field:hover {
    border: 2px solid rgba(81, 203, 238, 0.2);
    background: rgb(113, 217, 255);
}
.form_input_field:focus {
    border: 2px solid rgba(81, 203, 238, 1);
}
.form_label {
    width: 50%;
    text-align: left;
}
.form_check_btn {
    border: 1px solid #DDDDDD;
    background: rgb(116, 211, 255);
    height: 15px;
    width: 50%;
    cursor: pointer;
  }
.form_check_btn:hover {
    border: 2px solid rgba(81, 203, 238, 0.2);
}
.form_check_btn:checked {
    border: 2px solid rgba(81, 203, 238, 1);
}
.form_input_field_invalid {
    border: 2px rgb(255, 48, 48);
    background: rgb(197, 234, 247);
    width: 50%;
    max-width: 250px;
}
.invalid_feedback {
    color: rgb(255, 48, 48);
    background-color: rgba(6, 33, 60, 0.8);
    border: 2px red;
}
.valid_feedback {
    color: rgb(58, 226, 7);
    background-color: rgba(6, 33, 60, 0.8);
    border: 2px green;
}

/* Rounded border */
hr.rounded {
    border-top: 4px solid #fff;
    border-radius: 5px;
    width: 50px;
}
button {
    cursor: pointer;
}
header {
    position: fixed;
    z-index: 900;
    width: 100%;
    height: auto;
    max-height: 50px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
img {
    max-width: 100%;
    height: auto;
}
table {
    width: 100%;
}
textarea {
    resize: none;
}
a:link, a:visited {color: rgb(9, 164, 253);}
a:hover {color: rgb(255, 217, 0);}
a:active {color: rgb(14, 56, 172);}

#main_description_columns {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-height: 300px;
}

#content_holder {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

/* for route: /account  */
#account_description_columns { /* based on main_description_columns */
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.account_column { /* based on column */
    float: left;
    width: 25%;
}
.account_column_main {
    float: left;
    width: 50%;
}
.ui_panel_account { /* based on ui_panel */
    width: calc(100%-20px);
    max-width: 300px;
    height: calc(100%-20px);
    max-height: 300px;
    padding: 2px;
    background: #00a1ed; /* fallback */
    background-size: 50% 50%;
    background-repeat: no-repeat;
    display: inline-block;
}
.ui_panel_account_main {
    width: calc(100%-20px);
    max-width: 600px;
    padding: 2px;
    background: #00a1ed; /* fallback */
    background-size: 50% 50%;
    background-repeat: no-repeat;
    display: inline-block;
}
.ui_panel_account_content { /* based on ui_panel_content */
    width: 100%;
    height: 100%;
    max-height: 300px;
    overflow: auto;
    padding: 10px;
    color: #00a1ed;
    background: #00202F; /* fallback */
    background-size: 50% 50%;
    background-repeat: no-repeat;
    display: inline-block;
    text-align: center;
    font-family: AudioWide;
}
.ui_panel_account_content_main { /* based on ui_panel_content */
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 10px;
    color: #00a1ed;
    background: #00202F; /* fallback */
    background-size: 50% 50%;
    background-repeat: no-repeat;
    display: inline-block;
    text-align: center;
    font-family: AudioWide;
}

.forum_dir_holder {
    border:1px solid white;
    color: white;
    text-align: left;
    padding: 10px;
}
.forum_col_boards {
    width: 50%;
}
.forum_col_small {
    width: 5%;
    text-align: center;
}
.forum_col_last {
    width: 40%;
    text-align: right;
}
.forum_col_mid {
    width: 20%;
    text-align: left;
}
.forum_table_header {
    background-color: #00a1ed;
}
.forum_p {
    margin: inherit;
}
.forum_p_better_reading {
    font-family: sans-serif;
}
.forum_small_text {
    color: #13dcff;
}
#forum_actions {
    display: flex;
    justify-content: space-between;
}
#forum_nav {display: flex;}
.forum_a:link, .forum_a:visited {color: white;}
.forum_a:hover {color: rgb(255, 217, 0);}
.forum_a:active {color: rgb(14, 56, 172);}
.forum_b:link, .forum_b:visited, .forum_b:hover {color: rgb(253, 194, 0);}
.forum_b:active {color: white;}

.forum_h1 {margin: 0px;}
.forum_top_border {border-top: 1px solid white;}
#new_thread_btn {
    width: 150px;
}
.forum_label {
    width: 20%;
}
.forum_input {
    width: 80%;
    max-width: inherit;
}
.forum_contect_field {
    height: 600px;
}
.forum_post_field {
    height: 100px;
}
.progressContainer {
    display: inline-block;
    width: 400px;
    height: 10px;
    border: solid 1px;
    background-color: white;
}
.progress_bar {
    display: block;
    height: 100%;
}
.progress_green {background-color: green;}
.progress_blue {background-color: blue;}
.progress_grey {background-color: grey;}
.progress_yellow {background-color: yellow;}
.progress_red {background-color: red;}

.home_main_menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: -webkit-sticky;
    position: sticky;
}

.main_menu_btn_holder {
    background: rgba(0, 60, 128, 0.3);
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.yellow_box {
    background-color: darkorange;
}

.game_logo {
    width: 327px;
    height: 120px;
    position: fixed;
    z-index: 1;
    top: 10px;
    right: 10px
}
.win10 {
    width: 378px;
}
.godot {
    width: 171px;
}

body {
    position: relative;
    min-height: 100%;
    top: 0px;
    padding-bottom: 50px;
    background: #000;
    color: #fff;
    font-family: "Share Tech Mono", monospace;
    background-color: #02141c;
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
    background-image: linear-gradient(rgba(19, 223, 222, 0.1) 2px, transparent 2px),
      linear-gradient(90deg, rgba(19, 223, 222, 0.1) 2px, transparent 2px),
      linear-gradient(rgba(68, 121, 139, 0.1) 1px, transparent 1px),
      linear-gradient(90deg, rgba(68, 121, 139, 0.1) 1px, transparent 1px);
  }

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}
.footer_bg {background: rgb(0, 60, 128);}
.footer_holder {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer_col {width: 33%;}
.footer_mid {text-align: center;}
.footer_right {text-align: right;}

* {
    box-sizing: border-box;
}

.overlay_menu {
    position: absolute; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100px;
    height: 150px;
    margin-left: 120px;
    margin-top: 20px;
    z-index: 100; /* Specify a stack order in case you're using a different order for other elements */
}

.square {
    height: 20px;
    width: 20px;
    background-color: #fff;
    cursor: pointer;
    padding: 0px;
    z-index: 4;
}

.triangle {
    position: inherit;
	border-top: 8px solid transparent;
	border-left: 16px solid #555;
    border-bottom: 8px solid transparent;
}

.parallax {
    display: block;
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
}


/* Parallax pozadi */
.parallax_layer {
    position: absolute;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;   
}

.parallax_layer-base {
    transform: translateZ(0);
}

.parallax_layer-back {
    transform: translateZ(-1px);
}

#main_bg_parallax {
    max-height: 500px;
}

/* Create three equal columns that floats next to each other */
.column {
    float: left;
    width: 33.33%;
    padding: 15px;
}

.column_form {
    float: left;
    width: 100%;
    padding: 15px;
}
.voting_column {
    float: left;
    padding: 15px;
}

.center {
    margin: auto;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
    .column {
      width: 100%;
    }
}

.main_btn_menu {
    color: white;
    font-family: AudioWide;
    opacity: 90%;
}

#home_btn {
    font-size: xx-large;
    height: 45px;
    z-index: 3;
}

.main_btn_side {
    font-size: x-large;
    height: 40px;
    z-index: 3;
    width: 125px;
}

.scifi-button {
    display: block;
    position: relative;
    font-size: 20px;
    line-height: 1em;
    background: rgba(6, 33, 60, 0.8);
    text-decoration: none;
    color: #fff;
    margin: 0 0px;
    border-radius:0;
    overflow:hidden;
    transition:all 0.6s cubic-bezier(0.05, 3, 1, 1) 0s;
}
  
.scifi-button:after,
.scifi-button:before {
    content: "";
    display: block;
    position: absolute;
    border: 2px solid #49839900;
    width: 10px;
    top:0;
    bottom:0;
    transition:all 0.6s cubic-bezier(0.05, 3, 1, 1) 0s;
}

.scifi-button:hover:after,
.scifi-button:hover:before {
    border-color: #1ae3de #498399;
}
  
.scifi-button:before {
    border-right: 0;
    margin-right: 5px;
    left:0;
}
  
.scifi-button:after {
    border-left: 0;
    margin-left: 5px;
    right:0;
}
  
.scifi-button:hover {
    background: rgba(6, 33, 60, 0.4);
}

.scifi-button:active {
    background: #ff9e39;
}



.ui_panel {
    width: calc(100%-20px);
    max-width: 450px;
    height: calc(100%-20px);
    max-height: 300px;
    padding: 2px;
    background: #00a1ed; /* fallback */
    background-size: 50% 50%;
    background-repeat: no-repeat;
    display: inline-block;
}
.ui_panel_left {
    -webkit-filter: drop-shadow(5px 5px 5px rgba(0, 161, 237, 0.25));
    filter: drop-shadow(5px 5px 5px rgba(0, 161, 237, 0.25));
    background: 
        linear-gradient(0deg, transparent 0px, #00a1ed 0) top left, 
        linear-gradient(0deg, transparent 0px, #00a1ed 0) top right, 
        linear-gradient(315deg, transparent 10px, #00a1ed 0) bottom right, 
        linear-gradient(0deg, transparent 0px, #00a1ed 0) bottom left;
}
.ui_panel_right {
    -webkit-filter: drop-shadow(5px 5px 0px 5px rgba(0, 161, 237, 0.25));
    filter: drop-shadow(5px 5px 0px 5px rgba(0, 161, 237, 0.25));
    background: 
        linear-gradient(0deg, transparent 0px, #00a1ed 0) top left, 
        linear-gradient(0deg, transparent 0px, #00a1ed 0) top right, 
        linear-gradient(0deg, transparent 0px, #00a1ed 0) bottom right, 
        linear-gradient(45deg, transparent 10px, #00a1ed 0) bottom left;
}
.ui_panel_form {
    width: calc(100%-20px);
    max-width: 500px;
    height: calc(100%-20px);
    max-height: 600px;
    padding: 2px;
    background: #00a1ed; /* fallback */
    background-size: 50% 50%;
    background-repeat: no-repeat;
    display: inline-block;
}

.ui_panel_content {
  width: 100%;
  height: 100%;
  max-height: 300px;
  overflow: auto;
  padding: 10px;
  color: #00a1ed;
  background: #00202F; /* fallback */
  background-size: 50% 50%;
  background-repeat: no-repeat;
  display: inline-block;
  text-align: center;
  font-family: AudioWide;
}
.ui_panel_form_content {
  width: 100%;
  height: 100%;
  max-height: 600px;
  overflow: auto;
  padding: 10px;
  color: #00a1ed;
  background: #00202F; /* fallback */
  background-size: 50% 50%;
  background-repeat: no-repeat;
  display: inline-block;
  text-align: center;
  font-family: AudioWide;
}

.ui_panel_content_light {
    background: #187ead;
    color: #fff;
}
.ui_panel_content_left {
    background: 
        linear-gradient(0deg, transparent 0px, rgba(0, 0, 0, 0.8) 0) top left, 
        linear-gradient(0deg, transparent 0px, rgba(0, 0, 0, 0.8) 0) top right, 
        linear-gradient(315deg, transparent 10px, rgba(0, 0, 0, 0.8) 0) bottom right,
        linear-gradient(0deg, transparent 0px, rgba(0, 0, 0, 0.8) 0) bottom left;
}
.ui_panel_content_right {
    background: 
        linear-gradient(0deg, transparent 0px, rgba(0, 0, 0, 0.8) 0) top left, 
        linear-gradient(0deg, transparent 0px, rgba(0, 0, 0, 0.8) 0) top right, 
        linear-gradient(0deg, transparent 0px, rgba(0, 0, 0, 0.8) 0) bottom right,
        linear-gradient(45deg, transparent 10px, rgba(0, 0, 0, 0.8) 0) bottom left;
}

.dropdown_option {
    position: relative;
    padding-bottom: 5px;
    z-index: 101;
}

.btn-wrapper:not(:first-child) {
	margin-top: 15px;
}

.btn-wrapper {
	display: grid;
	grid-template-columns: 20px auto;
	grid-gap: 10px;
	min-width: 100px;
	height: 35px;
	margin-left: 10px;
	transform: skewX(-30deg);

	--bg-color: rgba(6, 33, 60, 0.8);
	--font-color: #ffffff;
	--bg-color-hovered: darkorange;
	--font-color-hovered: #ffffff;
}

.btn-wrapper > * {
	background-color: var(--bg-color);
}

.btn-wrapper:hover .btn-tail {
	background-color: var(--bg-color-hovered);
}
.inherit_z_index {z-index: inherit;}
.btn-body {
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: center;
    color: var(--font-color);
    height: 35px;
}

.btn-wrapper:hover .btn-body {
    color: var(--font-color-hovered);
}

.btn-body::before {
	content: "";
	position: absolute;
	width: 0;
	height: 100%;
	left: 0;
	top: 0;
	background-color: var(--bg-color-hovered);
	transition: all 0.3s ease-out;
}

.btn-wrapper:hover .btn-body::before {
	width: 100%;
}

.btn-body p {
	margin-left: 15px;
	font-size: 1.5rem;
	transform: skewX(30deg);
}

.btn-tail {
	transition: all 0s ease-out 0.3s;
}

.btn-wrapper:hover .btn-tail {
	transition: none;
}

.policy_display {
    text-align: start;
    width: 50%;
    display: inherit;
}
.policy_page {max-height: fit-content;}

/* 
--------------------------------------------------------
News on Home page
--------------------------------------------------------
*/

.news_separator {height: 50px;}

.news_holder {
    width: calc(100%-20px);
    height: calc(100%-20px);
    min-height: 300px;
    padding: 2px;
    background: #00a1ed; /* fallback */
    display: flex;
    text-align: left;
}

/* 
--------------------------------------------------------
Modal image settings
--------------------------------------------------------
*/

.media_holder {
    width: calc(100%-20px);
    height: calc(100%-20px);
    min-height: 300px;
    padding: 2px;
    background: #00a1ed; /* fallback */
    display: grid;
    grid-template-columns: auto auto auto auto;
    justify-content: space-around;
}

.shown_media {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    width: 200px;
    height: 100px;
}
  
.shown_media:hover {opacity: 0.7;}
    
/* The Modal (background) */
.modal_img_div {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
    
/* Modal Content (image) */
.modal_content {
    margin: auto;
    display: block;
    width: 80%;
}

/* Caption of Modal Image */
#modal_caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal_content, #modal_caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.modal_close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.modal_close:hover,
.modal_close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal_content {width: 100%;}
}