* {
    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: 150px auto;
    width: 800px;
    height: 400px;
    background-color: rgba(122, 197, 205, 0.3);
    border-radius: 0.05rem;
    transition: 1s;
}

.log:hover {
    width: 900px;
    height: 500px;
    background-color: rgba(122, 197, 205, 0.5);
    border: 1px solid rgb(102, 139, 139);
    border-radius: 0.1rem;
}

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

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

.log:hover form p {
    margin-top: 20px;
    font-size: 30px;
    color: rgba(47, 79, 79);
}

.log form input {
    display: block;
    margin-top: 50px;
    width: 500px;
    font-size: 24px;
    background-color: rgba(240, 240, 250, 0.6);
    border: 0;
    outline: none;
    transition: .2s;
}

.log:hover form input {
    width: 600px;
    font-size: 30px;
    background-color: #fff;
}

.log form input::placeholder {
    font-size: 16px;
    font-style: italic;
}

.log:hover form input::placeholder {
    font-size: 20px;
    font-style: italic;
}

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

.log:hover form button {
    margin-top: 60px;
    width: 500px;
    height: 100px;
    background-color: rgba(240, 250, 240, 0.8);
    font-size: 30px;
}

.log form button div {
    margin: 0;
    width: 200px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    transition: 0.8s;
}

.log:hover form button div {
    margin-top: 20px;
    width: 500px;
    height: 100px;
}

.log form button::before {
    content: "";
    position: absolute;
    top: -5px;
    right: 0;
    width: 0;
    height: 4px;
    border-top: 4px solid #66ccff;
    transition: 0.7s;
}

.log form button::after {
    content: "";
    position: absolute;
    top: 0;
    right: -5px;
    width: 2px;
    height: 0;
    border-right: 2px solid #66ccff;
    transition: 0.7s;
}

.log form button:hover::before {
    width: 500px;
}

.log form button:hover::after {
    height: 100px;
}

.log form div::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 2px;
    height: 0;
    border-left: 2px solid #66ccff;
    transition: 0.7s;
}

.log form div::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    border-bottom: 2px solid #66ccff;
    transition: 0.7s;
}

.log div:hover::before {
    height: 100px;
}

.log div:hover::after {
    width: 500px;
}