/* --------------------------------------------------- */
/* General */
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    background: #000 url('images/space.webp') repeat;
    color: white;
}

/* --------------------------------------------------- */
/* Header */
header {
    text-align: center;
    margin-bottom: 5px;
}

#logo {
    width: 15rem;
}

nav {
    display: flex;
    justify-content: center;
    gap: 160px;
}
.nav-item {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
}

/* --------------------------------------------------- */
/* Forside */
.planet-viewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.planet-content {
    position: relative;
    width: 1000px;
    height: 900px;
}

#planet-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: auto;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-top: 20%;
}

.orbit-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-label {
    position: absolute;
    color: white;
    font-size: 0.8rem;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    margin-top: -20px; /* Add some space between marker and label */
}

/* Position the markers and labels along the upper half of the orbit */
.orbit-marker:nth-child(1), .orbit-label:nth-child(2) { top: 40%; left: 1%; } /* solen */
.orbit-marker:nth-child(3), .orbit-label:nth-child(4) { top: 25%; left: 6.6%; } /* merkur */
.orbit-marker:nth-child(5), .orbit-label:nth-child(6) { top: 12%; left: 17.3%; } /* venus */
.orbit-marker:nth-child(7), .orbit-label:nth-child(8) { top: 3%; left: 32.6%; } /* jorden */
.orbit-marker:nth-child(9), .orbit-label:nth-child(10) { top: 0%; left: 50%; } /* mars */
.orbit-marker:nth-child(11), .orbit-label:nth-child(12) { top: 3%; left: 67.4%; } /* jupiter */
.orbit-marker:nth-child(13), .orbit-label:nth-child(14) { top: 12%; left: 82.7%; } /* saturn */
.orbit-marker:nth-child(15), .orbit-label:nth-child(16) { top: 25%; left: 93.4%; } /* uranus */
.orbit-marker:nth-child(17), .orbit-label:nth-child(18) { top: 40%; left: 99%; } /* neptun */


.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 0.5px solid white;
    color: var(--primary-color);
    font-size: 2rem;
    padding: 25px;
    margin: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.planet-info {
    text-align: center;
    margin-top: 20px;
}

/* Under planeterne*/
.planet-extra {
    color: white;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 12rem;
}

.planet-extra h1 {
    color: white;
    text-align: left;
    font-size: 2em;
    margin-bottom: 1em;
    padding-left: 2.4rem;
}

.planet-extra h2 {
    color: white;
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    text-align: left;
    padding-left: 2.4rem;
}

.planet-extra ul {
    list-style: none;
    margin: 0;
}

.planet-extra li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.planet-extra li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: white;
}

/* Tilføj plads til billedet af planetens bane */
.orbit-diagram {
    max-width: 300px;
    margin: 20px 0;
}



/* --------------------------------------------------- */
/* Quiz */

.quiz-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.quiz-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.astronaut {
    flex: 1;
    max-width: 300px;
}

.astronaut img {
    width: 100%;
}

#quiz {
    flex: 2;
    max-width: 600px;
}

.question {
    display: none;
    background: #4B0082;
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.question.active {
    display: block;
}

.question p {
    font-size: 18px;
    margin-bottom: 30px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
}

.dot {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    margin-right: 15px;
}

.option.selected .dot {
    background: white;
}

.next-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.results {
    background: #4B0082;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.results h2 {
    margin-bottom: 20px;
}

.results p {
    font-size: 20px;
    margin-bottom: 30px;
}

.restart-btn {
    background: white;
    color: #4B0082;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.restart-btn:hover {
    background: #f0f0f0;
}

.next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --------------------------------------------------- */
/* Andreas Mogensen */

h2 {
    font-size: 2rem; 
    margin: 10px 0; 
    text-align: center;
}


.andreash2 {
    font-size: 2rem; 
    margin: 10px 0; 
    text-align: center;
}


.content {
    max-width: 800px; 
    margin: 0 auto; 
    align-content: center;
}

section {
    margin-bottom: 30px; 
}


.andreash3 {
    font-size: 1.5rem; 
    margin: 20px 0 10px;

}

.tekstandreas {
    font-size: 1.1rem; 
    line-height: 1.5;
    text-align: center; 
}

.andreas-img {
    width: 75%; 
    max-width: 600px; 
    height: auto; 
    border: 1px solid #000; 
    border-radius: 5px; 
    margin: 30px 0; 
    display: block; 
    float: right;
}

.video-container {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 500px; 
    width: 100%; 
}

.scaled-video {
    width: 80%; 
    max-width: 640px; 
    height: auto; 
    margin: auto;
}

.button-container {
    text-align: center;
    margin: 40px 0;
}

.timeline-button {
    background-color: #8A2BE2;  /* Lilla farve */
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.timeline-button:hover {
    background-color: #6B1FB0;  /* Mørkere lilla ved hover */
}

/* Andreas Mogensen tidslinje */
#video-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.scaled-video {
    width: 40%;
    max-width: 1000px;
    border-radius: 10px;
}


/* --------------------------------------------------- */
/* Planternes rejse */

.video-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}