/* START Header */
#header {
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
    z-index: 1;
}

#desktop-support-button:hover,
#submit-creations-button:hover,
#cc-manager-menu-link:hover,
#collections-menu-nav > a:hover,
.support-link:hover,
.sims-game-subcategory-header:hover,
.subnav-column > a:hover,
.top-nav-option-styling > a:hover,
.sims-sub-category-active > a:hover,
.top-nav-option-selected > a
{
    color: #9B51E0 !important;
}

#desktop-support-button,
#submit-creations-button,
#cc-manager-menu-link,
#collections-menu-nav > a,
.nav-menu,
.nav-section-title,
.sims-game-subcategory-header,
.support-link,
.subnav-column > a,
.top-nav-option-styling > a,
.sims-sub-category-active > a
{
    text-decoration: none;
    color: #2E3C54;
    font-size: 13px;
    font-weight: 600;
}

.sims-game-subcategory-header:hover, .sims-selected
{
    border-bottom-color: #9B51E0 !important;
}

#nav-left-group {
    display: flex;
}
.menu-wrapper {
    display: flex;
}
.menu-content {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
}
.tsr-logo {
    display: block;
}
.transform-arrow-up {
    transform: rotate(180deg);
}
.transform-arrow-right {
    transform: rotate(270deg);
}
.transform-arrow-left {
    transform: rotate(90deg);
}
.nav-section-title {
    font-weight: 600;
    text-decoration: underline;
}
.features {
    display: flex;
    flex-direction: column;
    width: min-content;
    min-height: 335px;
    padding: 20px;
    border-right: 1px solid #dadada;
    box-sizing: border-box;
}
.featured-carousel-container {
    left: 0;
    width: 120px;
    overflow: hidden;
}
.carousel-buttons-container {
    display: flex;
    align-items: center;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-button {
    cursor: pointer;
}
.carousel-button > img {
    width: 14px;
    height: 14px;
}
.carousel-image {
    height: 120px;
    width: 120px;
}

.subnav-tile {
    width: 140px;
    height: 130px;
    display: block;
    justify-content: center;
}

.top-nav-option > a {
    text-decoration: none;
    padding: 0 4px;
    line-height: 34px;
    display: inline-block;
}

#desktop-support-button {
    border: 1px solid #d6e0f5;
    border-radius: 28px;
    padding: 0 4px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: 100px !important;
    line-height: 34px!important;
    height: 34px!important;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}
.support-button-icon {
    height: 20px;
    width: auto;
}

#subcategory-links-container {
    display: inline-block;
    justify-content: center;
    box-sizing: border-box;
}
.sims-sub-category {
    display: none;
}

#subheaders-container {
    display: flex;
}
.sims-game-subcategory-header {
    padding: 8px;
    border-bottom: 1px solid #f0f2f5;
}

.support-link {
    font-size: 13px;
    font-weight: 600;
    line-height: 30px;
    border-bottom: solid 1px #d6e0f5;
    width: 100%;
}

.hexagon {
    height: 22px;
    display: flex;
}
.icon-downarrow
{
    height: 16px;
}
#cc-link-inline-block {
    position: relative;
    height: 100%;
    display: inline-block;
    text-align: center;
}
#cc-link-container {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    text-wrap: nowrap;
}

#join-button {
    background: linear-gradient(to bottom, #4767d5 0%, #b86dfd 100%);
    color: #fff;
    line-height: 34px;
    padding: 0 16px;
    border-radius: 49px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#join-button > img {
    width: 16px;
}

.nav-right-button {
    padding: 0 8px;
    height: 34px;
}

