:root {
    --bg-color: #3f3f3f8c;
    --box-color: #3f3f3f;
    --text-color: #ffffff;
    --hover-color: #a9a9a9;
    --select-color: #696969;
    --search-color: #e7e7e7;
    --gradient: rgba(0, 0, 0, 0.7);
    --shadow-color: #00000080;
    --border-color: #b1b1b178;
}

body {
    margin: 0%;
    background: linear-gradient(var(--gradient),var(--gradient)), url('./img/img-b.jpg');
    background-repeat:no-repeat;
    background-attachment: fixed;
    background-size: cover;
    justify-content: center;
    align-items: center;
    min-height: fit-content;    
}

h1 {
    color: var(--text-color);
    text-align: center;
    text-transform:uppercase;
    margin-top: 2%;
    margin-bottom: 1%;
    display: none;
}

header {
    background-color: var(--bg-color);
    width: 100%;
}

nav {
    display: flex;
    margin-right: 10%;
    left: 100%;
}

.logo {
    width: 220;
    height: 100px;
    align-self: center;
    margin: 0 0 0 10px;
    border-style: none;
}

#logoMovil {
    display: none;
}

.Menu {
    display: flex;
    margin-top: 0%;
    list-style: none;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
}

.Nav-menu-item {
    font-size: 14px;
    text-transform: uppercase;
    width: max-content;
    margin: 3% 3% 3% 3%;
}

.Nav-menu-link {
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 3px;
    text-decoration: none;
}

.Nav-menu-link:hover, .Nav-menu-link_active {
    background-color: var(--hover-color);
    transition: 0.5s;
}

#characters-names {
    margin: 0%;
    margin-top: 3%;
    margin-bottom: 5%;
    padding: 0%;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 3.5em;
}

.ul-ch {
    background-color: var(--box-color);
    color: var(--text-color);
    margin: 10px;
    padding-bottom: 3%;
    /* width: 22%; */
    border-radius: 8px;
    overflow: hidden;
    border-left-style: double;
    flex-basis: 250px;
    box-shadow: 10px 10px 15px var(--shadow-color);
}

li {
    list-style: none;
    margin: 3% 16% 3% 3%;
    height: fit-content;
    line-height: 1.5;
    font-size:medium;
    font-family: 'Segoe UI';
    padding: 2px;
}


select {
    background-color: var(--select-color);
}

button {
    background-color: var(--select-color);
    border-style: none;
}

p {
    font-size: large;
    font-weight: bold;
    color: var(--text-color);
    padding: 1%;
    margin: 0 auto;
    text-align: center;
    background-color: var(--box-color);
    margin-top: 2%;
    margin-bottom: 2%;
    width: 30%;
}

#search {
    background-color: var(--search-color);
    color: var(--box-color);
}

img{
    width: 200px;
    height: 225px;
    margin-top: 10%;
    margin-bottom: 5%;
    border-style: inset;
    border-radius: 5%;
    border-color: var(--border-color);
}

.toggle {
    color: var(--text-color);
    background: none;
    border: none;
    font-size: 20px;
    display: none;
}

#opt-filter-by {
    display: none;
}

@media (max-width: 768px) {
    .logo {
        display: none;
        width: 70px;
        height: 70px;
        margin-left: 10px;
    }
    #logoMovil {
        display: block;
    }
    .Menu {
        background-color: var(--box-color);
        align-items: center;
        position: relative;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        height: calc(100% - 60px);
        overflow-y: auto;
        left: 100%;
        transition: left 0.3s;
    }
    .Nav-menu-item {
        font-size: 14px;
    }
    .Nav-menu-link:hover, .Nav-menu-link_active {
        background-color: var(--hover-color);
        transition: 0.5s;
    }
    .toggle {
        display: block;
    }
    .Menu_visible {
        left: 0;
        
    }
}