body {
    margin: 0;
    padding: 0;
    background: url(1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: sans-serif;
}
.input {
    position: absolute; /* Ubah dari fixed ke absolute */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(21, 26, 24, 0.9);
    padding: 30px;
    width: 80%;
    max-width: 320px;
    box-shadow: 0px 0px 25px 10px black;
    border-radius: 15px;
    z-index: 1000; /* Tambahkan z-index */
}

.input h1 {
    text-align: center;
    color: white;
    font-size: 30px;
    font-family: sans-serif;
    letter-spacing: 3px;
    padding-top: 0;
    margin-top: -20px;
}

.box-input {
    display: flex;
    justify-content: space-between;
    margin: 10px;
    border-bottom: 2px solid white;
    padding: 8px 0;
}

.box-input i {
    font-size: 23px;
    color: white;
    padding: 5px 0;
}

.box-input input {
    width: 85%;
    padding: 5px 0;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 18px;
}

.box-input input::placeholder {
    color: white;
}

.btn-input .box-input input:hover {
    background: rgba(10, 10, 10, s 0.5);
}

.btn-input {
    margin-left: 10px;
    margin-bottom: 20px;
    background: none;
    border: 1px solid white;
    width: 92.5%;
    padding: 10px;
    color: white;
    font-size: 18px;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all .2s;
    border-radius: 10px;
}

.btn-input:hover {
    background: black
}

.bottom {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: -20px;
}

.bottom p {
    color: white;
    font-size: 15px;
    text-decoration: none;
}

.bottom a {
    color: lightgreen;
    font-size: 15px;
    text-decoration: none;
}

.bottom a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 600px) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }

    .input {
        position: relative; /* Ubah ke relative untuk ponsel */
        top: auto;
        left: auto;
        transform: none;
        width: 90%;
        padding: 20px;
        margin: 20px auto; /* Tambahkan margin */
    }
}

@media screen and (max-width: 600px) {
    .input {
        width: 90%;
        padding: 20px;
    }

    .input h1 {
        font-size: 24px;
    }

    .box-input i {
        font-size: 20px;
    }

    .box-input input {
        font-size: 16px;
    }

    .btn-input {
        width: 100%;
        font-size: 16px;
    }

    .bottom p, .bottom a {
        font-size: 14px;
    }
}