body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.header {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px; /* Reduced size */
    height: auto;
    margin-right: 10px;
}

.header .welcome {
    color: #ffffff;
    font-size: 16px;
    margin-right: 10px;
}

.header .nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.header .nav a {
    margin: 5px 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.background {
    background: url('boat.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: calc(100vh - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

.background:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.search-container {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 25px;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.search-container h2 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    text-align: left;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.button-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.button {
    background-color: #007bff;
    color: #fff;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}

@media (min-width: 768px) {
    .header {
        flex-wrap: nowrap;
        padding: 5px 40px; /* Reduced padding */
    }

    .header .nav a {
        font-size: 16px;
    }

    .search-container {
        padding: 40px;
        width: 80%;
    }

    .form-row {
        flex-direction: row;
        justify-content: space-between;
    }

    .form-row .form-group {
        flex: 1;
        margin-right: 15px;
    }

    .form-row .form-group:last-child {
        margin-right: 0;
    }

    .button-container {
        flex-direction: row;
        justify-content: center;
    }

    .button {
        min-width: 200px;
    }
}