header {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100px;
    padding-left: 90px;
    display: flex;
    align-items: center;
}

select {
    border: none;
    background-color: #fff;
    color: #032d60;
    font-size: 17px;
}

label {
    padding: 30px 20px;
    position: absolute;
    cursor: pointer;
    right: 0;
    top: 0;
}

input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    right: 0;
}

label span {
    width: 20px;
    height: 3px;
    display: block;
    background: #032d60;
    position: relative;
}

label span::after,
label span::before {
    content: "";
    position: absolute;
    display: block;
    background: inherit;
    width: inherit;
    height: inherit;
}

label span::before {
    top: 8px;
}

label span::after {
    bottom: 8px;
}

label::before {
    position: absolute;
    content: "";
    width: 58px;
    height: 49px;
    top: 0;
    right: 0;
}

input[type="checkbox"]:focus+label::before {
    box-shadow: 0 0 20px black;
}

header ul {
    background: #f2f2f2;
}

header ul li {
    list-style: none;
    font-size: 18px;
}

header ul li button {
    font-size: inherit;
    border: none;
    background-color: transparent;
    cursor: pointer;
    width: 100%;
}

header ul li a {
    display: block;
    color: inherit;
    text-decoration: none;
}

header ul li a,
header ul li button {
    padding: 0.7rem 1rem;
    text-align: left;
}

.menus {
    position: absolute;
    top: 8.2rem;
    left: 0;
    right: 0;
    z-index: 99;
    /*  hide dropdown on small screens  */
    visibility: hidden;
    /*  smooth transitioning  */
    transform: translateY(-1em);
    transition: transform ease 0.2s;
}

/* toggle main dropdown */

input[type="checkbox"]:checked~nav>ul {
    visibility: visible;
    transform: translateY(0);
}

.dropdown {
    padding: 2px 1.5rem;
    height: 0;
    overflow: hidden;
    transition: height ease 0.2s;
}

li:focus-within .dropdown {
    height: 135px;
}

.arrow {
    width: 0.5em;
    height: 0.5em;
    display: inline-block;
    vertical-align: middle;
    border-left: 0.15em solid currentColor;
    border-bottom: 0.15em solid currentColor;
    transform: rotate(-45deg);
    margin-left: 0.38em;
    margin-top: -0.25em;
    transition: transform 100ms ease-in-out;
}

li:focus-within>button>.arrow {
    transform: rotate(-225deg);
    margin-top: 4px;
}

.logo {
    margin-left: 0px;
}

/* MEDIA QUERIES  */
@media (min-width: 640px) {

    .header-content {
        display: flex;
    }

    .menus {
        position: static;
        visibility: visible;
        background: #fff;
        display: flex;
        transform: initial;
    }

    label,
    input[type="checkbox"] {
        display: none;
    }

    header ul li {
        position: relative;
        font-size: 18px;
        color: #032d60;
    }

    header ul li button {
        margin-top: 4px;
        color: #032d60;
    }


    header ul li a:hover,
    header ul li button:hover {
        background-color: #f2f2f2;
    }

    .dropdown {
        position: absolute;
        right: auto;
        left: 0;
        box-shadow: 0 10px 15px -3px rgba(46, 41, 51, 0.08),
            0 4px 6px -2px rgba(71, 63, 79, 0.16);
        z-index: 99;
        min-width: 18rem;
        padding: 0;
        background-color: #fff;
        border-radius: 0 0 0.5rem 0.5rem;
    }

    header ul li:hover .dropdown {
        height: 135px;
    }

    header ul li:hover>button>.arrow {
        transform: rotate(-225deg);
        margin-top: 4px;
    }

    header {
        position: absolute;
        left: 0;
        top: 0;
        display: block;
        width: 100%;
        height: 130px;
        padding-left: 350px;
        display: flex;
        align-items: center;
        z-index: 1000;
        background-color: #fff;
    }

    .logo {
        margin-left: 280px;
    }
}