body {
    font-family: Arial, sans-serif;
    background-color: #313338;
    margin: 0;
    padding: 0;
}

header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background-color: #1e1f22;
    padding: 10px;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

#logo {
    width: 50px;
    height: 50px;
    margin-left: 10px;
}

@media (max-width: 600px) {
    #logo {
        display: none;
    }

    #searchbar {
        margin-left: 10px;
    }

}

#searchbar {
    display: flex;
    justify-content: center;
}

header input {
    padding: 10px;
    width: 40vw;   
    border: 0;
    border-radius: 5px;
}

header input:focus {
    outline: none;
}

header button {
    padding: 10px 15px;
    margin-left: -9px;
    border: none;
    background-color: #64ffda;
    color: #0f0f11;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s;
}

#search-type {
    padding: 10px;
    margin-right: 10px;
    border: none;
    background-color: #64ffda;
    color: #0f0f11;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
    outline: none;
    text-align: center;
}

#search-type option {
    background-color: #0f0f11;
    color: #64ffda;
    text-align: left;
}

header button:hover {
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 65px auto 0;
    padding: 20px;
}

#error {
    text-align: center;
    font-size: 1.5rem;
    color: #64ffda;
}

#results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#spinner {
    display: none;
    margin: 0 auto;
    border: 3px solid #1e1f22;
    border-top: 3px solid #64ffda;
    border-radius: 50%;
    width: 9px;
    height: 9px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 77px;
    right: 7px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body::-webkit-scrollbar {
    display: none;
}