:root {
	--accent_color1: #354766;
    --accent_color2: #f27979;
    --accent_color3: #40a547;
    --accent_color4: #fec843;
    --txt-color: white;
    --font-size-players: 20px;
    --gap: 10px;
}

/*


    font-family: "raleway", sans-serif;
    font-weight: 700;
    font-style: italic;
    

    font-family: "mendl-sans-dusk", sans-serif;
    font-weight: 700;
    font-style: normal;

    
*/


body {
	background: var(--accent_color2);
    min-height: 100svh;
    color: var(--txt-color);
}

.combobox {
	--cbbw: 50px;
    background: black;
    color: white;

}

header {
    width: 100%;
    display: flex;
    align-items: center;
}

header:before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent_color1);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 80%);
}

#page {
    padding-top: 25px;
}

h1, h2, h3, h4, h5 {

    font-family: "mendl-sans-dusk", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
}

h3 {
    letter-spacing: 2px;
    margin-bottom: 7.5px;
    font-size: 28px;
}

header .container {
    height: 175px;
}

header .container img {
    height: 100%;
}
header .container a {
    position: absolute;
    left: 0;
    top: 10px;
    height: 100%;
}

.combobox .group {
    display: grid;
    cursor: pointer;
    grid-template-columns: 1fr max-content;
    align-items: flex-start;
    width: 100%;
}

.combobox input, .combobox button {
	padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
    outline: none;
	height: var(--cbbw);
    background: black;
    color: currentColor;
}

.combobox input {
    padding-left: 15px;
    text-transform: uppercase;
    font-family: "mendl-sans-dusk", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: var(--font-size-players);
}

.combobox button {
	width: var(--cbbw);
	color: white;
    background: var(--accent_color3);
    transform: rotate(90deg);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 4px;
}

.combobox ul[role="listbox"] {
    margin: 0;
    padding: 0 !important;
    position: absolute;
    left: 0px;
    top: var(--cbbw);
    list-style: none;
    display: none;
    border: 1px solid #4b4b4b;
    max-height: 400px;
    width: 100%;
    overflow: scroll;
    overflow-x: hidden;
    cursor: pointer;
    z-index: 999;
    background: black;
}

#search_nominees:has( ul[role="listbox"][style*="block"]  ):after {
    content: '';
    position: fixed;
    inset: 0;
    backdrop-filter: blur(5px);
    background: rgba(0,0,0,0.65);
    background: #f279799c;
    z-index: 2;
}

#search_nominees>* {
    z-index: 3;
}

.combobox:has( ul[role="listbox"][style*="block"]  ) button{
    xxborder-radius: 6px 0 0 0;
}


.combobox:has( ul[role="listbox"][style*="block"]  ) input{
    xxborder-radius: 6px 0 0 0;
}

.combobox input {
    border-radius: 0px;
}

.alert {
    border-radius: 0px;
}

.combobox ul li {
    display: grid;
    flex-direction: column;
    border-bottom: 1px solid #4b4b4b;
    align-items: center;
    margin: 0;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-family: "mendl-sans-dusk", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: var(--font-size-players);
}

.combobox ul[role="listbox"] li[role="option"]:after {
	content: 'kies';
    background: white
    color: var(--accent_color);
    padding: 5px 7.5px;
    opacity: 0;
    position: absolute;
    right: 0px;
}

[role="listbox"].focus [role="option"][aria-selected="true"]:after,
.combobox ul[role="listbox"] li[role="option"]:hover:after{
	opacity: 1;
}

[role="listbox"].focus [role="option"][aria-selected="true"],
[role="listbox"] [role="option"]:hover {
  background-color: var(--accent_color);;
}

numbers, nominees, sortable {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

#nominees_box {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: var(--gap);
    user-select: none;
}

.pdf_result  {
    width: 100%;
    background: red;
}

number, nominee, .pdf_result .number,.pdf_result .nominee {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: black;
    padding: 20px;
    overflow: hidden;
    color: white;
    letter-spacing: 1px;
}

.sortable nominee {
    cursor: move;
    padding-left: 35px;
}

number, .pdf_result .number {
    justify-content: center;
    font-size: 36px;

    font-family: "mendl-sans-dusk", sans-serif;
    font-weight: 700;
    font-style: italic;


}

nominee {
    padding-left: 35px;
    text-transform: uppercase;
    font-family: "mendl-sans-dusk", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: var(--font-size-players);
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 20px;
    justify-content: center;
    padding-top: 2px;

}

number .inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-60%, -50%);    
    color: var(--accent_color);
}

nominee svg {
    position: absolute;
    left: 5px;
    top: 50%;
    height: 32px;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 5px;
}

nominee svg.remove {
    right: 10px;
    left: auto;
    background: linear-gradient(270deg, #000000, #0000005e);
}

nominee svg.drag path {
    fill: #aaa;
}

nominee svg path {
    fill: var(--accent_color4);
}


buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.btn {
    width: max-content;
    background: var(--accent_color3);
    font-family: "mendl-sans-dusk", sans-serif;
    font-weight: 700;
    font-style: normal;
    border-radius: 0px;
    text-transform: uppercase;
    padding: 20px 40px;
    letter-spacing: 1px;
    font-size: var(--font-size-players);
}

buttons .btn {
    background: #aaa;
}

buttons .btn.active {
    background: var(--accent_color3);
}


club {

    color: #ccc;
    font-size: 75%;
    letter-spacing: 0.75px;
}

.overlay>div {
    background: var(--accent_color2);
}

.overlay-header {
    background: var(--accent_color1);
}



.overlay-header h3 {
    margin: 0px;
}

.overlay-content {
    height: max-content;
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay-content p {
    color: white;
}


/*#rfc_spinner, .loader {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 9999;
    background: rgba(0,0,0,0.65);
    left: 0px;
    top: 0px;
    display: none;
    backdrop-filter: blur(5px);
}*/
#rfc_spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

    #rfc_spinner>div, .loader>div {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        height: auto;
    }

    .rfc_spinner_bars, .loader-inner {
        display: flex;
        column-gap: 10px;
        align-items: center;
        height: 125px;
        width: auto;
        transform:none;
    }

        .rfc_spinner_bars>div, .loader-inner>div {
            width: 50px;
            background: var(--accent_color1);
            transform: skew(-15deg);
            animation: rfc_spinner 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite !important;
            animation-delay: calc( var(--i) * 0.12s) !important;
            position: relative;
            top: auto;
            left: auto !important;
            border-radius: 0px;
            height: 125px;
        }

        .loader-inner>div:nth-child(4){
            display: none;
        }


    @keyframes rfc_spinner {
        0% {
            height: 125px;
            background: white;
        }
        50%, 100% {
            height: 75px;
            background: var(--accent_color1);
        }
    }


@media screen and (max-width: 700px){

    :root {
        --font-size-players: 16px;
        --gap: 4px;
    }
    header .container {
        height: 10svh;
    }

    header:before {

    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 90%);
    }

    header .container img {
        left: 1svh;
    }

    h3 {
        font-size: 18px;
        letter-spacing: 1px;
        margin-bottom: 5px;
    }

    .combobox {
        --cbbw: 45px;
    }
    number, .pdf_result .number {
        font-size: 28px;
    }

    number, nominee, .pdf_result .number, .pdf_result .nominee {
        height: 45px;
    }

    #page>h3 {
        margin-top: 12.5px;
    }

    .btn {
        margin-top: 0px;
        padding: 15px 30px;
    }


}