body {
    margin: 0;
    width: 100%;
    max-width: 100%; 
    background-color: #050134;
    overflow-x: hidden;
}

#header {
    background-color: #050134;
    text-align: left;
    padding: 10px 75px;
    margin-top : 10px;
}

#logo {
    font-size: 32px;
    color: white;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-transform: uppercase;
    font-size: 40px;
    margin-bottom: 10px;
    word-spacing: 10px;
}

#nav {
    background-color: #0273ab;
    padding: 15px 0;
    margin-top: 0%;
    width: 100%;
}

#nav > ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex; 
    justify-content: space-around; 
}

#nav > ul > li {
    text-transform: uppercase;
    font-size: 130%;
}

#nav > ul > li > a {
    text-decoration: none;
    color: white;
    font-family: Tahoma;
    padding: 10px 15px;
}

#nav > ul > li > a:hover {
    background-color: #004161;
    padding: 15.5px 15px;
}

#nav > ul > li > ul {
    display: none;
    position: absolute;
    background-color: #0273ab;
    text-align: center;
    margin-top: 15px;
    padding: 0;
}

#nav > ul > li:hover > ul {
    display: block;
    align-items: center;
    justify-content: center;
}

#nav > ul > li > ul > li {
    list-style-type: none; 
    justify-content: center;
    text-align: center;
    align-items: center;
}

#nav > ul > li > ul > li > a {
    font-size: 15px;
    display: block;
    margin-top: 10px;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    font-family: Tahoma;
    text-transform: uppercase;
}

#nav > ul > li > ul > li > a:hover {
    background-color: #004161;
}


.content-container {
    display: flex;
    margin: 20px;
}

.left-content {
    flex: 1;
}

.left-content h1 {
    margin-top:5%;
    margin-left: 10%;
    font-size: 200%;
    color: aliceblue;
    text-transform: uppercase;
    font-family: sans-serif;
}
.left-content h2 {
    margin-top: 5%;
    margin-left: 10%;
    font-size: 135%;
    color: aliceblue;
    text-transform: uppercase;
    font-family: sans-serif;
}
.left-content p {
    margin-top: 4%;
    margin-left: 5%;
    font-size: 100%;
    color: aliceblue;
    font-family: sans-serif;
    line-height: 28px;
}
.left-content ul {
    margin-top: 25px;
    margin-left: 50px;
    font-size: 20px;
    color: aliceblue;
}

.left-content ul > li {
    margin-top: 10px;
    margin-left: 10px;
    font-size: 18px;
    color: aliceblue;
    font-family: sans-serif;
    line-height: 28px;
}

.right-content {
    flex: 1;
    text-align: right;
}

.right-content iframe{
    margin-right: 10%;
    width: 70%;
    height: 40%;
}

.right-content img {
    max-width: 70%;
    margin-right: 10%;
    margin-top: 30%;
}
.right-content p {
    margin-top: 5%;
    margin-right: 100px;
    font-size: 100%;
    color: aliceblue;
    font-family: sans-serif;
    line-height: 28px;
}

.right-content-threats {
    flex: 1;
    text-align: right;
}

.right-content-threats img {
    max-width: 80%;
    margin-right: 10%;
    margin-top: 10%;
}
.right-content-threats p {
    margin-top: 5%;
    margin-right: 100px;
    font-size: 100%;
    color: aliceblue;
    font-family: sans-serif;
    line-height: 28px;
}



#search-form {
    position: absolute;
    top: 90px;
    right: 3%;
    display: flex;
    align-items: center;
}

#search-form input[type="text"] {
    padding: 10px 15px;
    font-size: 80%;
    font-family: sans-serif;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 5px;
}

#search-form button {
    padding: 11px 10px;
    background-color: transparent;
    font-size: 80%;
    font-family: sans-serif;
    color: white;
    border-color: 2px solif #0273ab;
    border-radius: 15px;
    cursor: pointer;
}

#search-form button:hover {
    background: #004161;
}


/* quiz */
::selection{
    color: #fff;
    background: #007bff;
}

