body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(255, 255, 255);
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 10px 10%;
}

.text-center {
    text-align: center;
    margin-bottom: 16px;
}

.button {
    background-color: #e5e7eb;
    color: black;
    padding: 8px 16px;
    margin-bottom: 16px;
    border: none;
    cursor: pointer;
}

.selection-overlay {
    width: 600px;
    height: 400px;
    background-size: cover;
    background-position: right bottom;
    position: relative;
}

.selection-overlay_inner{
    position: relative;
    right: 52px;
    bottom: 52px;
}

.rectangle {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(87, 87, 87, 0.449);
    background-color: rgba(129, 129, 129, 0.445);
    pointer-events: auto;
    cursor: pointer;
}

.rectangle.vybrano {
    border: 2px solid green;
    background-color: rgba(0, 255, 0, 0.3);
}

.footer {
    position: absolute;
    top: 90%;
    text-align: center;
    margin-top: 16px;
}

@keyframes priletnuti {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1.5);
        opacity: 1;
    }
}

.success {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 320px;
    padding: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background: #EDFBD8;
    border-radius: 8px;
    border: 1px solid #84D65A;
    box-shadow: 0px 0px 5px -3px #111;
    opacity: 0;
    position: absolute;
    top: 55%;
}

.success--visible {
    opacity: 1;
    animation: priletnuti 0.5s forwards;
}

.success__icon {
    width: 20px;
    height: 20px;
    transform: translateY(-2px);
    margin-right: 8px;
}

.success__icon path {
    fill: #84D65A;
}

.success__title {
    font-weight: 500;
    font-size: 14px;
    color: #2B641E;
}

.success__close {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: auto;
}

.success__close path {
    fill: #2B641E;
}
