:root {
    --header-height: 114px;
    --header-top-height: 71px;
    --header-bottom-height: 49px;
    --header-padding: 44px;
}


header {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: 'Quicksand';
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 2;
    background: white;
    box-sizing: border-box;
    

}

header.dark {
    background: #ffffff1c;
    /* border-bottom: 1px solid #ffffff12; */
}



header button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

header .buttons-logged-out {
    display: flex;
    align-items: center;
    gap: 41px;
    font-size: 15.4px;
    color: #000000eb;
    list-style: none;
    
}

header .buttons-logged-out li {
    white-space: nowrap;
}

header.dark .buttons-logged-out {
    color: white;
}

header .buttons-logged-in {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 66px;
    height: 34px;
    /* position: relative; */
    padding: inherit;
    padding-left: 0px;
}

header .buttons-logged-in #new-ad {
    border-radius: 5px;
    background: #7e00ff;
    padding: 7px 17px;
    color: white;
    border-radius: inherit;
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

header.dark #new-ad {
    background: #dc0063;
    background: #00ffe3;
    color: white;
    color: #000000e6;
    /* border: 2px solid #ffffffad; */
    font-weight: 600;
}

header .buttons-logged-in .icon-buttons {
    display: flex;
    justify-content: center;
    gap: 3px;
    height: 100%;
}


header .buttons-logged-in .icon-buttons button {
    height: 100%;
    width: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
}



header .buttons-logged-in #user .img-container {
    opacity: 81%;
    background: #00000017;
}

header.dark .buttons-logged-in .icon-buttons button {
    opacity: unset;
    background: #ffffff24;
}

header.dark .buttons-logged-in #user .img-container {
    background: #0000008f;
}

header #messages {
    position: relative;
    
}

header #messages img {
    width: 24px;
    position: relative;
    top: 0px;
}


header #messages > .notification {
    display: flex;
    display: none;
    position: absolute;
    background: red;
    color: white;
    width: 19px;
    height: 19px;
    border-radius: 33px;
    top: -4px;
    right: -1px;
    font-weight: 800;
    font-size: 14px;
    justify-content: center;
    align-items: center;
}

header #notifications {
    position: relative;
}

header #notification-window {
    visibility: hidden;
    position: absolute;
    width: 541px;
    left: 50%;
    top: calc(100% + 28px);
    transform: translateX(-50%);
    background: white;
    z-index: 3;
    box-shadow: 0px 0px 16px 0px #00000030;
    border-radius: 10px;
}

header #notification-window ul {
    display: flex;
    flex-direction: column;
}

header #notification-window li {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    border-top: 1px solid #00000014;
    /* line-height: 21px; */
    letter-spacing: 0.3px;
}

header .notification > div {
    
}

header .notification .heading {
    display: block;
    font-size: 16px;
    margin-bottom: 7px;
    font-weight: 700;
}

header .notification p {
    font-size: 15px;
    color: #000000ad;
    line-height: 23px;
}
    

header #notification-window .topbar {
    text-align: center;
    padding: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-size: 16px;
}

header #notifications button img {
    width: 31px;
} 


header .notification img {
    width: 56px;
    aspect-ratio: 4/4;
    object-fit: cover;
    position: relative;
    top: 1px;
    border-radius: 33px;
}

header #likes img {
    width: 24px;
    position: relative;
    top: 0px;
}

header.dark img {
    filter: invert(100%);
    opacity: 96%;
}

header .buttons-logged-in #user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: inherit;
    height: 100%;
    position: relative;
    font-weight: 600;
    border: 1px solid #0000004a;
    border-radius: inherit;
    padding: 4px;
    padding-right: 15px;
    color: #000000b8;
    box-sizing: border-box;
    font-size: inherit;
}

header.dark .buttons-logged-in #user {
    color: white;
    border: none;
    background: #ffffff29;
    /* border-radius: 5px; */
    /* height: calc(100% + 2px); */
    border: 1px solid #ffffff40;
}

header .buttons-logged-in #user span {
}

header .buttons-logged-in #user .img-container {
    height: 100%;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

header #user img {
    width: 18px;
}

header #user {
    /* margin-left: 30px; */
}


header nav {
    
    padding-bottom: 0px;
    padding-top: 0px;
}


header .bottom-nav > ul {
    display: flex;
    gap: 43px;
    list-style: none;
    padding: 0;
    align-items: center;
    height: 100%;
    gap: 17px;
    /* overflow: auto; */
}

