@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

* { font-family: 'Open Sans', sans-serif; font-size:14px;}

body { margin:0; padding:0; margin-bottom: 30px; background-color: #f5f5f5; }

.loading-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.loading {
    border: 4px solid #222a32;
    border-top: 4px solid transparent;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 1s linear infinite;
}

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

.tituloCategoria
{
    font-weight: normal;
    font-size: 18px;
    color: #222a32;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 6px;
}

.tituloCategoria a
{
    font-weight: normal;
    font-size: 18px;
    color: #222a32;
    display: flex;
    column-gap: 6px;
    text-decoration: none;
}

.icon-titulo-youtube
{
    font-size: 24px;
    color: #ff0000;
}

.sombra 
{ 
    /*box-shadow: 5px 5px 5px rgba(0,0,0,0.4); */
    -webkit-box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.33);
    box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.33);
}

.escondido { display:none !important; }

.ajusta-largura-total { width:100%; }

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

/* ---------- Telas Ocultas ---------------- */

.telaBloqueio{ 
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(7px);
	width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left:0;
    z-index: 2;
}

.telaPopUp, .telaPopUpSenha
{
    position: absolute;
    margin-left: 50%;
    transform: translate(-50%);
	width: 300px;
	/* height: 300px; */
	background-color: #222a32;
	border-radius: 7px;
	box-sizing: border-box;
	padding:20px;
	text-align: center;
    z-index:3;
}

.telaPopUp img { width:80%; padding: 10px 0; }
.telaPopUpSenha img { width:80%; padding: 10px 0; }

/* --- LOGIN ----------------------------------------------------------- */

.frmLogin
{
	display: flex;
	flex-wrap: wrap;
    justify-content: flex-end;
}

