@import url('https://fonts.googleapis.com/css?family=Raleway:400,700');

*, *:before, *:after {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: 'Raleway', sans-serif;
    background-image: url('assets/img/person-front-computer-working-html.jpg');
    background-size: cover;
    background-position: center;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.container:hover .top:before, .container:active .top:before, .container:hover .top:after, .container:active .top:after,
.container:hover .bottom:before, .container:active .bottom:before, .container:hover .bottom:after, .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, .bottom {
    position: absolute;
    width: 100%;
    height: 50%;
    overflow: hidden;
    pointer-events: none;
}

.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: 400px;
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.445, 0.05, 0, 1);
    transition-delay: 0s;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.center input {
    width: 100%;
    padding: 15px;
    margin: 5px;
    border-radius: 25px;
    border: 1px solid #ccc;
    font-family: inherit;
}

.center input[type="submit"] {
    background: linear-gradient(45deg, #5cb85c, #4cae4c);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.center input[type="submit"]:hover {
    background: linear-gradient(45deg, #4cae4c, #5cb85c);
    transform: scale(1.05);
}


.logo {
    width: 83%;
    margin-bottom: 0px;
}

h1 {
    margin-bottom: 20px;
}

.error {
    color: red;
    margin-bottom: 10px;
}
