:root {
    --primary: #ff9817;
    --secondary: #0f4e71;
    --light-bg: #d8d8d8;
}

* {

    font-family: Arial, Helvetica, sans-serif;
}

html {
    height: 100%;
    width: 100%;
    display: grid;
    overflow: hidden;
}

body {
    height: 90vh;
    margin: auto;
    aspect-ratio: 1284 / 2778;
    /* Screen Resolution des iPhone als Verhältnis */
    background-color: black;
}

#phone {
    position: absolute;
    height: 103%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100000;
}

#screen {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #000000;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

.nav {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    height: 60px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    background-color: var(--primary);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    gap: 5px;
    padding: 5px 20px;
}

#scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: white;

    padding: 10% 5% 70px 5%;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#scan-text {
    text-align: center;
}

#scan-close {
    width: 50px;
    margin-left: auto
}

#scan-flashlight,
#scan-keyboard {
    background-color: var(--secondary);
    color: white;
    width: 90px;
    margin: 0 10px;
}

#scan-flashlight span,
#scan-keyboard span {
    font-size: 45px;
}

#qr-code {
    width: 100%;
    border-radius: 20px;
}

.qrcodeErkannt {
    border: 10px solid #4ec800;
}

.round-button {
    display: grid;
    place-content: center;
    background-color: var(--light-bg);
    width: 50px;
    aspect-ratio: 1;
    border-radius: 100%;
    border: none;
}


.big-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.clickable {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.clickable::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    height: 100%;
    width: 150%;
    background-image: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 80%);
    transform: skewX(-30deg);
    transition: left 0.5s;
}

.clickable:hover::before {
    left: 150%;
}

#info {
    position: absolute;
    top: 10%;
    left: 50%;
    background-color: white;
    width: 80%;
    z-index: 1000;
    padding: 5%;
    border-radius: 20px;
    transform: translateX(-50%);
    text-align: center;
    filter: drop-shadow(0px 0px 10px #666666);
    color: black;
}

#floating {
    position: absolute;
    right: 20px;
    bottom: 80px;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.floating-button {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: var(--secondary);
    color: white;
    display: grid !important;
    place-items: center;
}

img.scooterIcon {
    background-color: white !important;
    border-radius: 50% !important;
}

.button-full.disabled,
.slider-button.disabled {
    background-color: gray;
}

.full-button {
    display: grid;
    place-content: center;
    background-color: var(--primary);
    width: 100%;
    height: 50px;
    border-radius: 10px;
    color: white;
}


#map {
    height: calc(100% - 60px);
    z-index: 1;
}

.reserved{
    box-shadow: 0 0 10px 5px var(--primary);
    animation: pendingReservation 2s ease-in 1s infinite alternate;
}

@keyframes pendingReservation {
    0% {
        box-shadow: 0 0 15px 5px var(--primary);
    }
    100% {
        box-shadow: 0 0 15px 15px var(--primary);
    }
}

.icon-with-text{
    display: flex;
    gap: 10px;
    align-items: center;
}

.icon-with-text img{
    width: 30px!important;
}