/*? Base styling for all pages*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

* {
    margin: 0px;
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #383838;
    color: white;
}


header {
    background-color: #e04444;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    width: auto;
}

nav {
    display: flex;
    align-items: center;
}

.logo1 {
    padding: 25px;
    margin-left: 150px;
}

.a-logo {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-header {
    width: 40px;
    height: 40px;
    color: white;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.account-header:hover {
    background-color: #c52020;
}

.account-dropdown {
    position: relative;
    display: inline-block;
}

.account-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #2E2E2E;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    border-radius: 8px;
    margin-top: 8px;
}

.account-dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #444;
}

.account-dropdown-content a:last-child {
    border-bottom: none;
}

.account-dropdown-content a:hover {
    background-color: #e04444;
    border-radius: 8px;
    color: #fff;
}

.tooltip-span{
    color: #888; 
    font-size: 0.9em;
}

.account-dropdown-content a:hover .tooltip-span {
    color: #535353;
}

.favicon-tooltip{
    margin-right: 10px;
}

.account-dropdown:hover .account-dropdown-content,
.account-dropdown:focus-within .account-dropdown-content {
    display: block;
}

.nav-form {
    padding: 30px 70px 30px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 10px; */
    margin-right: 130px;
}

.form-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.header-search-input {
    background-color: #3f3f3f;
    border: 1px solid #252525;
    border-right: none;
    padding: 7px;
    font-size: 15px;
    margin-right: -1px;
    border-radius: 4px 0 0 4px;
    color: #fff;
}

.header-search-input::placeholder {
    color: #969696;
}

.header-search-input:focus {
    outline: none;
}

.header-btn {
    border: 1px solid #252525;
    background-color: #3f3f3f;
    color: #e04444;
    border-left: none;
    padding: 7px;
    font-size: 15px;
    margin: 0;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.header-btn:active {
    color: black;
}

section {
    padding: 50px 100px;
    flex-grow: 1;
}

footer {
    width: 100%;
    float: left;
    background-color: #2E2E2E;
    flex-shrink: 0;
}

.footer-content{
    width: 80%;
    margin: auto;
}

.footer1, .footer2{
    float: left;
    margin: 20px 2%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer1{
    width: 30%;
}

.footer2{
    width: 62%;
}

.footer1 > h2{
    margin-left: -35px;
}

.footer-ul-categories > li{
    list-style-type: none;
    margin: 15px;
    float: left;
}

.footer-ul-categories a{
    color: #e04444;
}

.footer-ul-categories a:hover{
    color: #b01c1c;
}

#index-form,
#results-form {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 10px 0;
}

#index-form-input {
    background-color: #3f3f3f;
    border: 1px solid #252525;
    border-right: none;
    padding: 15px;
    font-size: 17px;
    margin-right: -1px;
    border-radius: 4px 0 0 4px;
    color: #fff;
    width: 70%;
}

#index-form-input::placeholder {
    color: #969696;
}

#index-form-input:focus {
    outline: none;
}

#index-form-btn {
    border: 1px solid #252525;
    background-color: #3f3f3f;
    color: #e04444;
    border-left: none;
    padding: 15px;
    font-size: 17px;
    margin: 0;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

#index-form-btn:active {
    color: #000;
}

@media (max-width: 1000px) {
    .form-header{
        display: none;
    }

    .nav-form {
        padding: 30px 0;
        margin-right: 100px;
    }
}

@media (max-width: 899px) {
    section {
        padding: 50px 0;
    }

    .footer-ul-categories > li{
        float: none;
        margin-left: -30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .form-header{
        display: none;
    }

    .logo1 {
        padding: 25px 0;
        margin-left: 50px;
    }

    .footer1, .footer2{
        width: 100%;
        margin: 10px;
    }

    .footer-ul-categories{
        padding: 0;
    }

    .account-header{
        margin: 0;
    }

    .nav-form {
        padding: 30px 0;
        margin-right: 50px;
    }

    section{
        padding: 30px;
    }
}

@media (max-width: 450px) {
    .logo1{
        margin-left: 20px;
    }

    .nav-form{
        margin-right: 20px;
    }
}