@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    //background-image: url('https://wallpaperaccess.com/full/3308628.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.main {
    color: rgb(0, 0, 0);
    //background-color: rgba(0, 0, 0, 0.7);
    height: 100vh;
    text-align: left;
}

.main-container {
    padding-top: 150px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.main h1 {
    font-size: 90px;
}

.main h2 {
    font-size:75px;
}

.border-line {
    height: 2px;
    width: 250px;
    margin-top: 10px;
    background-color: rgb(255, 255, 255);
}

.selection-container {
    text-align: center;
    border: 1px solid;
    border-radius: 20px;
    width: 600px;
    padding: 50px;
    margin-top: 120px;
    background-color: rgba(0, 0, 0, 0.4);
}


.user-selection-button button {
    margin: 20px 10px 0 10px;
    padding: 7px;
    border: none;
    border-radius: 10px;    
    width: 200px;
}

.user-selection-button button:hover {
    background-color: rgb(90, 90, 90);
    color: rgb(255, 255, 255);
}

.nav-pills .nav-link {
    color: rgb(190, 190, 190);
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: rgb(255, 255, 255);
    background-color: transparent !important;
}

#pills-home {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid;
    border-radius: 20px;
    padding: 40px;
    margin: 100px;
}

.quiz-area {
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid;
    border-radius: 20px;
    padding: 50px;
    margin: 100px;
}

#add-quiz-button {
    float: right !important;
    margin: 10px;
}

.quiz-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz {
    width: 90%px;
    //height: 600px;
    margin-top: 40px;
	margin-top: 20px;
    //border: 2px solid;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
}

.nav-tabs .nav-link {
    //color: rgb(255, 255, 255) !important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057 !important;
}

.table-area {
    height: 450px; /* Set a fixed height to enable scrolling */
    width: 100%;
    overflow-y: auto;
}

/* Freeze table header on scroll */
.table-area table thead th {
    position: sticky;
    top: 0;
    background-color: #f1f1f1; /*#2e2e2e;  Dark background to match your theme */
    color: black;
    z-index: 10;
    padding: 10px;
    border: 1px solid #e3e3e3;
}

/* Optional: style table body cells for consistency */
.table-area table tbody td {
    padding: 10px;
    //border: 1px solid #444;
    //background-color: rgba(0, 0, 0, 0.7);
    //color: white;
}

.take-quiz-area {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.take-quiz-area h3 {
    font-size: 50px;
}

.questions {
    display: flex;
    flex-direction: column;
    //margin-top: 20px;
    //border: 2px solid;
    background-color: rgba(250, 250, 250, 0.7);
    border-radius: 20px;
    width: 100%;
    //height: 670px;
    text-align: left;
    overflow-y: auto;
}

#takeQuiz {
    font-size: 16px;
    width: 150px;
    height: 40px;
    margin-top: 20px;
    border: none;
    color: rgb(70, 70, 70);
    background-color: rgb(210, 210, 210);
    border-radius: 5px;

}

#takeQuiz:hover {
    background-color: rgb(80, 80, 80);
    color: rgb(255, 255, 255);
}

.question {
    margin: 20px 50px 20px 50px;
}

.question p {
    font-size: 18px;
}

.choices li {
    list-style-type: upper-alpha;
    margin-left: 100px;
    font-size: 15px;
}

#submitAnswer {
    margin-left: 500px;
    //margin-top: 10px;
    width: 150px;
}

/// Deco
::selection{
  background: #d5bbf7;
}
.Parent { 
			position: relative;
            display: flex; 
            flex-direction: row; 
        } 
.child1 { 
            width: 90%; 
            //height: 100vh; 
            //background-color: green; 
            text-align: center; 
            //color: white; 
        } 
.child2 { 
            width: 10%; 
            padding: 24px; 
            //height: 100vh; 
            //border: green solid 5px; 
            //margin: 50px; 
        } 
.child { 
            width: 100%; 
            padding: 4px; 
        } 
