@import url("https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700|Poppins:400,500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Righteous&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}
/* Pindah kedepan */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 999;
    text-align: center;
    padding: 60px 32px;
    width: 370px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: -1px 4px 28px 0px rgba(0, 0, 0, 0.75);
}
.content header {
    color: white;
    font-size: 33px;
    font-weight: 600;
    margin: 0 0 35px 0;
    font-family: "poppins", sans-serif;
}
.field {
    position: relative;
    height: 45px;
    width: 100%;
    display: flex;
    background: rgba(255, 255, 255, 0.94);
}
.field span {
    color: #222;
    width: 40px;
    line-height: 45px;
}
.field input {
    height: 100%;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #222;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}
.space {
    margin-top: 16px;
}
.show {
    position: absolute;
    right: 13px;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    display: none;
    cursor: pointer;
    font-family: "poppins", sans-serif;
}
.pass-key:valid ~ .show {
    display: block;
}
.pass {
    text-align: left;
    margin: 10px 0;
}
.pass a {
    color: white;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
}
.pass:hover a {
    text-decoration: underline;
}
.field input[type="submit"] {
    background: #d91f1f;
    border: 1px solid #ffffff;
    color: white;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    font-family: "poppins", sans-serif;
}
.field input[type="submit"]:hover {
    background: #2691d9;
}
.login {
    color: white;
    margin: 20px 0;
    font-family: "Poppins", sans-serif;
}
.links {
    display: flex;
    cursor: pointer;
    color: white;
    margin: 0 0 20px 0;
}

i span {
    margin-left: 8px;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}
.signup {
    margin-top: 10px;
    font-size: 15px;
    color: white;
    font-family: "Poppins", sans-serif;
}
.signup a {
    color: #3498db;
    text-decoration: none;
}
.signup a:hover {
    text-decoration: underline;
}

button {
    border-radius: 20px;
    border: 1px solid #ff4b2b;
    background-color: #ff4b2b;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
}

button:active {
    transform: scale(0.95);
}

button:focus {
    outline: none;
}

/* Tablet (≤768px) */
@media (max-width: 768px) {
    .content {
        width: 90%;
        padding: 40px 20px;
    }

    .content header {
        font-size: 28px;
    }

    .field input {
        font-size: 15px;
    }

    .field input[type="submit"] {
        font-size: 16px;
    }
}

/* HP Umum (≤450px) */
@media (max-width: 450px) {
    .content {
        width: 95%;
        padding: 40px 20px;
    }

    .content header {
        font-size: 26px;
    }

    .field input {
        font-size: 14px;
    }

    button {
        padding: 10px 30px;
        font-size: 11px;
    }

    i span {
        font-size: 14px;
    }

    .pass,
    .signup {
        text-align: center;
    }
}

/* iPhone 12 Pro, Pixel 5 (≤390px) */
@media (max-width: 390px) {
    .content {
        padding: 28px 12px;
    }

    .content header {
        font-size: 24px;
    }

    .field input[type="submit"] {
        font-size: 14px;
    }

    .login,
    .signup {
        font-size: 14px;
        text-align: center;
    }
}

/* iPhone SE, HP kecil (≤360px) */
@media (max-width: 360px) {
    .content header {
        font-size: 22px;
    }

    .field input {
        font-size: 13px;
    }

    button {
        font-size: 10px;
        padding: 8px 25px;
    }

    .signup {
        font-size: 13px;
    }
}
