/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    padding: 10px 15px;
}

.header__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    margin: auto;
    max-width: 540px;
}

.header.scrolled-header {
    background: #ffffff;
    box-shadow: 0 3px 10px 0 rgba(38, 59, 94, .1);
}

/* Logo styles */
.header__logo-img {
    width: 75px;
    height: 21px;
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

.scrolled-header .logo-light {
    display: none;
}

.scrolled-header .logo-dark {
    display: block;
}

.header__actions {
    display: flex;
    flex-direction: row;
    align-items: center;

}

/* Dropdown styles */
.header__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    max-height: 0vh;
    overflow: hidden;
    box-shadow: 0 11px 20px 0 rgba(38, 59, 94, .2);
    transition: ease-in-out max-height 0.55s;
}

.header__dropdown-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style-type: none;
    margin: 0;
    overflow-y: auto;
    padding-left: 0px;
}

.dropdown-button {
    display: block;
    cursor: pointer;
    background-color: #ffffff;
    width: 40px;
    height: 40px;
    position: relative;
    margin: 0;
    border-radius: 0;
    padding: 0;
    margin-left: 15px;
    text-align: right;
    border: none;
}

.dropdown-button__icon {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 25px;
    height: 2px;
    margin: auto;
    box-shadow: 0 -8px 0 0 currentColor, 0 8px 0 0 currentColor;
    background: #1d1d33;
    color: #1d1d33;
}

.header__dropdown {
    margin-left: auto;
}

.header__dropdown.show {
    max-height: 80vh;
}

.header__dropdown-item {
    width: 100%;
    border-bottom: 1px solid #e6e6e6;
}

.header__dropdown-item a {
    color: #000000;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    padding: 0 15px;
    line-height: 40px;
    display: block;
    color: #1d1d33;
}

.header__dropdown-item a:hover {
    color: #6adaf7;
}

.scrolled-header .header__dropdown-item a {
    color: #1d1d33;
}

/* Button styles */
.primary-button {
    background-color: #1ab394;
    color: #ffffff;
    border: 3px solid #ffffff;
    border-radius: 0.3125rem;
    font-weight: 600;
    margin-left: 35px;
    transition: ease-in-out background-color 0.55s;
    padding: 0.3rem 1rem;
    font-size: .65rem;
    line-height: 1.5;
}

.primary-button:hover {
    background: #F6A903;
    color: #ffffff;
}

/* Media queries */
@media screen and (min-width: 768px) {
    .header__container {
        max-width: 720px;
    }

    .header__dropdown-item {
        padding: 34px 15px;
    }

    .header__logo-img {
        height: 42px;
        width: 159px;
    }

    .primary-button {
        padding: 0.75rem 1.75rem;
        font-size: 1rem;
    }
}

@media screen and (min-width: 992px) {
    .header {
        padding: 0px;
    }

    .header__container {
        max-width: 960px;
        padding:0px 10px;
    }

    .header__dropdown-item {
        padding: 34px 15px;
        border-bottom: 0;
    }

    .header__dropdown {
        max-height: unset;
        position: relative;
        background: transparent;
        box-shadow: none;
    }

    .header__dropdown-list {
        flex-direction: row;
        padding-left: 0px;
    }

    .dropdown-button {
        display: none;
    }

    .header__dropdown-item a {
        color: #ffffff;
        font-size: 16px;
        font-weight: 600;
        padding: 0px;
    }
}

@media screen and (min-width: 1200px) {
    .header__container {
        max-width: 1140px;
    }
}