@import url("colors.css");



button:hover {
    background-color: var(--accent)
}

.helper-background {
    margin-top: -100px;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--primary), 0.9);

    z-index: 1;
    pointer-events: all;
    filter: blur(8);
    backdrop-filter: blur(4px);
}

#super-popup-container {
    display: none;
}

.popup-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    position: fixed;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 800px;
    max-width: 80vw;
    height: 600px;
    background-color: var(--primary);
    border-radius: 35px;
    z-index: 69420;
    box-shadow: 0px 0px 20px black;
}

#popup-xbtn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--secondary);
    padding: 10px;
    scale: 2;
    cursor: pointer;
}

#popup-xbtn:hover {
    color: var(--accent);
}

div#top-bar {
    display: flex;
}

.settings-title {
    /* position: absolute; */
    /* display: inline; */
    padding-top: 5px;
    padding: 0 0 0 45%;
    color: var(--secondary);

}

.popup-info-container {
    color: var(--accent);
    padding-left: 7%;
    width: 40%;
    display: flex;
    flex-direction: column;
    position: relative;
}



.popup-btns {
    /* display: block; */
    background-color: var(--secondary);
    border-color: solid var(--secondary);
    color: var(--lowlight);
    font-size: larger;
    padding: 6px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.danger-btn {
    /* display: block; */
    background-color: var(--secondary);
    color: white;
    font-size: larger;
    padding: 6px;
    margin-bottom: 10px;
    border-radius: 10px;
    background-color: var(--important);
}

.danger-btn:hover {
    background-color: red;
}


/* Prefs */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary);
    -webkit-transition: .2s;
    transition: .2s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .2s;
    transition: .2s;
}

input:checked+.slider {
    background-color: var(--important);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--important);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* div.prefs-container {
    display: flex;
    flex-direction: row;
    text-align: center;
} */

h2.prefs-title {
    color: var(--secondary);
    /* margin-top: 20px; */
    padding-right: 10px;
}