@font-face {
    font-family: 'DINPro';
    src: url('../fonts/DINPro-Regular.woff2') format('woff2'),
        url('../fonts/DINPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --theme_color: #b99d66;
    --red_color: #f00;
}

body {
    font-family: 'DINPro', sans-serif;
    background: #f6f5f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: -20px 0 50px;
    margin-top: 20px;
}

a {
    color: #000000;
    text-decoration: none;
    outline: none;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

a:hover {
    color: #11749d;
    text-decoration: none;
    outline: none;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

:root {
    --theme_color: #b99d66;
    --red_color: #f00;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

* {
    box-sizing: border-box;
}

a {
    color: var(--theme_color);
    text-decoration: none;
    outline: none;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

a:hover {
    color: #000;
    text-decoration: none;
    outline: none;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

.logo_logo {
    max-width: 100%;
    max-height: 60px;
}

.gold_btn_outline {
    background: var(--theme_color);
    border: solid 1px var(--theme_color);
    color: #fff;
    padding: 8px 25px;
    transition: all 0.2s ease;
    display: inline-table;
    letter-spacing: 2px;
    font-size: 16px;
    border-radius: 0;
}

.gold_btn_outline:hover,
.gold_btn_outline:focus {
    background: var(--theme_color) !important;
    border: solid 1px var(--theme_color);
    color: #fff !important;
    outline: 0;
    opacity: 0.8;
}


.container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .2), 0 10px 10px rgba(0, 0, 0, .2);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
}

.form-container form {
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all .6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.sign-up-container {
    left: 0;
    width: 50%;
    z-index: 1;
    opacity: 0;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform .6s ease-in-out;
    z-index: 100;
}

.overlay {
    background: #64170d;
    background: linear-gradient(to right, #b33423, #64170d) no-repeat 0 0 / cover;
    color: #fff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateY(0);
    transition: transform .6s ease-in-out;
}

.overlay-panel {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    height: 100%;
    width: 50%;
    text-align: center;
    transform: translateY(0);
    transition: transform .6s ease-in-out;
}

.overlay-right {
    right: 0;
    transform: translateY(0);
}

/* Move signin to right */
.container.right-panel-active .sign-in-container {
    transform: translateY(100%);
}

/* Move overlay to left */
.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

/* Bring signup over signin */
.container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
}

/* Move overlay back to right */
.container.right-panel-active .overlay {
    transform: translateX(50%);
}

/* Same effect for right */
.container.right-panel-active .overlay-right {
    transform: translateY(20%);
}

.gold_btn {
    background: var(--theme_color);
    border: solid 1px var(--theme_color);
    color: #fff;
    padding: 8px 25px;
    transition: all 0.2s ease;
    display: inline-table;
    letter-spacing: 2px;
    font-size: 16px;
    border-radius: 0;
}

.gold_btne:hover,
.gold_btn:focus {
    background: var(--theme_color) !important;
    border: solid 1px var(--theme_color);
    color: #fff !important;
    outline: 0;
    opacity: 0.8;
}

.gold_btn_outline {
    background: transparent !important;
    border: solid 1px #fff;
    color: #fff !important;
    border-radius: 100px;
}

.gold_btn_outline:hover,
.gold_btn_outline:focus {
    background: var(--theme_color) !important;
    border: solid 1px var(--theme_color);
    color: #fff !important;
    outline: 0;
    opacity: 0.8;
}