@charset "UTF-8"; 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    background-color: #f3f4f6;
}

.welcome {
    padding: 33px;
    text-align: center;
}

h1, h2, h3 {
    font-size: 1.2em;
    font-family: 'DM Serif Text', 'Georgia', serif;
    color: #333;
}

h1 {
    font-size: 2.0em;
}

h2 {
    font-size: 1.4em;
}

body {
    font-size: 1em;
    font-family: 'Montserrat', 'Helvetica', sans-serif;
    color: #666;
    line-height: 1.6;
}

a {
    font-size: 0.9em;
    color: #0d6efd; 
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

@font-face {
    font-family: 'Apple';
    src: url('../fonts/AppleGaramond-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

a:hover {
    text-decoration: underline;
    transition: text-decoration 0.3s ease;
}

a:visited {
    color: #4b0082;
}

.uniquefont {
    font-family: 'Montserrat', 'Helvetica', sans-serif;
    font-optical-sizing: auto;
    font-weight: 230;
    font-style: normal;
}

.dm-serif-text-regular {
    font-family: 'DM Serif Text', 'Georgia', serif;
    font-weight: 400;
    font-style: normal;
}

.header {
    background: linear-gradient(to right, #0C45CE, #245ad6);
    padding: 8px 15px;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
}

.logo {
    margin-right: auto;
}

.logo img {
    width: 111px;
    height: auto;
}

.navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.navigation ul {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navigation a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    padding: 5px 10px;
    transition: color 0.3s;
}

.navigation a:hover {
    color: #021d5e;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    width: 110px;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 0px;
    transition: opacity 0.3s;
    border-radius: 5px;
}

.dropdown-content .dropdown-item {
    padding: 6px;
    border-radius: 5px;
}

.dropdown-content a {
    color: #0332a0b5;
    padding: 8px 10px;
    font-size: 0.9em;
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #ddd;
    border-radius: 5px;
}

.welcome h1 {
    margin-bottom: 17px;
    text-decoration: none;
}

.welcome p {
    margin-bottom: 30px;
}

.cards {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 40%;
    text-align: left;
    text-decoration: none;
}

.sounds {
    padding: 0px;
    text-align: center;
}

.image-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.image-card {
    background-color: #ddd;
    padding: 60px;
    border-radius: 10px;
}

.carousel-true {
    padding: 40px;
}

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

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 10px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    margin-top: 3px;
    transition: transform 0.1s ease-in-out;
    will-change: transform;
}

.carousel-item {
    flex: 0 0 20%;
    text-align: center;
}

.carousel-item1 {
    flex: 0 0 15%;
    text-align: center;
}

.carousel-item img {
    max-width: 100px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.carousel-item1 img {
    max-width: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.carousel-item img:hover {
    transform: scale(1.05);
}

.carousel-item1 img:hover {
    transform: scale(1.07);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 2em;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.latest-posts {
    padding: 20px;
}

.posts {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.post {
    flex: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    transition: height 0.3s ease;
    overflow: hidden;
}

.accordion-header {
    cursor: pointer;
    font-weight: bold;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-top: 10px;
}

.accordion-content p {
    margin: 0;
}

.events {
    padding: 40px;
}

.events :hover {
    text-decoration: underline;
}

.event-list .event {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.events-section {
    padding: 20px;
}

.event-item {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    border: 1px solid #ddd;
}

.event-title {
    color: #5f5c5c;
    text-decoration: none;
    transition: text-decoration 0.3s;
    cursor: pointer;
}

.event-title:hover {
    text-decoration: underline;
}

footer {
    background-color: #222;
    color: #ddd;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
}

.footer-section {
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-family: 'DM Serif Text', serif;
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 0.9em;
    color: #bbb;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9em;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    font-size: 0.8em;
    color: #666;
}

.articles-section {
    padding: 40px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.articles-section h1 {
    color: #333;
    margin-bottom: 10px;
}

.articles-section p {
    color: #666;
    margin-bottom: 30px;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.article-item h2 {
    color: #333;
    margin-bottom: 10px;
}

.article-item p {
    color: #666;
    margin-bottom: 15px;
}

.article-item a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: bold;
}

.article-item a:hover {
    text-decoration: underline;
}

.courses-section {
    padding: 40px 20px;
    text-align: center;
}

.courses-section h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
    font-family: 'DM Serif Text', 'Georgia', serif;
}

.courses-section p {
    color: #666;
    margin-bottom: 30px;
}

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

.course-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.course-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.course-card h2 {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.course-description {
    min-height: 60px;
    margin-bottom: 10px;
}

.course-link {
    margin-top: auto;
    color: #0d6efd;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.course-link:hover {
    text-decoration: underline;
    color: #0a58ca;
}

.course-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.formulario {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.formulario h1 {
    font-size: 2.5em;
    color: #333;
    font-family: 'DM Serif Text', 'Georgia', serif;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}
.form-container {
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin-bottom: 30px;
}

fieldset {
    border: 1px solid #ddd;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

legend {
    font-weight: bold;
    font-size: 1.2em;
    padding: 0 10px;
    color: #333;
}

label {
    display: block;
    font-weight: bold;
    margin: 10px 0 5px;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="url"],
input[type="range"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9em;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 8px;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
}

button:hover {
    background-color: #2276f5;
}

.inline {
    display: inline-block;
    margin-right: 15px;
    font-weight: normal;
}

input::placeholder,
textarea::placeholder {
    font-family: 'Apple', serif;
    font-size: 1.2em;
    color: gray;
    font-style: normal;
}

select {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}

select option {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em; 
    color: #333; 
    background-color: #fff; 
}

#discord-container {
    transition: opacity 0.3s ease-in-out;
}

#discord-container.show {
    display: block;
    opacity: 1;
}

.mainh1 {
    text-align: center;
    padding: 50px;
}

#conteim {
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 50px;
    margin-left: 10px;
}

.item-conteim {
    font-family: 'DM Serif Text', 'Georgia', serif;
    font-size: 2em;
    height: 220px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;

}

.divzinha {
    padding: 20px;
    margin-bottom: 18px;
}

.word {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.discover {
    font-size: 0.5em;
    text-align: center;
    display: inline-block;
    padding: 8px 12px;
    background-color: #245ad6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    text-align: center;
}

.discover:hover {
    background-color: #2276f5;
    text-decoration: underline;
}

.sessaodejogos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.sessaodejogos img {
    max-width: 100%;
    border-radius: 10px;
}

.ranking {
    padding: 30px;
}

.ranking-container {
    padding: 20px;
    width: 80%;
    margin: auto;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.ranking-title {
    font-family: 'DM Serif Text', serif;
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.ranking-table th, .ranking-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.ranking-table th {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

.ranking-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.ranking-table tbody tr:nth-child(even) {
    background-color: #fff;
}

.add-user-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.add-user-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    width: 1220px;
}

.add-user-form button {
    padding: 10px 15px;
    background-color: #245ad6;
    color: white;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.add-user-form button:hover {
    background-color: #0056b3;
}
.search-bar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(to right, #0C45CE, #245ad6);
    width: 100%;
    padding: 5px 0;
    margin: 0 auto;
    box-sizing: border-box;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-bar-container input {
    width: 60%;
    max-width: 1000px;
    padding: 10px 40px 10px 15px;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    border: none;
    height: 35px;
    margin: 0;
    box-sizing: border-box;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

#search-input {
    width: 60%;
    max-width: 1000px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    padding: 8px 40px 8px 15px;
    border-radius: 20px;
    box-sizing: border-box;
    height: 35px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    right: calc(20% + 15px);
    width: 20px;
    height: 20px;
    pointer-events: none;
    transform: translateY(-50%);
    top: 50%;
}

.suggestion-box {
    position: absolute;
    top: 100%;
    left: 20%;
    right: 20%;
    max-width: 1000px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    z-index: 100;
    font-family: 'Montserrat', sans-serif;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.suggestion-item:hover {
    background: #f0f0f0;
}

.no-result {
    padding: 10px;
    color: #999;
    text-align: center;
}

.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    color: white;
    font-size: 30px;
    border: none;
    cursor: pointer;
}

.close-button:hover {
    color: red;
}

@media (max-width: 1260px) {
    .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
}