@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&amp;display=swap');

* {
    margin: 0;
    padding: 0;
    /* user-select: none; */
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    height: 100%;
}

body {
    display: grid;
    place-items: center;
    background: linear-gradient(358deg, #1b1f28, #2c3e50, #101418);
    text-align: center;
}


@keyframes unfoldIn {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateX(-20deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
    }
}

@keyframes borderColorChange {
    0%   { border-color: #26D0CE; }
    25%  { border-color: #34495e; }
    50%  { border-color: #283747; }
    75%  { border-color: #26D0CE; }
    100% { border-color: #34495e; }
}

.content {
    width: 330px;
    padding: 20px 25px;
    background-color: rgba(41, 58, 71, 0.9);
    border: 3px solid #26D0CE;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    animation: unfoldIn 1.0s forwards, borderColorChange 4s infinite;
}




.content .text {
    font-size: 33px;
    font-weight: 600;
    margin-bottom: 35px;
    color: #fcfcfc;
}

.field {
    height: 50px;
    width: 100%;
    display: flex;
    position: relative;
}

.field:nth-child(2) {
    margin-top: 20px;
}

.field input {
    height: 100%;
    width: 100%;
    padding: 10px 15px 10px 45px;
    outline: none;
    border: 2px solid #34495e;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 400;
    color: #ecf0f1;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;

}

.field input:focus {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.7), 0 0 10px #26D0CE;
}



.field input:focus {
    box-shadow: inset 1px 1px 2px #BABECC,
        inset -1px -1px 2px #ffffff73;
}

.field span {
    position: absolute;
    color: #595959;
    width: 50px;
    line-height: 50px;
}

.field label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 45px;
    pointer-events: none;
    color: #666666;
}

.field input:valid~label {
    opacity: 0;
}

.forgot-pass {
    text-align: left;
    margin: 10px 0 10px 5px;
}

.forgot-pass a {
    font-size: 16px;
    color: #3498db;
    text-decoration: none;
}

.forgot-pass:hover a {
    text-decoration: underline;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

button {
    margin: 15px 0;
    width: 100%;
    height: 50px;
    font-size: 18px;
    line-height: 50px;
    font-weight: 600;
    background: #212529;
    border-radius: 2px;
    border: none;
    outline: none;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 0 15px rgb(0 0 0);
    animation: fadeInUp 0.5s forwards;
}


button:focus {
    color: #3498db;
    box-shadow: inset 2px 2px 5px #BABECC,
        inset -5px -5px 10px #ffffff73;
}

.sign-up {
    margin: 10px 0;
    color: #595959;
    font-size: 16px;
}

.sign-up a {
    color: #3498db;
    text-decoration: none;
}

.sign-up a:hover {
    text-decoration: underline;
}

.form-field {
    margin-bottom: 20px;
}

.form-select {
    height: 50px;
    width: 100%;
    padding-left: 45px;
    outline: none;
    border: none;
    font-size: 18px;
    background: #dde1e7;
    border-radius: 25px;
    box-shadow: inset 2px 2px 5px #BABECC,
        inset -5px -5px 10px #ffffff73;
}

.form-select:focus {
    box-shadow: inset 1px 1px 2px #BABECC,
        inset -1px -1px 2px #ffffff73;
}