@import url("https://fonts.googleapis.com/css2?family=Chango&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Chango&family=McLaren&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Chango&family=McLaren&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Monoton&display=swap");

@font-face {
  font-family: "cloud";
  src: url("/static/fonts/ColoredCrayons-7wPR.ttf'") format("tff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "cloud";
  src: url("/static/fonts/Chalkduster.ttf") format("tff");
  font-weight: normal;
  font-style: normal;
}

/* General Styles */

.blue-glow{
  text-shadow: 2px 2px 6px rgb(38, 76, 146), -2px -2px 6px rgb(38, 76, 146),
    2px -2px 6px rgb(38, 76, 146), -2px 2px 6px rgb(38, 76, 146);
  color: rgb(113, 187, 233);
}

.nav-link {
  text-align: center;
}
#help-popup {
  background-color: #13132a;
  border: 5px solid #f4c943;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  max-width: 500px;
  border-radius: 8px;
  color: white;
  position: relative;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  z-index: 2001;
}

#help-popup a {
  color: #f4c943;
  text-decoration: underline;
}

#help-popup button {
  background-color: #352870;
  color: #f4c943;
  border-radius: 5px;
}

.nav-star {
  width: 15px;
  height: 15px;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  display: inline-block;
}

.tournament-link-footer {
  display: inline-block;
  position: absolute;
  top: 70%;
  font-size: 75%;
  white-space: nowrap;
  overflow: visible;
}

.tournament-link-footer-1 {
  left: -15px;
}

.tournament-link-footer-2 {
  left: 10px;
}

body {
  background-color: #1b1835;
  color: white;
  min-height: 100vh;
  font-family: "McLaren", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.profile-pic-standard {
  border-radius: 50% !important;
  box-sizing: content-box;
  display: inline-flex;
  height: 30px;
  width: 30px;
  overflow: hidden;
  border: 2px solid #33c15b;
  margin-right: 10px;
  transition: 0.3s ease;
}

.profile-pic-standard:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.player-name {
  display: inline-block;
  width: 100px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-x: hidden;
  text-align: left;
  margin-left: 5px;
  margin-right: 5px;
}

.green-background {
  background-color: rgb(1, 184, 26);
  display: inline-block;
}

.active-page-link {
  background-color: #f1ba42;
}

#cookie-banner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  max-width: 400px;
  border-radius: 8px;
  color: black;
}

#cookie-banner a {
  color: blue;
}

#cookie-banner-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.rounded-circle {
  border-radius: 50% !important;
}

.nav-profile-pic {
  border-radius: 50% !important;
  margin-left: 80px;
  box-sizing: content-box;
  display: flex;
  height: 40px;
  width: 40px;
  overflow: hidden;
  border: 2px solid #eb5497;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

@media screen and (min-width: 1200px) {
  .nav-profile-pic {
  }
}

.nav-profile-pic-click {
  transform: scale(1.1); /* Scale up the image slightly */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Add a shadow for depth */
  border: 4px solid #33c15b;
}

.fixed-height-nav-element {
  max-height: 20px;
  overflow: visible;
  display: block;
  background-color: #f5ce45;
  position: relative;
}

.account-links-list {
  background-color: #f5ce45;
  overflow: hidden;
  max-height: 0px;
  transition: all 0.3s ease;
}

.expanded-account-links-list {
  max-height: 200px;
}

.container {
  margin-top: 20px;
}

#footer {
  width: 100%;
  text-align: center;
  margin-top: 50px;
}

#message {
  width: 100%;
}

a {
  text-decoration: none;
  color: white;
}

.label {
  color: #febe38;
}

.outline {
  text-shadow: 1px 1px 0 black, -1px -1px 0 black, 1px -1px 0 black,
    -1px 1px 0 black; /* Black outline */
}

.boojum {
  color: #33c15b;
}

.snark {
  color: #febe38;
}

/*Navbar Styles */
h1,
h2 {
  font-family: "Chango", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #fb2271;
}

.navbar {
  background-color: #f5ce45;
  padding-left: 10px;
  z-index: 1000;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(27, 24, 53)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
  font-size: 2em;
  font-family: "Monoton", sans-serif;
}

.navbar-nav {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.green {
  color: #33c15b;
  margin-right: 1px;
}

.green-border {
  border: solid 2px #33c15b;
}

.green-background {
  background-color: #33c15b;
}

.white {
  color: white;
}
.pink {
  color: #eb5497;
  margin-right: 1px;
}

.pink-border {
  border: solid 2px #eb5497;
}

.pink-background {
  background-color: #eb5497;
}
.yellow {
  color: #f4c943;
  margin-right: 1px;
}

.yellow-border {
  border: solid 2px #f4c943;
}

.yellow-background {
  background-color: #f4c943;
}

.blue {
  color: #71bbe9;
}

.blue-border {
  border: solid 2px #71bbe9;
}

.blue-background {
  background-color: #71bbe9;
}

/* Scrollbar styles */

::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgb(54, 41, 112);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #fb2271;
}

