/* Fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Abel|Vibur|Playfair+Display');

/* Global Rules */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    background-image: 
        linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%),
        linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'Vibur', cursive, 'Abel', sans-serif;
    opacity: .95;
}

/* Form Styling */
form {
    width: 450px;
    min-height: 500px;
    border-radius: 5px;
    margin: 2% auto;
    box-shadow: 0 9px 50px rgba(20, 67%, 75%, 0.31);
    padding: 2%;
    background-image: linear-gradient(-225deg, #E3FDF5 50%, #FFE6FA 50%);
}

/* Form Container */
form .con {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 auto;
}

/* Form Header */
header {
    margin: 2% auto 10% auto;
    text-align: center;
}
header h2 {
    font-size: 250%;
    font-family: 'Playfair Display', serif;
    color: #3e403f;
}
header p {
    letter-spacing: 0.05em;
}

/* Input Styling */
.input-item {
    background: #fff;
    color: #333;
    padding: 14.5px 9px;
    border-radius: 5px 0 0 5px;
}

/* Show/hide password icon */
#eye {
    background: #fff;
    color: #333;
    margin-left: -20px;
    padding: 15px 9px 19px 0;
    border-radius: 0 5px 5px 0;
    float: right;
    position: relative;
    cursor: pointer;
}

/* Input Fields */
input.form-input {
    width: 240px;
    height: 50px;
    margin-top: 2%;
    padding: 15px;
    font-size: 16px;
    font-family: 'Abel', sans-serif;
    color: #5E6472;
    outline: none;
    border: none;
    border-radius: 0 5px 5px 0;
    transition: 0.2s linear;
}
input:focus {
    transform: translateX(-2px);
    border-radius: 5px;
}

/* Button Styling */
button {
    display: inline-block;
    color: #252537;
    width: 280px;
    height: 50px;
    padding: 0 20px;
    background: #fff;
    border-radius: 5px;
    outline: none;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s linear;
    margin: 7% auto;
    letter-spacing: 0.05em;
}

/* Buttons Hover Effect */
button:hover {
    transform: translateY(3px);
    box-shadow: none;
    animation: ani9 0.4s ease-in-out alternate;
}

/* Button Animation */
@keyframes ani9 {
    0% { transform: translateY(0px); }
    100% { transform: translateY(3px); }
}

/* Submit Buttons */
.submits {
    width: 48%;
    display: inline-block;
    margin-left: 2%;
}

/* Special Buttons */
.frgt-pass { background: transparent; }
.sign-up { background: #B8F2E6; }