@media (min-width: 1025px){
    #header {
        margin: 0 auto;
    }
    .tsr-logo {
        width: 70px;
        height: auto;
    }
    .underlined {
        border-bottom: 4px solid #fff;
    }
    .underlined:hover {
        border-bottom-color: #00bbb4;
    }
    #nav-right-group {
        margin-right: 20px;
        display: flex;
        gap: 20px;
        align-items: center;
    }
    #mobile-support-button,
    #mobile-menu-button-container,
    .mobile-nav-arrow-container {
        display: none;
    }
    .carousel-button {
        background-color: #FFFFFF;
        border: none;
    }
    #support-list {
        visibility: hidden;
        border-radius: 10px;
        padding: 15px;
        width: 247px;
        box-shadow: 0 7px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 14px -4px rgba(0, 0, 0, 0.19);
        display: none;
        flex-direction: column;
    }
    #support-list.opened {
        display: flex;
        visibility: visible;
        position: absolute;
        top: 100%;
        z-index: 100;
        width: 200px;
        right: 20px;
        margin-top: 5px;
        border-radius: 10px;
        background-color: #fff;
    }
    #submit-creations-button {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 4px;
        border: 1px solid #e6d4f5;
        border-radius: 5px;
    }
    .menu-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #top-nav-container {
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .top-nav-option {
        padding: 0 20px;
        height: 100%;
        box-sizing: border-box;
        align-content: center;
    }

    .top-nav-option:hover > .dropdown-container {
        display: flex;
        flex-direction: row;
    }
    .dropdown-container {
        position: absolute;
        display: none;
        max-width: 1000px;
        min-width: 675px;
        left: 0;
        top: 100%;
        overflow: hidden;
        background: #fff;
        border-radius: 0 0 10px 10px;
        border-top: none;
        box-shadow: 0 7px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 14px -4px rgba(0, 0, 0, 0.19);
        z-index: 10;
        margin-left: 70px;
        text-decoration: none;
    }
    .download-nav {
        display: flex;
        flex-direction: column;
        position: relative;
        margin: 20px;
    }
    .sims-game-subcategory-header {
        width: 70px;
        text-align: center;
    }
    .sims-sub-category-active, #collections-menu-nav {
        display: block;
        visibility: visible;
        column-count: 3;
        column-gap: 12px;
        column-width: 60px;
        height: 360px;
    }
    #collections-menu-nav {
        display: inline-block;
        margin: 20px;
    }
    .sims-sub-category-active > a,
    #collections-menu-nav > a
    {
        display: block;
        padding-top: 10px;
        width: 160px;
    }
    .subnav-container {
        display: flex;
        flex-direction: row;
        gap: 80px;
        margin: 20px;
    }
    .subnav-column {
        display: flex;
        flex-direction: column;
        width: 150px;
    }
    .subnav-column > a
    {
        display: block;
        padding-top: 10px;
        width: 100%;
        white-space: nowrap;
    }
    #subcategory-links-container {
        padding: 20px 16px;
    }
    .featured-partnerships {
        padding: 0 20px
    }
}

@media (max-width: 1024px) {
    body {
        width: 100%;
        right: unset;
    }

    #top-nav-container,
    #desktop-submissions-button,
    #submit-creations-button,
    #desktop-support-button,
    .features,
    .dropdown-container {
        display: none;
    }

    #top-nav-container.opened,
    .subnav-column,
    .download-nav {
        display: flex;
        flex-direction: column;
    }

    .menu-content {
        height: 54px;
    }

    #mobile-menu-button-container {
        padding: 8px;
        display: flex;
        align-items: center;
    }

    #mobile-menu-button {
        height: 12px;
        width: 18px;
    }

    .tsr-logo {
        height: 54px;
        width: auto;
    }

    /* SUPPORT */
    #nav-right-group {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    #mobile-support-button {
        border: none;
        padding: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #support-list {
        visibility: hidden;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 7px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 14px -4px rgba(0, 0, 0, 0.19);
        display: none;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
    }
    #support-list.opened {
        display: flex;
        visibility: visible;
        position: absolute;
        right:0;
        top: 100%;
        z-index: 100;
        margin-top: 5px;
        border-radius: 10px;
        background-color: #fff;
        gap: 10px;
    }

    /*  NAV  */
    #top-nav-container.opened {
        box-sizing: border-box;
        width: 100%;
        background-color: #FFFFFF;
        opacity: 1;
        z-index: 100;
        position: absolute;
        margin-top: 4px;
        top: 100%;
    }
    .top-nav-option {
        box-sizing: border-box;
        padding: 10px 20px;
        border-bottom: solid 1px #d6e0f5;
        width: 100%;
    }
    .mobile-disabled-link {
        pointer-events: none;
    }
    .mobile-nav-arrow-size {
        width: 16px;
    }
    .top-nav-option-styling, .blog-link {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .dropdown-container.opened {
        width: 100%;
        background-color: #FFFFFF;
        display: flex;
        flex-direction: column;
    }
    .sims-sub-category-active, #collections-menu-nav {
        display: block;
        visibility: visible;
        column-count: 2;
        column-gap: 40px;
    }
    .sims-sub-category-active > a,
    #collections-menu-nav > a {
        display: block;
        padding-top: 10px;
        width: 150px;
        white-space: nowrap;
        text-wrap: wrap;
    }
    #subcategory-links-container {
        height: 420px;
        padding: 16px;
    }
    #subheaders-container {
        margin-top: 16px;
    }
    #collections-menu-nav {
        display: inline-block;
        margin: 20px 0;
    }
    .subnav-container {
        display: flex;
        flex-direction: row;
        gap: 80px;
        margin: 20px 0;
    }
    .subnav-column {
        width: 150px;
    }
    .subnav-column > a
    {
        display: block;
        padding-top: 10px;
        width: 100%;
    }
    .sims-selected {
        color: #9B51E0;
    }
}
/* END Header */
