*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: rgb(250,250,250);
    font-family: Arial, Helvetica, sans-serif;
}

html, body{
    background-color: rgba(0,0,0,0);
    width: 100%;
    height: 100%;
}

body{
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

form{
    width: 100%
}

input[type=text],
input[type=email],
input[type=checkbox],
textarea{
    border: 1px solid rgba(250,250,250,0.5);
    background-color: rgba(250,250,250,0.2);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

input[type=text],
input[type=email],
textarea{
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
}

textarea{
    resize: none;
    height: 5rem;
    overflow: hidden;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus{
    outline: none;
}

input[type=checkbox]{
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;

    min-width: 1.5rem;
    height: 1.5rem;
    margin-left: 0.5rem;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

input[type=checkbox]:checked::before{
    content: "✔";
    font-size: 1.5rem;
}

input::-ms-check{
    display: none;
}

a{
    color: #bba800;
    opacity: 0.7;
    transition: 0.5s opacity;
}

a:hover{
    opacity: 1;
}

.checkbox-wrapper{
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 1rem;
}

.checkbox-wrapper label{
    padding-top: 0.25rem;
}

/* Meldung Erfolg */
.meldung-erfolg{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgb(19, 114, 19);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-size: 1.5rem;
    opacity: 1;

    animation: ausblenden-erfolg 5s forwards;
}

.meldung-erfolg img{
    width: 5rem;
    height: 5rem;
    margin-bottom: 1rem;
}

@keyframes ausblenden-erfolg{
    80%{
        opacity: 1;
    }
    99%{
        opacity: 0;
        visibility: visible;
    }
    100%{
        display: none;
        visibility: hidden;
        opacity: 0;
    }
}

/* Button */

.button{
    border: none;
    text-decoration: none;
    color: rgb(250,250,250);
    background-color: rgba(250, 250, 250, 0.4);
    padding: 1px;
    border-radius: 0.25rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 10rem;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    text-align: center;
    cursor: pointer;
}

.button span{
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 0.5rem 2rem;
    font-size: 1.1rem;
    border-radius: 0.25rem;
    background: linear-gradient(76deg, rgba(57, 57, 56, 1) 0%, rgba(77, 74, 78, 1) 100%);
    background-color: rgb(57, 57, 56);
    position: relative;
    z-index: 1;
}

.button::before, .button::after{
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 40%;
    border-radius: 0.25rem;
    transition: 0.5s;
}

.button::before{
    background: linear-gradient(315deg, rgba(255, 255, 255, 0) 0%, rgba(197, 163, 55, 1) 100%);
    left: 0;
    -webkit-clip-path: polygon(-1rem -1rem, calc(100% + 1rem) -1rem, 53% calc(100% + 1rem), 1 -rem calc(100% + 1rem));
    clip-path: polygon(-1rem -1rem, calc(100% + 1rem) -1rem, 53% calc(100% + 1rem), 1 -rem calc(100% + 1rem));
}

.button::after{
    background: linear-gradient(135deg, rgba(35, 255, 202, 0) 0%, rgba(35, 255, 202, 1) 100%);
    right: 0;
    -webkit-clip-path: polygon(34% -2rem, calc(100% + 2rem) -2rem, calc(100% + 2rem) calc(100% + 2rem), -2rem calc(100% + 2rem));
    clip-path: polygon(34% -2rem, calc(100% + 2rem) -2rem, calc(100% + 2rem) calc(100% + 2rem), -2rem calc(100% + 2rem));
}

.button:hover::before {
    height: calc(100% + 4px);
    top: -2px;
    left: -2px;
    box-shadow: -0.5rem 0 1rem rgba(197,163,55,0.5);
}

.button:hover::after {
    height: calc(100% + 4px);
    top: -2px;
    right: -2px;
    box-shadow: 0.5rem 0 1rem rgba(35,255,202,0.1);
}