.question{
  /*max-width:1000px;
  width: 100%;*/
  //margin-top: 30px;
  background: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
.question .title{
  font-size: 18px;
  font-weight: 500;
  margin-top:10px;
}
.question .content{
  margin-top: 20px;
}
.question label.box{
  background: #fff;
  margin-top: 7px;
  margin-left:15px;
  margin-right:15px;
  padding: 10px 10px;
  //display: table-cell; 
  display: flex;
  border-radius: 5px;
  border: 2px solid #dbdada;
  cursor: pointer;
  transition: all 0.25s ease;
}
[id^="question"][id$="-a"]:checked ~ .Parent .child1 label.first,
[id^="question"][id$="-b"]:checked ~ .Parent .child1 label.second,
[id^="question"][id$="-c"]:checked ~ .Parent .child1 label.third,
[id^="question"][id$="-d"]:checked ~ .Parent .child1 label.fourth {
  border-color: #8E49E8;
  background: #fff; 
}
.question  label.box:hover{
  background: #d5bbf7;
}
.question  label.box .circle{
  text-align: center;
  font: 18px Arial, sans-serif;
  height: 36px;
  width: 36px;
  line-height: 30px;
  border: 3px solid #ccd5e1;
  display: inline-block;
  margin-right: 18px;
  border-radius: 80%;
  transition: all 0.25s ease;
}

.question  label.box .circle-red{
  border: 3px solid #ff0000;
}

.question  label.box .circle-green{
  border: 3px solid #00ff00;
}

[id^="question-"]:checked ~ .Parent .child1 label.first .circle,
[id^="question-"]:checked ~ .Parent .child1 label.second .circle,
[id^="question-"]:checked ~ .Parent .child1 label.third .circle,
[id^="question-"]:checked ~ .Parent .child1 label.fourth .circle {
  border-color: #8E49E8;
  background: #fff;
}
.question  label.box .icon {
    height: auto;
    //position: absolute;
    //left: 92%;
    //top: 32px;
	width:32px;
}
.question  label.box .plan{
  display: flex;
  width: 100%;
  align-items: center;
}
.question input[type="radio"]{
  display: none;
}

#ip {
    border-radius: 15px;
    border: 2px solid #e7e7e7;
    padding: 20px; 
    width: 200px;
    height: 15px;    
}

.open {
    border-radius: 15px;
    border: 2px solid #e7e7e7;
    padding: 20px; 
    width: 200px;
    height: 15px;    
}

//Question Box with buttons
.overlaid {
    position: absolute;
    margin-top: 0px;
	right: 10px;
    background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent background */
    z-index: 99998; /* High z-index to ensure it overlays content */
    display: flex;
    align-items: center;
    justify-content: center;   
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
	width: 300px !important;
}

.o-container {
  position: relative;
  margin-top: 0px;
  background: #fff;
  border-radius: 5px;
  padding: 30px;
  width: 300px !important;
}

.btn-square {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px; /* Spacing between buttons */
	margin-bottom: 6px; /* Spacing between buttons */
    font-size: 14px;
    padding: 0;
}

/* Add this style to your existing styles or in a <style> tag in the head section */
.horizontal-line {
display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  border-top: 3px solid #5f6266; /* Adjust the color and thickness as needed */
  margin-top: 40px; /* Adjust the spacing above the line as needed */
  z-index:1000;
}

//Multistep modal
// prevent nav tabs from collapsing on mobile
// using flex to fill the modal width
// otherwise use table-cell and float
.nav-justified {
	display: flex;
	li {
		flex: 1;
		// display: table-cell;
		// float: left;
	}
}

.title .circle{
  text-align: center;
  font: 18px Impact, sans-serif;
  height: 36px;
  width: 36px;
  line-height: 30px;
  border: 3px solid #51e368;
  display: inline-block;
  margin-right: 18px;
  border-radius: 16%;
  transition: all 0.25s ease;
}

// Underlined empty space for sat
span.wspace{
  display:inline-block;
  border-bottom: 1px solid black !important;
  width:50px;
}

.progress-thin {
	height: 6px !important; 
}

        /* Custom style to position the popup alert */
        #popupAlert {
            position: fixed;
            top: 54px;
            right: 20px;
            z-index: 1050;
            display: none; /* Hidden by default */
            width: 300px; /* Set the width of the alert */
        }


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 40em) {
  /* Bump up size of carousel content */
	.o-container {
	  position: relative;
	  margin-left: 0px;
	  background: #fff;
	  border-radius: 5px;
	  padding: 30px;
	  width: 100% !important;
	}
}

@media (min-width: 62em) {

}

/*AOL*/
.selection-box {
    position: absolute;
    border: 2px dashed #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}