

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 0px;
border-bottom: 0px;


}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
        overflow-y: hidden;

    height: auto;
    margin-bottom: 0px;
border-bottom: 0px;


}

.game-header p {
   font-size: 14px;
   margin-left: 20px;
   margin-right: 20px;
}

.game-header .ouvirMusica {

    font-size: 10px;
    width: 100%;
    margin: 0px;
    background-color: none;
padding-bottom: 3px;
}

/* Screen Management */
.screen {
    display: none;
    min-height: 80vh;
    width: 100%;
    position: relative;
        min-height: 100vh;

}

.screen.active {
    display: flex;
    flex-direction: column;

}

/* Loading Screen */
#loading-screen {
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #000000 0%, #764ba2 100%);
}

.loading-content {
    text-align: center;
    color: white;
    
}

.loading-content .logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.loading-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Common Components */
.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    width: 100%;

}

#createPostBtn {
    width: 50%;
}
.btn-primary2 {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 5px 5px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    width: 100%;
    height: 40px;
}


.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}
.btn-primary2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}
.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-primary2:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


.btn-primary2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-primary2:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    
}

.btn-floating-right {
  position: fixed;
  bottom: 20px;
  right: 0;
  width: 30vw;
  max-width: 300px; /* Limita tamanho em telas muito grandes (opcional) */
  padding: 12px 16px;
  font-size: 16px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border: none;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  z-index: 9999;
  cursor: pointer;

    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}



.btn-floating-right:hover {
 transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);}


.btn-secondary {
    background: linear-gradient(135deg, #ffc0ad, #ff5722);
    color: white;
    border: none;
    padding: 10px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 112, 67, 0.3);
    width: 60px;
    height: auto;
    align-items: center;
}

.btn-secondary3 {
    background: linear-gradient(135deg, #ff7043, #ff5722);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 112, 67, 0.3);
    width: 40%;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 112, 67, 0.4);
}

.btn-secondary3:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 112, 67, 0.4);
}
.btn-back {
    background: #764ba2;
    color: #ffffff;
    border: 2px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background:  #8c65b4;
    border-color: #bbb;
}


#music-player-launcher {
align-items: center;
justify-content: center;
text-align: center;
background-color: #e4e4e4;
border-radius: 10px;
padding: 0px;
cursor: pointer;
width: 100%;
margin-bottom: 7px;
margin-top: 7px;
height: auto;
padding: 5px;
}
.cantoCoruja {
    height: 100%;
    width: 70px;
    margin: 0px;
}

.Cantoa {
    margin: 0px;
    padding: 0px;
    border: 0px;
}
#openPlayerBtn {
    height: 100%;
}
.tocarbtn {
    width: 100%;
    margin: 0px;
padding-top: 3px;

}


/* Estilos para o Player de Música */
#music-player-container {
    display: flex;
    align-items: center;
    margin-left: 0px; /* Espaçamento ao lado do título */
}

#playPauseBtn {
    background: none;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
}

#playPauseBtn:hover {
    transform: scale(1.1);
}

#playPauseBtn .icon-play,
#playPauseBtn .icon-pause {
    display: none; /* Esconde ambos os ícones por padrão */

    font-size: 25px;
    margin-right: 0px; 
}
header p {
    width: 100%;
    margin-left: 10px;
    align-items: center;
    justify-content: center;
}

#skipBtn {
 background: none;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;

    font-size: 25px;
    margin-right: 20px; 
}
#skipBtn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.game-header {
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center; /* Alinha verticalmente */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    height: 55px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.game-header > * {
    display: flex;
    align-items: center;
    height: 100%;
}


.game-header h1 {
    color: #333;
    font-size: 1.8rem;
    margin-left: 15px;
}

.user-info {
    display: flex;
    justify-content: flex-end; /* joga os filhos para a direita */
    align-items: center;       /* centraliza verticalmente */
    gap: 10px;
    width: auto;
}


.user-info span {
    font-weight: 600;
    color: #333;
}

.perfilButtom {
    cursor: pointer;
    width: auto;
    border-radius: 10px;
    margin-right: 20px;
    margin-left:20px;
    justify-content: center;
    align-items: center;

}
.screen-header {
    padding: 20px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 0px;
    margin-bottom: 10px;
    
}


.screen-header h2 {
    color: #333;
    font-size: 1.5rem;
}

/* Professor Character */
.professor-character {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    margin-top: 20px;
    

}

