*{
    margin: 0;
    padding: 0;
}

body.light-mode {
    color: black;
    transition: background-color 0.4s, color 0.4s;
}
  
body.dark-mode {
    background-color: #232222;
    color: white;
    transition: background-color 0.4s, color 0.4s;
    
    .navbar {
    background-color: black;
    color: white;
    }
    .menu li a {
    color: white;
    }

    .judul {
        color: #ffaa00
    }
}

.navbar {
    display: flex;
    border: 1px solid #747373;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    filter: drop-shadow(0px 0px 40px rgba(34, 97, 207, 0.5));
    color: #49a8e8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 4;
}

/* Dropdown Button */ 
.dropdown { 
    position: relative; 
    display: none; /* Initially hide the dropdown */ 
    margin-right: 30px;
    border-radius: 7px;
} /* Dropdown Content (Hidden by Default) */ 

.dropdown-content { 
    display: none; 
    position: absolute; 
    background-color: #f9f9f9; 
    min-width: 160px; 
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
    z-index: 1; 
    right: 5px;
    top: 60px;
    border-radius: 7px;
} 

/* Links inside the dropdown */ 
.dropdown-content a {
    color: black; 
    padding: 12px 16px; 
    text-decoration: none; 
    display: block; 
    transition: 0.3s ease;
} 

/* Change color of dropdown links on hover */ 
.dropdown-content a:hover {
    background-color: #f1f1f1;
    border-radius: 7px;
} 

/* Style the button */ 
.dropdown button { 
    background-color: transparent; /* Remove background */ 
    border: none; /* Remove border */ 
    cursor: pointer; 
} 

/* Add image to the button */ 
.dropdown button svg { 
    width: 30px; 
    height: auto; 
    color: #555;
} 

/* Change the background color of the button when the dropdown content is shown */ 
.dropdown:hover button svg { 
    opacity: 0.8; /* Make image slightly transparent on hover */ 
} 

/* Media Query for showing the dropdown on smaller screens */ 
@media (max-width: 900px) { 
    .dropdown { 
        display: inline-block; /* Show the dropdown */ 
    }
    
    .navbar-left {
        display: none;
    }

    .menu li a {
        display: none;
    }

    .hilang {
        display: none;
    }

    .navbar-right {
        display: flex;
    }
}

.navbar-left {
    display: flex;
    align-items: center;
    color: #49a8e8;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.company-name {
    font-size: 18px;
    font-weight: bold;
}

.navbar-center {
    display: flex;
    color: #49a8e8;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin: 0 15px;
}

.menu li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.menu li a:hover {
    text-decoration: underline;
}

.navbar-right .btn {
    background-color: #555;
    color: white;
    border: none;
    padding: 8px 16px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.navbar-right .btn:hover {
    background-color: rgba(34, 97, 207, 0.5);
}

.search-social {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background-color: #f4f4f4;
}

.switch {
    position: relative;
    display: inline-block;
    width: 57px;
    height: 30px;
    right: 30px;
}
  
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
  
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #49a8e8;
    transition: 0.4s;
}
  
.slider:after {
    position: absolute;
    content: "";
    height: 25px;
    width: 25px;
    left: 4px;
    bottom: 3px;
    background-color: #ffdd00;
    backdrop-filter: transparent;
    transition: 0.4s;
}
  
.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 3px;
    background-color: #6b6666;
    transition: 0.4s;
}
  
input:checked + .slider {
    background-color: #1d425b;
}
  
input:checked + .slider:before {
    transform: translateX(24px);
}
  
input:checked + .slider:after {
    background-color: #6b6666;
}
  
input:checked + .slider:after {
    transform: translateX(24px);
}
  
/* Tambahkan efek untuk rounded slider */
.slider.round {
    border-radius: 34px;
}
  
.slider.round:before {
    border-radius: 50%;
}
  
.slider.round:after {
    border-radius: 50%;
}

.header { 
    background-image: url('abundant-collection-antique-books-wooden-shelves-generated-by-ai.jpg'); 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    color: white; 
    height: 100vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding: 20px; 
}

.header h1 { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    color: white; 
    filter: drop-shadow(0px 0px 40px rgba(53, 53, 53, 0.742)); 
    max-height: fit-content; 
    max-width: fit-content; 
} 

@media (max-width: 768px) { 
    .header h1 { 
        font-size: 24px; /* Smaller font size for smaller screens */ 
    } 
} 

