@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --bg-dark: #202124;
    --bg-light: #333232;
    --accent: #525355;
    --text-light: #fff;
    --text-gray: #8E8F90;
    --border-color: #7a7a7a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.header {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo{
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img {
    width: 35px;
    height: 35px;
}

.logo p {
    font-size: 20px;
    font-weight: 500;
}

.btn-menu {
    background: none;
    border: none;
    cursor: pointer;
}

.search-bar {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 600px;
}

.search-bar svg {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.search-bar input {
    width: 100%;
    padding: 12px 40px;
    background-color: var(--accent);
    border: none;
    border-radius: 10px;
    color: var(--text-light);
    font-size: 16px;
    transition: background-color 0.3s;
}

.search-bar input:focus {
    background-color: #fff;
    color: #000;
    outline: none;
}

.icons {
    display: flex;
    gap: 15px;
}

.formulario {
    width: 90%;
    max-width: 600px;
    border: 1px solid var(--accent);
    border-radius: 10px;
    margin: 20px auto;
    padding: 15px;
    background-color: var(--bg-dark);
}

.formulario form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.formulario input,
.formulario textarea {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: none;
    outline: none;
    font-size: 16px;
    padding: 10px;
    border-radius: 5px;
}

.formulario button {
    align-self: flex-end;
    background-color: var(--bg-light);
    color: var(--text-light);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.formulario button:hover {
    background-color: var(--accent);
}

.notas {
    column-count: 4;
    column-gap: 10%;
    width: 80%;
    margin: 0 auto;
    height: auto;
    padding: 30px;


}

.card {
    margin: 0 auto;
    display: inline-block;
    width: 250px;
    border-radius: 10px;
    max-width: 250px;
    margin-bottom: 15px;
    background-color: var(--bg-light);
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 15px;
    color: var(--text-light);
    word-wrap: break-word;
}

@media (max-width: 1200px) {
    .notas {
        column-count: 3;
    }
}

@media (max-width: 900px) {
    .notas {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .notas {
        column-count: 1;
    }

    .search-bar {
        width: 100%;
    }

    .header {
        flex-direction: column;
        align-items: stretch;
    }
}