* {
    margin: 0;
    padding: 0;
}

html,
body {
    display: flex;
    width: 100%;
    height: 100%;
}

.content {
    display: flex;
    width: 100%;
    height: 100%;
    background: url(./bg.png);
}

.wrapper {
    margin: 0 auto;
}

.log {
    position: relative;
    display: block;
    margin: 4rem auto;
    width: 9rem;
    height: 5rem;
    background-color: rgba(122, 197, 205, 0.5);
    border-radius: 1rem;
    transition: 1s;
}

.log:hover {
    width: 9rem;
    height: 6rem;
    background-color: rgba(122, 197, 205, 0.7);
    border: 1px solid rgb(102, 139, 139);
    border-radius: 1.5rem;
}

.log form {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.log form p {
    margin-bottom: 0.1rem;
    font-size: 0.5rem;
    font-style: italic;
    font-family: Arial, Helvetica, sans-serif;
    transition: .5s;
    text-align: left;
    color: rgb(122, 197, 205);
}

.log form input {
    display: block;
    margin-top: 0.1rem;
    width: 5rem;
    font-size: 0.5rem;
    background-color: rgba(240, 240, 250, 0.6);
    border: 0;
    outline: none;
    transition: .8s;
}

.log:hover form input {
    width: 6rem;
    font-size: 1rem;
    background-color: #fff;
}

.log:hover form p {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: rgba(47, 79, 79);
}

.log form input::placeholder {
    font-size: 0.5rem;
    font-style: italic;
    transition: 1s;
}

.log:hover form input::placeholder {
    font-size: 1rem;
    font-style: italic;
}

.log form button {
    display: inline-block;
    margin-top: 0.5rem;
    width: 4rem;
    height: 1rem;
    border: 0;
    border-radius: 0.5rem;
    background-color: rgba(240, 250, 240, 0.5);
    font-size: 0.5rem;
    transition: 1s;
}

.log:hover form button {
    margin-top: 0.6rem;
    width: 5rem;
    height: 1.5rem;
    background-color: rgba(240, 250, 240, 0.8);
    font-size: 1rem;
}