@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --blue: #111827;
    --black: #000000;
    --gray-blue: #1f2937;
    --gray: #989fab;
    --gray-dark: #4b5563;
    --green: #057a55;
    --red: #ff1414;
    --logo: #00febb;
    --white: #ffffff;
    --celeste: #3d87ff;
    --golden: #ffbb00;
    --blue-light: #0759de;
    --font-size: 1.3rem;
    --font-style: 'Poppins', arial;
}

body {
    padding: 0px;
    margin: 0px;
    background: var(--blue);
    color: var(--gray);
    font-family: var(--font-style);
    font-size: var(--font-size);
}

.main {
    display: block;
    margin: 3rem auto;
    width: 90%;
    word-wrap: break-word;
    padding: .1px;
}


/*HEADER*/
.header {
    z-index: 90;
    position: fixed;
    top: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 0.3rem 1rem;
    background: var(--blue);
    border-bottom: 1px solid var(--gray-blue);
}


.menu-header {
    display: none;
    position: fixed;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    height: fit-content;
    background: var(--black);
    z-index: 100;
}

img,
video,
iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: none;
    border: none;
}
video {object-fit: contain;}
.video-js {
    display: block;
    width: 100%;
    height: 20rem;
}

iframe {
    height: 50vh;
}
.media-fit-content {
    max-width: 100%;
    max-height: 30rem;
    object-fit: contain;
}

/*POSTS*/

.posts{
    display: block;
    width: 100%;
    word-wrap: break-word;
    padding-bottom: 1rem;
    border-bottom: 1px solid #304269;
}

.avatar-post{
    width: 3rem;
    height: 3rem;
    overflow: hidden;
    border-radius: 50%;
    background: var(--gray-blue);
}

.media-posts{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}


.collage {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.item-collage {
    width: 9rem;
}
.item-collage-video{
    height: 15rem;
    background: var(--black);
}

.item-col{
    margin-bottom: 5px;
    border-radius: 5px;
}


.modal-dark-image {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; /* Asegura que cubra toda la pantalla */
    background: rgba(0, 0, 0, 0.9); /* Fondo negro con opacidad */
    z-index: 9999; /* Asegura que esté por encima del resto del contenido */
}

.modal-image {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin: 5vh auto;
    overflow-x: auto;
    padding: 1rem;
    box-sizing: border-box;
    scroll-snap-type: x mandatory; /* Activa el scroll snap horizontal */
}

.wrapper {
    flex: 0 0 100%; /* Cada item-collage ocupa 100% del ancho del contenedor padre */
    scroll-snap-align: center; /* Se centra al hacer snap */
    display: block;
}

.wrapper img {
    object-fit: contain;
}


/*button*/
.btn {
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
    display: block;
    width: fit-content;
    height: fit-content;
    border: none;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    padding: 0.6rem 1rem;
    border-radius: 7px;
}

.btn-celeste {
    background: var(--celeste);
}

.btn-red {
    background: var(--red);
}

.btn-black {
    background: var(--celeste);
}

.btn-green {
    background: var(--green);
}

.btn-blue {
    background: var(--blue-light);
}

.btn-dark {
    background: var(--gray-blue);
}
.btn-golden{
    color: var(--blue);
    background: var(--golden);
}

.postear {
    z-index: 1;
    position: fixed;
    bottom: 5rem;
    right: 2rem;
}


/*COMMENTS*/
.thread {
    display: block;
    border-left: 2px solid var(--logo);
    padding: 0 1rem;
}


/*MODALS*/
.modal{
    display: none;
    position: fixed;
    z-index: 100;
    top: 4rem;
    left: 5%;
    background: var(--gray-blue);
    width: 90%;
    height: fit-content;
}

.modal-body{
    width: 100%;
    height: 30rem;
    overflow-y: scroll;
    box-sizing: border-box;
    padding: 1rem;
    background: var(--gray-blue);
}

.modal textarea {
    min-height: 250px;
}

.header-modal{
    box-sizing: border-box;
    padding: 0.3rem;
    background: var(--black);
}

/*icons*/
.icon {
    display: block;
    width: 2rem;
    height: 2rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.icon-close {
    background-image: url('http://editma.com/media/icons/close.svg');
}

.icon-tag_seller {
    background-image: url('http://editma.com/media/icons/tag_seller.svg');
    transform: scaleX(-1);
}

.icon-menu {
    background-image: url('http://editma.com/media/icons/menu.svg');
}

.icon-user {
    background-image: url('http://editma.com/media/icons/user.svg');
}

.icon-logo {
    background-image: url('http://editma.com/media/logo.png');
}

.icon-sprocket {
    background-image: url('http://editma.com/media/icons/sprocket.svg');
}

.icon-like-empty {
    background-image: url('http://editma.com/media/icons/like_empty.svg');
}

.icon-like-full {
    background-image: url('http://editma.com/media/icons/like_full.svg');
}

.icon-chat-empty {
    background-image: url('http://editma.com/media/icons/chat_empty.svg');
}

.icon-eye {
    width: 1.3rem;
    height: 1.3rem;
    background-image: url('http://editma.com/media/icons/eye.svg');
}

.icon-earth {
    background-image: url('http://editma.com/media/icons/earth.svg');
}

.icon-calendar {
    background-image: url('http://editma.com/media/icons/calendar.svg');
}

.icon-twitter {
    background-image: url('http://editma.com/media/icons/twitter.svg');

}

.icon-facebook {
    background-image: url('http://editma.com/media/icons/facebook.svg');

}

/*space*/
.mb-r1 {
    margin-bottom: 1rem;
}

.mb-r2 {
    margin-bottom: 2rem;
}

.mb-r3 {
    margin-bottom: 3rem;
}

.mb-r4 {
    margin-bottom: 4rem;
}

.mt-r1 {
    margin-top: 1rem;
}

.mt-r2 {
    margin-top: 2rem;
}
.mt-r3{
    margin-top: 3rem;
}

.mbt-r1 {
    display: block;
    margin: 1rem 0;
}

.mbt-r2 {
    display: block;
    margin: 2rem 0;
}

.mbt-r3 {
    display: block;
    margin: 3rem 0;
}

.ml-r1 {
    margin: 0 1rem;
}

.ml-r2 {
    margin: 0 2rem;
}

.ml-r3 {
    margin: 0 3rem;
}

/*CUROSR*/
.pointer {
    cursor: pointer;
}


/*flex*/
.flex-fit {
    display: flex;
    align-items: center;
}

.flex {
    display: flex;
    justify-content: space-between;
}

/*CARD LOGIN*/
.card-login {
    display: block;
    box-sizing: border-box;
    padding: 1rem;
    width: 18rem;
    margin: 0 auto;
    border-radius: 5px;
    background: var(--gray-blue);
}


/*CONTENT-CENTER*/
.content-center {
    margin: 0 auto;
}

.relative{
    position: relative;
}

/*TEXT*/
.txt-center {
display: block;
    text-align: center;
}

hr {
    outline: none;
    border: 0.5px solid var(--gray-dark);
}

li {
    margin: 1.3rem 0;
}

.bold {
    font-weight: bold;
}

.p{
    display: block;
}

.h1 {
    font-size: 3rem;
}

.h2 {
    font-size: 2.5rem;
}

.h3 {
    font-size: 2rem;
}

.h4 {
    font-size: 1.5rem;
}

p {
    line-height: 2rem;
}

/*size font*/
.p-default{
    font-size: var(--font-size);
}
.p18{
    font-size: 18px;
}
.p15 {
    font-size: 15px;
}

.p13{
    font-size: 13px;
}

.p12 {
    font-size: 12px;
}

a {
    color: var(--logo);
}

.txt-block {
    display: block;
}

/*QUILL.JS */
.ql-editor {
    font-size: 17px !important;
}

/*SYMBOL*/
.menor::after {
    content: '<';
}

.mayor::after {
    content: '>';
}

.txt-rigth {
    text-align: right;
}




/*FILTER POST*/
.filter-content {
    width: 100%;
    margin: 1rem auto;
}

.list-filter {
    font-size: 18px;
    cursor: pointer;
    color: var(--logo);
}

.a-p {
    text-decoration: none;
}

/*colors*/
.p-white {
    color: var(--white);
}

.p-logo {
    color: var(--logo);
}

.p-red {
    color: var(--red);
}

.p-gray {
    color: var(--gray);
}

.p-golden {
    color: var(--golden);
}

.p-dark{
    color: var(--black);
}

.p-celeste{
    color: var(--celeste);
}

/*BG-COLOR*/
.bg-color-dark {
    color: #ffffff;
    background-color: var(--gray-blue);
}

.bg-color-red{
    color: var(--white);
    background-color: var(--red);
}


/*BG*/
.bg-white{
    background: var(--white);
}

/*TRANSLATE*/
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
}

/* Ocultar la descripción del idioma original */
.VIpgJd-suEOdc {
    display: none !important;
}

.goog-te-combo {
    border: none;
    outline: none;
    background: var(--blue);
    color: var(--white);
    font-size: var(--font-size) !important;
}

.goog-te-combo option {
    font-size: var(--font-size);
}


/*FORM*/
.form-control {
    display: block;
    box-sizing: border-box;
    width: 100%;
    resize: vertical;
    padding: 12px;
    outline: none;
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-size: 17px;
    background: var(--gray-dark);
}

.form-control::placeholder {
    color: var(--gray);
}

.form-control:focus {
    outline: 1px solid var(--celeste);
}

.content-search {
    width: 13rem;
}

#searchInput {
    padding: 8px;
}

