.grid {
    width: 83%;
    position: relative;
    margin: 0px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1920px;
}

@media screen and (max-width: 910px){

    .grid{
         left: 0px;
        
     }
 }

.grid-item {
    width: 32.2%;
    min-width: 220px; /* Largura mínima */
    margin-bottom: 10px;
    background-color: #000000;
    border: 1px solid #252525;
    border-radius: 5px;
    overflow: hidden;
    position: relative; /* Para posicionar o ícone de play */
}

.tweet-content {
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.tweet-content > .image-container > img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.image-container {
    position: relative; /* Nova posição relativa para conter a imagem e o ícone */
    overflow: hidden; /* Garante que a imagem não ultrapasse os limites da div */
    padding-top: 10px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
 
}

.tweet-content:hover .play-icon {
    opacity: 1;
}

.tweet-content:hover > .image-container > img {
    transform: scale(1.05); /* Aumenta a imagem em 5% no hover */
}

.tweet-text {
    margin-top: 10px;
    font-size: 0.9em;
    color: #7e7e7e;
    font-family: Arial, Helvetica, sans-serif;
}

.tweet-text a{
   
        color: #7e7e7e;
    font-family: Arial, Helvetica, sans-serif;
}


.tweet-user {
    display: flex;
    align-items: center;
    font-size: 0.8em;
    color: #ffffff;
    margin-bottom: 10px;
}

.tweet-user img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.tweet-user .user-name {
    font-weight: bold;
}

.tweet-user .user-handle {
    color: #525252;
}

.grid-item a{
    text-decoration: none;
}

@media screen and (max-width: 910px){

   .learn-divs .grid{
        display: none;
       
    }
}


@media screen and (min-width: 911px){

    .learn-divs-carrosel .grid{
        display: none;
        left: 0;
        margin: 0px;

    }
    
}


.learn-divs-carrosel .grid {
    overflow-x: auto; 
    flex-wrap: nowrap; 
    width: 100%; 
  
    scrollbar-width: thin; 
    scrollbar-color: rgb(70, 70, 70) rgba(0, 128, 0, 0); 
}

/* Estilizando a barra de rolagem para navegadores WebKit (Chrome, Safari, Edge) */
.learn-divs-carrosel .grid::-webkit-scrollbar {
    width: 12px; 
}

.learn-divs-carrosel .grid::-webkit-scrollbar-track {
    background: green; 
}

.learn-divs-carrosel .grid::-webkit-scrollbar-thumb {
    background-color: rgba(255, 0, 0, 0); 
    border-radius: 6px; 
}

/* Opcional: Estilos para os itens dentro do carrossel */
.learn-divs-carrosel .grid .item {
    flex: 0 0 auto; /* Itens não crescem, não encolhem, tamanho automático */
    margin-right: 10px; /* Espaçamento entre os itens */
}

.learn-divs-carrosel {
    display: flex;
    flex-wrap: wrap;
}

.learn-divs-carrosel .grid-item {
    width: calc(33.33% - 10px);
    min-width: 300px;
    margin-bottom: 10px;
    background-color: #000000;
    border: 1px solid #252525;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    height: 300px; /* Definir altura fixa para todos os itens */
    flex-grow: 0; /* Impedir que os itens cresçam para preencher o espaço disponível */
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img{
    width: 100%;
}
