:root {
    --dragon-black: #141415;
    --black: #000000;
    --dragon-red: #96031a;
    --dragon-dark-red: #800000;
    --dragon-gold: #ad9440;
    --dragon-white: #fffbfe;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'monserrat', sans-serif;
    min-height: 100%;
    margin: 10%;
    background-image: url(logo.png);
    background-size: cover;
    background-position: center;
    background-color: var(--dragon-black);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0px 15px;
    display: flex;
    background-color: var(--black);
    justify-content: space-between;
    align-items: center;
    z-index: 101;
    border-bottom: 0.1px solid var(--dragon-gold);
}

form {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

h1 {
    /* font-weight: bold; */
    margin: 0 0 20px 0;
}

p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 15px 0 20px 0;
}

input {
    background: #eee;
    padding: 12px 15px;
    margin: 8px 15px;
    width: 100%;
    border-radius: 5px;
    border: none;
    outline: none;
}

input:focus {
    color: var(--dragon-gold);
    background-color: var(--dragon-black);
}

a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

button {
    color: #fff;
    background: #000;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 55px;
    margin: 20px 20px;
    border-radius: 20px;
    border: 1px solid #000;
    outline: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    cursor: pointer;
}

button:hover {
    color: var(--black);
    background-color: var(--dragon-gold);
    border: 1px solid #ad9440;
}

button:active {
    transform: scale(0.90);
}

fieldset {
    border: 0.5px solida var(--black);
}

.logo {
    font: 1em;
    color: var(--dragon-gold);
    user-select: none;
}

.logo>img {
    width: 60px;
    height: 60px;
}



.navigation h1 {
    position: relative;
    font-size: 2em;
    color: var(--dragon-gold);
    text-decoration: none;
    font-weight: 400;
    margin: 0 0 0 30px;

}

.container {
    position: relative;
    width: 768px;
    max-width: 100%;
    min-height: 400px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14 28px rgba(0, 0, 0, .25),
        0 10 10px rgba(0, 0, 0, .22);
    margin-top: 25% 0;
    border: 0.5px solid #ad9440;
}



.sign-up,
.sign-in {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-up {
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.sign-in {
    width: 50%;
    z-index: 2;
}



#sign-In,
#sign-Up {
    background-color: transparent;
    border: 2px solid #fff;
}

.container.right-panel-active .sign-in {
    transform: translateX(100%);
}

.container.right-panel-active .sign-up {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.overlay {
    position: relative;
    color: #fff;
    background: #ff416c;
    left: -100%;
    height: 100%;
    width: 200%;
    background: #800;
    /* background: linear-gradient(to left, #ad9440, #fff) ; */
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.container.right-panel-active .overlay {
    transform: translateX(50%);
}

.overlay-left,
.overlay-right {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-left {
    transform: translateX(-20%);
}

.overlay-right {
    right: 0;
    transform: translateX(0%);
}

.container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.container.right-panel-active .overlay-right {
    transform: translateX(-20%);
}

/* media queries */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .navigation h1 {
        font-size: 1em;
    }

    .logo>img {
        width: 50px;
        height: 50px;
    }

    .container {
        margin-top: 100px;
    }

    .sign-in h1 {
        font-size: 15px;
    }

    .sign-up h1 {
        font-size: 15px;
    }

    .sign-up p {
        font-size: 15px;
    }

    .sign-in input {
        padding: 7px 5px;
        width: 150%;
        font-size: 10px;
    }

    .sign-up input {
        padding: 7px 5px;
        width: 150%;
        font-size: 10px;
    }

    button {
        padding: 7px 25px;
        font-size: 10px;
    }

    .overlay-right h1 {
        font-size: 1em;
    }

    .overlay-left h1 {
        font-size: 1em;
    }
}

@media only screen and (min-width: 600px) {
    .container {
        margin-top: 70px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .container {
        margin-top: 60px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .container {
        margin-top: 50px;
    }
}


/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .head .logo img {
        width: 50px;
        height: 50px;
    }
}