body {
    background-color: rgb(22, 22, 22);
}

#wheel-title {
    width: 100%;
    font-size: 3rem;
    text-align: center;
    background-color: transparent;
    color: white;
    border: none;
    margin-bottom: 10px;
}

#wheel-title:focus {
    border: 2px solid white;
}

@keyframes wheelFinished {
    0% {
        transform: scale(0.001);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes wheelSaved {
    0% {
        transform: translateY(100px);
    }
    20% {
        transform: translateY(0px);
    }
    80% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(100px);
    }
}

#wrapper {
    width: 75vw;
    min-width: 350px;
    text-align: center;
    margin: auto;
}

#menu-div {
    margin: auto;
    margin-top: 4%;
    width: 50vh;
    color: white;
}

#add-option-btn > img, #share-wheel-btn > img {
    width: 100%;
    height: 100%;
}

object {
    pointer-events: none;
}

svg {
    fill: white;
}

#icon-1 {
    fill: rgb(74, 146, 110);
}

#icon-2 {
    fill: rgb(165, 78, 51);
}

#icon-3 {
    fill: rgb(136, 160, 48);
}

#icon-4 {
    fill: rgb(36, 133, 197);
}

#icon-5 {
    fill: orange;
}

.wheel-actions {
    font-size: 22px;
    background-color: transparent;
    position: relative;
    width: 35px;
    height: 35px;
    margin-top: 10px;
    padding: 0;
    border: none;
}

.wheel-actions:not(:last-of-type) {
    margin-right: 15px;
}

.wheel-actions:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-tooltip {
    position: absolute;
    opacity: 0;
    font-size: 1rem;
    transition: opacity 0.5s;
    background-color: rgb(50, 50, 50);
    color: white;
    bottom: -42px;
    left: -3px;
}

.wheel-actions:hover .btn-tooltip {
    opacity: 1;
}

#start-btn {
    font-size: 24px;
    margin-top: 20px;
    width: 100px;
    height: 100px;
    background-color: gold;
    clip-path: circle(45%);
}

#start-btn:hover {
    background-color: rgba(255, 217, 0, 0.829);
}

#wheel-actions-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
    padding-bottom: 5px;
}

#wheel-options {
    border: none;
    padding-top: 10px;
    padding-bottom: 10px;
}

.wheel-option {
    width: 25%;
    margin: 5px;
    padding-right: 25px;
    display: none;
    background-color: gray;
    position: relative;
    border: 1px solid white;
}

.wheel-option > div > input {
    width: 96%;
    background-color: transparent;
    color: black;
    text-align: center;
    font-size: 18px;
    border: none;
}

.wheel-option > div > button {
    display: inline-block;
    position: absolute;
    top: 1px;
    right: 2px;
    width: 21px;
    height: 21px;
    padding: 0;
}

.modal {
    display: none;
    position: fixed;
    color: white;
    background-color: rgb(22, 22, 22, 0.9);
    font-size: 1.75rem;
    max-width: 500px;
    width: 90vw;
    padding: 5px;
    height: 100px;
    border: 2px solid white;
    left: calc(50% - 250px);
    top: calc(50% - 65px);
    text-align: center;
}

@media (max-width: 544px) {
    .modal {
        left: calc(50% - 47.5vw);
        top: calc(50% - 65px);
    }
}

#delete-modal {
    padding-right: 50px;
    font-size: 1.25rem;
}

#delete-modal > .modal-action-btn {
    margin-top: 15px;
}

#load-modal {
    height: auto;
}

#load-wheel-desc {
    display: inline-block;
    font-size: 2rem;
    border-bottom: 1px white solid;
    margin-bottom: 20px;
    margin-right: 10px;
}

#cookie-notice {
    font-size: 1.25rem;
    width: 100%;
    bottom: 10px;
}

.wheel-preview {
    display: none;
    position: relative;
    z-index: 2;
    width: 45%;
    cursor: pointer;
    border: none;
    margin-right: 5px;
    margin-bottom: 5px;
}

.wheel-preview:hover {
    border: 1px red solid;
}

.wheel-preview.selected {
    border: 1px cyan solid;
}

.delete-cookie-btn {
    position: absolute;
    z-index: 1;
    background-color: transparent;
    right: 10px;
    bottom: 5px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
}

.delete-cookie-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

#load-wheel-confirm-btn {
    margin-top: 10px;
    margin-bottom: 10px;
}

#share-url {
    color: inherit;
    height: 20px;
    font-size: 16px;
    max-width: 95%;
    width: 95%;
    background-color: transparent;
    resize: none;
}

.close-modal-btn {
    position: absolute;
    right: 5px;
    top: 5px;
}

.modal-action-btn {
    font-size: 18px;
    background-color: rgb(190, 190, 190);
}

#wheel-saved-popup {
    animation-duration: 5s;
    height: 75px;
    border-bottom: none;
    top: auto;
    bottom: 0;
}

#winner-div {
    display: none;
    position: absolute;
    text-align: center;
    background-color: rgb(109, 95, 95);
    width: 530px;
    animation-duration: 1s;
    animation-iteration-count: 1;
    font-size: 4.5rem;
}

#wheel-div {
    display: none;
    width: 100%;
    text-align: center;
    margin-top: 8%;
}

.wheel-preview-canvas {
    height: 100px;
    width: 100px;
}

canvas {
    height: 50vh;
    width: auto;
    margin-top: 20px;
}