#categorias {
    height: 5vh;
    width: 100%;
    background-color: black;
    display: flex;
    justify-content: space-around;
    top: 50%;

    margin-top: 10px;
    align-items: center;

    /* SCROOL LATERAL */
    overflow-x: auto;
    white-space: nowrap;
}

#categorias::-webkit-scrollbar {
    display: none;
}

.categoria {
    color: white;
    background-color: #cccccc36;
    padding: 10px;
    margin: 0 10px;
    border-radius: 10px;

}


.cursos {
    height: 300px;


    /* SCROOL LATERAL */
    overflow-x: auto;
    white-space: nowrap;

}



.curso {
    height: 100px;
    width: 80px;
    margin: 10px;
    background-color: black;

    top: 50%;
    transform: translateY(-50%);

    display: inline-block;
    vertical-align: middle;

    outline: 1px solid white;


    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    transition: all 0.5s ease-in-out;

}

.curso:hover {
    height: 270px;
    width: 190px;
}


.img-curso {
    height: 100%;
    width: 100%;
    object-fit: cover;

    opacity: 1;
    transition: all 0.5s ease-in-out;
}

.curso:hover .img-curso {
    height: 270px;
    width: 190px;
    opacity: 0.5;
}



.titulo {
    position: absolute;
    top: 0;
    background-color: #333;
    font-size: 16px;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}


.descricao {
    position: absolute;
    top: 20px;
    background-color: #333;
    font-size: 12px;
    white-space: wrap;

    opacity: 0;
    transition: all 0.5s ease-in-out;

}


.assistir-btn {

    padding: 10px;
    background-color: #4dbf00;
    color: white;
    border-radius: 10px;
    outline: none;
    border: none;
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    left: 10px;


    opacity: 0;
    transition: 0.5s all ease-in-out;

}




.curso:hover .titulo,
.curso:hover .descricao,
.curso:hover .assistir-btn {

    opacity: 1;
}




@media (max-width: 760px) {
    .curso {
        display: inline-block;
        vertical-align: middle;
        height: 250px;
        width: 170px;
        margin: 10px;
        background-color: black;
        position: relative;
        top: 50%;
        transform: translateY(-50%);

    }
}

.cursos::-webkit-scrollbar {
    display: none;
}
