@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;700&display=swap");

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    padding: 0px;
    margin: 0px;
    font-family: "Raleway", sans-serif;
    background: #f5f7fa;
}

.container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.container:hover .top:before,
.container:hover .top:after,
.container:hover .bottom:before,
.container:hover .bottom:after,
.container:active .top:before,
.container:active .top:after,
.container:active .bottom:before,
.container:active .bottom:after {
    margin-left: 200px;
    transform-origin: -200px 50%;
    transition-delay: 0s;
}

.container:hover .center,
.container:active .center {
    opacity: 1;
    transition-delay: 0.2s;
}

.top:before,
.top:after,
.bottom:before,
.bottom:after {
    content: "";
    display: block;
    position: absolute;
    width: 200vmax;
    height: 200vmax;
    top: 50%;
    left: 50%;
    margin-top: -100vmax;
    transform-origin: 0 50%;
    transition: all 0.5s cubic-bezier(0.445, 0.05, 0, 1);
    z-index: 10;
    opacity: 0.65;
    transition-delay: 0.2s;
}

.top:before {
    transform: rotate(45deg);
    background: #e46569;
}

.top:after {
    transform: rotate(135deg);
    background: #ecaf81;
}

.bottom:before {
    transform: rotate(-45deg);
    background: #60b8d4;
}

.bottom:after {
    transform: rotate(-135deg);
    background: #3745b5;
}

.center {
    position: absolute;
    width: 400px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.445, 0.05, 0, 1);
    transition-delay: 0s;
    color: #333;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 20;
}

.logo {
    margin-bottom: 20px;
}

.center h2 {
    color: #3745b5;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.center p {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
    text-align: center;
}

.center input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 14px;
    transition: border 0.3s ease;
}

.center input:focus {
    outline: none;
    border-color: #3745b5;
}

.login-btn {
    width: 100%;
    padding: 15px;
    margin: 20px 0 10px 0;
    border-radius: 5px;
    border: none;
    background: #3745b5;
    color: white;
    font-family: inherit;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: #2a3799;
}

.forgot-password {
    color: #666;
    font-size: 13px;
    text-decoration: none;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #3745b5;
}