@import url("https://cdn.fonts.net/t/1.css?apiType=css&projectid=177ccf16-fcf0-48ab-b573-68c73cddbcf4");

@font-face{
    font-family: "ELOSansPro-Regular";
    src: url("../fonts/ELOSansPro-Regular.woff") format("woff");
    font-weight: regular;
    font-style: normal;
}
@font-face{
    font-family: "ELOSansPro-Regular";
    src: url("../fonts/ELOSansPro-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}
#start-screen {
    margin-bottom: 300px;
}
body {
    color: #ffffff;
    font-family: "ELOSansPro-Regular", sans-serif;
    text-align: center;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/bg_quiz_desktop.webp');
    background-size: cover;
    background-position: center;
    line-height: 1.5em;
}
body.start-page {
    background-image: url('../images/bg_team.webp');
}
h1 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
}
p {
    font-size: 18px;
    font-weight: 300;
}
.question-container, 
.start-container {
    display: none;
    max-width: 800px;
    width: 100%;
}
.question-container.active, 
.start-container.active {
    display: none; 
    display: block;
    margin: 0 auto;
}
.options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.option {
    background-color: #f49500;
    padding: 20px 30px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
    flex: 1 1 300px;
    max-width: 300px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 18px;
}
.option:hover {
    background-color: #ee7501;
}
.result-content {
    display: flex;
    padding: 0 30px;
    gap: 30px;
    align-items: center;
    justify-content: center;
}
.result-image img {
    max-width: 300px;
    height: auto;
}
.result-container h1{
    margin: 0;
}
.result-text-box {
    max-width: 400px;
    text-align: left;
}
.result-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}
.result-buttons button, 
#startQuiz { 
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    letter-spacing: normal;
    font-weight: 700;
    font-size: 16px;  
    font-family: "ELOSansPro-Regular", sans-serif;
}
.result-buttons #showJobs {
    background-color: #fa9801;
    color: white; 
    border: none;
}
.result-buttons #showJobs:hover {
    background-color: #ee7501;
}
.result-buttons #repeatQuiz, 
#startQuiz {
    background-color: transparent;
    color: #fa9801;
    border: 2px solid #fa9801;
}
.result-buttons #repeatQuiz:hover, 
#startQuiz:hover {
    background-color: #fa9801;
    color: white;
}
.full-width-image {
    width: 100%;
    margin-top: 2rem;
    text-align: center;
}

.full-width-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}
#result-allgemein{
    width: 100%;
    padding: 0;
    
}

@media (max-width: 768px) {
    body {
        background-image: url('../images/nerdy_background_mobile.jpg');
    }
    body.start-page {
        background-image: url('../images/bg_team_mobile.webp');
    }
    h1{
        font-size: 23px;
    }
    .start-container.active {
        margin: 5px;
    }
    .result-content {
        flex-direction: column;
        text-align: center;
    }
    .result-image img {
        max-width: 200px;
    }
}
@media (max-width: 992px) {
    body{
     
        h1{
            font-size: 23px;
        }   background-image: url('../images/nerdy_background_tablet.jpg');
    }
}