.start_btn,
.info_box,
.quiz_box,
.result_box{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 
                0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.back_button{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 
                0 6px 20px 0 rgba(0, 0, 0, 0.19);
}



.info_box.activeInfo,
.quiz_box.activeQuiz,
.result_box.activeResult{
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.start_btn button{
    font-size: 25px;
    font-weight: 500;
    color: #007bff;
    padding: 15px 30px;
    outline: none;
    border: none;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

.back_button button{
    font-size: 25px;
    font-weight: 500;
    color: #007bff;
    padding: 15px 30px;
    outline: none;
    border: none;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

.info_box{
    width: 540px;
    background: #fff;
    border-radius: 5px;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.info_box .info-title{
    height: 60px;
    width: 100%;
    border-bottom: 1px solid lightgrey;
    display: flex;
    align-items: center;
    padding: 0 30px;
    border-radius: 5px 5px 0 0;
    font-size: 20px;
    font-weight: 600;
}

.info_box .info-list{
    padding: 15px 30px;
}

.info_box .info-list .info{
    margin: 5px 0;
    font-size: 17px;
}

.info_box .info-list .info span{
    font-weight: 600;
    color: #007bff;
}
.info_box .buttons{
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 30px;
    border-top: 1px solid lightgrey;
}

.info_box .buttons button{
    margin: 0 5px;
    height: 40px;
    width: 100px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid #007bff;
    transition: all 0.3s ease;
}

.quiz_box{
    width: 550px;
    background: #fff;
    border-radius: 5px;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.quiz_box header{
    position: relative;
    z-index: 2;
    height: 70px;
    padding: 0 30px;
    background: #fff;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.1);
}

.quiz_box header .title{
    font-size: 20px;
    font-weight: 600;
}

.quiz_box header .timer{
    color: #004085;
    background: #cce5ff;
    border: 1px solid #b8daff;
    height: 45px;
    padding: 0 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 145px;
}

.quiz_box header .timer .time_left_txt{
    font-weight: 400;
    font-size: 17px;
    user-select: none;
}

.quiz_box header .timer .timer_sec{
    font-size: 18px;
    font-weight: 500;
    height: 30px;
    width: 45px;
    color: #fff;
    border-radius: 5px;
    line-height: 30px;
    text-align: center;
    background: #343a40;
    border: 1px solid #343a40;
    user-select: none;
}

.quiz_box header .time_line{
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 3px;
    background: #007bff;
}

section{
    padding: 25px 30px 20px 30px;
    background: #fff;
}

section .que_text{
    font-size: 25px;
    font-weight: 600;
}

section .option_list{
    padding: 20px 0px;
    display: block;   
}

section .option_list .option{
    background: aliceblue;
    border: 1px solid #84c5fe;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 17px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section .option_list .option:last-child{
    margin-bottom: 0px;
}

section .option_list .option:hover{
    color: #004085;
    background: #cce5ff;
    border: 1px solid #b8daff;
}

section .option_list .option.correct{
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

section .option_list .option.incorrect{
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

section .option_list .option.disabled{
    pointer-events: none;
}

section .option_list .option .icon{
    height: 26px;
    width: 26px;
    border: 2px solid transparent;
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
    pointer-events: none;
    transition: all 0.3s ease;
    line-height: 24px;
}
.option_list .option .icon.tick{
    color: #23903c;
    border-color: #23903c;
    background: #d4edda;
}

.option_list .option .icon.cross{
    color: #a42834;
    background: #f8d7da;
    border-color: #a42834;
}

footer{
    height: 60px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid lightgrey;
}

footer .total_que span{
    display: flex;
    user-select: none;
}

footer .total_que span p{
    font-weight: 500;
    padding: 0 5px;
}

footer .total_que span p:first-child{
    margin-top: 0px;
    padding-left: 0px;
}
footer .total_que span p:last-child{
    margin-top: 0px;
    padding-left: 5px;
}



footer button{
    height: 40px;
    padding: 0 13px;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 5px;
    background: #007bff;
    border: 1px solid #007bff;
    line-height: 10px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

footer button:hover{
    background: #0263ca;
}

footer button.show{
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.result_box{
    background: #fff;
    border-radius: 5px;
    display: flex;
    padding: 25px 30px;
    width: 450px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.result_box .icon{
    font-size: 100px;
    color: #007bff;
    margin-bottom: 10px;
}

.result_box .complete_text{
    font-size: 20px;
    font-weight: 500;
}

.result_box .score_text span{
    display: flex;
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
}

.result_box .score_text span p{
    padding: 0 4px;
    font-weight: 600;
}
.result_box .score_text span p:first-child{
    padding: 0 4px;
    margin-top: 4px;
    font-weight: 600;
}

.result_box .buttons{
    display: flex;
    margin: 20px 0;
}

.result_box .buttons button{
    margin: 0 10px;
    height: 45px;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid #007bff;
    transition: all 0.3s ease;
}

.buttons button.restart{
    color: #fff;
    background: #007bff;
}

.buttons button.restart:hover{
    background: #0263ca;
}

.buttons button.quit{
    color: #007bff;
    background: #fff;
}

.buttons button.quit:hover{
    color: #fff;
    background: #007bff;
}

*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box; 
}
.bottom_footer {
    margin-top: 100px;
    width: 100%;
    padding: 20px 15%;
    background: #0273ab;
    color: #efefef;
    display: flex;
}

.bottom_footer div{
    text-align: center;
}

.col_2nd{
    flex-grow: 2;
}

.bottom_footer div h3{
    font-weight: 300;
    font-size: 20px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.col_1st a{
    display: block;
    text-decoration: none;
    color: #efefef;
    margin-bottom: 10px;
}

.col_1st a:hover{
    color:#007bff
}

*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box; 
}
.bottom_footer {
    margin-top: 8%;
    width: 100%;
    padding: 20px 15%;
    background: #0273ab;
    color: #efefef;
    display: flex;
}

.bottom_footer div{
    text-align: center;
}

.col_2nd{
    flex-grow: 3;
}

.bottom_footer div h3{
    font-weight: 300;
    font-size: 20px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.col_1st a{
    display: block;
    text-decoration: none;
    color: #efefef;
    margin-bottom: 10px;
}

.col_1st a:hover{
    color:#007bff
}

.knowledge-tests-heading {
    text-align: center;
    margin-top: 50px;
    margin-right: 900px;
    text-decoration: none;
    color: white;
    font-family: Tahoma;
}

.knowledge-tests-heading h1 {
    font-size: 30px;
    color: #fff;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 5%; 
    justify-content: center; 
    margin-top: 50px;
}

.card {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 500px;
    height: 250px;
    margin: 0 auto;
}

.card-title {
    font-size: 25px;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
    font-family: Tahoma;  
    margin-top: 10px;  
}

.card-content {
    padding-left: 50px;
    padding-right: 50px;
    margin-top: 25px;
    color: #000000;
    text-decoration: none;
    font-family: Tahoma;  
}

.card-content p {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    font-family: Tahoma;  
}

.begin-button {
    margin-top: 25px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.begin-button:hover {
    background-color: #0056b3;
}

.articles-heading {
    text-align: center;
    margin-top: 5%;
    margin-right: 80%;
    text-decoration: none;
    color: white;
    font-family: Tahoma;
}

.articles-heading h1 {
    font-size: 30px;
    color: #fff;
}

.a_card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 5%; 
    column-gap: 0px;
    justify-content: center; 
    margin-top: 50px;
}

.a_card {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 400px;
    height: 200px;
    margin: 0 auto;
}

.a_card-title {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
    font-family: Tahoma;  
    margin-top: 10px;  
}

.a_card-content {
    padding-left: 50px;
    padding-right: 50px;
    margin-top: 25px;
    color: #000000;
    text-decoration: none;
    font-family: Tahoma;  
}

.a_card-content p {
    margin-top: 12px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    font-family: Tahoma;  
}

.a_begin-button {
    margin-top: 15px;
    padding: 8px 16px;
    font-size: 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.a_begin-button:hover {
    background-color: #0056b3;
}

