body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #333;
    width: 100%;
}
.nav-container{
    position: relative;    
    width: 80%;
    margin-left: 8%;
    font-size: 1.5rem;
}
nav{    
    top: 0;
    right: 0;
}   
.menu-items{
    list-style: none;
    display: flex;

}
.menu-items li a {
    text-decoration: none;
    color: #fff;
    font-size: auto;
    margin-right: 15px;
}
.toggle-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #fff;
}
.titulos{
    margin-top: 20px;
    width: 80%;
    margin-left: 10%;
    color: white;
    text-emphasis-style: "🎈";
    text-emphasis-position: under left;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    
}
input[type=text] {
    width: 30%;
    -webkit-transition: width 0.15s ease-in-out;
    transition: width 0.15s ease-in-out;
}
input[type=text]:focus {
    width: 70%;
}
#searchInput{
    margin-left: 13%;
    padding:8px;
    border-radius: 10px;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    align-items: center;
    
}
.items {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    margin-left: 15%;   
}
.item {
    width: 100px;
    height: 100px; 
    background-color: #ccc;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.item {
    margin: 10px;
    padding: 10px;
    background-color: #555;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-align: center;
    flex: 0 1 200px;
    flex-direction: column;    
    height: 180px;
    cursor: pointer;
}

.item img {
    max-width: 40%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    width: 100%;    
}

h2{
    margin: 0.1s;
}
.search-bar{
    width: 100%;
    margin-top: 20px;
    align-items: center;
}
.container{
    width: 100%;    
}
.items{    
    width: 90%;
    margin-left: 2%;
    
}
footer{
    width: 100%;
    text-align: center;
    position: relative;
    color: white;
}
@media screen and (max-width: 768px) {
    .menu-items {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 20px;
      left: 0;
      width: 100%;
      background-color: #333;
      padding: 20px;
      z-index: 1000;
    }
  
    .menu-items li {
      margin: 10px 0;      
    }
    .toggle-menu {
        display: block;        
    }  
}