* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    background: #09001d;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.main.active {
    filter: blur(15px);
    pointer-events: none;
}

.home {
    min-width: 100vh;  
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: .3s;
}

.home.hide {
    display: none;
}

.content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.content h1 {
    font-size: 80px;
    text-shadow: 0 0 10px rgba(0, 0, 0, .3);
}

.content p {
    font-size: 16px;
    margin-bottom: 30px;
}

.start {
    width: 200px;
    height: 50px;
    background: blue;
    border: 2px solid #fff;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: .5s;
    box-shadow: 0 0 10px blue;
}

.start:hover {
    background-color: #000;
    box-shadow: none;
    border: 2px solid blue;
    color: blue;
}


.popup-info {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    transform: translate(-50%, -50%) scale(.9);
    width: 500px;
    background: #fff;
    border-radius: 6px;
    padding: 20px 30px;
    color: #333;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
    z-index: 100;
}

.popup-info.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.btn {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 20px;
}

.info-btn {
    padding: 12px 25px;
    background: blue;
    border: 2px solid blue;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: .3s;
}
.info-btn:nth-child(1) {
    background: transparent;
    color: blue;
}

.info-btn:nth-child(1):hover {
    background: blue;
    color: #fff;
}

.info-btn:nth-child(2):hover {
    box-shadow: 0 0 10px blue;
}

.exit-btn { background: #ccc; color: #333; }
.continue-btn { background: blue; color: #fff; }


.container {
    display: none;
    width: 100%;
    max-width: 600px;
}

.container.active {
    display: block;
}

.quiz {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    color: #333;
    border: 2px solid blue;
}

.question {
    display: none; 
}

.question.active {
    display: block;
    
}

.answer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
    
}

.answer button {
    padding: 15px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    
}

.answer button:hover {
    background: #e0e0e0;
}


.correct { background: #4CAF50 !important; color: white; }
.incorrect { background: #f44336 !important; color: white; }

#overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
}

#animalImage, #sadImage {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 300px;
}

.done {
    border: 2px solid blue;
    border-radius: 10px;
    padding: 10px;
    background-color: blue;
    color: white;
    transition: .5s ease;  
}

.done:hover {
    background-color: #09001d;
    color: blue;
}
