@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap");

* {
  /* background-image: url(../../uploads/identitas/sekolah1734099883.jpg); */
  margin: 0;
  padding: 0;
  font-family: "Quicksand", sans-serif;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.float-left {
  float: left;
}

.container {
  width: 1140px;
  margin: 0 auto;
}

.container::after {
  content: "";
  display: block;
  clear: both;
}

.bg-light {
  background-color: #fefefe;
}

.clearfix {
  clear: both;
}

.page-login {
  width: 100%;
  height: 100vh;
  background-color: #2e8bc0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
  border: 1px solid #ddd;
  background-color: #fff;
}

.box-header {
  padding: 16px;
  border-bottom: 1px solid #ddd;
  background-color: #f2f2f2;
}

.box-body {
  padding: 16px;
}

.box-footer {
  border-top: 1px solid #ddd;
  background-color: #f2f2f2;
  padding: 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

form {
  margin: 15px 0;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
}

.form-group .input-control {
  padding: 10px 16px;
  width: 100%;
  font-size: 16px;
  border: 1px solid #ddd;
}

.box-login {
  width: 300px;
}

.btn {
  border: 1px solid #ddd;
  padding: 10px 16px;
  font-size: 16px;
}

.btn:hover {
  cursor: pointer;
}

.btn-blue {
  background-color: #2e8bc0;
  color: #fff;
  border: 1px solid #2e8bc0;
}

.btn-blue:hover {
  background-color: #145da0;
}

.text-center {
  text-align: center !important;
  /* font-size: 64px; */
}

.gambar-top {
  position: relative;
  text-align: center;
  color: white;
  height: 30vh; /* Set the height to 30% of the viewport height */
}
.gambar-top img {
  width: 100%;
  height: 100%; /* Make the image fill the container */
  object-fit: cover;
  object-position: top; /* Crop the image to take the top side */
  opacity: 0.6; /* Set the opacity to 60% */
  position: absolute;
  top: 0;
  left: 0;
}
.gambar-top h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 2.5rem; /* Enlarge the text */
  color: #ffffff;
}

.alert {
  padding: 10px 16px;
  border: 1px solid;
}

.alert-error {
  background-color: #fabec0;
  border: 1px solid #e43d40;
  color: #e43d40;
}

.alert-success {
  background-color: #a3ebb1;
  border: 1px solid #116530;
  color: #116530;
}

.navbar {
  height: 80px;
  width: 100%;
  background-color: #0a4d73;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.navbar a {
  color: #ffffff;
}

.nav-brand {
  display: inline-block;
  padding: 15px 0;
  margin-right: 16px;
}

.nav-brand :hover {
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li a {
  padding: 20px;
  display: inline-block;
}

.nav-menu li .dropdown {
  border: 1px solid #ddd;
  background-color: #15527e;
  list-style: none;
  width: 180px;
  position: absolute;
  display: none;
}

.nav-menu li:hover {
  background-color: #556c83;
}

.nav-menu li:hover a {
  color: #ececec;
  text-decoration: none;
}

.nav-menu li .dropdown a {
  color: #fafaf3;
}

.nav-menu li .dropdown li:hover a {
  color: #f6f6f1;
}

.nav-menu li:hover .dropdown {
  display: block;
}

.content {
  padding: 100px 0 30px 0;
}

.footer {
  padding: 20px 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
}

.table th,
.table td {
  border: 1px solid #ddd;
  padding: 10px;
}

.table td:first-child {
  width: 50px;
  text-align: center;
}

.table td:last-child {
  width: 150px;
  text-align: center;
}

.text-red {
  color: #e43d40;
}

.text-orange {
  color: #ff8300;
}

.text-green {
  color: #18a558;
}

.input-group:after {
  content: "";
  clear: both;
  display: block;
}

.input-group input[type="text"] {
  width: 90%;
  padding: 10px;
  font-size: 16px;
  float: left;
  border: 1px solid #ddd;
}

.input-group input[type="text"]:focus {
  outline: none;
}

.input-group button {
  width: 10%;
  padding: 10px;
  font-size: 16px;
  float: left;
  border: 1px solid #ddd;
  border-left: none;
}

.image {
  border: 1px solid #ddd;
  padding: 5px;
}

.pendaftaran {
  padding: 10px 0;
  float: right;
}

.header {
  background-color: #092c4c;
  border-bottom: 3px solid #6586a1;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header a {
  color: #c4c4c4;
  font-family: Verdana, sans-serif;
}

.header a:hover {
  color: rgb(212, 209, 135);
}

.header-logo {
  float: left;
  line-height: 10px;

  padding: 10px 0;
}

.header-logo img {
  float: left;
  margin-right: 1px;
  height: 72px;
}

.header-logo h2 {
  float: left;
  padding: 2px 2px;
}

.header-logo p {
  padding: 0 12px;
}
.header-menu {
  float: right;
}

.header-menu li {
  float: left;
  list-style: none;
  padding: 29px 10px;
  position: relative;
  text-decoration: none;
}

.header-menu li a {
  text-decoration: none;
}

.header-menu li a:hover {
  text-decoration: none;
}

.header-menu li ul.dropdown li a {
  text-decoration: none;
}

.header-menu li ul.dropdown {
  display: none;
  position: absolute;
  background-color: #171c52;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.header-menu li ul.dropdown li {
  color: rgb(161, 161, 161);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.header-menu li ul.dropdown li:hover {
  background-color: #63637c;
  width: 100%;
}

.header-menu li:hover > ul.dropdown {
  display: block;
  text-decoration: none;
  background-color: #092c4c;
}

.banner {
  border: 1px solid;
  height: 70vh;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.banner-text {
  padding: 10px 0;
  background-color: rgba(36, 39, 55, 0.7);
  color: #fff;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.section {
  padding: 100px 0;
}

.section h3 {
  padding-bottom: 25px;
  margin-bottom: 50px;
  /* position: relative; */
}

.section h3::after {
  content: "";
  display: block;
  width: 170px;
  border: 3px solid #ffffff;
  position: absolute;
  bottom: 0;
  left: calc(50% - 82px);
}

.section img {
  margin-bottom: 10px;
}

.section h4 {
  margin-bottom: 20px;
}

.col-4 {
  min-height: 200px;
  width: 25%;
  float: left;
  padding: 10px;
}

.thumbnail-box {
  display: flex; /* Add flexbox */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  overflow: hidden; /* Ensure the image does not overflow */
  flex-direction: column; /* Ensure text appears below the image */
  width: 100%; /* Make the box as wide as the photo */
}
.thumbail-img {
  background-size: cover; /* Ensure the image covers the box */
  background-repeat: no-repeat; /* Prevent repeating */
  background-position: center; /* Center the image */
  width: 100%; /* Ensure it spans the width */
  height: auto; /* Adjust height automatically */
}
.thumbnail-text {
  text-align: center; /* Center the text */
  margin-top: 10px; /* Add spacing between the image and text */
  font-size: 14px; /* Adjust font size */
  color: #333; /* Set text color */
}

.thumbnail-box {
  border: 1px solid #ccc;
  width: 100%;
  min-height: 200px;
  /* background-color: #fff; */
}

.thumbail-img {
  height: 150px;
  background-repeat: no-repeat;
  background-size: cover;
}

.thumbnail-text {
  width: 100%;
  height: 45px;
  padding: 5px;
  background-color: #fff;
}

.thumbnail-link {
  color: #333;
}

.thumbnail-link:hover {
  color: red;
}

#jurusan {
  background-color: #f5f5f5;
}

footer {
  padding: 50px;
  background-color: #0c2d48;
  color: #fff;
}

.box-gmaps {
  float: left;
  width: 75%;
}

.mobile-menu-btn {
  width: 100%;
  float: left;
  padding: 10px;
  display: none;
}

.box-menu-mobile {
  display: none;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
}

.box-menu-mobile span {
  color: #fff;
  padding: 10px;
  position: absolute;
  right: 0;
}

.box-menu-mobile ul {
  margin-top: 10px;
}

.box-menu-mobile ul li a {
  padding: 10px;
  display: inline-block;
  color: #e0e0e0;
  text-decoration: none;
}

.box-menu-mobile ul.dropdown {
  display: none;
  background-color: #414142;
  padding-left: 20px;
  list-style: none;
}

.box-menu-mobile li:hover > ul.dropdown {
  display: block;
}

/*css mobile*/

@media screen and (max-width: 768px) {
  .container {
    width: 100%;
    align-items: center;
  }

  .col-4 {
    width: 50%;
  }

  .thumbnail-text {
    font-size: 14px;
  }

  .header-logo {
    line-height: 50px;
    padding-left: 10px;
  }

  .header-logo img {
    height: 50px;
    align-items: center;
  }

  .header-logo h2 {
    font-size: 20px;
  }

  .header-menu {
    display: none;
  }

  .box-gmaps {
    width: 100%;
  }

  .mobile-menu-btn {
    display: block;
  }
  .pendaftaran {
    padding: 10px 0;
    float: right;
    top: 70px;
    right: 20px;
  }
}
