@import url("https://fonts.googleapis.com/css?family=Raleway:400,700");

body {
    margin: 0;
    /*min-height: 100vh;*/
    font-family: "Raleway", sans-serif;
    /* border:4px solid black;
    border-radius:10px;*/
}

.container {
    position: relative;
    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: 400px;
    top: 50%;
    left: 50%;
    margin-left: -230px;
    margin-top: -230px;
    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;
    color: #333;
}

    .center input {
        width: 350px;
        padding: 15px;
        margin: 5px;
        border-radius: 10px;
        border: 1px solid #ccc;
        font-family: inherit;
    }


.arrow-button {
    font-size: 28px;
    color: #e46569;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 50%;
    width: 100px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideRight 2s infinite;
    border: 2px solid #e46569;
    border-radius: 10px;
}

    .arrow-button:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

@keyframes slideRight {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(8px);
    }
}
