:root {
    --background-gradient: linear-gradient(135deg, #f0f1f2, #deedfc);
    --gray: #34495e;
    --darkgray: #2c3e50;
}

body {
    background: var(--background-gradient);
    margin: 0;
    font: 360 12px/1.5 exo, ubuntu, "segoe ui", helvetica, arial, sans-serif;
    text-align: center;
    display: flex;
}

.sidebar {
    width: 18%;
    background-color: var(--gray);
    padding: 8px;
    box-sizing: border-box;
    color: white;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
}

.main-content {
    margin-left: 18%;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

.group-link {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    background-color: var(--darkgray);
    margin-bottom: 5px;
    border-radius: 4px;
    height: 16px;
    font-size: 13px;
}

.group-link:hover {
    background-color: #3d4d66;
}

.result-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.result-item {
    width: 115px;
    height: 220px;
    margin: 2px;
    text-align: center;
    font-size: 12px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.result-item img {
    width: 95%;
    height: 80%;
    object-fit: cover;
    cursor: pointer;
}

.result-item img:active {
    transform: scale(0.95); /* Efeito de "diminuição" ao clicar */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Leve sombra ao pressionar */
}

.copied {
    position: fixed; /* Usando 'fixed' para que fique visível sobre o conteúdo */
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background-color: rgba(0, 128, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    z-index: 9999;
}

.copied.show {
    display: block;
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

button, select {
    background-color: #bf7c0f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    height: 30px;
    width: 160px;
    margin-bottom: 5px;
}

button:hover {
    background-color: #e39a09;
}

input[type="text"] {
    font-size: 14px;
    box-sizing: border-box;
    height: 30px;
    width: 200px;
    margin-bottom: 11px;
}

.logo {
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

.button-style {
    display: inline-block;
    padding: 4px 7px;
    margin: 5px;
    font-size: 14px;
    background-color: #5d768f;
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 8px;
}

.button-style:hover {
    background-color: #3d4d66;
}

/* Estilos para dispositivos móveis */
@media (max-width: 768px) {
    .sidebar {
        width: 250px;
        position: fixed;
        z-index: 1;
        left: -250px;
        transition: left 0.3s;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .hamburger {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 2;
        cursor: pointer;
        font-size: 24px;
        color: #bf7c0f;
    }
}

/* Estilos para desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}
