@font-face {
    font-family: "Audiowide";
    src: url("css/Audiowide-Regular.ttf");


}

:root {
    --button-color: #518eeec5;
    --button-border: rgba(202, 207, 202, 0.75);
    --buton-radius: 10%;
}

.enabled {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

.disabled {
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

body {
    overflow: hidden;
    margin: 0px
}

#intro {
    
    font-family: Audiowide;
    font-size: 2rem;
    color: white;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid 2px darkgray;
    padding: 30px;
    width: 300px;
    background-color: rgba(155, 162, 199, 0.5);
    border-radius: 25px;
    backdrop-filter: blur(5px);
    -webkit-box-shadow: 2px 13px 45px -15px rgba(0, 0, 0, 0.49);
    -moz-box-shadow: 2px 13px 45px -15px rgba(0, 0, 0, 0.49);
    box-shadow: 2px 13px 45px -15px rgba(0, 0, 0, 0.49);
    transition: background-color 1s;
}

#loginbuttons {
    display: flex
}

#logo {
    
    position: fixed;
    bottom: 1%;
    right: 1%;
}

#logo>img {
    width: 35px;
    height: 35px;
}



.login-form {
    display: grid;
    align-content: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    font-family: Tahoma, Geneva, sans-serif;
}

.login-form h1 {
    text-align: center;
    color: #4d4d4d;
    font-size: 24px;
    padding: 20px 0 20px 0;
}

.login-form input[type="password"],
.login-form input[type="text"] {
    display: block;
    border: inset 2px;
    border-color: var(--button-border);
    box-sizing: border-box;
    border-radius: var(--buton-radius);
    margin: 0 auto;
    width: 300px;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.submit {
    display: inline-block;
    margin: 0 auto;
    width: 100px;
    padding: 10px;
    background-color: var(--button-color);
    border: solid 2px;
    border-color: var(--button-border);
    box-sizing: border-box;
    border-radius: var(--buton-radius);
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: background-color 0.5s;
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);

}

#register {
    margin: 0 auto;
    width: 100px;
    padding: 15px;
    background-color: var(--button-color);
    border: solid 2px;
    border-color: var(--button-border);
    box-sizing: border-box;
    border-radius: var(--buton-radius);
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    transition: background-color 0.5s;
    float: right;
}

.submit:hover {
    background-color: rgba(64, 224, 208, 0.349);
}

#register:hover {
    background-color: rgba(64, 224, 208, 0.349);
}

#faillogin {
    margin: 10px;
    display: none;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
    opacity: 1;
    transition: opacity 0.5s;
    border: solid 1px;
    border-radius: 10px;
    background-color: rgb(209, 45, 45);
    color: wheat
}

/* 
@media (hover: none) and (orientation:portrait) {

    .login-form input[type="password"],
    .login-form input[type="text"] {
        font-size: 2rem;
        width: 100%;
        height: 25%;
        padding: 10%;
        margin-bottom: 10%;

    }

    #submit {

        width: 40%;
        padding: 6%;
        font-size: 2rem;

    }

    #register {

        width: 40%;
        padding: 6%;
        font-size: 2rem;

    }

    #faillogin {
        font-size: 2rem;
    }
} */

/* Toggle Form */
/* CSS rules are kept repetitive so that you can get CSS rules for each button easily :) */

* {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: none;
}


.toggle-button-cover {
    display: table-cell;
    position: relative;
    width: 200px;
    height: 140px;
    box-sizing: border-box;
}

.button-cover {
    height: 100px;
    margin: 20px;
    background-color: #fff;
    box-shadow: 0 10px 20px -8px #c5d6d6;
    border-radius: 4px;
}

.button-cover:before {
    counter-increment: button-counter;
    content: counter(button-counter);
    position: absolute;
    right: 0;
    bottom: 0;
    color: #d7e3e3;
    font-size: 12px;
    line-height: 1;
    padding: 5px;
}

.button-cover,
.knobs,
.layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.button {
    position: relative;
    top: 50%;
    width: 148px;
    height: 72px;
    margin: -20px auto 0 auto;
    overflow: hidden;
}

.button.r,
.button.r .layer {
    border-radius: 100px;
}

.button.b2 {
    border-radius: 2px;
}

.checkbox {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.knobs {
    z-index: 2;
}

.layer {
    width: 100%;
    background-color: #ebf7fc;
    transition: 0.3s ease all;
    z-index: 1;
}

/* Button 9 */
#button-9 .knobs:before,
#button-9 .knobs:after,
#button-9 .knobs span {
    position: absolute;
    top: 8px;
    width: 40px;
    height: 20px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 18px 8px;
    border-radius: 50%;
    transition: 0.4s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

#button-9 .knobs:before {
    content: "SIGN IN";
    left: 8px;
}

#button-9 .knobs:after {
    content: "SIGN UP";
    right: -48px;
}

#button-9 .knobs:before,
#button-9 .knobs:after {
    color: #fff;
    z-index: 2;
}

#button-9 .knobs span {
    left: 8px;
    background-color: var(--button-color);
    z-index: 1;
}

#button-9 .checkbox:checked+.knobs:before {
    left: -48px;
}

#button-9 .checkbox:checked+.knobs:after {
    right: 8px;
}

#button-9 .checkbox:checked+.knobs span {
    left: 84px;
    background-color: rgba(64, 224, 208, 0.349);
}

#button-9 .checkbox:checked~.layer {
    background-color: #fcebeb;
}