* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", serif;
}

.container{
  width: 80%;
  margin-inline: auto;
}

@media (max-width:992px){
  .container{
    width: 90%;
  }
}
/* navbar */
.navbar{
  padding: 30px 0;
}

.navbar-box{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar-box .menu{
  display: flex;
  gap: 30px;
  align-items: center;
}
.navbar-box .menu li {
  list-style-type: none;
}

.navbar-box .menu li a{
  text-decoration: none;
  color: black;
}
@media (max-width: 760px){
  .navbar-box{
    flex-direction: column;
    gap: 20px;
  }
  .navbar-box .menu{
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* navbar */

/* Hero */
.hero-box{
  background-image: linear-gradient( rgba(0, 0, 0, 0.4),
  rgba(0, 0, 0, 0.5)) ,url(https://smpn25-samarinda.sch.id/public/assets/images/sekolah.jpeg);
  background-size: 130%;
  width: 100%;
  border-radius: 50px;
  padding: 50px 20px;
  color: white;
}
.hero-box h1{
  margin-bottom: 20px;
  font-size: 40px;
}
.hero-box p{
  margin-bottom: 30px;
  line-height: 2;
  width: 640px;
  opacity: 75%;
  text-align: justify;

}
.hero-box a{
  text-decoration: none;
  color: white;
  background-color: indigo;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 18px;
}

.hero-box a:hover{
  background-color: rgb(147, 51, 236);
}
@media (max-width: 575px){
  .hero-box p{
    width: 100%;
  }
}

@media(media-width: 475px){
  .hero-box h1{
    font-size: 30px;
  }

  .hero-box p{
    font-size: 14px;
  }
}
/* Hero */

/* Tentang */

.tentang {
  padding: 150px 0;
}

.tentang-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.tentang-box img{
  background-image: linear-gradient( rgba(0, 0, 0, 0.4),
  rgba(0, 0, 0, 0.5)) ,url(https://smpn25-samarinda.sch.id/public/assets/images/bersama.jpeg);
  width: 100%;
  height: 100%;
  border-radius: 20px;
  
}

.tentang-box h1{
  font-size: 40px;
  margin-bottom: 10px;
}

.tentang-box p{
  line-height: 2;
  text-align: justify;
}

.tentang .info{
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 50px;
  text-align: center;
}

.tentang .info h2 span{
  color: indigo;
  font-size: 40px;
}

@media (max-width: 760px ){
  .tentang-box{
    grid-template-columns: 1fr;
  }
}

/* Tentang */

/* Akademik */

.akademik {
  padding-bottom: 100px;
}

/* Mengganti .akademik-box dengan .akademik .box agar style tetap berlaku */
.akademik .box {
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  /* Menambahkan tinggi agar semua box sama */
  height: 100%;
}

.akademik .box img {
  width: 100%;
  height: 250px; /* Memberi tinggi yang sama untuk semua gambar */
  object-fit: cover; /* Memastikan gambar tidak gepeng */
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.akademik .box .desc {
  padding: 20px;
}

.akademik .box .desc p {
  line-height: 2;
}

/* Style untuk pagination swiper */
.akademik .swiper-pagination-bullet-active {
  background-color: indigo;
}

/* Akademik */

/* SPMB */

.spmb {
  padding-block: 50px;
}

.spmb-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: center;
  text-align: center;
}

.spmb-box img{
  width: 100%;
  border-radius: 20px;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
  
}

.spmb-box h2 {
  margin-bottom: 10px;
}

.spmb-box p{
  line-height: 2;
  margin-bottom: 20px;
}

.spmb-box a {
  text-decoration: none;
  color: white;
  background-color: indigo;
  padding: 10px 20px;
  border-radius: 20px;
}

.spmb-box a:hover {
  background-color: rgb(122, 2, 207);
}

@media(max-width: 768px){
  .spmb-box{
    grid-template-columns: 1fr;
  }
}

/* SPMB */

/* footer */

footer{
  margin-top: 100px;
  padding: 50px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

.footer-box{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  row-gap: 50px;
}

.footer-box h2{
  margin-bottom: 20px;
}

.footer-box p{
  line-height: 2;
  font-size: 14px;
  text-align: justify;
}

.footer-box .box:nth-child(1){
  width: 400px;
}

.footer-box .social{
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-box .social a{
  font-size: 20px;
  text-decoration: none;
  color: white;
}

.footer-box .social a:hover {
  color: indigo;
}

.footer-box .box:nth-child(2) {
  width: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-box .box:nth-child(2) h2{
  margin-bottom: 0;
}

.footer-box .box:nth-child(2) a{
  text-decoration: none;
  font-size: 14px;
  color: white;
}

.footer-box .box:nth-child(2) a:hover{
  color: indigo;
}

.footer-box .box:nth-child(3){
  width: 300px;
}

.footer-box .box:nth-child(3) p{
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.copyright {
  margin-top: 50px;
  text-align: center;
}

.copyright p{
  font-size: 14px;
}

.copyright p span{
  font-weight: bold;
}

/* footer */

/* Scroll Up */

.scroll-up {
  width: 50px;
  height: 50px;
  background-color: indigo;
  color: white;
  border-radius: 100%;
  display: grid;
  place-items: center;
  position: fixed;
  bottom: 40px;
  right: 40px;
  opacity: 0;
  transition: all 0.5s ease;
}

.scroll-up.scroll-active{
  opacity: 1;
}

/* Scroll Up */