.frmLogin p.caixa-texto 
{
    width: 100%;
    display: flex;
    border: 1px solid #ced4da;
    border-radius: 3px;
    outline: 0;
    box-sizing: border-box;
    padding: 4px;
    margin: 0 0 10px 0;
    background-color: #fff;
}
.frmLogin span.icone { display: block;  width: 20%; text-align: center; color:#757474;  }
.frmLogin p.caixa-texto input { width: 100%; border:none; }
.frmLogin a p.links { font-size: 11px; margin-block: 0; padding: 2px 5px; text-decoration: none;}
.frmLogin button 
{ 
	padding: 7px 10px 7px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    color: #222a32;
    background-color: #fff;
	box-sizing: border-box;
    width: 90px;
}

#btnCancelar { display: none;}
#btnCancelarSenha { display: none;}

.area-msg-erro, .area-msg-erro-senha { 
	width: 100%;
    text-align: center;
    background-color: #b52114;
    color: #fff;
    padding: 6px;
    margin-top: 5px;
    border-radius: 6px;
}
.area-msg-erro span { font-size: 11px;}
.area-msg-erro-senha span { font-size: 11px;}

.opcoes-form-login { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.opcoes-form-login a{ text-decoration: underline; color: #fff; }

/* ---------------------------------------------------------------------- */

header 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #222a32;
    color:#fff;
    z-index: 1;
}

.conteudo-header 
{
    margin: auto;
    width: 90%;
    max-width: 1300px;
    padding: 8px 0;
	display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo
{
    width: 195px;
}

.area-busca
{
    display: flex; 
	width: 40%;
    height: 40px;
    border: 1px solid #ced4da;
    border-radius: 3px;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
    outline: 0;
    box-sizing: border-box;
}

.area-busca input {  width: 100%; border:none; box-sizing: border-box; padding: 10px;  }
.area-busca button, input[type='image'] 
{ 
    border:none; 
    box-sizing: border-box; 
    padding: 8px; 
    background-color: #fff; 
    color: #222a32;
    cursor: pointer;  
    width:46px;
}

.linkUsuario { text-decoration:none; color: #000; }

#areaPerfil 
{
    width: fit-content;
    /* height: 65px; */
    text-align: center;
    display: flex;
    align-items: center;
    /* flex-direction: row-reverse; */
    justify-content: flex-start;
}

#areaPerfil > div, #areaPerfil > div > a 
{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 5px;
}

.iconeConf
{
    font-size: 17px;
}

#areaPerfil > div > span
{
    font-size:12px;
}

.btnSair, .btnAlterarSenha
{
    color:#222a32;
    text-decoration: none;
    font-size:12px;
    box-sizing: border-box;
    padding: 5px;
    border: thin solid #e7e7e7;
    border-radius: 5px;
}



#areaPerfil div { text-align:right; margin-right: 10px;}

#btnEntrar, #btnSair 
{ 
    background-color: #e59700;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 5px;
}

.opcoesLogado {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 100%;
}

#btnSair { font-size:12px; }

.iconeConfiguracao { color:var(--cor-fonte-clara); font-size: 20px; cursor: pointer;}

.menuCategoria
{
    background-color: #fff;
    color: #222a32;
    padding: 0px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.menuCategoria nav
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1300px;
}

.menuCategoria nav ul 
{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 18px;
    list-style-type: none;
    margin-block: 0;
    padding-inline-start: 0px;
}

.menuCategoria ul li a
{
    display: flex;
    align-items: center;
    column-gap: 5px;
    text-decoration: none;
    color: #222a32;
}

.icon-database { color: #603e95; }
.icon-game { color: #009ea1; }
.icon-desktop { color: #ff7200; }
.icon-web { color: #d7265d; }
.icon-windows { color: #f04fe8; font-size: 20px; }

.redesSociais
{
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    font-size: 10px;
}

.redesSociais p a
{
    font-size: 12px;
    display: flex;
    align-items: center;
    column-gap: 5px;
    text-decoration: none;
    color: #fff;
}

.redesSociais p ion-icon
{
    font-size: 14px;
}

/* ----- EXIBICAO DAS AVALIACOES DO PERFIL ------------------ */

.areaAvaliacao
{
    /*display: flex;
    justify-content: center;
    padding: 10px 0;
    */
    display: flex;
    justify-content: center;
    padding: 10px 0;
    flex-direction: column;
    align-items: center;
}

.txtValorAvaliacao
{
  color: #ebde3f;
  text-align: center;
  padding:5px;
  font-size:32px;
  font-weight: bold;
}

.progress-container {
  width: 100px;
  height:19px;
  background-color: #ccc;
  position: relative;
}

.progress-bar {
  /*width: 100%;
  /*height: 20px;*/
  height:100%;
  background-color: #d7d4d4;
  position: relative;
}

.progress {
  height: 100%;
  background-color: var(--cor-primaria);
  width: 0;
  transition: width 0.5s ease-in-out;
}

.estrelas { position:absolute; top:0; left:0; width:100%; /*245px; height:47px; */}

/* ------ MENU PRINCIPAL --------------- */

.menu-principal
{
    margin-top: 15px;
}

.menu-principal ul
{
    margin-block: 0;
    padding-inline-start: 0;
    list-style-type: none;    
}

.menu-principal ul li 
{ 
    box-sizing: border-box;
    margin-bottom: 7px; 
    width: 100%;
}

a.item-menu-principal
{
    font-family: 'Days One', sans-serif;
    font-weight: normal;
    font-size: 14px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 7px 0;
    border-radius: 7px;
    text-decoration: none;
    border: thin solid var(--cor-primaria);
    background-color: var(--cor-primaria);
    color: #fff;    
}

main
{
    width: 90%;
    max-width: 1300px;
    margin: 120px auto;
    margin-bottom: 0;
}

.banner
{
    margin-top: 77px;
    background-image: url(../images/banner.jpg);
    height: 350px;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.texto-banner
{
    color: #fff;
    font-family: 'Days One', sans-serif;
    font-size: 46px;
    text-align: right;
    filter: drop-shadow(1px 1px 5px rgba(0,0,0,1));
}

.vitrines
{
    display: flex;
    flex-wrap: wrap;
    column-gap: 1%;
    row-gap: 10px;
}

.vitrineVideo
{
    width: 32.6%;
    background-color: #fff;
    border-radius: 4px;
}

.vitrineVideo a
{
    text-decoration: none;
}

.fotoCapa
{
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.idVideo
{
    padding: 5px 10px;
}

.titulo-video
{
    font-weight: bold;
    color: #222a32;
    padding: 5px 0;
}

.subtitulo-video
{
    font-size: 12px;
    color: #666b6f;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 4px 0;
}

.nomeCurso
{
    font-size: 18px;
}

@media screen and (max-width: 600px)
{
	.conteudo-header 
    { 
        flex-wrap:wrap; max-width: 100%; 
    }

    .banner 
    {
        margin-top: 175px;
    }

    .texto-banner { font-size: 28px;}


	.areaLogo { width: 100%; text-align: center; padding: 15px;}
	.area-busca { width:100%; }

    main 
    { 
        margin-top: 20px; 
    }
    
    .vitrineVideo 
    { 
        width: 100%; 
    }

    .redesSociais 
    { 
        width: 100%; 
    }

    .icon-database, .icon-game, .icon-web, .icon-desktop 
    {
        font-size: 28px;
    }

    .icon-windows
    {
        font-size: 28px;
    }

    .menuCategoria p, .textoBotaoArea
    {
        display: none;
    }

    .lnkCurso
    {
        padding-left: 42px;
    }

    .nomeCurso
    {
        width: 100%;
        padding-left: 32px;
    }

    header { position: static;}

    .menuCategoria {
        padding: 14px 0;
        margin-top: 0px;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .telaPopUp, .telaPopUpSenha
    {    
        margin-left: 0;
        transform: none;
        width: 100%;
        height: 100vh;
        top:0;
    }

    #btnCancelar, #btnCancelarSenha
    {
        display: unset;
    }

    .ocultarNome { display: none; }

    .btnSair, .btnAlterarSenha 
    {
        font-size: 26px;
        padding: 5px 10px;
        gap: 10px;
    }
    
    .iconeConf
    {
        font-size:24px;
    }
}

@media screen and (max-width: 1200px)
{
    .menuCategoria nav ul li a p { display: none; }

    .menuCategoria 
    {
        padding: 8px 0px;
    }

    main 
    {    
        margin: 135px auto;
    }
}