@font-face {
    font-family: "impact nieuw";
    src: url("../font/impact-nieuw-2012.otf") format("opentype");
}
@font-face {
    font-family: "notcourier";
    src: url("../font/NotCourierSans.otf");
}
:root{
    --changing-color: #FFFF00;
    --changing-color-opac: #FFFF00DD;
}

body {
    font-family: Arial;
    margin: 0px;
    overflow: scroll;
}

.monospace {
    font-family: monospace;
}
.bodytext{
    font-family: Arial;
    font-size: 1.2rem;
    line-height: 1.3rem;
}
.link{
    font-family: "Times New Roman";
    font-size: 1.3rem;
    font-style: italic;
    text-decoration: underline 1px;
    text-underline-offset: 0.1rem;
    color: black;
}
.link:hover{
    background-color: #FFFF00;
}
.button{
    padding: 5px 5px;
    border: none;
    border-radius: 15px;
    box-shadow: #00000066 0px 2px 5px;
    font-family: Arial;
    font-size: 0.9rem;
    border: 1px solid transparent;
    margin-top: 5px;
}
.yellow-button{
    background-color: #FFFF00;
    padding: 3px 20px;
    border: 1px transparent solid;
    border-radius: 15px;
    box-shadow: #00000066 0px 2px 5px;
    font-family: Arial;
    font-size: 1.1rem;
    border: 1px solid transparent;
}
.grey-button{
    background-color: #d9d9d9;
    padding: 3px 20px;
    border: 1px transparent solid;
    border-radius: 15px;
    box-shadow: #00000066 0px 2px 5px;
    font-family: Arial;
    font-size: 1.1rem;
}
.black-button{
    background-color: #101010;
    color: white;
    padding: 3px 20px;
    border: 1px transparent solid;
    border-radius: 15px;
    box-shadow: #00000066 0px 2px 5px;
    font-family: Arial;
    font-size: 1.1rem;
}
.color-button{
    background-color: var(--changing-color);
    color: black;
    padding: 3px 20px;
    border: 1px transparent solid;
    border-radius: 15px;
    box-shadow: #00000066 0px 2px 5px;
    font-family: Arial;
    font-size: 1.1rem;
}
.button:hover, .yellow-button:hover, .grey-button:hover, .color-button:hover{
    background-color: #101010;
    color: white;
    border: 1px solid white;
}
.black-button:hover{
    background-color: #750000;
    color: white;
    border: 1px solid white;
}

.h1impact{
    font-family: "impact nieuw";
}

.donatebtn{
    width: 100%;
    display: flex;
    justify-content: center;
}

*:focus{
    outline: none;
}

/* pop up settings */
/* .switch-btn{
    transform: rotate(180deg);
    writing-mode: vertical-lr;
    padding: 20px 5px;
    font-family: "impact nieuw";
    font-size: 1.3rem;
    border-radius: 0px 10px 10px 0px;
} */

.modal-content{
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}
.modal-body{
    padding: 0;
    margin: 0;
    --bs-modal-padding: 1rem 0;
}
.settings-header{
    display: flex;
    justify-content: space-between;
    background-color: transparent;
}
#settings_color{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
}
/* .input-group-text{
    background-color: yellow;
} */
div.settings_footer_ctr {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 1rem;
    margin: 0;
}

/* content complete */
div#content_ctr {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100vh;
    background-color: var(--changing-color);
    /* background-image: url("../img/bgc.png");
    background-size: cover; */
    /* background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(249,235,136,1) 81%);  */

}

/* header */
div#header_ctr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
}
div#hmm-banner{
    text-align: center;
    width: 100%;
    font-size: 1.4rem;
    box-shadow: #00000066 0px 2px 5px inset;
    padding: 3px;
    background-color: #FFFF00;
}
div#header_prompt{
    padding: 1rem;
    font-family: "impact nieuw";
    font-size: 2rem;
    line-height: 2.2rem;
    background-color: black;
    color: #ffffff;
    height: auto;
    text-align: center;
    box-shadow: #000000DD 0px 0px 10px;
    width: 100vw;
}

/* contestant */
div#contestant_ctr{
    background-image: url("../img/bgc.png");
    background-size: cover;
    margin: 1rem;
    padding: 0.5rem 1rem 1rem 1rem;
    height: 100%;
    box-shadow: #000000DD 0px 0px 10px;
    display: grid;
    grid-template-rows: min-content 1fr min-content;
}

/* name */
div.contestant_name{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.name_input_before {
    font-family: "impact nieuw";
    font-size: 1.4rem;
    width: 100%;
    display: flex;
    justify-content: center;
}
#name_input{
    border-radius: 15px;
    margin-left: 0.5rem;
    font-family: Arial;
    font-size: 1.2rem;
    width: 50vw;
    padding-left: 10px;
    box-shadow: #00000066 0px 0px 2px 1px;
}

