* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #00bf63;
    color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    background-color: #00bf63;
    box-shadow: 0 2px 5px rgba(0, 139, 58, 0.1);
    position: relative;
    transition: background-color 0.3s ease, top 0.3s ease;
}

header.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.aluno-button {
    background-color: #00bf63;
    color: #000;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.aluno-button:hover {
    background-color: #ffffff;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background-color: #00bf63;
}

.hero-text {
    flex: 1;
    max-width: 50%;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.search-box {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.search-box input {
    width: 300px;
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid #e9e4e4;
    font-size: 16px;
    margin-right: 10px;
}

.search-box button {
    background-color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
}

.search-box button img {
    width: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 70%;
}

.categories {
    background-color: #230044;
    padding: 10px;
    overflow-x: hidden;
}

.category-list-wrapper {
    display: flex;
    align-items: center;
}

.category-list {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-list::-webkit-scrollbar {
    display: none;
}

.category {
    background-color: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.category:hover {
    background-color: #e0e0e6;
}

.left-arrow, .right-arrow {
    background-color: #230044;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
}

.main-section {
    background-color: #ffffff;
    color: #000;
    padding: 40px;
}

.main-section h1 {
    text-align: center;
    font-size: 36px;
}

.question-box {
    text-align: center;
    margin-bottom: 40px;
}

.question-box button {
    background-color: #00bf63;
    color: #000;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.question-box button:hover {
    background-color: #06df76;
}

.questions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.question {
    background-color: #e8e8eb;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.question p {
    margin: 10px 0;
}

.question button {
    background-color: #00bf63;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.question button:hover {
    background-color: #06df76;
    color: #ffffff;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
}

.footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    background-color: #00bf63;
    border-top: 1px solid #e0e0e0;
}

.footer-section {
    flex: 1;
    margin-right: 30px;
}

.footer-section h4, .footer-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.footer-section .social-icons {
    display: flex;
    gap: 10px;
}

.footer-section .social-icons img {
    width: 30px;
    height: 30px;
}

.download-section .app-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.download-section .app-icons img {
    width: 130px;
    height: auto;
}

.language-selector {
    background-color: #f1f3f5;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    color: #333;
    text-align: center;
    width: 200px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-selector span {
    font-size: 12px;
}

.character {
    position: fixed;
    left: -300px;
    top: 50%;
    width: auto;
    height: auto;
    z-index: 1000;
}

.character img {
    width: 105px;
    height: 200px;
}

.character.move {
    animation: moveRight 3s linear forwards;
}

@keyframes moveRight {
    from {
        left: -300px;
    }
    to {
        left: 100%;
    }
}

.navbar {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
}

.navbar-menu {
    display: flex;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.navbar-menu li {
    margin-left: 30px;
    margin-right: 15px;
}

.navbar-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    margin-right: 15px;
}

.logo {
    max-height: 70px;
    margin-right: 20px;
}

.navbar-button {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 16px;
    margin-right: 95px;
}

.navbar-button:hover {
    border-color: #230044;
    color: #230044;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .nav-links a {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .hero {
        flex-direction: column;
        padding: 30px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .search-box {
        flex-direction: column;
        width: 100%;
    }

    .hero-image {
        display: none;
    }

    .questions-list {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 30px;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 40px;
    }

    .questions-list {
        grid-template-columns: 1fr 1fr;
    }
}
