html {
    height: 100%;
}

body {
    margin: 0;
    font-family: Poppins, Arial, sans-serif;
    text-align: center;
    height: 100%;

}
.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #f69c44 transparent #f8bb59 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.error-popup {
    display: none;
    position: fixed;
    top: 15px;
    left: 25%;
    right: 20%;
    /*transform: translateX(-50%);*/
    background-color: #ff6347;
    color: #fff;
    padding: 10px 20px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    animation: ease-in-out horizontal-shaking 0.3s forwards;
    animation-iteration-count: 2;
}

@keyframes horizontal-shaking {
    0% { transform: translateX(0) }
    25% { transform: translateX(5px) }
    50% { transform: translateX(-5px) }
    75% { transform: translateX(5px) }
    100% { transform: translateX(0) }
}

.separator {
    border: rgba(0, 0, 0, 0.1) solid 1px;
    margin: 15px 0;
}

* {
    font-family: Poppins, Roboto, serif;
    /*font-size: 20px;*/
    text-transform: uppercase;

    -webkit-transition: all ease-in-out 500ms;
    -moz-transition: all ease-in-out 500ms;
    -o-transition: all ease-in-out 500ms;
    -ms-transition: all ease-in-out 500ms;
    transition: all ease-in-out 500ms;

    /*border: red solid 2px;*/
}

.tool-tip {
    display: none;
}

.tool-tip-logo {
    width: 1rem;
}

.tool-tip-logo:hover ~ .tool-tip {
    --pos: 50%;
    right: unset;
    left: unset;

}


.tool-tip.active {
    position: absolute;
    display: inline-block;
    background: black;
    border-radius: 15px;
    bottom: 120%;
    height: max-content;
    width: max-content;
    color: white;
    padding: 2px 20px;
    --pos: 50%;
}

.tool-tip.active::before {
    content: "";
    position: absolute;
    top: 100%;
    left: var(--pos);
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.typed-out {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typing 0.3s forwards;
}


@keyframes typing {
    from {
        width: 0
    }
    to {

        width: 100%
    }
    100% {
    }
}

@keyframes erasing {
    from {
        width: 100%
    }
    to {
        width: 0;
        display: none;
    }
}


.scale-anim {
    transition: transform 0.3s;
}

.scale-anim:hover {
    transform: scale(1.1);
}

.toggle {
    cursor: pointer;
    display: inline-block;
    vertical-align: center;

}

.toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 58px;
    height: 32px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
}

.toggle-switch:before, .toggle-switch:after {
    content: "";
}

.toggle-switch:before {
    display: block;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    width: 24px;
    height: 24px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left 0.25s;
}

.toggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.toggle-checkbox:checked + .toggle-switch {
    background: #f8bb59;
}

.toggle-checkbox:checked + .toggle-switch:before {
    left: 30px;
}

.toggle-checkbox {
    position: absolute;
    visibility: hidden;
}

.toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
}

h1 {
    font-size: 2em;
    letter-spacing: 0.2rem;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.image-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
}

.form-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    flex-grow: 1;
    margin: 0 5vw;
    height: 100%;

    /*margin-top: 4rem;*/
}

form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

input {
    width: auto;
    padding: 10px 20px;
    margin: 2px;
    background: white no-repeat;
    min-width: 100px;
    background-size: cover;
    border: 0;
    text-transform: none !important;
}

input:focus {
    background: rgb(232, 232, 232);
    color: rgb(71, 71, 71);
    border: 1px #007bff !important;
}


select {
    margin-bottom: 10px;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

button {
    padding: 5px 40px;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.326);
    background: #007bff url("/images/blue_fade_button.png") no-repeat;
    background-size: cover;
}

button:hover {
    transform: scale(1.05);
    transition: 120ms;
}

.logo {
    /*position: fixed;*/
    cursor: pointer;
    max-width: 200px;
    /*margin: 10px 0 0 10px;*/
}

.canvas {
    display: flex;
    flex-direction: column;
    height: 100vh;
    /*width: 100%;*/
}

.background-contour {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1vh;
    border-radius: 30px;
    background-image: url("/images/00_BACKGROUND.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #00fc5f;
}

.round-contour {
    background-color: #f2f2f2;
    border-radius: 15px;
    padding: 15px 0 0 0;
}

