@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

body {
	margin: 0;
	font-size:16px;
	background: rgb(0,0,69);
	background: -moz-linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	background: -webkit-linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	background: linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Poppins', sans-serif;
	font-weight: 400;
}

*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	outline: none;

}

.custom-box {
	max-width: 700px;
	background-color: #ffffff;
	margin: 20px auto;
	padding: 30px;
	border-radius: 10px;
	animation: fadeInRight 1s ease;
}

.home-box  {
	max-width: 400px;
	background-color: #ffffff;
	margin: 20px auto;
	padding: 30px;
	border-radius: 10px;
	animation: fadeInRight 1s ease;
	text-align: center;
}

@keyframes fadeInRight{
	0%{
		transform: translateX(40px);
	}
	100%{
		transform: translateX(0px);
	}
}

.custom-box::before,
.custom-box::after{
	content: '';
	clear: both;
	display: table;
}

.custom-box.hide {
	display: none;
}

.home-box h1 {
	font-size: 36px;
	line-height: 42px;
	color: #00175A;
	margin-bottom: 10px;
	margin-top: 10px;
	line-height: 42px;
}

.home-box p {
	font-size: 16px;
	margin-bottom: 10px;
	line-height: 22px;
	color: #000000;
	font-weight: 400;
}

.home-box p span {
	font-weight: 500;
}

.home-box .btn {
	margin-bottom: 5px;
	text-align: left;
}