.professor-avatar {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.professor-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.professor-head {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, #caddd4 0%, #89c2d8 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    

}

.professor-head::before {
    position: absolute;
    top: 100%;
    left: 100%;
    transform: translate(-50%, -50%);
    font-size: 40px;

}

.professor-img {
    width: 130px;
    height: 160px;

}




.professor-avatar.small .professor-body {
    transform: scale(0.7);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.speech-bubble {
    background: white;
    padding: 15px 20px;
    border-radius: 20px;
    margin-top: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 90%;
    max-width: auto;
    text-align: center;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.speech-bubble p {
    margin: 0;
    color: #333;
    font-weight: 500;
}

/* esse */

.fundoProfessora {
    width: 30%;
    height: 100vh;
    position: fixed;
    margin-left: 0px;
        background: linear-gradient(135deg, #051e23 0%, #8d61b9 100%);

    
}



.fundoQuestoes{
     flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #f0f2f5;
    max-width: 100%;
      overflow: scroll;
      height: 100vh;
      width: 70%;
      margin-left: 30%;
      position: fixed;
      align-items: center;
      padding-bottom: 20px;
}

/* Menu Options */
.menu-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 100px;
}

.menu-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 10px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    font-size: 14px;
        height: auto;
   

}

.menu-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    background: white;
}

.btn-icon {
    font-size: 24px;
}

/* Form Styles */
.input-group {
    margin-bottom: 20px;
}

.input-group input,
.select-input,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.input-group input:focus,
.select-input:focus,
textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}
/* Aumenta o espaçamento interno das opções */
.select-input option {
  padding: 10px 10px;    /* vertical | horizontal */
  margin-right: 10px;
} 
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

.modal-content.large {
    max-width: 700px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #666;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.5s ease;
}

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

/* Success and Error States */
.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}


/* Container rolável */
.review-container {
    overflow-y: scroll;            /* ativa o scroll vertical */
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    justify-content: start;
        align-items: center; /* centraliza horizontalmente os itens */
    background: linear-gradient(135deg, #000000 0%, #764ba2 100%);

    
}

.review-content {
    margin-top: 20px;
    height: auto;         

}

.review-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #4CAF50;
}

.review-summary p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.review-questions-list {
    margin-bottom: 20px;
}

.review-question {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.review-question:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.review-question-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.review-answer-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.user-answer {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.user-answer.correct {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.user-answer.wrong {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.correct-answer {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.review-comment {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.review-comment strong {
    color: #856404;
    display: block;
    margin-bottom: 8px;
    justify-content: center;
    text-align: center;
    align-items: center;
}




/* Loading state for review screens */
.review-loading {
    text-align: center;
    padding: 40px 20px;
    height: 200px;
    align-content: center;
}

.review-loading .loading-spinner {
    margin: 20px auto;

}

/* Empty state for review screens */
.review-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.review-empty h3 {
    margin-bottom: 10px;
    color: #333;
}

.review-empty p {
    font-size: 16px;
    line-height: 1.5;
}




/* Responsive design for review screens */
@media (max-width: 768px) {
    .review-container {
        padding: 15px;
    }
    
    .review-question {
        padding: 15px;
    }
    
    .review-answer-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .user-answer, .correct-answer {
        display: inline-block;
        margin-right: 10px;
    }
}


/* User Profile Styles */
.user-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    margin: 0px;
    

}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 0px solid #fff;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
}

/* Profile Picture Section */
.profile-picture-section {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
    padding: 0px;
    width: 120;
    height: 120px;
    text-align: center;
    border-radius: 30px;

    
}

.profile-picture-container {
    position: relative;
    display: inline-block;
}

.profile-picture {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.profile-picture:hover {
    transform: scale(1.05);
}

.profile-picture-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    height: 100%;
}

.profile-picture-container:hover .profile-picture-overlay {
    opacity: 1;
}


.fundoPerfil {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0px;  
    margin: 0px;
}


.change-picture-btn {
    background: none;
    border: none;
    color: white;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 5px;
}

.change-picture-btn span {
    font-size: 16px;
}

.change-picture-btn:hover {
    color: #0eb57d;
}

/* Upload Progress */
.upload-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-align: center;
    min-width: 300px;
}

.upload-progress-bar {
    width: 100%;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

.upload-progress-fill {
    height: 100%;
    background: #4CAF50;
    transition: width 0.3s ease;
    border-radius: 5px;
}



/* Social Feed Styles */
.social-feed-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #f0f2f5;
    max-width: 100%;
      overflow: scroll;
      height: 100vh;


}

.create-post-section {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    
}

.create-post-section .post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.create-post-section .post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0; /* Impede que a imagem seja redimensionada */
}

.create-post-section textarea {
    flex: 1;
    border: none;
    resize: none;
    padding: 10px;
    border-radius: 20px;
    background-color: #f0f2f5;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    min-height: 40px; /* Altura mínima para o textarea */
}

.create-post-section .post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f0f2f5;
}

.create-post-section .btn-icon-text {
    background: none;
    border: none;
    color: #65676b;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
    width: 400px; 
    margin-right: 10px;
    text-align: center;
    justify-content: center;
}

.create-post-section .btn-icon-text:hover {
    background-color: #e4e6e9;
}

.create-post-section .btn-icon-text .icon {
    font-size: 20px;
}

.create-post-section .btn-primary {
    background-color: #1877f2;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.create-post-section .btn-primary:hover {
    background-color: #166fe5;
}

.image-preview-container {
    position: relative;
    margin-top: 10px;
    border-top: 1px solid #f0f2f5;
    padding-top: 10px;
    text-align: center;
}

.image-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: contain;
}