@media (max-width: 480px) { 
    .header h1 { 
        font-size: 18px; /* Even smaller font size for very small screens */ 
    } 
}

.judul {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 25px;
    color: #333;
    margin-top: 20px;
}

.flex-card {
    border: 1px solid #555;
    padding: 20px 30px;
    width: 100px;
    border-radius: 10px;
    font-size: 13px;
    transition: 0.5s ease;
    flex-grow: 1;
    flex-basis: 200;
}

.flex-card:hover {
    border: 1px solid #ffaa00;
    scale: 1.1;
}

.flex-card img {
    width: 70px;
    height: 75px;
    display: inline-block;
}

.container {
    display: flex;
    gap: 30px;
    text-align: center;
    justify-content: center;
    z-index: 2px;
    flex-wrap: wrap;
    margin: 20px 90px;
}

.style-background {
    margin: 70px 0px;
    background-color: #292828;
    width: 100%;
    height: 110%;
    border-radius: 30px;
}

.dokumentasi {
    display: flex;
    justify-content: center;
    padding: 50px 30px;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 90%;

}

.dokumentasi img {
    flex-grow: 1;
    flex-basis: 200;
}

.perpus {
    width: 250px;
    height: auto;
    border-radius: 10px 10px;
    transition: 0.2s ease;
}

.perpus:hover {
    filter: drop-shadow(0px 0px 10px #ffaa00);
}

.fotocopy {
    width: 250px;
    height: auto;
    border-radius: 10px 10px;
    transition: 0.2s ease;
}

.fotocopy:hover {
    filter: drop-shadow(0px 0px 10px #ffaa00);
}

.meja {
    width: 250px;
    height: auto;
    border-radius: 10px 10px;
    transition: 0.2s ease;
    object-fit: cover;
}

.meja:hover {
    filter: drop-shadow(0px 0px 10px #ffaa00);
}

.sarana ul {
    position: relative;
    top: 95px;
    display: flex;
    gap: 150px;
    list-style-type: none;

}

.sarana li {
    background-color: #ffaa00;
    filter: drop-shadow(0px 0px 10px #ffaa00);
    padding: 15px 15px 15px 15px;
    border-radius: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.perpustakaan {
    margin-left: 290px;
}

.about-information {
    width: 50%;
    padding-left: 600px;
}

.lokasi {
    position: relative;
    right: 400px;
    top: 70px;
    border-radius: 10px;
    width: 350px;
    height: 200px;
}

.isi-alamat {
    position: relative;
    bottom: 100px;
    list-style: none;
    font-size: 17px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffaa00;
}

.foto-sosmed {
    margin-top: 10px;
}

.gambar {
    padding: 5px;
    border-radius: 5px;
}

.toggle-slider {
    display: flex;
    justify-content: start;
    text-align: center;
    border: 1px solid rgba(34, 97, 207, 0.5);
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px;
    border-radius: 50px;
    background-color: rgb(34, 97, 207);
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: 1s ease;
    margin: 50px 50px;
}

.toggle-slider:hover {
    filter: drop-shadow(0px 0px 20px rgba(34, 97, 207, 0.5));
}
.panah-kanan {
    transition: 1s ease;
}

.panah-kanan:hover{
    translate: 100rem;
}

.footer { 
    background-color: #333; 
    color: #fff;
    border-radius: 5px;   
} 

.footer .contact-info { 
    margin-left: 405px; 
    position: relative;
    bottom: 35px;
}

.foto-sekolah {
    position: relative;
    right: 100px;
    top: 70px;
    border-radius: 10px;
    width: 70px;
    height: 70px;
}

.footer { 
    background-color: #333; 
    color: white;
    padding: 20px; 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: space-between; 
    text-align: center; 
} 

.footer .logo-footer { 
    flex: 1 1 100px; /* Adjust based on logo size */ 
    text-align: end; 
} 

.footer .logo-footer img { 
    width: 100px; /* Adjust as needed */ 
    height: auto; 
} 
    
.footer .info-footer { 
    flex: 5; 
    margin: 10px 0; 
} 

.footer .info-footer p { 
    margin: 5px 0; 
} 

@media (max-width: 600px) { 
    .footer { 
        flex-direction: column; 
        text-align: center; 
    } 
    
    .footer .logo-footer, .footer .info-footer { 
        text-align: center; 
        flex: 1 1 100%; 
    } 
}

@media (max-width: 365.32px) {
    .navbar-right {
        position: absolute;
        right: 28px;
    }
}