/*profile*/
.content-profile {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--gray-blue);
}

.avatar {
    position: absolute;
    bottom: -2rem;
    left: 1rem;
    display: block;
    width: 4.7rem;
    height: 4.7rem;
    background: var(--gray-blue);
    overflow: hidden;
    border-radius: 5px;
    outline: 2px solid var(--black);
}

.banner-profile{
    display: block;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: var(--gray-blue );
}

.hidden {
    display: none;
}

.control-profile {
    display: none !important;
}

/* footer*/
.footer {
    display: block;
    border-top: 1px solid var(--gray-blue);
    box-sizing: border-box;
    width: 100%;
    height: fit-content;
    padding: 2rem;
}

#brand {
    color: var(--logo);
}

/*VISTA PC*/
@media (min-width: 600px) {
    .main { width: 35rem; }

    .article{
        width: 50%;
        text-align: justify;
    }

    .modal-image {
        display: block;
        width: 60rem;
        height: 100vh;
        margin:  1vh auto;
        overflow-y: auto;
        box-sizing: border-box;
        scroll-snap-type: y mandatory;
    }

    .item-collage  {
        width: 20rem;
        max-height: 30rem;
    }

    .wrapper { 
        height: 100%; 
        scroll-snap-align: center;
    }

    .wrapper img {
        width: 100%;
        height: 100%;
    }

    .content-banner-avatar{
        width: 35rem;
        margin: 0 auto;
    }

    .banner-profile {
        height: 200px;
    }

    .avatar {
        width: 6rem;
        height: 6rem;
    }

    .modal { width: 50%; }
    .modal textarea { min-height: 335px; }

    #sendTitle { width: 50%; }

    .content-search {
        width: 20rem;
    }

    .card-login {
        width: 20rem;
    }
}

@media (min-width: 1220px) {
    .menu-header {
        width: fit-content;
        height: fit-content;
        background: var(--blue);
    }
}
