:root {
    --color-bg: #ffffff;
    --color-muted: #5f6368;
    --color-border: #dfe1e5;
    --color-button-bg: #f8f9fa;
    --color-button-border: #dadce0;
    --color-text: #202124;

    --shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    --radius-pill: 999px;
    --radius-btn: 4px;

    --font-family: Arial, sans-serif;
    --max-width: 768px;
}

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

body {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100vh;
    font-family: var(--font-family);
    color: var(--color-text);
    background: linear-gradient(var(--color-bg) 0%, #fafafa 60%);
    overflow-x: hidden;
}

.contain {
    width: 768px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.header {
    display: flex;
    justify-content: end;
    align-items: end;
}

.nav {
    display: flex;
    justify-content: end;
    gap: 20px;
    padding: 18px 24px;
    align-items: end;
    width: 1024px;
}

.image {
    cursor: pointer;
}

.mail {
    cursor: pointer;
}

.mail :hover {
    background: rgb(173, 173, 173);
}

.main {
    min-height: calc(25vh - 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    gap: 28px;
}

.logo-text {
    font-size: 4rem;
    font-weight: bold;
    font-family: "Product Sans", Arial, sans-serif;
    letter-spacing: -2px;
}

.logo-text .g {
    color: #4285F4;
}

.logo-text .o1 {
    color: #EA4335;
}

.logo-text .o2 {
    color: #FBBC05;
}

.logo-text .g2 {
    color: #4285F4;
}

.logo-text .l {
    color: #34A853;
}

.logo-text .e {
    color: #EA4335;
}

.search {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: var(--max-width);
    padding: 0 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 12px 18px;
    width: 600px;
}

.search-bar:focus-within {
    border: 1px solid #4285F4;
    box-shadow: 0 0 5px rgba(66, 133, 244, 0.5);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.search-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}


.btn {
    border: 1px solid var(--color-button-border);
    background: #f0f1f6;
    width: 11em;
    height: 2em;
    cursor: pointer;
    font-size: 0.95rem;
    color: oklch(0% 0 0);
    transition: all 0.2s ease;
    border-radius: 20px;
    font-weight: bold;
}

.btn:hover {
    background: #f5f6f7;
    color: #34A853;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: black;
    font-size: 0.9rem;
    margin-top: 2em;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    color: black
}

@media (max-width: 768px) {
    .nav {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .main {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .contain {
        width: 100%;
    }

    .footer {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .search-bar {
        width: 100%;
    }
}

@media (max-width: 325px) {
    .btn {
        font-size: 0.80rem;
        width: 125px;
    }

    .search-bar {
        width: 100%;
    }

}

@media (max-width: 375px) {
    .btn {
        font-size: 0.7rem;
        width: 120px;
    }

    .search-bar {
        width: 100%;
    }

}