.btn {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  background: rgb(38,14,50);
background: -moz-linear-gradient(45deg, rgba(38,14,50,1) 0%, rgba(52,78,91,1) 100%);
background: -webkit-linear-gradient(45deg, rgba(38,14,50,1) 0%, rgba(52,78,91,1) 100%);
background: linear-gradient(45deg, rgba(38,14,50,1) 0%, rgba(52,78,91,1) 100%);
  width: 300px;
  height: 80px;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 17px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.btn i {
  margin-left: auto;
  font-size: 2.15em;
  padding-left: 7px;
}


img {
	width: 200px;
	display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    animation: fadeInRight 1s ease;
}


.quiz-box .question-number, 
.quiz-box .question-text,
.quix-box .option-container,
.quiz-box .next-go-question-btn {
	width: 100%;
	float: left;
}

.quiz-box .question-number {
	font-size: 18px;
	color: #00175A;
	font-weight: 600;
	border-bottom: 1px solid #cccccc;
	padding-bottom: 10px;
	line-height: 25px;
}

.quiz-box .question-text {
	font-size: 22px;
	color: #000000;
	line-height: 28px;
	font-weight: 400;
	padding: 20px 0;
	margin: 0;

}

.quiz-box .option-container .option {
	background-color: #cccccc;
	padding: 13px 15px;
	font-size: 16px;
	line-height: 22px;
	color: #000000; 
	border-radius: 5px;
	margin-bottom: 10px;
	cursor: pointer;
	opacity: 0;
	animation: fadeIn 0.3s ease forwards;
	position: relative;
	overflow: hidden;
}

.quiz-box .question-info .question-details {
	cursor: pointer;
	border: 1px solid #aaa;
    border-radius: 4px;
    border-color: #00175A;
    padding: .5em .5em 0;
}

.quiz-box .further-info-text {
	color: #00175A;
	padding-bottom: 5px;
	font-weight: 600;

}

.quiz-box .further-info-text.gray {
    color: gray;
}

.quiz-box .further-information {
	padding-bottom: 10px;
	font-size: 15px;
	text-align: justify;
}

.question-details[open] {
    padding: .5em;
}

.question-details[open] .further-info-text {
    border-bottom: 1px solid #aaa;
    margin-bottom: .5em;
}

.quiz-box .option-container .option.already-answered {
		pointer-events: none;
}

@keyframes fadeIn{
	0%{
		opacity: 0;
	}
	100%{
		opacity: 1;
	}
}

.quiz-box .option-container .option.correct::before{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: green;
	z-index: -1;
	animation: slideInLeft .5s ease forwards
}

@keyframes slideInLeft{
	0%{
		transform: translateX(-100%);
	}
	100%{
		transform: translateX(0%);
	}
}

.quiz-box .option-container .option.wrong::before{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: red;
	z-index: -1;
	animation: slideInLeft .5s ease forwards
}

.quiz-box .option-container .option.wrong{
		color: #ffffff;
}

.quiz-box .option-container .option.correct{
	color: #ffffff;
}


.quiz-box .next-btn {
	padding: 15px 45px;
	margin-top: 5px;
	background: rgb(0,0,69);
	background: -moz-linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	background: -webkit-linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	background: linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	width: 100px;
	color: #ffffff;
	border: none;
	border-radius: 5px;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 16px;
	cursor: pointer;
	display: inline-flex;
  justify-content: center;

}

.quiz-box .back-btn {
	padding: 15px 45px;
	margin-top: 15px;
	background: rgb(0,0,69);
	background: -moz-linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	background: -webkit-linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	background: linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	color: #ffffff;
	border: none;
	border-radius: 5px;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 16px;
	cursor: pointer;
	display: inline-flex;
  	justify-content: center;

}

.result-box .back-btn {
	padding: 15px 45px;
	margin-top: 15px;
	background: rgb(0,0,69);
	background: -moz-linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	background: -webkit-linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	background: linear-gradient(45deg, rgba(0,0,69,1) 0%, rgba(0,116,133,1) 100%);
	width: 200px;
	color: #ffffff;
	border: none;
	border-radius: 5px;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 16px;
	cursor: pointer;
	display: inline-flex;
  	justify-content: center;

}
.result-box{
	text-align: center;
}

.result-box.hide{
	display: none;
}

.result-box h1{
	font-size: 36px;
	line-height: 42px;
	color: #00175A;
}

.result-box .result-text {
	padding-top: 5px;
}

.result-box table{
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;

}

.result-box table td{
	border: 2px solid #cccccc;
	padding: 8px 15px;
	font-weight: 500;
	color: #000000;
	width: 50%;
	text-align: left;
	font-size: 18px;

}

.result-box .btn {
	margin-right: 20px; 
}

/* Style the buttons that are used to open and close the accordion panel */

.soon {
  color: #00175A;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1em;
  text-align: center;
  padding-bottom: 10px;
  padding-top: 5px;
}


.accordion {
  background-color: white;
  color: #00175A;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  outline: none;
  transition: 0.4s;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1em;
  text-align: center;
  position: relative;
}

.accordion:after {
  content: "\76"; 
  font-size: 20px;
  font-family: 'seerah';
  color: #00175A;
  position: absolute;
  right: 0;
  top: 50%;
  margin-left: 30px;
  padding-right: 10px;
  transform: translateY(-50%);
}

.active:after {
  content: "\77"; 
  font-size: 20px;
  font-family: 'seerah';
  color: #00175A;
  float: right;
  margin-left: 5px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.panel button {
  display: flex;
  align-items: center;
  text-align: left;
  padding-right: 30px;
  margin: 10px 0 0 0;
}

.panel button i {
  display: inline-block;
}

.parent-btn {
  padding: 0 18px;
  background-color: white;
  transition: max-height 0.2s ease-out;
  margin: 15px auto 0px auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
 }

 a {
 	text-decoration: none;
 }


/** About **/
.about {
	position: relative;
}

.about-item {
  display: flex;
  align-items: center;
  margin-bottom: 0px;
  margin-top: 0px;
  padding: 5px 20px;
  flex-direction: column;
  justify-content: center;
}


.about-item i {
  margin-top: 10px;
  margin-right: 10px;
  text-align: center;
  font-size: 20px;
  color: #00175A;
  z-index: 1;
}

.about-item div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-item h3 {
  font-size: 21px;
  margin: 10px 0;
  font-weight: 500;
  color: #00175A;
  text-transform: capitalize;
}

.about-item p {
  font-size: 16px;
  line-height: 23px;
  font-weight: 300;
  margin: 0;
}

.about-item p a {
	color: #00175A;
	font-weight: 500;
}

.about-item p a:hover{
	font-weight: 700;
}

img.salawat_mp {
	width: 300px;
	padding: 8px;
	margin: 0;
	margin-top: 3px;

}

img.salawat_rb {
	width: 500px;
	padding: 8px;
	margin: 3px auto 0;

}

.salawat_rb.hide {
	display: none;
}




@media(max-width: 767px){
	.result-box .btn {
		margin-bottom: 15px;
	}
	body{
		padding: 15px;
	}
	img {
		width: 160px;
	}
	.btn {
		width: 250px;
		height: 75px;
		font-size: 15px;
	}

	.panel {
		padding: 0;
	}
	.parent-btn {
		padding: 0;
	}
	.about-item h3 {
		font-size: 18px;
	}

	.about-item p {
		font-size: 15px;
	}
	
}

@media(max-width: 590px){
		img.salawat_rb {
				width: 450px;

		}
}

@media(max-width: 540px){
		img.salawat_rb {
				width: 400px;

		}
}

@media(max-width: 490px){
		img.salawat_rb {
				width: 350px;

		}
}

@media(max-width: 440px){
		img.salawat_rb {
				width: 300px;

		}
}

@media(max-width: 390px){
		img.salawat_rb {
				width: 250px;

		}
}

@media(max-width: 340px){
		img.salawat_rb {
				width: 225px;

		}
}

@media(max-width: 320px){
		img.salawat_rb {
				width: 200px;

		}
}


@media(max-width: 390px){
	.accordion {
		font-size: 0.9em;
	}
	.soon {
		font-size: 0.9em;
	}
	.about-item h3 {
		font-size: 16px;
	}

	.about-item p {
		font-size: 13px;
	}

  .quiz-box .next-btn {
	  width: 90px;
  }

  .quiz-box .back-btn {
  	padding: 15px 30px;
  }
}




@media(max-width: 350px){
	.accordion {
		font-size: 0.85em;
	}
	.soon {
		font-size: 0.85em;
	}
}

@media(max-width: 340px){
	body{
		padding: 20px;
	}
	.btn {
		width: 200px;
		height: 60px;
		font-size: 12px;
	}
	img.salawat_mp {
	width: 250px;
}
	.accordion .btn {
		width: 200px;
		height: 60px;
		font-size: 12px;
	}
}

@media(max-width: 335px){
	.accordion {
		font-size: 0.8em;
	}
	.soon {
		font-size: 0.8em;
	}
	img.salawat_mp {
	width: 220px;
}
	.quiz-box .next-btn {
	  width: 80px;
	  padding: 15px 35px;
  }
  .quiz-box .back-btn {
  	padding: 15px 30px;
  }
}
@media(max-width: 325px){
	.accordion {
		font-size: 0.75em;
	}
	.soon {
		font-size: 0.75em;
	}
}


@media (max-width: 320px){
	.quiz-box .next-btn {
	  width: 75px;
	  padding: 15px 30px;
  }
  .quiz-box .back-btn {
  	padding: 15px 27px;
  }
}

@media(max-width: 270px){
	.home-box h1{
		font-size: 25px;
	}
	.btn {
		width: 150px;
		height: 40px;
		font-size: 8px;
	}
	.accordion .btn {
		width: 150px;
		height: 40px;
		font-size: 8px;
	}
}


