:root {
    --mountain-mist: rgba(150, 150, 150, 1);
}

body {
    max-height: 100vh;
    height: 100vh;
    margin: 0;
    font-family: sans-serif;
}

header {
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3rem;
}

main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

iframe {
    flex-grow: 1;
    height: 900px;
    max-height: 900px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--mountain-mist);
}

code {
    color: #f777c8;
}

pre {
    align-self: center;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    border-top: 2px solid black;
    margin-top: auto;
}

footer p {
    text-align: center;
    font-family: monospace;
    font-size: 1rem;
}
   
#introduction, #description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    text-align: justify;
    display: flex;
    flex-direction: column;
}

.result-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

#demo {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    margin-bottom: 4rem;
    justify-content: space-between;
}

#iframe-launcher {
    text-align: center;
}

#open-iframe-btn {
    border: none;
    background-color: #00a032;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 16px;
    color: white;
}

.result-container p {
    font-size: 2rem;
}

.hidden {
    display: none;
}