.remove-image-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
}

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

.post-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.post-item .post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.post-item .post-header .post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0; /* Impede que a imagem seja redimensionada */
}

.post-item .post-header .post-author {
    font-weight: 600;
    color: #050505;
}

.post-item .post-header .post-time {
    font-size: 13px;
    color: #65676b;
}

.post-item .post-content {
    font-size: 15px;
    line-height: 1.5;
    color: #1c1e21;
    margin-bottom: 10px;
        
}

.post-item .post-image-container {
    margin-top: 10px;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    cursor: pointer;
    
}

.post-actions-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.post-item .post-image {
    max-width: 100%;
    max-height: 400px; /* Altura máxima para evitar imagens muito altas */
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    
}

.post-item .post-actions-bar {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #f0f2f5;
    border-bottom: 1px solid #f0f2f5;
    margin-top: 10px;
    
}

.post-item .action-btn {
    background: none;
    border: none;
    color: #65676b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    border-radius: 6px;
    transition: background-color 0.2s;
    width: 350px;
    justify-content: center;
    font-size: 13px;
}

.post-item .action-btn:hover {
    background-color: #e4e6e9;
}

.post-item .action-btn.liked {
    color: #1877f2;
}

.post-item .comments-section {
    margin-top: 10px;
}

.post-item .comments-list {
    margin-top: 10px;
}

.comment-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    padding: 8px 0;
    width: 100%;
    max-width: 100%;
    
}

.comment-main-content {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

}

.comment-item .comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;

}

.comment-content-container {
     flex: 1;
    background-color: #f0f2f5;
    border-radius: 16px;
    padding: 8px 12px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
    
}

.comment-author {
    font-weight: 600;
    color: #050505;
    font-size: 13px;
    margin-bottom: 2px;
    
}

.comment-text {
    font-size: 14px;
    color: #1c1e21;
    line-height: 1.3;
    word-wrap: break-word;
}

.comment-actions {
    display: flex;
    gap: 15px;
    margin-left: 40px;
    font-size: 12px;
    color: #65676b;
    margin-top: 4px;
}

