@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: "Raleway", sans-serif;
    transition: all 0.3s ease-in-out;
}

body {
    margin: 0;
    display: flex;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    background: #1e1f26; /* gris carbón con un toque azulado */
    background-repeat: no-repeat;
    background-size: 100%;
}
.navbar {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: #2c2f36; /* gris oscuro */
}
.navbar a {
    width: 100%;
    height: 100%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #e4e4e4; /* gris claro que contrasta bien */
}
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: calc(100vh - 50px);
}
.search-bar {
    width: 90%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    gap: 5px;
}

.search-bar input {
    width: 90%;
    height: 100%;
    padding: 10px;
    background-color: #2c2f36;
    border: 1px solid #e4e4e4;
    color: #e4e4e4;
    border-radius: 5px;
}

.search-bar button {
    width: 10%;
    height: 100%;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    background-color: #2c2f36;
    color: #e4e4e4;
    cursor: pointer;
}

.search-bar input::placeholder {
    color: #c2c2c2;
}

.items {
    width: 90%;
    height: 90%;
    border-radius: 5px;
    border: 1px solid #e4e4e4;
    display: flex;
    align-items: start;
    align-content: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    overflow-y: auto;
}

.card {
    flex-grow: 1;
    flex-basis: 100px;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    width: 100px;
    height: 220px;
    background-color: #2c2f36;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
}

.card img {
    width: 80px;
    margin: 5px;
}

.card .card-content {
    width: 100%;
    height: 60%;
}

.card .card-content p {
    font-size: 10px;
    color: #e4e4e4;
    text-align: center;
}

.card button {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
    background-color: #4a4e69; /* lavanda oscuro elegante */
    color: #ffffff;
    cursor: pointer;
}

.card:hover {
    border: 1px solid #c2c2c2;
}
