/* Basic reset for margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Cera Pro';
    src: local('Cera Pro Regular'), local('Cera-Pro-Regular'),
        url('/Files/Fonts/Cera-Pro-Regular.woff2') format('woff2'),
        url('/Files/Fonts/Cera-Pro-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Cera Pro';
    src: local('Cera Pro bold'), local('Cera-Pro-bold'),
        url('/Files/Fonts/Cera-Pro-Bold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Ahkio';
    src: local('Ahkio-Black'), 
        url('/Files/Fonts/Melvastype-Ahkio-Black.otf') format('otf'),
        url('/Files/Fonts/Melvastype-Ahkio-Black.woff') format('woff'),
        url('/Files/Fonts/Melvastype-Ahkio-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

body {
    font-family: 'Cera Pro', Arial, sans-serif;
    background-color: #fff;
    font-weight: 400;
}

body {
    background-image: url('/Files/JAV_Pfeil_1.svg');
    background-repeat: no-repeat;
    background-position: center -16vh;
    background-size: 750%;
}

.logo-container {
    padding: 20px;
    text-align: center;
}

.quiz-logo {
    max-width: 18%;
    min-width: 180px;
    height: auto;
}

.start-page {
    text-align: center;
    margin-top: 30px;
    opacity: 1; /* Start fully visible */
    transition: opacity 0.5s ease-in-out; /* Smooth transition for opacity */
}

#start-button, #start-yourself-link {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
}

#start-yourself-link {
    transform: rotate(-5deg) skew(-5deg);
    display: block;
    margin: 50px 0;
}

.start-page, .quiz-container {
    padding: 7vh 20px;
    border-radius: 8px;
}

.question-container {
    margin-bottom: 20px;
    display: none;
}

h1, h3, .question {
    font-family: 'Ahkio', sans-serif;
    font-weight: 900;
}

h1, .question {
    font-size: 2.2em; /* Adjust size as needed */
    /* Slant the text */
    letter-spacing: 0.02em;
    transform: rotate(-5deg) skew(-5deg); /* Adjust the angle as needed */
    display: block; /* or 'block', depending on layout needs */
    margin-bottom: 20px; /* Adjust as needed */
}

.start-page h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.6em; /* Adjust size as needed */
    /* Slant the text */
    letter-spacing: 0.01em;
    display: block; /* or 'block', depending on layout needs */
    margin-bottom: 15px; /* Adjust as needed */  
}

strong {
    font-family: 'Cera Pro';
    font-weight: 600;
}

.btn, .answer {
    font-family: inherit;
    font-weight: 600;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 16px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, scale 0.3s ease;
    scale: 1;
}

.btn:hover, .answer:hover, .share-btn:hover img {
    scale: .9;
}

.answer, #start-button {
    width: 100%;
    display: block;
    transform: rotate(-5deg) skew(-5deg); /* Adjust the angle as needed */
}

#start-button {
    width: auto;
}

.result-container {
    display: none;
    padding: 5vh 20px 0 20px;
    background-color: transparent;
    color: rgb(0, 0, 0);
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

#result-page {
    display:block;
}

#result {
    font-family: 'Ahkio', sans-serif;
    font-weight: 900;
    font-size: 2.4em; /* Adjust size as needed */
    /* Slant the text */
    letter-spacing: 0.02em;
    margin-bottom: .5em;
}

#result-description {
    text-align: left;
}

#result-image {
    margin: 0 auto;
    margin-top: 40px;
    max-width: 90vw;
    border: 7px solid white;
    border-radius: 6px;
}

.results-actions {
    background: #FFCC00;
    margin: 0 -20px;
    padding-bottom: 60px;
}

.btn {
    padding: 8px 20px 4px 20px;
    background: #000;
    color: white;
    border-radius: 6px;
    display: inline-block!important;
    text-align: center;
}

.download-btn img {
    height: 25px;
}

.download-btn span {
    vertical-align: super;
    margin-left: .2em;
}


