/* Gaya untuk header */
header {
	display: flex;
	justify-content: stretch;
	align-items: center;
}

header.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .col {
    flex-grow: 1;
    flex-shrink: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  .col img {
    display: block;
    width: 100%;
    height: auto;
  }

/* body */
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(128,128,128,0.8) 100%);
  background-size: cover;
  background-attachment: fixed;
}

/* Gaya untuk header pada mobile */
@media only screen and (max-width: 768px) {
	header {
		display: block;
	}
	.col {
		display: none;
	}
	.col-center {
		display: block;
	}
}

/* Gaya untuk gambar pada header */
img {
	margin: 0;
}

/* Gaya untuk header pada layar yang lebih lebar */
@media only screen and (min-width: 1024px) {
	.col {
		flex-basis: 0;
		flex-grow: 1;
		max-width: 100%;
    max-height: 100%;
	}
}
/* Hasil Form */
#hasil-formulir {
  margin-top: 5px;
}

#hasil-formulir h1 {
  font-family: Arial Black;
  font-size: 7vh;
  text-align: center;
  word-wrap: break-word;
  white-space: pre-wrap;
  max-width: 100%;
}

#hasil-formulir h3 {
  font-family: Arial Black;
  text-align: center;
  font-size: 3vh;
  margin-top: 2%;
  margin-left: 18%;
  margin-right: 18%;
}

#hasil-formulir h5 {
  font-family: Arial Black;
  font-size: 3vh;
  text-align: center;
  background-color: #333333;
  width: 100%;
  padding: 10px;
  color: white;
  position: fixed;
  bottom: 30px;
  border-top: 5px solid white;
  border-bottom: 5px solid white;
  border-color: white;
}


@media (max-width: 500px) {
  h1 {
    font-size: 2vw;
    text-align: center;
  }
  h3 {
    font-size: 2vw;
    margin-left: 10%;
    margin-right: 10%;
  }
  h5 {
    font-size: 35px;
  }
}
#hasil-formulir {
  margin-top: 10px;
}

/* Bab Tambahan */
nav{
  position: absolute;
  bottom: 50px;
  left: 20px;
  width: 80px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}
nav .nav-content{
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(135deg);
}
.nav-content .toggle-btn,
.nav-content span a{
  height: 40px;
  width: 40px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.nav-content .toggle-btn{
  font-size: 25px;
  color: #0e2431;
  z-index: 100;
  cursor: pointer;
  transform: rotate(-225deg);
  transition: all 0.6s ease;
}
nav.open .toggle-btn{
  transform: rotate(0deg);
}
.nav-content span{
  position: absolute;
  transition: all 0.6s ease;
  opacity: 0;
}
nav.open .nav-content span{
  transform: rotate(calc(var(--i) * (360deg/8))) translateY(80px);
  opacity: 1;
}
.nav-content span a{
  text-decoration: none;
  transform: rotate(-135deg);
}
.nav-content span a i{
  font-size: 24px;
  color: #0e2431;
  transform: rotate(calc(var(--i) * (360deg/ -8)));
  opacity: 0.8;
  transition: 0.2s;
}
.nav-content span a:hover i{
  opacity: 1;
}

/* Pembesar anu */
#btn-perbesar {
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 9999;
  border: none;
  background-color: #fff;
  color: teal;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#btn-perbesar i {
  font-size: 18px;
}
#btn-perkecil {
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 9999;
  border: none;
  background-color: #fff;
  color: rgb(128, 0, 11);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#btn-perkecil i {
  font-size: 18px;
}
