/*
	Project: Psicologar;
	Year:  2021;
*/


/* Fontes */

@font-face {
    font-family: "Quicksand";
    src: url(../font/Quicksand-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: "Quicksand";
    src: url(../font/Quicksand-SemiBold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: "Quicksand";
    src: url(../font/Quicksand-Italic.ttf);
    font-style: italic;
}


/* Atributos globais */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: "Cabin", sans-serif; */
    font-size: 17px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
}

body{
    position: relative;
    min-height: 100vh;
    background-color: #f5f5f5;
}

:root {
    --bg-principal: #5a5099;
    --aspect-ratio: aspect-ratio: 1/1;
}

/* Loader */
.loader, .bg-fixed{
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
}

.conteudo-img{
    cursor: pointer;
    position: relative;
    user-select: none;
}

.imagem-post-like::before{
    content: '\f004';
    font-family: "Font Awesome 5 Free";
    color: #fff;
    font-weight: 900;
    font-size: 0px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 10;
    animation: beatHeart 0.5s;
    /*-webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: black !important;
    -webkit-text-fill-color: red !important;
    -webkit-text-stroke-color: red !important; */
    top: 0;
    left: 0;
}

.subMenu{
    font-weight: bold;
    font-size: 30px;
    text-decoration: underline;
    color: var(--bg-principal);
}

@keyframes beatHeart{
    0%{
        font-size: 0px;
    }
    50%{
        font-size: 110px;
    }
    75%{
        font-size: 80px;
    }
    100%{
        font-size: 0px;
    }
}

.loading{
    width: 80px;
    height: 80px;
    border: 7px solid #ccc;
    border-radius: 50%;
    border-top-color: var(--bg-principal);
    animation: loader 1s infinite;
}

.bg-fixed{
    position: fixed;
    overflow: hidden !important;
}
.sugestao{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
}

.sugestao .btn{
    font-size: 12px !important;
    margin-left: 8px;;
}

.sugestao div .nameUsuario{
    font-size: 16px;
}

.sugestao div .perfil-info{
    font-size: 14px;
}

.sugestao div p{
    margin: 0;
    margin-left: 8px;
}

.sugestao img{
    border-radius: 50%;
    width: 45px;
    height: 45px;
}

@keyframes loader{
    0%{
        transform: rotate(0deg)
    }
    100%{
        transform: rotate(360deg);
    }
}

/* Tags */

a {
    color: var(--bg-principal);
}

a:hover {
    text-decoration: none;
    color: #4e48abcc;
}

.btn {
    background-color: var(--bg-principal);
    color: #fff;
    padding: 5px 25px;
}

.btn:hover {
    color: #fff;
    background-color: #4e48abcc;
}

.btnWhite {
    background-color: #fff !important;
    color: var(--bg-principal);
    padding: 5px 25px;
}

.btnWhite:hover {
    color: var(--bg-principal) !important;
    background-color: rgba(255, 255, 255, 0.6) !important;
}

.btnOutline {
    background-color: transparent !important;
    color: #fff;
    border: 1px solid #fff;
    padding: 5px 25px;
}

.btnOutline:hover {
    color: var(--bg-principal) !important;
    background-color: #fff !important;
}

.cabecalho{
    background-size: cover;
    background-image: linear-gradient(#5a5099cc,#5a5099cc), url("../img/pessoas.png");
    background-position-y: 40%;
}

.texto-principal{
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.img-perfil{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.post{
    padding: 15px;
}
.options i{
    font-size: 25px;
    cursor: pointer;
    color: #ccc;
    margin-right: 10px;
    width: 30px;
    text-align: center;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: black;
}
.options{
    user-select: none !important;
}
.ativated{
    -webkit-text-fill-color: red !important;
    -webkit-text-stroke-color: red !important;
    transition: color 0.2s;
}

.save-ativated{
    -webkit-text-fill-color: var(--bg-principal) !important;
    -webkit-text-stroke-color: var(--bg-principal) !important;
    transition: color 0.2s;
}

.perfil-info{
    font-weight: 400;
    color: #aaa;
}
.nameUsuario, .outrasCurtidas{
    font-weight: 600;
    color: #000 !important;
}

.nameUsuario:hover, .outrasCurtidas:hover{
    text-decoration: underline;
    cursor: pointer;
}

.perfilCurtida{
    width: 22px;   
    height: 22px;
    border-radius: 50%;
    position: relative;
    top: -3px;
}

.needLogin::after{
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-color: #5a5099dd;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
}

.forLogin{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    color: #fff;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.forLogin div{
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.forLogin div h2{
    font-size: 30px;
}

.forLogin div p, .forLogin div a{
    font-size: 18px;
}

.forLogin i{
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
}

.forLogin i:hover{
    cursor: pointer;
    color: #ccc;
}

.nav-link{
    color: #fff !important;
}

.nav-link i{
    margin: 0 10px;
}

.nav-link:hover{
    color: rgba(255, 255, 255, 0.6) !important;
}
.logo-rodape{
    max-height: 60px;
    max-width: 100%;
    border-right: 1px solid #ddd;
    padding-right: 20px;
}

.auxRodape{
    height: 120px;
}

.info{
    font-size: 14px;
    margin: 0;
}

.rodape{
    bottom: 0;
    position: absolute;
    width: 100%;
    background-color: var(--bg-principal);
    padding: 10px;
    color: #fff;
}
.rodape a{
    color: #fff;
    text-decoration: underline;
}
.rodape a:hover{
    color: #ccc;
}

.avatar-medium{
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.gray{
    color: #aaa;
}

.loader-peq-modal{
    width: 100%;
    top: 0;
    left: 0;
    height: 200%;
    max-height: 90vh;
    position: absolute;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-peq-modal div{
    width: 60px;
    height: 60px;
    border: 6px solid #ccc;
    border-top-color: var(--bg-principal);
    border-radius: 50%;
    animation: rotate360 1s infinite;
}

.opt-no{
    background-color: #d0d0d0;
    color: #777;
}

.icone_perfil_cabecalho img{
    border-radius: 50%;
    cursor: pointer;
}

.dropdown-item i{
    margin-right: 8px;
    width: 15px;
}

.cor-principal{
    background-color: var(--bg-principal) !important;
    color: #fff;
}

.dropdown-item:active{
    background-color: var(--bg-principal) !important;
    border: var(--bg-principal) !important;
}

@keyframes rotate360 {
    from{
        -webkit-transform: rotate(0deg);
        tranform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(360deg);
        tranform: rotate(360deg);
    }
}


/* IDs */

#logo-container {
    max-height: 9vh;
}

#logo-menu{
    max-height: 100px;
    min-height: 40px;
    height: 7vh;
}


/* MediaQuerys */

@media (max-width: 1199.98px) {
    .auxRodape{
        height: 140px;
    }
}

@media (max-width: 767.98px) {
    .nav-link i{
        display: inline-block !important;
        width: 20px;
    }
    .auxRodape{
        height: 190px;
    }
}

@media (max-width: 991.98px){
    .auxRodape{
        height: 210px;
    }
    .logo-rodape{
        border: none;
        padding: 0;
        margin-bottom: 10px;
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 575.98px) {
    .auxRodape{
        height: 220px;
    }
}

@media (max-width: 479.98px) {
    .auxRodape{
        height: 270px;
    }
}

@media (max-width: 419.98px) {
    .busca{
        font-size: 14px !important;
    }

    .texto-principal{
        font-size: 29px;
    }
    
    .logo-rodape{
        height: 80%;
    }

    .rodape p{
        text-align: center;
    }

    .auxRodape{
        height: 270px;
    }
}

@media (max-width: 359.98px) {
    .auxRodape{
        height: 300px;
    }
}

@media (max-width: 329.98px) {
    .auxRodape{
        height: 330px;
    }
}

@media (max-width: 299.98px) {
    .auxRodape{
        height: 380px;
    }
}

@media (min-width: 767.98px){

    .icon-sair{
        background-color: #d9534f;
        color: #fff;
        border: 1px solid #d9534f;
    }
    
    .icon-sair:hover{
        background-color: #d9534fdd;
        color: #fff;
    }
    
}