/* Button Styles */

.edit-button {
  border-radius: 5px;
  background-color: rgb(65, 129, 65);
  color: white;
  padding: 2px 10px;
  font-size: 120%;
  border: double white;
}

.edit-button:hover {
  background-color: rgb(34, 80, 34);
  color: rgba(255, 255, 255, 0.676);
}

.delete-button {
  border-radius: 5px;
  background-color: rgb(163, 80, 80);
  color: white;
  padding: 2px 10px;
  font-size: 120%;
  border: double white;
}

.delete-button:hover {
  background-color: rgb(116, 52, 52);
  color: rgba(255, 255, 255, 0.676);
}

/* Django Messages */

.django-messages-success {
  width: 100%;
  color: white;
  background-color: rgb(81, 164, 81);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.django-messages-error {
  width: 100%;
  color: white;
  background-color: rgb(116, 52, 52);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.django-messages-info {
  width: 100%;
  color: white;
  background-color: #b29231;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.django-messages-container {
  width: 100%;
}

/* Message Board Styles */

.modal-content {
  background-color: #5f5687;
  color: #d61e62;
}

button.btn-close {
  color: #d61e62;
}
.page-link {
  color: #fb2271;
  border-radius: 5px;
  background-color: #febe38;
  margin-top: 5px;
}

.extended-table {
  display: none;
}

.right-table {
  text-align: center;
}

.post {
  background-color: #352870;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 150%;
  overflow-wrap: break-word;
}

.reply {
  overflow-wrap: break-word;
}

.message-board {
  width: 100%;
}

.username {
  font-size: 200%;
}

.message-board tr {
  height: 50px;
}

.modal-dialog {
  color: #1b1835;
}

/* High Score Page Styles */

.centered {
  text-align: center;
}

#line {
  height: 2px;
  background-color: #fb2271;
  opacity: 1;
}

.high-score-table td,
.high-score-table th {
  font-size: 50%;
}

td .high-score-user {
  text-decoration: none;
  color: white;
}

td .high-score-user:hover {
  text-decoration: underline;
  color: #b38522;
}

.ranking {
  color: #fb2271;
}

.high-score {
  font-size: 40%;
}

#high-score-table {
  height: 80vh;
  font-size: 40%;
  border-radius: 10px;
  margin-top: 20px;
}

#high-score-table table {
  width: 100%;
}

#high-score-table img {
  margin-left: -2px;
}

#high-score-table table td {
  border-top: solid #febe38;
}

#high-score-table table td {
  padding-bottom: 5px;
  padding-top: 5px;
}

.high-score-img {
  display: flex;
  height: 50px;
  width: 50px;
  overflow: hidden;
  border: 2px solid rgb(197, 127, 127);
  /*box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);*/
}

.container-fluid, .row{
    padding-right:0 !important;
    padding-left:0 !important;
}

.footer-icon {
  height: 32px;
  margin: 20px;
}

#main-content{
    padding-right:10px;
    padding-left:10px;
}

#footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.order-6{
    order:6 !important;
}
.order-7{
    order:7 !important;
}
.order-8{
    order:8 !important;
}
.order-9{
    order:9 !important;
}
.order-10{
    order:10 !important;
}
.order-11{
    order:11 !important;
}.order-12{
    order:12 !important;
}.order-13{
    order:13 !important;
}
.order-14{
    order:14 !important;
}

@media screen and (max-width: 567px) {


  .footer-icon {
    margin: 10px 5px;
  }
  .last-nav-item {
    display: none;
  }
  .nav-link {
    text-align: left;
    font-size:70%;
  }
  #email-contact {
    display: none;
  }
}
@media screen and (min-width: 568px) {
  .nav-item-mobile {
    display: none !important;
  }

  .nav-item-other {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 1000px) {
  /* Profile Page Styles */

  /* High score page styes */

  #high-score-table td,
  #high-score-table th {
    font-size: 100%;
  }
}

@media screen and (min-width: 992px) {
  /* Message Board Styles */

  .extended-table {
    display: revert;
  }

  .right-table {
    text-align: center;
  }

  /* Profile Page Styles */

  #details {
    font-size: 130%;
  }

  #about-me-text {
    max-width: 600px;
  }
}

h2 {
  text-align: center;
}

.badge {
  color: rgb(68, 179, 209);
  font-size: 110%;
  position: relative;
  bottom: 5px;
  left: -10px;
}