header .bottom-nav > ul > li {
    display: flex;
    align-items: center;
    height: 62%;
    /* padding: 0px 14px; */
    border-radius: 7px;
    cursor: pointer;
    flex-shrink: 0;
}

header .bottom-nav > ul > li a {
    padding: 0px 14px;
    height: 100%;
    display: flex;
    align-items: center;
}

header .bottom-nav > ul > li:hover {
    background: #0000000f;
}

header a {
    text-decoration: none;
    color: inherit;
}

header .logo-container {
    /* color: white; */
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 31px;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-family: Story Script;
    /* font-family: DynaPuff; */
    /* font-size: 30px; */
    position: absolute;
    left: 0px;
    padding: inherit;
}


header .logo-container img {
    width: 120px;
}

header input[type="search"] {
    width: 100%;
    height: 39px;
    padding-left: 45px;
    padding-right: 12px;
    font-size: 15px;
    left: 50%;
    flex-grow: 1;
    border: none;
    border-radius: 9px;
    background: #f1f1f1;
    color: black;
    font-family: inherit;
    font-weight: 500;
    outline: 0;
}

header.dark input[type="search"] {
    background: transparent;
    color: #ffffffde;
    border: 1px solid #ffffff70;
    border-radius: 36px;
    text-indent: 20px;
    background: white;
    outline-color: transparent;
    color: rgba(0, 0, 0, 0.822);
}

header.dark input[type="search"] {
    font-weight: 600;
}

header .top-nav form {
    width: 437px;
    margin-right: 16px;
    position: relative;
}

header .top-nav form > img {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 27px;
    pointer-events: none;
    opacity: 80%;
}

header input[type="search"]::placeholder {
    color: #000000bc;
}

header.dark input[type="search"]::placeholder { /* Chrome/Safari/Opera */
    color: rgba(0, 0, 0, 0.822);
    opacity: 1;
    
}





header .top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: var(--header-top-height);
    font-weight: 600;
    flex-shrink: 0;
    box-sizing: border-box;
    box-shadow: 0px 0px 15px 0px #00000021;
    padding: 0px var(--header-padding);
}

header .buttons-logged-in .container-2 {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 34px;
    border-radius: 28px;
    letter-spacing: 0.6px;
    font-size: 15px;
    
}


header .buttons-logged-out, header .buttons-logged-in .container-2 {

    position: absolute;
    right: 0px;
    padding: inherit;

}

header .buttons-logged-in .container-2 a {
    height: 100%;
    border-radius: inherit;
    flex-shrink: 0;
}

header .top-nav, header .bottom-nav {
    border-bottom: 1px solid #00000017;
}

header.dark nav.top-nav {
    border-color: black;
}

header .bottom-nav {
    height: var(--header-bottom-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.3px;
    color: #000000db;
    font-weight: 600;
    box-shadow: 0px 16px 14px -11px #00000017;
    padding: 0px calc(var(--header-padding) - 14px);
}

header .bottom-nav .categories-dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    /* position: relative; */
    user-select: none;
}


.categories-dropdown li ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    font-weight: 600;
    font-size: 15px;
    color: #000000c2;
}

header .categories-dropdown .dropdown > ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0px 63px;
    padding-top: 44px;
    height: 568px;
    width: 1205px;
    /* width: 100%; */
    justify-content: flex-start;
    /* align-items: center; */
    /* align-content: center; */
    background: white;
    /* border: 1px solid #00000042; */
    border-top: none;
    flex-shrink: 0;
    gap: 38px;
    /* box-sizing: border-box; */
}

header .categories-dropdown .dropdown > ul > li {
    margin: 9px 63px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-weight: 900;
    font-size: 19px;
}

header .categories-dropdown .dropdown > ul > li:first-child {}

header .bottom-nav .dropdown {
    visibility: hidden;
    position: absolute;
    left: 0px;
    display: flex;
    top: calc(100% + 1px);
    translate: transformX(-50%);
    width: 100%;
    background: white;
    justify-content: center;
    box-shadow: 0px 3px 18px 0px #00000042;
}

header .bottom-nav .dropdown.visible {
    visibility: visible;
}

.dropdown ul {list-style: none;}


header .bottom-nav .categories-dropdown img {
    width: 22px;
}

header #button-login {
    background: #E91E63;
    padding: 8px 17px;
    color: white;
    font-weight: 700;
    border-radius: 4px;
    font-size: 15px;
}

