* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: rgba(0, 0, 2, 0.886);
    --font: arial;
}

body {
    background-color: var(--bg);
    list-style-type: none;
}

header {
    width: 90vw;
    margin: auto;
    height: 20vh;
    border-bottom: 3px solid white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.head_left {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.head_right {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.head_right input {
    width: 80%;
    border: none;
    border-radius: 5px;
    outline: none;
    font-family: sans-serif;
}

.head_left a {
    color: white;
    font-family: sans-serif;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
}

.logo {
    width: 100px;
}

.main-container {
    width: 90vw;
    margin: auto;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hq {
    width: 300px;
    height: 400px;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    /* suavidade na animação */
}

.hq:hover {
    cursor: pointer;
    transform: scale(1.04);
    /* aumenta 10% */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1);
}

.cover {
    width: 100%;
    height: 330px;
    border-radius: 12px;
    margin-bottom: 0;
}

.hq h1 {
    color: white;
    font-family: sans-serif;
    font-size: 22px;
}

.hq h2{
    position: absolute;
    top: 1px;
    right: 15px;
    color: white;
    font-family: sans-serif;
    font-size: 20px;
}

.hq h3 {
    color: greenyellow;
    font-family: sans-serif;
    font-size: 12px;
}

.hq h4 {
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin-top: 2px;
}

.menu{
    width: 180px;
    height: auto;
    border-radius: 12px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    right: 33px;
    top: 15px;
    background-color: rgba(0, 0, 0, 0.453);

}

.menu button{
    margin-top: 3px;
    margin-bottom: 5px;
    border: none;
    border-radius: 12px;
    font-family: var(--font);
    color: black;
    transition: transform 0.3s ease;
}

.menu button:hover{
    transform: scale(1.04);
    cursor: pointer;
    text-rendering: auto;
}

.hidden{
    visibility: hidden;
}