@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
  line-height: 1.5;
  background-color: #f0f0f0; /* Warna background body */
}
.container {
  max-width: 992px;
  margin: 0 auto;
}
hr {
  width: 80%;
  margin: 20px auto;
}

/* Navbar */
nav {
  display: flex;
  width: 100%;
  height: 70px;
  background: #00a5cf;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

nav > .container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

nav > div label {
  font-family: "Lato";
  font-size: 40px;
  line-height: 70px;
  padding: 0 15px;
  color: #ffffff;
}
nav > div a {
  font-size: 1em;
  line-height: 70px;
  color: #ffffff;
  margin: 0 10px;
  text-decoration: none;
}
nav > div a:hover,
.active {
  font-weight: bold;
}
.navbar a:last-child {
  font-weight: bold;
}
.login {
  border: 1px solid black;
  padding: 10px 20px;
  background: black;
  border-radius: 50px;
  justify-content: center;
}

/* Hamburger Icon Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  height: 20px;
  justify-content: space-between;
  cursor: pointer;
  margin-right: 15px;
}
.menu-toggle input {
  position: absolute;
  width: 40px;
  height: 28px;
  left: -5px;
  top: -3px;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}
.menu-toggle span {
  display: flex;
  width: 28px;
  height: 3px;
  background-color: #ffffff;
}
.menu-toggle span:nth-child(2) {
  transform-origin: 0 0;
}
.menu-toggle span:nth-child(4) {
  transform-origin: 0 100%;
}
.menu-toggle input:checked ~ span:nth-child(2) {
  transform: rotate(45deg) translate(-1px, -1px);
}
.menu-toggle input:checked ~ span:nth-child(4) {
  transform: rotate(-45deg) translate(-1px, -1px);
}
.menu-toggle input:checked ~ span:nth-child(3) {
  transform: scale(0);
  opacity: 0;
}

/* Jumbotron */
.container-fluid {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  /* border: #333 solid 10px; */
}

.text-jumbotron{
  font-family: monospace;
  color: white;
  z-index: 99;
  font-size: 28px;
  font-weight: 300;
  text-align: center;
}
.jumbotron {
  background-image: url('../storage/images/bg_landing_page.jpg');
  background-position: center;
  background-size: cover;
  height: 680px;
  position: relative;
  margin-bottom: 50px;
  margin-top: 70px;
}
.jumbotron::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  position: absolute;
  bottom: 0;
}
.jumbotron h1 {
  color: #fff;
  font-size: 3em;
  text-align: center;
  padding: 200px 0 100px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
  z-index: 1;
  position: relative;
}
.jumbotron pre {
  color: #fff;
  font-size: 1.5em;
  text-align: center;
  /* padding: 200px 0 300px; */
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
  z-index: 1;
  position: relative; 
}


/* Form Styling */
/* Form Styling */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 10px;
  color: #333; /* Ubah warna font label */
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 2px solid #555;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: #e9f5db;
  color: #555555; /* Ubah warna font input */
  transition: border-color 0.3s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #00a5cf; /* Warna border saat focus */
}

textarea {
  height: 120px;
}

select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  padding-right: 30px;
  padding-bottom: 5px; /* Menyesuaikan dengan jarak antara ikon dan bagian bawah input */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6"><polygon points="6,0 12,6 0,6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px bottom 10px; /* Menyesuaikan posisi ikon ke kanan dan bawah */
  background-size: 12px auto; /* Ukuran ikon */
}


button {
  width: 100%;
  padding: 12px;
  background-color: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease-in-out;
}

button:hover {
  background-color: #45a049;
}

.success-message {
  text-align: center;
  margin-top: 20px;
  color: #4CAF50;
  font-weight: bold;
  font-size: 20px;
}


/* Media Query for Responsive Design */

@media only screen and (max-width: 992px) {
  nav {
    padding: 0 10px;
  }
  .menu-toggle {
    display: flex;
  }
  .navbar {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .menu-toggle input:checked ~ .navbar {
    display: flex;
  }
}

@media only screen and (max-width: 768px) {
  .jumbotron h1, pre {
    font-size: 1.5em;
    padding: 100px 0 50px;
  }
  input[type="text"],
  input[type="email"],
  input[type="date"],
  select,
  textarea {
    font-size: 14px;
    padding: 10px;
  }
  button {
    font-size: 16px;
    padding: 10px;
  }
  .success-message {
    font-size: 18px;
  }
  .menu-toggle {
    margin-top: 20px;
  }
}

@media only screen and (max-width: 480px) {
  .text-jumbotron{
    font-family: monospace;
    padding-top: 10px;
    font-size: 16px;
  }
  .judul-jumbotron{
    margin-top: 200px;
  }
  nav {
    padding: 0 10px;
  }
  nav > .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  nav > div label {
    font-size: 30px;
    margin-left: 0;
  }
  .navbar {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .menu-toggle {
    display: flex;
    margin-top: 20px;
  }
  .menu-toggle input:checked ~ .navbar {
    display: flex;
  }
  .jumbotron h1,
    pre {
    font-size: 1.2em;
    padding: 50px 0 20px;
  }
  input[type="text"],
  input[type="email"],
  input[type="date"],
  select,
  textarea {
    font-size: 12px;
    padding: 8px;
  }
  button {
    font-size: 14px;
    padding: 8px;
  }
  .success-message {
    font-size: 16px;
  }
}