.comment-actions span {
    cursor: pointer;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.comment-actions span:hover {
    background-color: #e4e6e9;
}

.add-comment-input {
    display: flex;
    gap: 8px;
    margin-top: 10px;
            height: 50px;

}

.add-comment-input textarea {
    flex: 1;
    border: none;
    resize: none;
    padding: 8px 12px;
    border-radius: 18px;
    background-color: #f0f2f5;
    font-family: inherit;
    font-size: 14px;
    outline: none;
            height: 40px;

}


.main-menu {
    display: flex;
}

.menu-content {
  position: fixed;
  background: linear-gradient(90deg, #000000 00%, #8d61b9 100%);
  height: 100vh;
  width: 30%;
  overflow-y: auto;

  /* Oculta a barra de rolagem visual */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer e Edge antigos */
  
}

.menu-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.feedFixo {
  position: fixed;
    background-color: #000000;
    width: 70%;
margin-left: 30%;
margin-top: 0px;
margin-bottom: 0px;
padding-bottom: 0px;
}

.add-comment-input button {
        background-color: #1877f2;

    color: white;
    border: none;
    border-radius: 18px;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
            height: 40px;

}

.add-comment-input button:hover {
    background-color: #166fe5;
}

.sub-comments-list {
    margin-top: 10px;
    border-left: 2px solid #e4e6e9;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
            max-width: 100%;


}






.sub-comment {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.sub-comment .comment-main-content {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.sub-comment .comment-avatar {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.sub-comment .comment-content-container {
    font-size: 13px;
    max-width: calc(100% - 36px);
}

.sub-comment .comment-author {
    font-size: 12px;
}

.sub-comment .comment-text {
    font-size: 13px;
}

.sub-comment .comment-actions {
    font-size: 11px;
    margin-left: 36px;
    gap: 12px;
}

.loading-posts {
    text-align: center;
    padding: 20px;
    color: #65676b;
}

.loading-posts .loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1877f2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
   
    .social-feed-container {
        margin: 0px auto;
        padding: 10px;
    }

    
    .post-item {
        padding: 10px;
    }
.create-post-section {
    margin-top: 0px;
}
    .create-post-section textarea {
        font-size: 14px;
    }

    .create-post-section .btn-icon-text,
    .create-post-section .btn-primary {
        font-size: 13px;
        padding: 6px 10px;
    }

    .post-item .action-btn {
        font-size: 13px;
        padding: 4px 8px;
    }

    .comment-text,
    .add-comment-input textarea {
        font-size: 13px;
    }

    .comment-actions {
        font-size: 11px;
    }

    .sub-comments-list {
        margin-left: 30px;
    }

    span {
        font-size: 11px;
    }



}



/* Additional Social Feed Improvements */
.reply-input-container {
    margin-top: 8px;
}

.reply-input-container .add-comment-input {
    display: flex;
    gap: 8px;
    align-items: center;
}

.reply-input-container textarea {
    flex: 1;
    min-height: 32px;
    max-height: 80px;
    resize: vertical;
}

.reply-input-container button {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.reply-submit-btn {
    background-color: #1877f2;
    color: white;
}

.reply-submit-btn:hover {
    background-color: #166fe5;
}

.reply-cancel-btn {
    background-color: #e4e6e9;
    color: #65676b;
}

.reply-cancel-btn:hover {
    background-color: #d8dadf;
}

.sub-comment {
    margin-top: 8px;
}

.sub-comment .comment-avatar {
    width: 28px;
    height: 28px;
}

.sub-comment .comment-content-container {
    font-size: 13px;
}

.sub-comment .comment-author {
    font-size: 12px;
}

.sub-comment .comment-text {
    font-size: 13px;
}

.sub-comment .comment-actions {
    font-size: 11px;
    margin-left: 36px;
}

/* Post interaction animations */
.action-btn {
    transition: all 0.2s ease;
}

.action-btn:active {
    transform: scale(0.95);
}

.like-btn.liked {
    animation: likeAnimation 0.3s ease;
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Loading states */
.post-item.loading {
    opacity: 0.7;
    pointer-events: none;
}

.comment-item.loading {
    opacity: 0.7;
}

/* Error states */
.post-error {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    color: #c62828;
    font-size: 14px;
}

/* Empty state */
.no-posts {
    text-align: center;
    padding: 40px 20px;
    color: #65676b;
}

.no-posts h3 {
    margin-bottom: 10px;
    color: #1c1e21;
}

.no-posts p {
    font-size: 15px;
    line-height: 1.4;
}

/* Notification badges */
.notification-badge {
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
    min-width: 16px;
    text-align: center;
}

/* Hover effects */
.post-avatar:hover,
.comment-avatar:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.post-author:hover,
.comment-author:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Focus states */
.comment-input:focus,
.reply-input:focus,
#postContentInput:focus {
    outline: 2px solid #1877f2;
    outline-offset: 2px;
}

/* Accessibility improvements */
.action-btn:focus,
.comment-like-btn:focus,
.comment-reply-btn:focus {
    outline: 2px solid #1877f2;
    outline-offset: 2px;
    border-radius: 4px;
}


#provasList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

  .baixarProva {
    display: inline-block;
    background: linear-gradient(135deg, #a3d8f4, #c3aed6); /* azul claro → roxo */
    color: #240cff;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
  }

  .baixarProva:hover {
    background: linear-gradient(135deg, #8cc4e2, #b195c9); /* tons um pouco mais escuros */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }




/* Share Modal Styles */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.share-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.share-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.share-modal-close:hover {
    background-color: #f0f0f0;
    color: #666;
}

.share-modal-body {
    padding: 20px;
}

.share-modal-body p {
    margin-bottom: 15px;
    color: #333;
    font-size: 14px;
}

.share-url-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.share-url-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
    color: #333;
}

.copy-url-btn {
    background-color: #1877f2;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s;
}

.copy-url-btn:hover {
    background-color: #166fe5;
}

.share-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.share-option-btn {
    flex: 1;
    min-width: 120px;
    background: none;
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s;
}

.share-option-btn:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
    transform: translateY(-1px);
}

.share-option-btn .icon {
    font-size: 18px;
}



/* Highlighted post styles */
.post-item.highlighted {
    border: 3px solid #1877f2 !important;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.3) !important;
    animation: highlightPulse 2s ease-in-out;
}
.mini{
    font-size: 10px;
}
@keyframes highlightPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(24, 119, 242, 0.3);
    }
    50% { 
        box-shadow: 0 0 30px rgba(24, 119, 242, 0.5);
    }
}



@media screen and (max-width: 1000px) {
    #music-player-launcher {
        width: 50px;
        padding: 5px;
    }

   

.logoCabecalho {
    display: none;
}
       
    
    .game-header h1 {
        font-size: 1.5rem;
        margin-left: 0;
    }
 
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .professor-body {
        transform: scale(0.8);
    }
    
    .speech-bubble {
        max-width: 250px;
        padding: 12px 16px;
    }
    
 

  /* Força os filhos a não ocuparem 100% */
   /* 🔥 aqui estava o problema */

#main-menu-screen {
  display: flex;
  flex-direction: column; /* garante layout em coluna */
  overflow: scroll;
  height: 100vh;


}

.main-menu {
    display: flex;
    flex-direction: column; 
  flex: 1;                /* ocupa todo o espaço vertical disponível */
  display: flex;
  flex-direction: column; /* conteúdo empilhado */
  overflow-y: hidden;       /* 🔥 só ele rola */
  height: 100vh;

}

  /* exemplo: user-info se adapta */
  .user-info {
    flex: 1 1 auto;
    min-width: 0;   /* evita quebrar */
  }
  .game-header p { display: none; }



.menu-content {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;

  width: 100%;
  height: 100px;
  padding: 0px;

  display: flex;
  align-items: start;
  justify-content: flex-start;   /* 🔥 força início à esquerda */

  overflow-x: auto;              
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  background: linear-gradient(135deg, #000000 0%, #8d61b9 100%);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
    margin: 0px;

}

#adminBtn {
  flex: 0 0 auto;   /* 🔥 largura fixa */
  width: 100px;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin: 0px;
  display: block;
  height: 90px;
  margin-right: 0px;
}

#adminBtn p {
  margin: 0;
  font-size: 12px;
  text-align: center;
}


.menu-options {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: start;
  padding: 5px;
  max-width: none; /* remove qualquer restrição máxima */
  width: auto;
      margin-bottom: 0px;
height: 100%;

}


.menu-btn {
  flex: 0 0 auto;   /* 🔥 largura fixa */
  width: 100px;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin: 0px;
  display: block;
  height: 80px;
  margin-top: 5px;
  margin-bottom: 5px;

}

.menu-btn p {
    text-align: center;
    font-size: 14px;
      margin: 0px;

}

  .feedFixo {
    margin-left: 0px;
    margin-right: 0px;
        width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    border: white;
        background-color:white;
        margin: 0px;
        border: 0px;

  }



  .social-feed-container {
    overflow: hidden;
    height: auto;
  }

.professor-character {
    display: none;
}


.btn-icon {
  display: inline-block;
  font-size: 12px;
  width: 100%;         /* tamanho do emoji/ícone */
  margin-bottom: 5px;
}
.cantoCoruja {
    display: none;
}
 .tocarbtn{
        display: flex;
    }

  .menu-btn  .mini {
    font-size: 6px;
}

 .game-header {
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: row;     /* garante em linha */
    flex-wrap: nowrap;       /* não deixa quebrar */
    justify-content: space-between;
    align-items: center;
    gap: 0px;               /* espaçamento entre itens */
    box-shadow: 0 0px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0px 0px;
    height: auto;
    overflow-x: auto;        /* se apertar muito, adiciona scroll horizontal */
    background-color: #000000;
    
  }

}

.author-link,
.author-link:visited,
.author-link:hover,
.author-link:focus,
.author-link:active {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}