body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('gambar/lock.jpg') ;
    background-size: cover;
    height: 100vh;
}

.background {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.kotakregister {
    backdrop-filter: blur(20px);
    background-color: transparent;
    background: rgba(54, 54, 54, 0.514); 
    border-radius: 15px;
    padding: 40px;
    width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(255, 254, 254, 0.527);
}

.kotakregister h2 {
    color: #fff;
    margin-top: -20px;
    margin-bottom: 10px;
    font-size: 24px;
}

.logo img {
    margin-bottom: 20px;
}

.naik {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.naik input {
    background: transparent;
    border: none;
    border-bottom: 2px solid #ddd;
    width: 100%;
    padding: 10px 0;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.naik label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 16px;
    color: #ddd;
    pointer-events: none;
    transition: 0.3s ease-in-out;
}

.naik input:focus ~ label,
.naik input:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 12px;
    color: #fff;
    
}

.naik .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: #ce1010;
    transition: width 0.3s ease-in-out;
}

.naik input:focus ~ .underline {
    width: 100%;
}


.tombol_register {
    background-color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.tombol_register:hover {
    background-color: #ddd;
}

.login {
    margin-top: 15px;
}

.login p {
    color: #ddd;
    font-size: 14px;
}

.login a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.login a:hover {
    text-decoration: underline;
}
