@import url(https://fonts.googleapis.com/css2?family=Rubik+Mono+One&family=Rubik:ital,wght@0,300..900;1,300..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap);

body {
    font-family: "Rubik", sans-serif;
    margin: 0;
}

.loader {
  border: 4px solid #6c7086; /* Light grey */
  border-top: 4px solid #b4befe; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

.loader-small {
  width: 15px;
  height: 15px;
  padding: 5px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.message {
    min-height: 15vh;
    width: 93%;
    display: block;
    background-color: #181825;
    border-radius: 15px;
    margin-bottom: 10px;
    padding: 15px;
    align-items: center;
}

.message:empty {
    opacity: 0;
}

a {
    display: flex;
    font-size: 20px;
}

.a-unstyled {
    display: unset;
    font-size: unset;
}

.left {
    margin-right: auto;
}

.right {
    margin-left: auto;
}

.bar {
    width: 100%;
    background: linear-gradient(#55cdfc 0% 20%, #f7a8b8 20% 40%, #ffffff 40% 60%, #f7a8b8 60% 80%, #55cdfc 80% 100%);
    height: 10px;
    border-radius: 5px;
}

.bar-container {
    background-color: #6c7086;
    height: 10px;
    border-radius: 5px;
    margin: 5px;
}

.remark {
    color: #585b70;
    font-size: 12px;
}

h1, h2 {
    font-family: Rubik Mono One;
    font-weight: 500;
    text-align: center;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 24px;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.bg {
    background-color: #181825;
}

.button {
  text-align: center;
  background-color: #b4befe;
  color: #11111b;
  border-radius: 12px;
  border: 3px solid #313244;
  font-family: Space Mono;
  padding: 6px 12px;
  cursor: pointer;
}

.filePicker {
    height: max-content;
    min-height: 400px;
    max-height: 50vh;
    width: 95%;
    border-radius: 12px;
    border: 4px dotted #6c7086;
}

#game {
    display: none;
}

.center-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.box {
    width: 45%;
    margin: 2.5%;
    height: 45%;
}

.preview {
    display: none;
    width: 75%;
    margin-bottom: 10px;
}

.lost {
    display: none;
}

body {
    background-color: #11111b;
    color: #cdd6f4;
}

.chooseButton {
    margin-bottom: 20px;
}

form > .remark {
    margin: 10px;
}

.description {
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
}

.differentFile {
    margin-top: 10px;
}

.inline {
    display: inline-flex;
}

.no-margin {
    margin: 0;
}

@media (max-width: 768px) {
    .center-row {
        flex-direction: column;
    }

    .box {
        width: 90%;
        margin: 10px 0;
    }

    .preview {
        width: 100%;
        max-width: 400px;
    }

    .button {
        width: 100%;
        max-width: 300px;
        padding: 12px 16px;
        font-size: 16px;
    }

    .box .button {
        width: 100%;
    }

    h2 {
        font-size: 18px;
    }
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: linear-gradient(#11111b 0%, #112932 20%, #312225 30%, #333333 50%, #312225 70%, #112932 90%);
    height: 50px;
    color: #fff;
    text-align: center;
    align-items: center;
    align-content: center;
    font-family: Rubik Mono One;
    font-size: 12px;
}

.link {
    color: #89b4fa;
}

.shareYourScore {
    border: 5px solid #cba6f7;
}

.spin {
    border-radius: 15px;
    max-width: calc(100% - 30px);
    margin: 15px;
    opacity: 0.3;
}