
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.85);
}

input[type=text] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #d3d3d3;
    border-radius: 4px;
    background-color: #f8f8f8;
}

body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    text-align: center;
}

.captcha {
    background-color: #f9f9f9;
    border: 2px solid #d3d3d3;
    border-radius: 5px;
    color: #4c4a4b;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text {
    font-size: 18px;
    font-weight: 500;
    margin-right: 1em;
}

.spinner {
    position: relative;
    width: 2em;
    height: 2em;
    display: flex;
    margin: 2em 1em;
    align-items: center;
    justify-content: center;
}

input[type=checkbox] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

input[type=checkbox] + .checkmark {
    display: inline-block;
    width: 2em;
    height: 2em;
    background-color: #fcfcfc;
    border: 2.5px solid #c3c3c3;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

input[type=checkbox] + .checkmark span {
    content: '';
    position: relative;
    /*
        position:absolute;
        border-bottom:3px solid;
        border-right:3px solid;
        border-color:#029f56;*/;
    margin-top: -3px;
    transform: rotate(45deg);
    width: .75em;
    height: 1.2em;
    opacity: 0;
}

input[type=checkbox] + .checkmark > span:after {
    content: '';
    position: absolute;
    display: block;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #029f56;
}

input[type=checkbox] + .checkmark > span:before {
    content: '';
    position: absolute;
    display: block;
    width: 3px;
    bottom: 0;
    right: 0;
    background-color: #029f56;
}

input[type=checkbox]:checked + .checkmark {
    animation: 2s spin forwards;
}

input[type=checkbox]:checked + .checkmark > span {
    animation: 1s fadein 1.9s forwards;
}

input[type=checkbox]:checked + .checkmark > span:after {
    animation: .3s bottomslide 2s forwards;
}

input[type=checkbox]:checked + .checkmark > span:before {
    animation: .5s rightslide 2.2s forwards;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes bottomslide {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes rightslide {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    align-self: flex-end;
    margin: 0.5em 1em;
}

.logo img {
    height: 2em;
    width: 2em;
}

.logo p {
    color: #9d9ba7;
    margin: 0;
    font-size: 1em;
    font-weight: 700;
    margin: .4em 0 .2em 0;
}

.logo small {
    color: #9d9ba7;
    margin: 0;
    font-size: .8em;
}

@keyframes spin {
    10% {
        width: 0;
        height: 0;
        border-width: 6px;
    }
    30% {
        width: 0;
        height: 0;
        border-radius: 50%;
        border-width: 1em;
        transform: rotate(0deg);
        border-color: rgb(199, 218, 245);
    }
    50% {
        width: 2em;
        height: 2em;
        border-radius: 50%;
        border-width: 4px;
        border-color: rgb(199, 218, 245);
        border-right-color: rgb(89, 152, 239);
    }
    70% {
        border-width: 4px;
        border-color: rgb(199, 218, 245);
        border-right-color: rgb(89, 152, 239);
    }
    90% {
        border-width: 4px;
    }
    100% {
        width: 2em;
        height: 2em;
        border-radius: 50%;
        transform: rotate(720deg);
        border-color: transparent;
    }
}

::selection {
    background-color: transparent;
    color: teal;
}

::-moz-selection {
    background-color: transparent;
    color: teal;
}

button[type=submit] {
    background-color: #5A5A5A;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: not-allowed;
}

#progressBarContainer {
    margin-top: 20px;
    height: 30px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    display: none;
}

#progressBar {
    height: 100%;
    background-color: #CCCCFF;
    border-radius: 10px;
    transition: width 1s ease-in-out;
    position: relative;
}

#processingText {
    position: absolute;
    color: black;
    font-size: 13px;
    top: 7px;
    left: 10px;
    animation: blinker 1s linear infinite;
    display: none;
    font-size: 13px;
    font-weight: bold;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}
