html,body{
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	scroll-behavior: smooth;
}
.menu{
	background:#808e9b;
	padding: 20px 0; 
	font-size: 30px;
	font-weight: bold;
}
.menu ul{
	margin: 0;
	padding: 0;
	text-align: center;
}
.menu ul li{
	list-style:none;
	margin: 0 20px;
	display: inline;
}
.menu ul li a{
	color: #fff;
	font-size: 1em;
	line-height: 1em;
	text-decoration: none;
	padding: 15px 20px;
	display: inline-block;
	font-weight: 700;
	transition: 0.5s;
}
.section1,.section2,.section3,.section4{
	min-height:100vh;
	display: flex;
	color: #E91E63;
}
section:nth-child(odd){
	background-color:#d2dae2;
}

#main1{
	display: flex;
   flex-direction: column;
   position: absolute;
   background-color: white;
   color: black;
   justify-content:center;
   font-size: 20px;
   padding:35px ;
   margin-top: 30px;
   margin-left: 200px;
   margin-right: 100px;
   border: 5px solid #808e9b;
}
#back{
	color:white;
	background-color::#808e9b ;
	padding: 20px;
	border: 3 px solid #fff;
	border-radius: 20px;   
	font-size:20px;
	
	cursor: pointer;
}
#back a{
	text-decoration: none;
	color: white;
	font-size: 25px;
}
#next{
	color:white;
	background-color::#808e9b ;
	padding: 20px;
	border: 3 px solid #fff;
	border-radius: 20px;   
	font-size:20px;
	margin-right: 0px;
	cursor: pointer;
}

#ul{
	height: 50px;
	width: 1000px;
	background-color:pink;
	font-size:20 px;
    color: black;
	padding: 10px;
}

#li{
	height: 50px;
	width: 1000px;
	background-color:pink;
	font-size:20 px;
    color: black;
	padding: 10px;
}
#main2{
   display: flex;
   flex-direction: column;
   flex-wrap:nowrap;
   position: absolute;
   background-color: white;
   justify-content:center;
   font-size: small;
   padding:20px ;
   margin-top: 20px;
   margin-left: 400px;
   border: 5px solid #808e9b;
}

#startbutton{
	color:white;
	background-color:#20bf6b ;
	padding: 20px;
	border: 1 px solid #fff;
	border-radius: 20px;   
	font-size:20px;
	text-decoration: none;
	cursor: pointer;
}
#startbutton a{
	text-decoration: none;
	color: white;
	font-size: 25px;
}
#factquiz{
	display: flex;
	height: 300px;
	width: 250px;
   flex-direction: column;
   position: absolute;
   background-color: white;
   font-size: small;
   padding:20px ;
   margin-top: 100px;
   margin-left: 500px;
   margin-right: 300px;
   margin-bottom:700px ;
   border-radius:25%;
   border:15px solid #808e9b ;
}
#heading{
	color:blue;
	font-weight: bold;
	font-size: 25px;
}
#funpart{
	display: flex;
   flex-direction:row;
   position: absolute;
   height: 100px;
   width: 600px;
   background-color:#d2dae2 ;
   color: black;
   justify-content:center;
   font-size: 25px;
   padding:35px ;
   margin-top: 30px;
   margin-left: 300px;
   margin-right: 100px;
   border: 5px solid #808e9b ;
   border-radius: 25%;
   
  
}
#show{
	color:black;
	background-color:#d2dae2  ;
	padding: 20px;
	border: 5px solid #808e9b;
	border-radius: 20px;   
	font-size:20px;
	margin-right: 200px;
	position: relative;
}

/* Full-width input fields */
/* Set a style for all buttons */


/* Extra styles for the cancel button */
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

img.answer {
  width: 70%;
}

.container {
  padding: 16px;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}


