body {
    margin: 0;
    overflow: hidden;
    font-family: 'Toyota Type', Arial;
}

#container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(60px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    color: #fff;
    font-size: 24px;
}

#ui {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none
}

.btn {
    background-color: white;
    box-sizing: border-box;
    cursor: pointer;
    appearance: button;
    padding: 8px 16px;
    color: #333;
    border: 1px solid rgba(58, 58, 58, .4);
    pointer-events: all;
}

.top-buttons input[name='camera'] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.top-buttons input[type="radio"]:checked+label {
    background-color: #333;
    color: white;
}

.top-buttons {
    position: absolute;
    top: 30px;
    left: 30px;
}

.actions {position: fixed;
            left: 10px;
            top: 85px;
}

.colors {
    position: fixed;
            left: 100px;
            top: 85px;
}

.round-btn {
    pointer-events: all;
    border-radius: 50px;
    height: 50px;
    border: none;
    display: block;
    width: 50px;
    margin-bottom: 13px;
    cursor: pointer;
    border: 1px solid #d6d6d647;
    transition: all 0.2s ease-out;
}

.round-btn:hover {
    transform: scale(1.1);
}

.round-btn img {
    width: 90%;
}

.actions ul, .colors ul {
    list-style: none;
}

.popup {
    z-index: 5;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.popup .popup-content {
    width: 500px;
    max-width: 100%;
    background: white;
    position: relative;
}

.popup-content .popup-text {
    padding: 30px;
}

.popup-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.popup-content .popup-close {
    width: 30px;
    height: 30px;
    content: '×';
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 10px 1px #000000bf;
    position: absolute;
    right: 30px;
    top: 30px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.bar {
    width: 300px;
    background: black;
    height: 1px;
    margin-top: 21px;
}

.bar-progress {
    width: 0%;
    height: 100%;
    background: #fff;
}