@font-face {
    font-family: "Inter";
    src: url('./fonts/Inter-Regular.ttf');
    font-display: swap;
    font-weight: normal;
}

@font-face {
    font-family: "Inter";
    src: url('./fonts/Inter-Bold.ttf');
    font-display: swap;
    font-weight: bold;
}

:root {
    --EPS-Bad: rgb(184, 49, 49);
    --EPS-Meh: rgb(207, 155, 43);
    --EPS-Average: rgb(175, 184, 49);
    --EPS-Good: rgb(54, 150, 67);
}

.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

header, .header-center {
    padding: 20px 50px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-center {
    display: block;
    text-align: center;
}

.logo, .logohref {
    font-weight: bold;
    font-size: 26px;
    color: black;
    text-decoration: none;
}

.piclogo {
    height: 30px;
}

#lp-score {
    font-family: "Inter";
}

#examPassingStatus {
    text-align: center;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

#eps-text {
    font-family: "Inter";
    font-size: 20px;
    color: white;
}

#firstVisitor, .disclaimer-box {
    font-family: "Inter";
    background: rgb(154, 198, 212);
    border-radius: 7px;
    color: rgb(24, 76, 110);
    font-size: 14px;
    padding: 10px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    display: none;
}

.fv-link {
    color:rgb(47, 74, 223);
}

.disclaimer-box {
    display: block;
    background: rgb(245 158 11);
    color: rgb(71, 55, 10);
}

body {
    background-color: rgb(245, 245, 255);
}

.centre {
    text-align: center;
}

/* Dashboard */

.questionModuleList {
    padding: 10px 25%;
}