/* error */
span.error{
    width: 100%;
    border-radius: 15px;
    font-weight: bold;
    padding: 0 10px;
    color: red;
    min-height: 0.5rem;
}

/* input */
div.contestant_input_ctr {
    box-sizing: border-box;
    /* border: 1px solid black; */
    width: 100%;
    padding-bottom: 1rem;
    /* padding: 20px; */
}
div.contestant_prompt_input_ctr {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr min-content;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
textarea#contestant_prompt_input {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    font-size: 2.2rem;
    line-height: 2.4rem;
    border-radius: 20px;
    background-color: var(--changing-color);
    resize: none;
    padding: 10px;
    box-shadow: #00000066 0px 0px 2px 1px;
}

button.go {
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 0;
    background-color: var(--changing-color);
    -moz-box-shadow:  0 0 10px  #000000;
    -webkit-box-shadow:  0 0 10px  #000000;
    box-shadow:  0 0 10px  #000000;
    font-family: "impact nieuw";
    font-size: 1.7rem;
    cursor: pointer;
}

button.go:hover:not([disabled]) {
    /* background-color: #94DE2A; */
    border: 2px solid white;
    color: white;
    background-color: black;
}
button.go:active:not([disabled]) {
    /* opacity: 50%; */
    scale: 95%;
}
button.go:disabled{
    text-shadow:  1px 1px 0 #00000011,
        -1px 1px 0 #00000011,
        -1px -1px 0 #00000011,
        1px -1px 0 #00000011;
    color: var(--changing-color);
    cursor:default;
    /* display: none;
    width: 0px;
    height: 0px; */
}
/* results */
div.contestant_result_ctr {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    margin: 0px;
}
.contestant_result_img_ctr {
    position: relative;

}

img.contestant_result_img_img {
    position: relative;
    box-sizing: border-box;
    max-width: 100%;
    -moz-box-shadow:  0 0 10px  #000000;
    -webkit-box-shadow:  0 0 10px  #000000;
    box-shadow:  0 0 10px  #000000;
    cursor: pointer;
}

.contestant_result_img_ctr .spinner-grow {
    position: absolute;
    width: 100px;
    height: 100px;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    color: var(--changing-color);
    border: 1px solid black;
    /* --bs-spinner-border-width: 10px; */
    z-index: 999;
}

img.contestant_result_img_img:hover {
    transition: transform 0.3s ease 0s;
    transform: scale(130%);
    z-index: 100;
}

.hover_move_up:hover {
    transform-origin: bottom center;
}

.hover_move_left:hover {
    transform-origin: bottom right;
}

.hover_move_right:hover {
    transform-origin: bottom left;
}



/* selected image */
.modal-dark {
    --bs-modal-bg: rgba(0,0,0,0.1);
    background-image: linear-gradient(0deg, rgba(2,0,36,0.7) 0%, var(--changing-color-opac) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 1rem;
}
#name-image-selection{
    font-size: 2rem;
}
#name-image-selection::after{
    content: ":"
}

#selectedImageModal div.modal-body {
    font-size: 1.5rem;
    line-height: 1.6rem;
    font-family: Arial;
    text-align: center;
    color: black;
    background-color: var(--changing-color);
    box-shadow: #000000CC 0px 2px 10px 1px;
    border-radius: 20px;
    max-width: 70vh;
    height: 80vh;
    max-height: 80vh;
    padding: 2rem;
    display: grid;
    grid-template-rows: min-content auto max-content;
    gap: 1rem;
}

div.selectedImageImage{
    display: grid;
    min-width: 0;
    min-height: 0;
    justify-content: center;
}

.selectedImageImage img{
   max-height: 100%;
   min-height: 0;
   box-shadow: #000000CC 0px 2px 10px 2px;
}

/* .next_button_fs{
     margin: 0 auto 2rem auto;
} */
#selectedImageModalNextButton{
    font-family: "impact nieuw";
    font-size: 1.7rem;
    padding: 10px 2rem;
}

/* settings icon */

div#settings_icon {
    z-index: 999;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 32px;
    opacity: 0;
}

div#settings_icon img {
    width: 100%;
}

div#settings_icon:hover {
    opacity: 1;
}



/* div.settings_footer_left {
    justify-self: flex-start;
}

div.settings_footer_right {
    justify-self: flex-end;
} */

/* div.timer_ctr {
    z-index: 999;
    position: absolute;
    background-color:#FFFFF3 ;
    color: black;

    height: 70px;
    width: 200px;

    left: 20px;
    top: 20px;

    font-family: "impact nieuw";
    font-size: 3rem;
    text-align: center;
    padding-top: 10px;

    -moz-box-shadow: inset 0 0px 10px  #000000;
    -webkit-box-shadow: inset 0 0px 10px  #000000;
    box-shadow: inset 0 0px 10px  #000000;
}

.timer_low {
    color: red;
} */
