:root {
    --color-dark: #3a3a3a;
    --color-light: #faf6f1;
	--radius: 10px;
	--icon-size: 80px;
}
::-moz-selection {
    color: var(--color-light);
    background: #00000099;
}
::selection {
    color: var(--color-light);
    background: #00000099;
}

* {
    text-align: center;
	outline: none;
}
.hidden {
	display: none !important;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;

    margin: 0;
    padding: 0;
    height: 100vh;
    user-select: none;
    font-family: "Alegreya Sans SC", sans-serif;
    color: var(--color-dark);
    background-color: var(--color-light);
}

a {
    color: var(--color-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

main {
    display: flex;
    flex-direction: column;
    width: 400px;
    max-width: calc(100vw - 50px);
    max-height: calc(100vh - 50px);
}

#responses {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#responses .response.interactive .response-count,
#responses .response.counter .response-icons {
    display: none;
}

#responses .response input {
    display: none;
}

#responses .response label {
    display: flex;
    gap: 10px;
    padding: 10px 15px;
    border-radius: var(--radius);
    background-color: rgba(0, 0, 0, .05);
    transition: all .3s ease-in-out;
}

#responses .response.interactive label {
    cursor: pointer;
}

#responses .response.interactive label:hover {
    background-color: rgba(0, 0, 0, .2);
}

#responses .response label .response-title {
    display: flex;
    align-items: center;
    font-size: 130%;
    text-align: left;
}

#responses .response .response-icons {
    position: relative;
    min-width: 20px;
}

#responses .response .response-count {
    min-width: 30px;
}

#responses .response svg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    transition: all .3s ease-in-out;
}

#responses .response input:not(:checked) + label svg.check {
    opacity: 0;
}

#responses .response input:not(:checked) + label:hover svg.check {
    opacity: .5;
}

#responses .response .response-count {
    display: flex;
    justify-content: center;
    align-items: center;
}

#responses .response .response-count span {
    font-size: 200%;
    font-weight: bolder;
}

#footer {
    margin: 20px 0 30px 0;
    opacity: .7;
}

body:not(.loading) .lds-ripple {
    visibility: hidden;
}

.lds-ripple {
    position: relative;
    width: 40px;
    height: 40px;
    margin: 20px auto 0 auto;
}

.lds-ripple div {
    position: absolute;
    border: 2px solid var(--color-dark);
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 18px;
        left: 18px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 18px;
        left: 18px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 18px;
        left: 18px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 36px;
        height: 36px;
        opacity: 0;
    }
}