body {
    background-color: #f9f9f9;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
}
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: sans-serif;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #826b86;
    padding: 18px 60px;
    color: white;
}
nav ul {
   
    display: flex;
    margin:0;
    padding:0;
    list-style: none;
    align-items: center;
}
nav ul li{
    margin-right: 50px;
}

nav ul li a {
 
    font-size: 20px;
    font-weight: 600;
    color: #6300Beff;
    text-decoration: none;
    position: relative;

}
span{
    color: #ff6f61;
}
.signup{
    font-size: 18px;
    background-color: #ff6f61;
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    margin-left: 15px;
    cursor: pointer;
    transition: 0.4s ease;

}
.signup:hover{
    background-color: #fff;
    color: #ff6f61;
}

nav ul li a::before {
    
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 5px;
    bottom: -4px;
    left: 0;
    background-color: #ff6f61;
    visibility: hidden;
    transform: scaleX(0);
    transition: 0.5s ease;
}

nav ul li a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}
nav .logo{
    font-size: 35px;
    font-weight: bold;
}
h1 {
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

#search-input {
    width: 60%;
    max-width: 400px;
    padding: 10px 20px;
    border: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    font-size: 18px;
    color: #333;
}

#search-button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    font-size: 18px;
    box-shadow: 0 0 5px rgba(122, 81, 81, 0.2);
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease-in-out;
}

#search-button:hover {
    background-color: #3e8e41;
}

.search-results {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-result {
    margin-bottom: 60px;
    width: 30%;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.search-result:hover img {
    transform: scale(1.05);
}

.search-result img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.search-result a {
    padding: 10px;
    display: block;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.search-result:hover a {
    background-color: rgba(0, 0, 0, 0.1);
}

#show-more-button {
    background-color: #008cba;
    border: none;
    color: white;
    padding: 10px 20px;
    display: block;
    margin: 20px auto;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    display: none;
}

#show-more-button:hover {
    background-color: #0077b5;
}

@media screen and (max-width: 768px) {
    .search-result {
        width: 45%;
    }
}

@media screen and (max-width: 480px) {
    .search-result {
        width: 100%;
    }

    form {
        flex-direction: column;
    }

    #search-input {
        margin-bottom: 20px;
        width: 85%;
    }
}