/*
.download-btn::before {
    content: "";
    background: url(/Files/download_btn_white.svg) no-repeat 50%;
    display: inline-block!important;
    height: 40px;
    width: 40px;
}
*/
.share-buttons {
    margin-top: 20px;
    text-align: center;
}

.share-btn {
    display: inline-block;
    padding: 0 5px 3px 5px;
    margin: 5px;
    font-family: 'Cera Pro';
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    scale: 1;
}

.share-btn img {
    height: 21vw;
    max-height: 110px;
    padding: 21px;
    background: white;
    border-radius: 23px;
    display: block;
    margin-bottom: 10px;
    transition: scale 0.3s ease;
}

/*
#share-whatsapp::before {
    content: "";
    background: url(/Files/Share/Digital_Inline_Green.svg) no-repeat;
    display: inline-block;
    background-size: 15px;
    height: 15px;
    width: 30px;
}

#share-signal::before {
    content: "";
    background: url(/Files/Share/Signal-Lockup-Ultramarine.svg) no-repeat;
    display: inline-block;
    background-size: 15px;
    height: 15px;
    width: 30px;
}

#share-telegram::before {
    content: "";
    background: url(/Files/Share/TelegramLogo.svg) no-repeat;
    display: inline-block;
    background-size: 15px;
    height: 15px;
    width: 30px;
}

.whatsapp { background-color: #25D366; }
.signal { background-color: #3A76F0; }
.telegram { background-color: #0088cc; }
*/

/*.telegram { color: #0088cc; }*/
.telegram span {
}

#download-link {
    margin-top: 20px;
}

#links-container {
    margin-top: 30px;
}

.javportal-link {
    font-family: 'Cera Pro';
    font-weight: 600;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.javportal-link img {
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 25px;
    padding: 14px 8px 2px 8px;
}

.javportal-link span {
    left: -15px;
    bottom: 109px;
    position: relative;
    font-family: 'Ahkio';
    font-weight: 900;
    font-size: 2.8em;
    transform: rotate(-12deg) skew(-5deg);
    display: block;
    line-height: .8em;
}

.javportal-link span.portal {
    font-size: 1.1em;
    color: white;
    left: -7px;
    letter-spacing: .02em;
}

.javportal-link .link {
    color: black;
    bottom: 50px;
    position: relative;
}
#download-link {
}

ul {
    list-style: none;
}

li {
    margin-bottom: 10px;
}

a {
    font-family: 'Cera Pro';
    font-weight: 600;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 16px;
}

.hidden {
    opacity: 0;
    display: none!important;
}

.question-container {
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.visible {
    opacity: 1;
    display: block;
}

.quiz-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #000000; /* Footer background color */
    color: white; /* Footer text color */
    text-align: center;
    padding: 10px 0; /* Adjust padding as needed */
}

.impressum-container {
    padding: 20px 0;
    margin-top: 40px;
    /*background: #FFCC00;*/
}

.impressum-content {
    max-width: 760px;
    padding: 20px 20px;
    margin: 0 auto;
    background: #FFCC00;
}

.impressum-container h1 {
    margin-bottom: 80px;
}

.impressum-content p {
    margin-bottom: 30px;
}

.footer-link {
    color: white; /* Adjust link color as needed */
    margin: 0 15px; /* Adjust spacing between links as needed */
    text-decoration: none;
    font-size: 16px; /* Adjust font size as needed */
}

.footer-link:hover {
    text-decoration: underline; /* Optional: hover effect */
}

/* Responsive adjustments for tablets and desktops */
@media (min-width: 768px) {
    body {
        background-position-y: -50vw;
    }

    .start-page, .quiz-container, .result-container {
        width: 70%;
        margin: auto;
    }

    .answer {
        display: block;
        margin: 0 10px 10px 0;
    }

    .question {
        font-size: 2.2em;
    }

    .impressum-content {
        background: none;
    }
}

@media (min-width: 1024px) {
    body {
        background-position-y: -57vw;
    }

    .start-page, .quiz-container, .result-container {
        width: 50%;
    }

    .answer {
    }
}
