* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    font-family: arial,sans-serif;
    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-height: calc(100vh - 200px);
    padding-bottom: 20px;
}

/* Logo styles */
.logo-container {
    min-height: 290px;
    max-height: 290px;
    height: calc(100% - 560px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 20px;
}

.logo {
    color: #4285f4;
    font: 84px/84px 'Product Sans', Arial, sans-serif;
    height: 84px;
    position: relative;
    width: auto;
    white-space: nowrap;
    letter-spacing: -3px;
}

.logo span {
    position: relative;
    display: inline-block;
    margin-left: -2.5px;
}

/* Search box styles */
.search-container {
    width: 100%;
    max-width: 584px;
    padding: 0 20px;
    margin: 0 auto;
}

.search-box {
    background: #fff;
    display: flex;
    border: 1px solid #dfe1e5;
    box-shadow: none;
    border-radius: 24px;
    height: 44px;
    margin: 0 auto;
    width: 100%;
    max-width: 584px;
    align-items: center;
    padding: 5px 8px 0 14px;
}

.search-box:hover,
.search-box:focus-within {
    background-color: #fff;
    box-shadow: 0 1px 6px rgb(32 33 36 / 28%);
    border-color: rgba(223,225,229,0);
}

.search-input {
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
    color: rgba(0,0,0,.87);
    word-wrap: break-word;
    outline: none;
    display: flex;
    flex: 100%;
    height: 34px;
    font-size: 16px;
    margin: 0 0 0 13px;
}

.search-icon {
    margin: auto;
    height: 20px;
    width: 20px;
    color: #9aa0a6;
    flex-shrink: 0;
}

.mic-icon,
.camera-icon {
    cursor: pointer;
    padding: 0 8px;
    height: 24px;
    width: 24px;
    flex-shrink: 0;
}

.search-buttons {
    text-align: center;
    padding-top: 18px;
    height: 88px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
}

.search-buttons button {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-family: arial,sans-serif;
    font-size: 14px;
    padding: 0 16px;
    height: 36px;
    min-width: 54px;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.search-buttons button:hover {
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
    background-color: #f8f9fa;
    border: 1px solid #dadce0;
    color: #202124;
}

.languages {
    color: #4d5156;
    display: inline-block;
    line-height: 28px;
    text-align: center;
    font-size: 13px;
    margin-top: 8px;
}

.languages a {
    color: #1a0dab;
    text-decoration: none;
    padding: 0 3px;
}

.languages a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #f2f2f2;
    flex-shrink: 0;
    width: 100%;
}

.footer-bottom {
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-left,
.footer-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

footer a {
    color: #70757a;
    display: block;
    padding: 15px;
    white-space: nowrap;
    font-size: 14px;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .footer-bottom {
        justify-content: space-evenly;
    }
}

@media (max-width: 400px) {
    .logo-container {
        min-height: 150px;
        margin-bottom: 10px;
    }
}
