/* Declare variables */
:root {
  --primary: #1ac2ed;
  --background: #121212;
  --container:#1e1e1e;
}

/* Reset some default styles */
body, h2, ul, li, a {
    margin: 0;
    padding: 0;
}

/* Set the base font and background for the entire page */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: #ffffff;
    font-weight: bold;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 1.2rem;
}

.nav-container {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    background-color: var(--container);
    padding: 1.8rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.nav-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1ac2ed;
    text-align: center;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 90%;
}

.menu-button {
    display: block;
    width: 100%;
    padding: 0.7rem;
    text-align: center;
    background-color: var(--primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.menu-button:hover {
    background-color: #0a4a6a;
    transform: scale(1.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-list-item {
    animation: fadeIn 0.5s ease-out forwards;
}

.menu-list-item:nth-child(1) {
    animation-delay: 0.1s;
}

.menu-list-item:nth-child(2) {
    animation-delay: 0.2s;
}

.image{
    max-width: 60%;
}

.question-container{
    font-size: large;
    font-weight: bold;
    display: grid;
    grid-template-columns: 10% 20% 40% 20% 10%;
    grid-template-rows: 10% 10% 60% 10% 10%;
    width: 100%;
    height: 20rem;
    text-align: center;
}

#question{
    grid-column: 3;
    grid-row: 2;
}

#yes{
    grid-column: 4;
    grid-row: 4;
}

#no{
    grid-column: 2;
    grid-row: 4;
}

select, input{
    display: block;
    width: 100%;
    padding: 0.7rem;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 0.25rem;
    border:0;
}

#img-counter{
    position: fixed;
    bottom: 1rem;
    right: 1rem;
}