
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#6f3c67;
    color:white;
    font-family:Arial, sans-serif;
    padding:20px;
}

.topbar{
    width:100%;
    height:70px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    background:#8a4b80;

    padding:0 20px;

    border-radius:12px;

    margin-bottom:20px;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;

    font-size:22px;
    font-weight:bold;
}

.logo img{
    width:214px;
    height:69px;
    object-fit:contain;
}

.search-box{
    width:400px;
    max-width:50%;
}

.search-box input{
    width:100%;
    margin:0;

    background:#0f0f0f;
    border:1px solid #333;

    padding:12px 18px;

    border-radius:25px;

    color:white;
}
input{
    width:100%;
    padding:12px;
    margin-bottom:10px;
    border:none;
    border-radius:8px;
    background:#2a2a2a;
    color:white;
}

button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
}

.feed{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(350px,1fr));
    gap:20px;
}

.card{
    background:#1a1a1a;
    border-radius:12px;
    overflow:hidden;
}

.video-container{
    width:100%;
    aspect-ratio:16/9;
    background:#000;
}

.video-container video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.video-container img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.video-container video:fullscreen{
    width:100vw;
    height:100vh;
    object-fit:contain;
    background:black;
}

.video-container video:-webkit-full-screen{
    width:100vw;
    height:100vh;
    object-fit:contain;
    background:black;
}

.info{
    padding:15px;
}

.title{
    font-size:18px;
    font-weight:bold;
    margin-bottom:5px;
}

.author{
    color:#aaa;
}
.lightbox{
    display:none;
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.95);

    justify-content:center;
    align-items:center;

    z-index:9999;
}

.lightbox img{
    max-width:90vw;
    max-height:90vh;
    object-fit:contain;
}

.nav-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);

    width:60px;
    height:60px;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.15);
    color:white;

    font-size:30px;
    cursor:pointer;
    z-index:10000;
}

.nav-btn:hover{
    background:rgba(255,255,255,.25);
}

.left{
    left:30px;
}

.right{
    right:30px;
}

.menu{
    display:flex;
    gap:25px;
    align-items:center;
}

.menu a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:.2s;
}

.menu a:hover{
    opacity:.8;
}


/* ========================= */
/* PAGINA SUBIR ARTE */
/* ========================= */

.upload-container{
    display:flex;
    justify-content:center;
    margin-top:40px;
}

.upload-card{

    width:800px;
    max-width:95%;

    background:#1a1a1a;

    border-radius:12px;

    padding:30px;
}

.upload-card h1{

    text-align:center;

    margin-bottom:25px;
}

.upload-card textarea{

    width:100%;

    min-height:150px;

    background:#2a2a2a;

    color:white;

    border:none;

    border-radius:8px;

    padding:12px;

    resize:vertical;

    margin-bottom:10px;
}

.upload-card button{

    background:#8a4b80;

    color:white;

    transition:.2s;
}

.upload-card button:hover{

    opacity:.9;
}

.preview{

    width:100%;

    max-height:500px;

    object-fit:contain;

    border-radius:12px;

    margin-bottom:15px;

    display:none;

    background:#111;
}

.left-section{

    display:flex;

    align-items:center;

    gap:30px;
}



.menu a:hover{

    background:rgba(255,255,255,.1);
}

.toast{

    position:fixed;

    left:50%;
    bottom:30px;

    transform:translateX(-50%);

    background:#1a1a1a;

    color:white;

    padding:14px 25px;

    border-radius:10px;

    font-weight:bold;

    opacity:0;

    pointer-events:none;

    transition:.3s;

    z-index:99999;
}

.toast.show{

    opacity:1;
}

.toast.success{

    border:2px solid #4caf50;
}

.toast.error{

    border:2px solid #f44336;
}

button:disabled{

    background:#555;

    color:#ccc;

    cursor:not-allowed;

    opacity:.8;
}
