﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #444;
    font-family: calibri;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.login {
    text-align: center;
    position: relative;
    width: 280px;
}

input, button {
    width: 100%;
    border: 0;
    border-radius: 20px;
}

input {
    border-bottom: 2px solid #444;
    padding: 12px 40px 12px 20px;
}


input, button, .group i, p, a {
    font-size: 15.3333px;
    font-weight: 600;
}

.group {
    margin-bottom: 10px;
    position: relative;
}

    .group i {
        position: absolute;
        top: 15px;
        right: 20px;
    }

button {
    padding: 12px;
    background-image: linear-gradient(to right, #ff1464, purple);
    margin-bottom: 20px;
    cursor: pointer;
}

    button, button i {
        color: #ffffff;
    }

        button i {
            margin-right: 5px;
        }

p {
    margin-bottom: 20px;
}

i.fa.fa-empire, a {
    color: #ff1464;
}

i.fa.fa-empire {
    font-size: 60px;
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 20px;
}

input:focus, input:focus::placeholder, input:focus + i {
    color: #ff1464;
}

input:focus, button:focus {
    outline: 0;
}


body:before, body:after {
    content: "";
    position: absolute;
    height: 300px;
    width: 500px;
}

body:before {
    background-image: linear-gradient(to right, #ff1464, purple);
    bottom: 0;
    left: 0;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

body:after {
    background-image: linear-gradient(to right, purple, #ff1464);
    top: 0;
    right: 0;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

@media (max-width: 767px) {
    body:before, body:after {
        height: 150px;
        width: 300px;
    }
}

/* Customize the label (the container) */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}