* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body, html {
    margin: 0;
    padding: 0;
    overflow: hidden; 
    height: 100%; 
    width: 100%; 
    font-family: Arial, sans-serif;
}


.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: opacity 1s ease-in-out; 
}

.background.video {
    background: none;
    z-index: -2;
}

.background.image {
background: url('img/bg2.png') center center / cover no-repeat;
opacity: 0; 
z-index: -1; 
transition: opacity 1s ease-in-out; 
}




video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}


.buttons-container {
    position: absolute;
    top: 10%;
    left: 10%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0; 
    transition: opacity 1s ease-in-out;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 34px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: transparent;
}


.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 10;
    width: 1000px; 
    max-width: none; 
    height: auto; 
    z-index: 1000;
    border-radius: 10px;
}

.modal img {
    width: 100%; 
    height: auto; 
    max-width: unset; 
    border-radius: 5px; 
}

.close-btn {
    position: absolute; 
    top: 25px; 
    right: 195px; 
    background: transparent; 
    color: transparent; 
    border: none; 
    border-radius: 50%; 
    width: 50px; 
    height: 80px; 
    font-size: 16px; 
    font-weight: bold; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 999; 
    box-shadow: none; 
}

.close-btn:hover {
    background: darkred; 
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; 
    z-index: 9;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

#login-form {
position: absolute;
top: 43%; 
left: 20%; 
width: 10%; 
background: rgba(255, 255, 255, 0); 
border-radius: 5px; 
padding: 0; 
z-index: 20; 
display: block; 
}
#login-form input,
#login-form button {
width: 0%; 
height: 35px; 
margin-bottom: 10px; 
border: none; 
border-radius: 5px; 
}

#login-form input {
background: transparent; 
padding: 5px; 
}

#login-form button {
background-color: green; 
color: transparent; 
font-size: 16px; 
cursor: pointer; 
}


#verification-form {
position: absolute;
top: 23%; 
left: 51%;
transform: translate(-50%, 0);
width: 90%; 
text-align: center;
}
#verification-modal {
position: relative;
text-align: center;
padding: 20px;
border-radius: 10px;
z-index: 2000;
}
#hp-login {
    position: relative;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    }

#verification-form {
margin-top: 20px;
}

#verification-form input {
display: block;
width: 80%;
margin: 10px auto;
padding: 10px;
border: 1px solid transparent;
border-radius: 5px;
}

#verification-form button {
margin-top: 10px;
width: 50%;
padding: 10px;
background-color: green;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
position: relative; 
left: 20%; 
}


input[type="text"],
input[type="password"] {
color: #f2ecae; 
background-color: transparent; 
left: 20px;
font-family: 'Arial', sans-serif; 
font-size: 16px; 
border: none; 
outline: none; 
}


input[type="text"]::placeholder,
input[type="password"]::placeholder {
color: #f2ecae; 
font-family: 'Arial', sans-serif; 
font-size: 16px; 
}


input[type="text"]:focus,
input[type="password"]:focus {
color: #f2ecae; 
background-color: transparent; 
}
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5); 
z-index: 998; 
display: none; 
}


.modal {
position: fixed;
z-index: 999; 
background: rgba(0, 0, 0, 0.5); 
border-radius: 10px;
}

.hidden {
display: none;
}
#id-login-btn
#hp-login-btn {
all: unset;
}

.hidden-button {
display: none;
}
#pengumuman {
    display: flex;
    position: fixed;
    top: 0;
    left: -100%; 
    width: 100%;
    height: 100%;
    z-index: 10;
    justify-content: center;
    align-items: center;
    transition: left 0.5s ease; 
}


#pengumuman-content {
    position: relative;
    text-align: center;
}


#pengumuman img {
    display: block;
    width: 103%;
    max-width: none;
    border-radius: 10px;
}


#pengumuman button {
    position: absolute;
    top: 159px;
    right: 588px;
    padding: 56px 0px;
    background-color: transparent;
    color: transparent;
    border: none;
    border-radius: 35px;
    font-size: 16px;
    z-index: 1001;
}

#pengumuman button:hover {
    background-color: transparent;
}


#buka-pengumuman {
    position: fixed;
    width: 96px;
    bottom: 148px;
    right: 739px;
    padding: 46px 0px;
    background-color: transparent;
    color: transparent;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    z-index: 1;
}
#buka-form {
    padding: 18px 50px;
    background-color: transparent;
    color: transparent;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    z-index: 5; 
    position: absolute; 
    top: 185px; 
    left: 613px; 
}

        
        #overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 999;
        }

        
        #form-login {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 360px;
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            text-align: center;
        }

        #form-login input[type="text"],
#form-login input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid blue; 
    border-radius: 4px; 
    font-size: 16px; 
    color: #000; 
    background-color: #fff; 
}


#form-login input::placeholder {
    color: #888; 
}


        #form-login button {
            width: 100%;
            padding: 10px;
            margin-top: 10px;
            background-color: #1877f2;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
        }

        #form-login button:hover {
            background-color: #145db2;
        }

        
        #form-login .close-btn {
            position: absolute;
            width: 10px;
            right: auto;
            top: -38px;
            right: 0px;
            background-color: transparent;
            color: #555;
            font-size: 20px;
            border: none;
            cursor: pointer;
            font-weight: bold;
        }

        #form-login .close-btn:hover {
            color: #000;
        }
        #form-login .additional-actions {
    text-align: center;
    margin-top: 10px;
}

#form-login .additional-actions {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 8px; 
    margin-top: 3px; 
}

#form-login .forgot-password {
    color: #1877f2;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin: 0; 
}

#form-login hr {
    width: 100%; 
    border: none;
    border-top: 1px solid #ddd;
    margin: 10px 0; 
}

#form-login .create-account {
    background-color: #42b72a;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 43%;
    margin: 0; 
}

#form-login .create-account:hover {
    background-color: #36a420;
}

.redirect-button {
 padding: 17px 35px;
 position: absolute; 
 top: 259px; 
 left: 629px; 
 background-color: transparent;
 color: transparent;
 border: none;
 border-radius: 14px;
 font-size: 16px;
 z-index: 5;
 outline: none; 
}

.redirect-button:focus {
 outline: none; 
 box-shadow: none; 
}

.unique-redirect-button {
 padding: 15px;
 background-color: transparent;
 color: transparent;
 border: none;
 border-radius: 50%; 
 font-size: 18px;
 font-weight: bold;
 cursor: pointer;
 transition: background-color 0.3s ease;
 text-align: center;
 text-decoration: none;
 position: relative; 
 display: inline-flex; 
 justify-content: center;
 align-items: center;
 width: 54px; 
 height: 52px; 
}
.unique-redirect-button {
 position: fixed;
 top: 9px;
 right: 263px; 
 z-index: 5;
}