:root {
    --blue: #005EB9;
    --blueRGB: 0, 94, 185;
    --green: #00b95e;
    --orange: #ffa500;
    --red: #b90027;
    --white: rgb(250,250,250);
}
html, body {
    height: 100%;
    margin: 0 auto;
    min-width: 320px;
    overflow: auto;
}
body {
    font-family: system-ui, sans-serif, roboto;
    max-width: 600px;
}
header {
    background-color: var(--blue);
    color: var(--white);
    font-size: 50px;
    font-weight: bold;
    text-align: center;
}
main {
    padding: 10px 6px 80px 6px;
    margin: auto;
    max-width: calc(100% - 12px);
}
nav {
    margin: auto;
    width: 100%;
    text-align: center;
    background-color: #000;
}
ul {
    padding-inline-start: 0;
}
h2 {
    font-size: 26px;
    margin: 10px auto;
}
p {
    font-size: 26px;
}
.hidden {
    display: none;
}
#signin {
    color: #333;
    text-decoration: none;
    display: inline-block;
    width: 46%;
    border: #333 solid 1px;
    padding: 6px 0 13px 0;
}
#register {
    color: #333;
    background-color: #f5f5f5;
    text-decoration: none;
    display: inline-block;
    width: 46%;
    padding: 20px;
    background-color: #f5f5f5;
}
#header-signin {
    color: #333;
    text-decoration: none;
}
#header-register {
    color: #333;
    text-decoration: none;
}
#header-signedout {
    font-size: 20px;
    color: #333;
}
#header-signedout a {
    font-size: 20px;
}
#signedout {
    font-size: 23px;
}
#signedout a {
    text-decoration: none;
}
#user-access form {
    display: inline-block;
}
#user-access {
  background-color: #fff;
    font-size: 13px;
    padding: 6px 10px 6px 0;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#user-info {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 10px;
}
#leaderboardLink {
    display: none;
  order: 1;
  margin: 0 0 0 20px;
}
#leaderboardLink a {
    color: var(--blue);
    font-size: 16px;
    text-decoration: none;
}
#user-access #user-info {
  order: 2;
}
#user-access span {
  color: #333;
}

#user-access button {
  padding: 6px 11px;
  background-color: var(--red);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin: 0 0 0 20px;
}

/*
#app-title {
    line-height: 90px;
}
*/
#app-title {
    display: none;
    font-size: 0;
    line-height: 90px;
    /*background-image: url(/images/logos/GoSkateboard-logos_transparent.png);*/
    /* background-image: url(/images/logos/logo-color.png); */
    background-size: cover;
    height: 80px;
    background-position: center;
}
#small-logo {
    margin-left: 5%;
}
#main-menu ul {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
#main-menu li {
    display: inline-block;
    padding: 3px 0 6px 0;
    width: 33.33333333%;
}
#main-menu a {
    color: rgb(250,250,250);
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 3px 9px 3px 9px;
}
#main-menu a:hover {
    backround-color: rgba(255,255,255,0.1);
}
.active {
    background-color: rgba(250,250,250,0.3);
}
main #signedout a {
    color: #005eb9;
    font-weight: bold;
}

.linkIcon {
    width: 25px;
    height: auto;
}

.unclickable {
    pointer-events: none;
    opacity: 0.39;
}

/* START - Filters */

.filter-block label {
    display: flex;
    align-items: center;
}

/* END - Filters */


/* START - Edit Forms */

#edit-form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

#edit-form {
    color: #337ab7;
    font-size: 23px;
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px 15px 20px 15px;
    border-radius: 5px;
    width: calc(100% - 50px);
    overflow: auto;
    max-height: 100%;
    height: max-content;
}

#edit-form h2 {
    text-align: center;
    font-size: 26px;
}

#edit-form label {
    display: block;
    margin-bottom: 10px;
}

#edit-form select {
    font-size: 23px;
    display: block;
    margin-bottom: 10px;
    width: 100%;
    border-radius: 3px;
    border: 1px solid #ccc;
    line-height: 36px;
    padding: 6px;
}

#edit-form option {
    font-size: 17px;
}

#edit-form input[type="text"] {
    border-radius: 3px;
    border: 1px solid #ccc;
    font-size: 23px;
    line-height: 30px;
    margin-bottom: 6px;
    width: 100%;
    padding: 5px;
}
#edit-form input[type="file"] {
    font-size: 23px;
    max-width: 100%;
}
#edit-form input[type="submit"] {
    display: block;
    font-size: 30px;
    margin: 30px auto 20px;
    padding: 13px;
    background-color: #337ab7;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    width: 160px;
}

#cancel-button {
    color: red;
}

/* END - Edit Forms */



/* Trick Generator */


/* END - Trick Generator Page */



/* START - Footer */

footer {
    background-color: #f2f2f2;
    border-top: 1px solid #005eb9;
    bottom: 0;
    font-size: 13px;
    padding: 0 0 3px 9px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    margin: 0 auto;
    width: calc(100% - 10px);
    max-width: calc(600px - 30px);
}



 footer .column {
  flex: 1;
}

footer ul {
  list-style-type: none;
  padding: 0;
  margin: 9px auto;
}

footer li {
  margin-bottom: 3px;
}

 footer a {
  text-decoration: none;
  color: #333;
}

footer a:hover {
  text-decoration: underline;
}

footer .lastCol {
    margin-right: -50px;
}

#copyright {
    display: none;
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: calc(100% - 6px);
    text-align: right;
    background: lightgray;
    padding: 3px 6px 3px 0;
}

footer .column ul {
    display: block;
}

/* END - Footer




/* START - Player CSS */

/* END - Player page CSS */



/* START - Tricks Page CSS */

/* END - Tricks Page CSS */


/* User page for login and registration */
#login button, #register button {
  font-size: 30px;
}
#login {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  max-width: 600px;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

.user-page h2 {
    text-align: center;
}

#login input[type="email"],
#login input[type="password"] {
  font-size: 26px;
  width: calc(100% - 22px);
  padding: 6px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

#login button[type="submit"] {
  width: 100%;
  padding: 6px;
  background-color: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

#login button[type="submit"]:hover {
  background-color: #45a049;
}
#register {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 30px auto 20px;
  width: auto;
}

input[type="password"],
input[type="email"],
input[type="text"] {
  padding: 6px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 26px;
}

button[type="submit"] {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #45a049;
}

input::placeholder {
  color: #999;
}

input:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 5px #4CAF50;
}

.user-page #user-access div {
    visibility: hidden;
}

.spacer {
    height: 50px;
}

#reset-password {
    font-size: 23px;
}



/* Extra Pages */

/* Leaderboard */
#user-access form {
    margin-block-end: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 26px;
}

th, td {
  padding: 6px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

caption {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 10px;
}

hr {
    clear: both;
}

.avatar {
    display: inline-block;
    width: 30%;
    margin: auto;
}

.avatar img {
    max-width: 230px;
}

/* Leaderboard Styles */
.podium {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.leaderboard h2 {
    text-align: center;
}

.podium .spot {
  padding: 10px;
  text-align: center;
  width: auto;
  margin: auto;
  display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spot img {
  width: 90px;
  max-height: 90px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.spot h3 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #333;
  word-break: break-word;
}

.spot h4 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #777;
}

.spot p {
  font-size: 23px;
  margin: 0;
  color: #555;
}

.spot button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 15px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.spot button:hover {
  background-color: #45a049;
}

.spot button:focus {
  outline: none;
}

.close-button {
    color: red;
    font-size: 40px;
}

.leaderboard table {
    font-size: 20px;
}

.leaderboard th {
    font-size: 21px;
}


















