h1 {
    font-family: 'Rubik Bubbles', system-ui, sans-serif;
    font-size: 2rem;
    color:#1e3a8a;
    margin-bottom: 5px;
}

.header {
    background-color: white; 
    backdrop-filter: blur(5px); 
    max-width: 800px;
    margin: 0 auto; 
    padding: 30px;
    border-radius: 25px; 
    border: 1px solid #e2e8f0; 
    box-shadow: 0px 4px 20px #baebfd;
    text-align: center;
}


.header h2 {
    color: #5ca9e8;
    font-size: 1.2rem;
    margin: 10px 0;
}

.header p {
    color: #5ca9e8;
    font-size: 1.1rem;
    margin: 10px 0;
}

body {
    background-color: #f0f4f8;
    color: #334155;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 10px;
    padding: 20px;
    line-height: 1.6;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; 
    opacity: 0.05;
    filter: invert(1);
}

.boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 5%;
    font-size: larger;
}

.info {
    display: flex; 
    justify-content: center;
    padding: 100px;
    border-style: solid;
    border-radius: 25px;
    font-size: x-large;
    background-color: rgba(0, 0, 0, 0.654);
    backdrop-filter: blur(5px);
    box-shadow: 0px 0px 10px 0px #ffffff;
}

.learn {
    display: flex;
    justify-content: center;
    background-color: #6ec1eb;
    border-radius: 15px;
    padding: 20px;
    margin-top: 2%;
}

.intro { 
    font-size: 1.2rem;
    color: #1e3a8a;
}

.info-box {
    background-color: #83e0ff74;
    backdrop-filter: blur(5);
    border-radius: 15px;
    max-width: 800px;
    margin: 40px auto 20px auto;
    padding-bottom: 10px;
    z-index: -1;
}

/* Interactive Scam Quiz Styles */
.quiz-container {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    max-width: 800px;
    margin: 40px auto; 
    padding: 30px;
    box-shadow: 0px 4px 20px #baebfd;
    text-align: center;
}

.quiz-header h3 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
}

.quiz-options-area {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* Styling the fake "Text Messages" */
.quiz-card {
    background-color: #f1f5f9; 
    border: 2px solid #cbd5e1;
    border-radius: 20px;
    padding: 20px;
    width: 300px;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    color: #334155;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.05);
}

.quiz-card:hover {
    border-color: #3b82f6; 
    background-color: #eff6ff;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.368);
    transform: translateY(-3px);
}

/* Feedback Box (Hidden by default) */
.quiz-feedback {
    display: none; 
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.feedback-success {
    background-color: #dcfce7; 
    border: 2px solid #22c55e;
    color: #166534;
}

.feedback-error {
    background-color: #fee2e2; 
    border: 2px solid #760a17;
    color: #5d0619;
}

.quiz-feedback h4 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

#next-quiz-btn {
    margin-top: 15px;
    border-color: darkgrey;
    color: #334155;
}

/*  Footer & Attribution Styles  */
footer {
    background-color: #ffffff; 
    backdrop-filter: blur(5px); 
    border-top: 1px solid #e2e8f0; 
    border-radius: 15px;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto; 
}

.attribution {
    color: #64748b;  
    font-size: 0.9rem;
    margin: 0;
}

.attribution a {
    color: #0284c7;
    text-decoration: none; 
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.attribution a:hover {
    color: rgb(16, 122, 187);
    text-decoration: underline;
}

.attribution img {
    height: 1.2em;
    margin-right: 0.125em;
    display: inline;
    vertical-align: middle; 
}

/*  Clickable Box Hover Effects  */
.clickBox {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex; 
    justify-content: center;
    align-items: center;
    padding: 40px;
    width: 250px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #1e3a8a;
    background-color: #ffffff;
    border: 2px solid #bae6fd; 
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.clickBox:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);; 
    border-color: #3b82f6;
}

/* Popup Overlay Styles */
.popup-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer; 
}

.popup-content {
    background-color: #ffffff;
    border: 2px solid #7ec8fc;
    border-radius: 25px;
    padding: 40px;
    font-size: 30px;
    text-align: center;
    color: #334155;
    max-width: 80%;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
}

.popup-content h3 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-top: 0;
}

.popup-content p {
    color:#334155;
    font-size: 1.2rem;
}

.close-hint {
    color: #94a3b8 !important;
    font-size: 1rem !important;
    margin-top: 30px;
    font-style: italic;
}


.quiz-option {
    background-color: #ffffff;
    border: 1px solid #0284c7;
    color: #0284c7;
    border-radius: 20px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    background-color: #6ec1eb;
    color: #ffffff;
    transform: translateY(-2px);
}
