:root {
    --scale: 1;
    --border-radius: 15px;
    --pos: 0px;
    --background: rgba(255, 255, 255, 0.4);
    --font-family: 'Montserrat';
}

body, html {
    background: url('images/mesh.png');
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    height: 100%;
    width: 100%;
    filter: brightness(var(--scale));
    transition: filter 1s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: filter;
    justify-content: center;
    align-items: center;
    user-select: none;
}

#mainPanel {
    margin: 10px;
    background-color: var(--background);
    width: 750px;
    display: flex;
    height: 500px;
    border-radius: var(--border-radius);
    transform: scale(var(--scale));
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
    /*will-change: transform opacity;
    opacity: var(--scale);*/
    backdrop-filter: blur(20px);
    box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.7);
}

.left, .right {
    width: 50%;
    height: 100%;
}

@keyframes slide {
  from { background-position-x: 0; }
  to { background-position-x: -892px; }
}

.left {
    font: 45px var(--font-family);
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    background-image: url('./images/marble.webp');
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    animation: slide 50s linear infinite;
    will-change: background-position-x;
    width: 60%;
}
.left > p {
    margin: 0;
}

.left > .subtitle {
    color: rgb(193, 193, 193);
    font: 25px var(--font-family);
}

.right {
    display: flex;
    align-items: center;
    padding: 10px;
    flex-direction: column;
    font: 45px var(--font-family);
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.right > .title {
    margin: 0;
    margin-top: 10px;
    margin-bottom: 20px;
}

#form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#form > input {
    width: 265px;
    border: none;
    font: 25px var(--font-family);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0);
    border-bottom: solid 2px;
    border-color: rgb(61, 134, 176);
    height: 40px;
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

#form > input:hover {
    width: 275px;
    border: none;
    font: 25px var(--font-family);
    padding: 10px;
    padding-left: 20px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    border-bottom: solid 2px;
    border-color: rgb(61, 134, 176);
    height: 40px;
    margin-bottom: 10px;
}

#form > button {
    width: 275px;
    height: 65px;
    margin-top: 75px;
    cursor: pointer;
    border-radius: 10px;
    border: none;
    font: 25px var(--font-family);
    color: white;
    background: linear-gradient(to bottom left, rgb(107, 122, 255), rgb(0, 102, 255));
    transition: all 0.1s cubic-bezier(0.39, 0.575, 0.565, 1);
}

#form > button:active {
    filter: brightness(0.9) !important;
}

#form > button:hover {
    filter: brightness(1.1);
}


label {
    font: 25px var(--font-family);
    margin: 0;
}

input[type='checkbox'] {
    transform: scale(150%);
    margin: 0;
}