.QuestionModule {
    margin-top: 15px;
    padding-top: 150px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.em-it {
    background-image: url("https://www.studium.fb08.uni-mainz.de/files/2023/06/Informatik_AdobeStock_164909094-scaled.jpeg") !important;
    background-size: cover;
}

.qm-sysadmin {
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSfDq3HKEoz0XeH131U603zS46pc1NlgClpEA&s");
    background-size: cover;
}

.qm-consulting {
    background-image: url("https://cdn.prod.website-files.com/6093b4543721f101276fd580/6093b4543721f14e526fd8d4_6081a6b8e04cc73b2bc9fcb0_Leistung-IT-Services-und-Outsourcing.jpg");
    background-size: cover;
}

.qm-programming {
    background-image: url("https://www.spaleck.de/wp-content/uploads/2021/07/spaleck-ausbildung-fachinformatiker-fuer-anwendungsentwicklung-programmieren-1900x600-1.jpg");
    background-size: cover;
}

.qm-python-programming {
    background-image: url("https://media.istockphoto.com/id/1346047861/de/vektor/programmcode-python-und-flask-framework.jpg?s=612x612&w=0&k=20&c=GWOI9-R6FfmgwsRHwUfGAe525tnURJKr0dicUxKrV_A=");
    background-size: cover;
}


.qm-business-studies {
    background-image: url("https://t4.ftcdn.net/jpg/00/02/58/69/360_F_2586907_Ep9JKdnx7H5aOgq0ATdvakPiMAx8H5.jpg");
    background-size: cover;
}

.qm-module_name {
    font-family: "Inter";
    font-size: 20px;
    color: white;
    font-weight: bold;
}

.qm-module-props {
    font-family: "Inter";
    font-size: 14px;
    margin: 3px 0 3px 0;
    color: white;
}

.modulePropeties {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 10px;
}

.qm-href {
    text-decoration: none;
    transition: 0.15s;
}

.qm-href:hover {
    opacity: 80%;
}

.disclaimerTextHead {
    margin-top: 50px;
    font-family: "Inter";
    font-weight: bold;
    text-align: center;
}

.disclaimerText {
    margin-bottom: 120px;
    margin-top: 15px;
    font-family: "Inter";
    text-align: center;
}

/* Bottom-Nav */

.bottomNavigation {
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30%;

    position: fixed; /* Fixes the navigation to a specific position */
    bottom: 0; /* Positions the navigation at the bottom of the page */
    left: 0; /* Ensures the navigation spans the entire width of the page */
    right: 0; /* Ensures the navigation spans the entire width of the page */
    z-index: 1000; /* Keeps the navigation on top of other content */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.bnav-tab {
    text-align: center;
}

.bnav-href {
    text-decoration: none;
    color: black;
}

.bnav-selected {
    color: rgb(47, 74, 223);
}

.bnav-tab-text {
    font-family: "Inter";
    font-size: 14px;
}

/* Settings */

.settingsContainer {
    margin: 20px 25%;
    font-family: "Inter";
}

.settingsSection {
    padding: 10px 10px;
    font-weight: bold;
}

.settingsText {
    padding: 10px 10px;
    font-size: 14px;
}

.settingsChoice, .settingsChoice-Select {
    background: white;
    width: 100%;
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    color: black;
    margin: 4px 0;
    font-size: 14px;
    transition: 0.15s;
}

.settingsChoice-Select {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sc-sc-input {
    font-family: "Inter";
    border: none;
    background: rgb(235, 235, 235);
    padding: 7px 70px 7px 10px;
    border-radius: 5px;
}

.sc-sc-input:focus {
    border: #007BFF 1px solid;
    outline: #007BFF 1px solid;
}

.settingsChoice:hover, .settingsChoice-Select:hover {
    background: rgb(220, 220, 220);
}

/* Confirmation Modal */

.modal {
    font-family: "Inter";
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    max-width: 500px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.modal-text {
    margin-bottom: 15px;
}

.modal-button, .confirm-reset {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    padding: 10px 30px;
    margin: 10px;
    cursor: pointer;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 4px;
    transition: background-color 0.15s ease-in-out;
    width: 120px;
}

#confirm-reset {
    background: rgb(184, 49, 49);
}

#confirm-reset:hover {
    background: rgb(105, 27, 27);
}

.modal-button:hover {
    background-color: #0056b3;
}

/* Question Form */

.questionContainer {
    margin: 70px 25%;
}

.debuggingStuff {
    display: inline-block;
    background: rgb(130, 150, 150);
    color: white;
    font-family: monospace;
    padding: 10px 20px;
    border-radius: 7px;
}

.questionHead, .QuestionAnswer, .AnswerLabel, .submit-button, .continue-button {
    font-family: "Inter";
}

.questionHead {
    font-weight: bold;
    margin-bottom: 50px;
}

#questionImage {
    display: block;
    height: 225px;
    margin-bottom: 30px;
}

.QuestionAnswer {
    font-family: "Inter";
    margin-right: 10px;
    transform: scale(1.5);
}

.AnswerLabel {
    font-family: "Inter";
    display: inline-block;
    margin: 7px 0;
}

.answers-container {
    margin-bottom: 50px;
}

.submit-button, .continue-button {
    background: rgb(52, 106, 255);
    border: none;
    color: white;
    padding: 10px 50px;
    border-radius: 69px;
    transition: 0.15s;
    width: 100%;
}

.continue-button {
    margin-top: 20px;
}

.submit-button:hover, .continue-button:hover {
    background: rgb(21, 44, 173);
}

/* Results */

.qr-correct, .qr-wrong {
    padding: 10px 50px;
    border-radius: 10px;
}

.qr-correct {
    background: rgb(168, 255, 168);
}

.qr-wrong {
    background: rgb(255, 144, 144);
}

.qrh-correct, .qrh-wrong {
    font-family: "Inter";
    font-weight: bold;
}

.qrh-correct {
    color: rgb(20, 110, 20)
}

.qrh-wrong {
    color: rgb(156, 18, 18)
}

/* EXAMS */

#text-answer-exam:focus {
    border: 1px rgb(52, 106, 255) solid;
    outline: none;
}

#text-answer-exam {
    border: 1px rgb(197, 197, 197) solid;
    border-radius: 6px;
    padding: 10px 15px;
    width: 100%;
    font-size: 14px;
    transition: 0.15s;
}

#examResults {
    margin-bottom: 20px;
}

#examResultsHead {
    font-family: "Inter";
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 20px;
}

#erc-head {
    font-family: "Inter";
    font-weight: bold;

    margin-bottom: 10px
}

#erc-text {
    font-family: "Inter";
    font-size: 14px;
}