.arroba {
    font-family: Arial, Helvetica, sans-serif;
}

.carregamento-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background-image: radial-gradient(rgb(10, 10, 10), #000);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: none;
}

#user-div {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(var(--cor-interna), var(--cor-externa));
    backdrop-filter: blur(10px);
    z-index: 2000;
    padding: 100px;
    color: #fff;
    opacity: 0;
    transition-duration: .25s;
    display: none;

    & #fechar-user-div {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 80px;
        color: #fff;
        transition-duration: .5s;
        z-index: 10;

        &.efeito-hover:hover {
            transform: scale(1.05);
        }
    }

    & #tela-dados-user {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        min-height: 100%;
        transition-duration: .5s;
        scroll-behavior: smooth !important;
        overflow-y: scroll;

        & #menu-user #menu-nao-logado,
        & #menu-user #menu-logado {
            position: absolute;
            top: 15px;
            left: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            font-size: 14px;

            & #entrar-btn,
            & #sair-btn,
            & #editar-btn {
                width: 100px;
                border: 2px solid #0000;
                padding: 10px 0;
                border-radius: 15px;
                text-align: center;
                transition: border .1s, transform .25s;

                &.efeito-hover:hover {
                    border: 2px solid #fff;
                    transform: scale(1.05);
                }
            }

            & #cadastrar-btn {
                width: 100px;
                padding: 10px 0;
                border: 2px solid #fff;
                background-color: #0000;
                color: #fff;
                border-radius: 15px;
                text-align: center;
                transition: background-color .1s, color .1s, border .1s, transform .25s;

                &.efeito-hover:hover {
                    border: 2px solid #0000;
                    background-color: #fff;
                    color: #000;
                    transform: scale(1.05);
                }
            }
        }

        & #dados-user-container {
            position: absolute;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            flex-direction: column;
            gap: 10px;
            width: 90%;
            height: calc(100% - 75px);

            & #dados-user-img-info {
                width: 100%;
                min-height: 70%;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                gap: 50px;

                & #dados-user-img {
                    background-image: radial-gradient(var(--cor-interna), var(--cor-externa));
                    backdrop-filter: blur(10px);
                    box-shadow: 0px 0px 10px 0px #000;
                    width: 500px;
                    height: 500px;
                    border-radius: 50%;
                    overflow: hidden;

                    & img {
                        height: 100%;
                        width: 100%;
                        object-fit: cover;
                    }
                }

                & #dados-user-info {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: flex-start;
                    gap: 10px;
                    font-size: 20px;

                    & #dados-user-username {
                        font-size: 50px;
                        font-weight: bolder;
                        margin-bottom: 20px;
                    }

                    & p {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        gap: 20px;

                        & #favoritar-icon,
                        & #like-icon,
                        & #dislike-icon,
                        & #visto-icon {
                            font-size: 40px;
                        }

                        & #favoritar-icon {
                            color: #ff0;
                        }

                        & #like-icon {
                            color: #00f;
                        }

                        & #dislike-icon {
                            color: #f00;
                        }

                        & img {
                            width: 40px;
                        }
                    }
                }
            }

            & h2 {
                font-size: 20px;
                width: 100%;
                text-align: left;
            }

            & #sem-favorito {
                width: 100%;
                text-align: left;
            }

            & #dados-user-favoritos-container {
                display: flex;
                justify-content: flex-start;
                align-items: flex-start;
                flex-wrap: wrap;
                gap: 10px 25px;
                width: 100%;
                padding-bottom: 50px;
            }
        }
    }


    & #tela-config-user {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        min-height: 100%;
        transition-duration: .5s;
        scroll-behavior: smooth !important;
        overflow-y: scroll;
        display: none;
        opacity: 0;

        & #carregamento-form {
            position: fixed;
            width: 100vw;
            height: 100vh;
            background-image: radial-gradient(#0a0a0a80, #00000080);
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            z-index: 45;
            display: none;

            & #fundo-logo {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background-color: #000;
                width: 200px;
                height: 200px;
                border-radius: 50%;
            }
        }

        & #voltar-tela-dados-user {
            position: fixed;
            top: 0;
            left: 0;
            font-size: 100px;
            color: #fff;
            transition-duration: .5s;
            z-index: 10;

            &.efeito-hover:hover {
                transform: scale(1.1);
            }
        }

        & .img-animatronic {
            position: fixed;
            left: 0;
            bottom: 0;
            width: 300px;
        }

        &>div {
            position: absolute;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            flex-direction: column;
            gap: 10px;
            width: 90%;
            height: calc(100% - 75px);

            & h1 {
                font-size: 40px;
            }

            & form {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                width: 100%;
                margin-bottom: 20%;
                margin-top: 25px;

                & #imagem-div {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-direction: column;
                    position: relative;
                    height: 90%;

                    & #label-imagem,
                    & #avatar-btn {
                        position: relative;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        width: 500px;
                        height: 500px;
                        background-image: radial-gradient(var(--cor-interna), var(--cor-externa));
                        backdrop-filter: blur(10px);
                        box-shadow: 0px 0px 10px 0px #000;
                        border-radius: 50%;
                        overflow: hidden;

                        & img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                        }

                        & #hover-label-imagem {
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%, -50%);
                            width: 100%;
                            height: 100%;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            background-color: #0008;
                            opacity: 0;
                            transition-duration: .25s;

                            & span {
                                font-size: 75px;
                                color: #fff;
                            }
                        }

                        &.efeito-hover:hover #hover-label-imagem {
                            opacity: 1;
                        }
                    }

                    & #avatar-btn {
                        position: absolute;
                        bottom: 100px;
                        right: 25px;
                        width: 75px;
                        height: 75px;
                        border: 2.5px solid #333;
                        transition-duration: .25s;
                        display: none;

                        &.efeito-hover:hover {
                            transform: scale(1.05);
                        }
                    }

                    & #preencher-div {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        gap: 10px;
                        width: 100%;
                        text-align: center;
                        font-size: 20px;
                        margin-top: 20px;
                    }
                }

                & fieldset {
                    position: relative;
                    width: 50% !important;
                    padding: 10px;
                    border-radius: 20px;
                    margin-top: 20px;

                    & legend {
                        font-size: 20px;
                        margin-left: 25px;
                    }

                    & + p {
                        width: 50% !important;
                        color: #f00;
                        text-align: center;
                        display: none;
                    }

                    &.invalido {
                        border: 2px solid #a00;

                        & legend {
                            color: #f00;
                        }

                        & + p {
                            display: block;
                        }
                    }


                    & input {
                        outline: none;
                        width: 100%;
                        padding: 10px;
                        background-color: #aaa;
                        border: 3px solid #0000;
                        border-radius: 15px;
                        font-size: 20px;
                        transition: .25s;

                        &.efeito-hover:hover {
                            transform: scale(1.01);
                            background-color: #ccc;
                            box-shadow: 5px 5px 10px 0px #0008;
                        }

                        &:focus {
                            transform: scale(1) !important;
                            background-color: #fff !important;
                        }

                        &:blur {
                            background-color: #aaa;
                        }
                    }

                    & #olho {
                        position: absolute;
                        bottom: calc(50% - 16px);
                        right: 10px;
                        transform: translateX(-50%);
                        color: #000;
                        transition-duration: .25s;
                        border-radius: 50%;
                        padding: 5px;

                        &.efeito-hover:hover {
                            background-color: #fff;
                        }
                    }
                }

                & button {
                    width: 100px;
                    padding: 10px 0;
                    border: 2px solid #fff;
                    background-color: #0000;
                    color: #fff;
                    border-radius: 15px;
                    margin-top: 20px;
                    text-align: center;
                    transition: background-color .1s, color .1s, border .1s, transform .25s;

                    &.efeito-hover:hover {
                        border: 2px solid #0000;
                        background-color: #fff;
                        color: #000;
                        transform: scale(1.05);
                    }
                }
            }

            & #link-conta {
                padding-bottom: 30px;

                & a {
                    color: #0064ff !important;
                    text-decoration: underline;
                    transition: color .1s;

                    &.efeito-hover:hover {
                        color: #fff
                    }
                }
            }

            & #excluir-btn {
                font-size: 12px;
                padding: 5px;
                border: 0.5px solid #f00;
                background-color: #0000;
                color: #fff;
                border-radius: 5px;
                text-align: center;
                transition: background-color .1s, transform .25s;

                &.efeito-hover:hover {
                    background-color: #f00;
                    transform: scale(1.05);
                }
            }
        }
    }

    &.celular {
        & #tela-dados-user {

            & #menu-user #menu-nao-logado,
            & #menu-user #menu-logado {
                top: 5px;
                left: 0px;

                & #entrar-btn,
                & #cadastrar-btn,
                & #sair-btn,
                & #editar-btn {
                    padding: 5px 0;
                    border-radius: 10px;
                }
            }

            & #dados-user-container {
                height: calc(100% - 50px) !important;

                #dados-user-img-info {
                    gap: 25px;

                    & #dados-user-img {
                        width: 200px;
                        height: 200px;
                    }

                    & #dados-user-info {
                        font-size: 15px;
                        gap: 5px;

                        & #dados-user-username {
                            font-size: 30px !important;
                            margin-bottom: 0px !important;
                        }

                        & p {
                            gap: 10px;

                            & #favoritar-icon,
                            & #like-icon,
                            & #dislike-icon,
                            & #visto-icon {
                                font-size: 20px;
                            }

                            & img {
                                width: 20px;
                            }
                        }
                    }
                }
            }
        }

        & #tela-config-user {
            & .img-animatronic {
                width: 150px;
            }

            &>div {
                & h1 {
                    font-size: 30px;
                }

                & form {
                    & #imagem-div {

                        & #label-imagem {
                            width: 200px;
                            height: 200px;
                        }

                        & #avatar-btn {
                            bottom: 45px;
                            right: 5px;
                            width: 50px;
                            height: 50px;
                        }
                    }
                }

            }
        }
    }
}



#lista-users {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 400px;
    max-height: 210px;
    overflow-y: hidden;

    & .users {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 1000px;
        font-size: 25px;
        padding: 5px 15px;
        margin: 5px 0px;
        transition-duration: .5s;

        &.efeito-hover:hover {
            transform: scale(1.05);

            & .username {
                text-decoration: underline;
            }
        }

        & .img-users {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            width: 50px;
            height: 50px;
            background-image: radial-gradient(var(--cor-interna), var(--cor-externa));
            backdrop-filter: blur(10px);
            border-radius: 50%;
            overflow: hidden;

            & .loader-img {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 100%;
                height: 100%;
                object-fit: contain;
                z-index: 5;
                display: none;
                animation: carregando 2s linear infinite;
            }

            & .img-users-img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                z-index: 1;
            }
        }
    }
}

@keyframes carregando {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.85);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.9);
    }
}