*
{
    text-decoration: none;
    margin: 0px;
    padding: 0px;
}


body {
    background-image: url(kelas.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    justify-content: center;
    align-items: center;
    z-index: -1;
    height: 100vh;
}
body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Di belakang konten */
}



.container {
    width: 100%;
    height: 100%;
}

.wrapper {
    width: 1100px;
    margin: auto;
    position: relative;
}

.logo a {
    font-size: 60px;
    font-weight: bold;
    float: left;
    font-family: courier;
    color:  rgb(39, 255, 255);
}

.menu {
    float: right;
}

nav {
    padding: 10px;
    width: auto;
    margin: auto;
    display: flex;
    line-height: 40px;
    position: sticky;
    position:-webkit-sticky;
    top: 0;
    background-image: url(banner.jpg);
    z-index: 2;
    border:aqua;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
   
}

nav ul li {
    position: relative; /* Untuk dropdown */
    
}

nav ul li a {
    display: block;
    color: aquamarine;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    font-size: medium;
}

nav ul a:hover {
    text-decoration: underline;
    color: white;
}

/* Styling untuk sub-menu */
nav ul li ul {
    display: none; /* Awalnya disembunyikan */
    position: absolute;
    top: 60px; /* Jarak dari menu utama */
    left: 0;
    background-color: #444;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

nav ul li ul li a {
    padding: 10px 20px;
    white-space: nowrap; /* Supaya tidak terpotong */
}



/* Tampilkan sub-menu saat hover */
nav ul li:hover ul {
    display: block;
}


section {
    margin: auto;
    display: flex;
    margin-bottom: 50px;
    background:  rgba(0, 0, 0, 0.411);
    background-size: 1100;
}

.kolom {
    margin-top: 50px;
    margin-bottom: 50px;
}

.kolom .deskripsi {
    font-size: 20px;
    font-weight: bold;
    font-family: 'comic sans';
    color: darkblue;
}

.skanjalogo {
    position: relative;
    top: 40px;
    width: 90%;
    right: 0;
}


.structure-foto {
    position: relative;
    top: 50px;
    width: 90%;
    right: 0;
}

.kepalasekolah {
    right: 0;
    top: 40px;
    margin: 20px;
}

.foto-structure {
    left: 0;
    top: 40px;
    margin: 20px;
    width: 70%;
}

.logokelas img {
    left: 50%;
    margin: 20px;
    width: 50%;
    right: 50%;
}

h2 {
    font-family: 'comic sans ms';
    font-weight: 800;
    font-size: 45px;
    margin-bottom: 20px;
    color: darkblue;
    width: 100%;
    line-height: 50px;
    text-align: center;
}

    
p {
  margin: 3px 0px 3px 3px;
  padding: 3px 0px 3px 3px; 
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  color: #FFFFFF;
}

.tengah {
    text-align: center;
    width: 100%;
}

.mars {
    text-align: left;
}

.mars p{
    text-align: left;
}




.tutor-list {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.kartu-tutor {
    width: 20%;
    margin: 0 auto;
}

.kartu-tutor img {
    width: 80%;
    border-radius: 50%;
}

.kartu-tutor p {
    font-family: 'comic sans ms';
    font-weight: 800;
    font-size: 25px;
    text-align: center;
    color:#FFFFFF;
}


.partners-list {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.kartu-partners {
    width: 20%;
    margin: 0% auto;
}

.kartu-partner img {
    width: 150px;
    border-radius: 50%;
}


.video-class h2 {
    text-align: center;
}

.video-class {
    display: grid;
    place-items: center;
}

#contact {
    background: #dedede;
    padding:50px 0px 50px 0px;
}



h3 {
    font-family: 'comic sans ms';
    font-weight: 800;
    font-size: 30px;
    margin-bottom: 20px;
    color:darkblue;
    width: 100%;
    line-height: 50px;
    text-align: center;
}

#copyright {
    text-align: center;
    padding: 10px;
    background: #333;
    color: white;
    margin-top: 20px;
}

#copyright p {
    margin: 0;
    font-size: 0.9rem;
}

.skanjalogo img {
    position: center;
    top: 40px;
    width: 90%;
    right: 0;
}

.slideshow-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.slides {
    display: none;
    width: 100%;

}
.active {
    display: block;
}

.visimisi {
    text-align: left;
    margin: 26px;
    align-items: left;
}

.visimisi h3 {
    text-align: left;
    margin: 20px;
}

.footer-section p {
        color: #828282;;
}

.artikelkelas p {
    text-align: left;
    margin: 30px;
    align-items: left;
    font-size: medium;
}

a.tbl-pink {
    background: #fc5185;
    border-radius: 20px;
    margin-top: 20px;
    padding: 15px 20px 15px 20px;
    color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
}

a.tbl-pink:hover {
    background: darkblue;
    text-decoration: none;
}

.foto-kegiatan table tr td img {
    display: flex;
    margin: 8.5px;
    align-items: center;
    
}

@media screen and (max-width: 480px) {
    section {
        flex-direction: column;
    }
    section div {
        font-size: 1rem;
    }
    iframe {
        width: 100%;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    section div {
        font-size: 1rem;
    }
    iframe {
        width: 100%;
    }
    img {
        width: 100%;
    }
}

@media screen and (min-width: 769px) and (max-width:1200px){
    section div {
        font-size: 1rem;
    }
    iframe {
        width: 100%;
    }
}

@media screen and (min-width: 300px) and (max-width: 479px) {
    body {
        font-size: 16px; /* Menambah ukuran font untuk kenyamanan di perangkat dengan DPI tinggi */
    }

    /* Gunakan gambar dengan resolusi tinggi */
    img {
        width: 100%;
        height: auto;
        image-rendering: crisp-edges; /* Menjaga ketajaman gambar pada DPI tinggi */
    }
    nav ul li ul {
        display: none;
        position: absolute;
        top: 40px;
        left: 0;
        background-color: #444;
        padding: 0;
        margin: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    nav ul li ul li a {
        padding: 10px 20px;
        font-size: 16px;
    }

    nav ul li:hover ul {
        display: block;
    }

    /* Styling untuk elemen wrapper dan menu untuk perangkat kecil */
    .wrapper {
        width: 88%;
        padding: 0 10px;
    }

    .container {
        padding: 20px;
    }

    /* Gambar dalam navigasi */
    .logo img {
        width: 100%;
        max-width: 50px;
        height: auto;
    }


    /* Menyesuaikan gambar dengan resolusi tinggi */
    .skanjalogo img, .structure-foto img {
        width: 100%;
        max-width: 500px; /* Mengatur lebar maksimal gambar */
    }

    /* Memberikan padding ekstra pada konten di perangkat kecil */
    

    section {
        flex-direction: column; /* Menyusun konten secara vertikal */
    
}
