:root {
    --primary-color: #4a90e2;
    --background-color: #ffffff;
    --text-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    position: absolute;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    inset: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    justify-content: flex-end;
    transition: all 0.3s ease;
    padding: 2rem;
    width: 80vw;
    height: 100%;
}

.search-input {
    width: 100%;
    max-width: 850px;
    height: auto;
    font-size: 1rem;
    position: relative;
    border-radius: 1rem;
    border: 2px solid #eaeaea;
    padding: 1rem 1.2rem;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.search-input:hover,
.search-input:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px var(--shadow-color);
}

header {
    height: 80%;
    display: flex;
    transition: height 0.3s ease;
}

#logo {
    width: 70%;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

#logo:hover {
    transform: scale(1.02);
}

.logo {
    display: flex;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.show-results header {
    height: 10%;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.show-results .header-container {
    flex-direction: row;
    margin-left: 2.5rem;
}

.show-results .logo {
    margin: 0 1.25rem 0 0;
    width: 115px;
}

#search-input {
    padding: 0;
    width: 300px;
    max-width: 80vw;
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 1rem;
}

.icon.search-icon {
    width: 2.5rem;
    height: 2.5rem;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.icon.search-icon:hover {
    opacity: 1;
}

.icon.search-icon:after {
    content: "";
    background-repeat: no-repeat;
    background-size: 1.2rem;
    background-image: url(search.png);
    background-position: center;
    display: block;
    width: 100%;
    height: 100%;
}

.description {
    font-size: 1.25rem;
    text-align: center;
    color: #555;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid #eaeaea;
}

.footer {
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer a {
    text-decoration: none;
    color: #666;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.myButton {
    background: var(--primary-color);
    border-radius: 0.5rem;
    border: none;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.myButton:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.myButton:active {
    transform: translateY(1px);
}

.agreement {
    width: min(60vw, 800px);
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (min-width: 875px) {
    #content {
        margin-left: 6.25rem;
    }
}

@media (max-width: 420px) {
    .show-results .header-container {
        margin: 0;
        padding: 1rem;
    }

    .show-results .logo {
        width: 80px;
    }

    .show-results #search-input {
        max-width: calc(100vw - 140px);
    }

    .search-input {
        padding: 0.75rem 1rem;
    }
}

iframe {
    margin-top: 1rem;
    width: min(890px, 100%);
    height: 50vh;
    border: none;
    /*border-radius: 0.5rem;*/
    /*box-shadow: 0 2px 8px var(--shadow-color);*/
}