* {
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
}

body {
    background-color: rgb(40, 40, 40);
}

div.wrapper {
    width: 100vw;
    height: 100vh;
    display: grid;
    align-items: center;
    justify-content: center;
}

div.container {
    display: flex;
    flex-direction: column;
    padding: 20vmin;
    min-height: 250px;
    min-width: 200px;
    background-color: rgba(225, 225, 225, 0.05);
    border: 1px solid rgba(235, 235, 235, 0.1);
    border-radius: 10px;
    position: relative;
}

div.container::before,
div.container::after {
    background: radial-gradient(
        800px circle at 100px 100px, rgba(255, 255, 255, 0.06), transparent 40%
    );
    border-radius: inherit;
    content: "";
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 500ms;
}

div.container:hover::before {
  opacity: 1;
}

div.container::before {
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y),
    rgba(185, 185, 185, 0.06),
    transparent 40%
  );
  z-index: 3;
}

div.container::after {
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(185, 185, 185, 0.1),
    transparent 40%
  );
  z-index: 1;
}

div.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#logo {
    width: 100px;
    border-radius: 3px;
    box-shadow: 0 0 3px white;
}

#login {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
    min-width: 150px;
}

#login > input {
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
    z-index: 4;
    background-color: rgba(225, 225, 225, 0.35);
    color: white;
    border: 1px solid rgba(225, 225, 225, 0.45);
    transition: background 500ms, color 500ms;
}

#login > input::placeholder {
    color: rgba(225, 225, 225, 1);
}

#login > input:focus {
    background-color: rgba(235, 235, 235, 0.45);
    border: 1px solid rgba(225, 225, 225, 1);
}

#login > input:hover {
    background-color: rgba(225, 225, 225, 0.45);
    border: 1px solid rgba(225, 225, 225, 1);
}

#login > input:focus::placeholder {
    color: white;
}

#login > input.active {
    border: 1px solid rgba(225, 0, 0, 0.65);
}

#login > button {
    margin-top: 30px;
    margin-bottom: 45px;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 4;
    border: 1px solid rgba(55, 55, 55, 0.7);
    color: rgba(15, 15, 15, 1);
    transition: 250ms;
    background-color: rgba(225, 225, 225, 0.95);
    width: 100%;
}

#login > button:hover {
    border: 1px solid rgba(15, 15, 15, 1);
    background-color: white;
}

#forgot {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(215, 215, 220);
    cursor: pointer;
    width: 100%;
    height: 30px;
    z-index: 4;
    transition: 500ms;
}

#forgot:hover {
    color: rgb(245, 245, 245);
}