* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }


.main{
    display: flex;
    justify-content: space-between;
    margin-top: 10rem;
    margin-bottom: 2rem;
    padding-right: 10rem;
}

.flex-div {
    width: 50%;
    padding: 1rem;
    margin: 1rem;
}


#logo{
    text-align: right;
}


#title {
    font-size: 4.5rem;
}

.container {
    display: flex;
    padding-left: 0.9rem;
    margin-top: 1rem;
  }

.container button {
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.container button:hover {
    box-shadow: 0 1em 1em rgb(175, 175, 175);
    text-decoration: underline;
}

.search-bar {
    border: solid 0.15rem;
    border-top: #fff;
    border-left: white;
    border-right: white;
    background-color: #fff;
    text-align: right;
    position: relative;
  }

.search-bar input {
    border: none;
    padding: 0.7rem 10rem 0.7rem 0;
    font-size: 1rem;
  }
  
/*icona ricerca*/  
.search-bar button {
    border: none;
    background-color: #fff;
    position: absolute;
    top: 40%;
    right: 0.4rem;
    transform: translateY(-40%);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #000000;
    cursor: pointer;
}

.footer {
    padding: 3.5rem;
}

.results {
    display: flex;
    justify-content: center;
    text-align: justify;

}


#searchResults {
    font-family: Arial, sans-serif;
    color: #333;
    padding: 5rem 5rem 10rem 5rem;
    background-color: #ffffff;
}

#searchResults h1 {
    color: #2a5d84;
    font-size: 2rem;
    margin-bottom: 2rem;
}

#searchResults p {
    line-height: 1.6;
    margin-bottom: 2rem;
}

#searchResults a {
    color: #1a0dab;
    text-decoration: none;
}

#searchResults a:hover {
    text-decoration: underline;
}

#searchResults .infobox {
    background-color: #e6e6e6;
    border: 1px solid #aaa;
    padding: 2.5rem;
    margin-bottom: 2rem;
    width: 100%;
    justify-content: right;
}


#searchResults .infobox {
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

#searchResults .navbox {
    border: 1px solid #ccc;
    background-color: #fff;
    margin-bottom: 20px;
}

#searchResults .thumb {
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    padding: 5px;
    margin: 10px;
}

#searchResults .thumb img {
    max-width: 100%;
    height: auto;
}