@charset "utf-8";

:root {
    --background: #e8e9e7;
    --main-color1: #ffffff;
    --main-color2: #efefefff;
    --main-color3: #1c8b52ff;
    --select: #f1f1f1;
    --font-1: Century Gothic;
}

* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    scroll-behavior: smooth;
    overflow: hidden;
}

main {
    background-color: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    font-family: var(--font-1);
    font-weight: lighter;
}

#finde {
    height: 80vh;
    width: 130vh;
    background-color: var(--main-color1);
    border-radius: 30px;
    position: relative;
    z-index: 2;
}

#finde_rechts {
    position: absolute;
    height: 80vh;
    width: 50%;
    right: 0;
    background-color: var(--main-color2);
    border-radius: 0px 30px 30px 0px;
    z-index: 2;
    background-image: url("./../images/Blume1.png");
    background-size: 200vh;
    background-position: -30vh -70vh;
    background-repeat: no-repeat;
}

#shadow {
    height: 85vh;
    width: 135vh;
    border-radius: 30px;
    background-color: #cfcfcfff;
    position: absolute;
    filter: blur(50px);
    z-index: 0;
}

#car {
    position: absolute;
    height: 30vh;
    z-index: 3;
}

h1 {
    position: absolute;
    font-weight: lighter;
    font-size: 6vh;
    position: absolute;
    top: 20vh;
    left: 10vh;
    animation: fade .8s ease-in-out;
}

#erstelle_h1 {
    top: 5vh;
    animation: fade2 .8s ease-in-out;
    font-size: 2em;
}

@keyframes fade {
    0% {
        top: 22vh;
        opacity: 0;
    }

    100% {
        top: 20vh;
        opacity: 1;
    }
}

@keyframes fade2 {
    0% {
        top: 7vh;
        opacity: 0;
    }

    100% {
        top: 5vh;
        opacity: 1;
    }
}

#bg {
    color: var(--main-color3);
    letter-spacing: 4.38px;
    position: absolute;
    top: 1.2em;
    left: 1.4em;
    font-size: 2.3vh;
}

#trittbei {
    font-size: 4vh;
    position: absolute;
    top: 20vh;
    left: 5vh;
}

#greenemph {
    color: var(--main-color3);
}

.custom-select {
    position: absolute;
    width: 40vh;
    top: 35vh;
    left: 10vh;
}

#custom_select2 {
    top: 50vh;
}

#custom_select3 {
    top: 19vh;
    width: calc(2em + 9vw);
}

#custom_select4 {
    top: 32vh;
    width: calc(2em + 9vw);
}

#label_id,
#label_id2,
#label_id_reg,
#label_id2_reg {
    position: absolute;
    z-index: 5;
    top: 30vh;
    left: 10vh;
}

#label_id2 {
    top: 45vh;
}

#label_id_reg {
    top: 14vh;
}

#label_id2_reg {
    top: 27vh;
}

.custom-select select {
    display: none;
}

.select-selected {
    background-color: var(--select);
    border-bottom: 1px solid var(--background);
}

.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #949494ff transparent transparent transparent;
}

.select-selected.select-arrow-active:after {
    border-color: transparent transparent #949494ff transparent;
    top: 7px;
}

.select-items div,
.select-selected {
    color: #000000;
    padding: 8px 16px;
    cursor: pointer;
}

.select-items div {
    border-bottom: 1px solid var(--background);
}

.select-items {
    position: absolute;
    background-color: var(--select);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    overflow-y: auto;
    max-height: 200px;
}

#custom_select2 .select-items {
    z-index: 20;
    position: relative;
    max-height: 300px;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: var(--background);
}

::-webkit-scrollbar-thumb {
    background-color: #949494ff;
    border-radius: 10px;
}

::-webkit-scrollbar-button {
    display: none;
}

.select-hide {
    display: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

#suche,
#erstelle {
    background-color: var(--main-color3);
    color: var(--main-color1);
    border: none;
    border-radius: 6px;
    width: 6em;
    height: 2.5em;
    font-family: var(--font-1);
    font-size: 1em;
    position: absolute;
    top: 60vh;
    left: 10vh;
    cursor: pointer;
}

#erstelle {
    top: 72vh;
}

#suche:hover,
#erstelle:hover {
    background-color: #1a7e4a;
}

#vorname,
#nachname,
#email,
#telefonnummer {
    position: absolute;
    border: none;
    border-bottom: 1px solid var(--background);
    outline: none;
    background-color: var(--select);
    height: 32px;
    padding-left: 1em;
    padding-right: 1em;
    font-family: var(--font-1);
    font-size: 1em;
    left: 10vh;
    top: 43vh;
    width: 9vw;
}

#nachname {
    left: 34vh;
}

#email {
    top: 54vh;
    width: 20vw;
}

#telefonnummer {
    top: 64vh;
    width: 20vw;
}

#label_vorname,
#label_nachname,
#label_email,
#label_telefonnummer {
    position: absolute;
    top: 39vh;
    left: 10vh;
}

#label_nachname {
    left: 34vh;
}

#label_email {
    top: 50vh;
}

#label_telefonnummer {
    top: 61vh;
}

form {
    height: 0;
    font-size: .8em;
}
@media (max-width: 900px){
    #finde, #finde_rechts{
        border-radius: 0;
    }
}
@media (max-width: 800px){
    #finde_rechts{
        display: none;
    }
    #finde{
        display: flex;
        justify-content: center;
    }
    .custom-select{
        width: 50vw;
    }
    #email,#telefonnummer{
        width: 50vw;
        left: 50%;
        transform: translateX(-50%);
    }
    #label_vorname, #label_nachname, #label_email, #label_telefonnummer, #erstelle, h1, #label_id, #label_id2, #label_id_reg, #label_id2_reg, #suche{
        left: 50%;
        transform: translateX(-50%);
    }
    #vorname,#nachname{
        /* left: 50%; */
        width: 20vw;
        position: static;
    }
    /* #vorname{
        transform: translateX(-50%);
    }
    #nachname{
        transform: translateX(-50%);
    } */
    #name_wrapper{
        width: 50vw;
        height: max-content;
        position: absolute;
        left: 50%;
        transform: translateX(-53%);
        display: flex;
        justify-content: center;
        flex-direction: row;
        top: 43vh;
        gap: 3vw;
    }
    #label_nachname, #label_vorname{
        top: -5vh;
    }
    #label_vorname{
        left: 11vw;
    }
    #label_nachname{
        left: 42vw;
    }
    .custom-select{
        left: 50%;
        transform: translateX(-50%);
    }
    #custom_select3, #custom_select4{
        width: 53vw;
    }
    #custom_select3, .custom-select{
        z-index: 10;
    }
    #custom_select4, #custom_select2{
        z-index: 9;
    }
}