:root {
    --bg: url("./assets/img/bg.jpg");
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url("assets/fonts/icons.woff2") format('woff2');
}

html, body {
    height: 100vh;
    width: 100vw;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}

body {
    padding: 15px;
    font-family: sans-serif;
    font-size: 24px;
    background: var(--bg);
}

* {
    font-family: sans-serif;
    overflow: hidden;
}

label {
    color: white;
}

h1 {
    font-family: sans-serif;
    text-align: center;
    font-size: 24px;
    margin-top: 16px;
    font-weight: bold;
}

small {
    font-size: 11px;
}

ion-content {
    --background: url("./assets/img/bg.jpg") #000;
    --padding: 20px;
    --color: #fff;
}

ion-content.ion-content-black {
    --background: #000;
}

ion-tab-button.ios {
    --padding-bottom: 20px;
}

ion-tab-bar.ios {
    height: 85px;
}

.uid-start {
    font-size: 20px;
    color: gray;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 5px;
}

.uid-input {
    padding: 10px;
    height: 100%;
}

.uid-container {
    display: flex;
    justify-content: center;
    height: 35px;
    width: 100%;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); */
    /* border: 3px solid gray;
    border-radius: 5px; */
    width: 100%;
    max-width: 800px;
    margin: auto;
    margin-bottom: 15px;
    padding: 12px;
}

.page {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 3px solid gray;
    border-radius: 5px;
    display: flex;
    width: 100%;
    padding: 5px 10px;
    margin-bottom: 10px;
    margin-left: 1px;
    margin-right: 1px;
}

.page-visible {
    display: block;
    opacity: 1;
}

.page-invisible {
    display: none;
    opacity: 0;
}

.prim-btn-container {
    display: flex;
    justify-content: center;
}

.prim-btn {
    background: #4bb74d;
    color: white;
    border: 1px solid gray;
    border-radius: 5px;
    padding: 5px;
    width: 200px;
    height: 50px;
    margin: 5px;
}

.input-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    padding: 2px;
}

hr {
    color: transparent;
    border-bottom: 2px dashed white;
}

.warning {
    color: white;
    text-align: center;
    font-size: 14px;
}

.radio-input {
    position: absolute;
    visibility: hidden;
    display: none;
}

.radio-label {
    color: white;
    display: inline-block;
    cursor: pointer;
    padding: 5px 20px;
    transition: all 0.2s;
    font-size: 14px;
    width: 100%;
    text-align: center;
}

.radio-input:checked + .radio-label {
    background: rgba(200, 200, 200, 0.5);
}

.radio-label + .radio-input + .radio-label {
}

.radio-group {
    border: solid 3px #675f6b;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    height: fit-content;

    /* blurred bg */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.form-input {
    width: fit-content;
    height: fit-content;
    padding: 5px;
    font-size: 16px; 
}

.form-label {
    font-size: 16px;
    color: white;
    width: 100%;
    flex-grow: 1;
    margin-top: 18px;
    margin-bottom: 0;
}

.continue-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.view-infotitle {
    font-size: 16px;
    font-weight: lighter;
    height: fit-content;
}

.view-value {
    font-size: 16px;
}

.view-left {
    min-width: 40%;
}

.view-right {
    min-width: 40%;
}

.TEMP-circle-thingy {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: white;
}

.example {
    width: 125px;
    height: 125px;
    margin: auto auto;
    box-sizing: border-box;
    border-radius: 5px;
}
/* 
.btn-spaced {
    margin: 2px;
}

.btn, .btn > * {
    font-size: 16px;
} */

.scoremiss-group-container {
    display: flex;
    justify-content: space-between;
    /* border: 1px solid red; */
}

.scoremiss-input-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px;
    /* border: 1px solid blue; */
}

.page-disabled, .page-disabled .view > * {
    display: none;
    margin: 0;
    height: 0;
}

.page-enabled {
    display: block;
}

.range {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.modal-body span {
    font-size: 18px;
    text-align: center;
    display: block;
}

label .btn {
    width: min-content;
}

textarea {
    width: 100%;
    height: 150px;
    font-size: 22px;
}

.btn.quantity-left-minus {
    border-radius: 0;
}

.btn.quantity-right-plus {
    border-top-left-radius: 0;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 0;
}

.form-control.input-number {
    text-align: center;
}

.modal-backdrop {
    display: none !important;
}


/* ONLINE DETECTOR */

div.online-indicator {
  display: inline-block;
  width: 15px;
  height: 15px;
  top: 1px;
  left: 3px;
  margin-right: 5px;
  margin-top: 4px;
  border-radius: 50%;
  position: relative;
}

span.blink {
  display: block;
  width: 15px;
  height: 15px;
  background-color: #2f9c4e;
  opacity: 0.7;
  border-radius: 50%;
  animation: blink 1s linear infinite;
}

.online-text {
  display: inline;
  color: #338d4d;
  font-size: 16px;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  position: relative;
}

#suggestions {
    padding: 0 8px 0 17px;
    font-size: 14px;
    line-height: 2;
    color: lightblue;
    text-decoration: underline;
}

@keyframes blink {
  100% { 
    transform: scale(2, 2); 
    opacity: 0;
  }
}