body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    color: #202124;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
    min-height: 400px;
}

h1 {
    font-size: 75px;
    font-family: 'Times New Roman', serif;
    color: #4285F4;
    margin-bottom: 20px;
}

html, body {
    overflow-x: hidden;
}

.search-container {
    width: 100%;
    max-width: 584px;
    padding: 0 20px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.circle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 1px solid #dfe1e5;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
}

.circle-btn:hover {
    box-shadow: 0 1px 6px rgba(32,33,34,.28);
    border-color: #dadce0;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    font-size: 16px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    outline: none;
    transition: box-shadow 0.2s ease;
}

.search-input:hover {
    box-shadow: 0 1px 6px rgba(32,33,34,.28);
}
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 20px;
    background-color: #f2f2f2;
    border-top: 1px solid #e4e4e4;
    width: 100%;
    box-sizing: border-box;
    font-family: arial, sans-serif;
    font-size: 13px;
    color: #70757a;
    margin-top: auto;
}

.left-footer-objects,
.right-footer-objects {
    display: flex;
    gap: 40px;
    align-items: center;
}

footer a {
    color: #70757a;
    text-decoration: none;
}

footer a:hover {
    border-bottom: 1px solid #000;
}

.random {
    background: none;
    border: 1px solid #dadce0;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    color: #70757a;
}

.random:hover {
    box-shadow: 0 10px 10px rgba(32,33,34,.28);
    border-color: #dadce0;
}

.results-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: left;
    margin-top: 20px;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    font-size: 14px;
    color: #70757a;
    margin-bottom: 20px;
    padding-left: 10px;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-item {
    margin-bottom: 10px;
}

.result-item h3 {
    margin: 0;
    font-size: 20px;
    color: #1a0dab;
}

.result-item h3 a {
    color: #1a0dab;
    text-decoration: none;
}

.result-item h3 a:hover {
    text-decoration: underline;
}

.result-url {
    color: #006621;
    font-size: 14px;
    margin: 5px 0;
}

.result-description {
    color: #545454;
    font-size: 14px;
    margin: 5px 0;
    line-height: 1.6;
}

.result-tags {
    color: #70757a;
    font-size: 12px;
    margin: 5px 0;
}