/* Header */

#menuCheck,
#hamburgerMenuIcon {
    display: none;
}

header {
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 105px;
    width: 100%;
    backdrop-filter: blur(4px);
    transition: all ease .3s;
    z-index: 999;
}

.scrollDown {
    height: 85px;
    box-shadow: 0px 0px 15px 0px rgb(206, 206, 206);
    background-color: rgb(255, 255, 255);
}

header nav {
    display: flex;
    min-width: 1140px;
    align-items: center;
    margin: auto;
    justify-content: space-between;
}

.logo {
    margin: 0;
    width: 138px;
    height: 63px;
    background-image: url(../assets/logo.svg);
    background-size: 138px;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
    cursor: pointer;
}

.logo>a {
    padding: 35px 0px 35px 200px;
}

.menuItems {
    display: flex;
    gap: 36px;
}

.menuItems li {
    list-style-type: none;
    display: flex;
    align-items: center;
}

.menuItems li a {
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all ease .3s;
    position: relative;
}

.menuItems li a:hover {
    color: #000000;
}

.menuItems li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    margin-bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #dd71c6;
    transform: scaleX(0);
    transform-origin: center;
    transition: all 0.3s ease-in-out;
}

.menuItems li a:hover::before {
    transform: scaleX(1);
    transform-origin: center;
}


@media (max-width: 1200px) {
    header {
        height: 106px;
        background-color: white;
    }

    header nav {
        min-width: 84%;
        z-index: 999;
    }

    #menuCheck,
    #hamburgerMenuIcon {
        display: block;
    }

    /* Menu closed */
    .menuItems {
        display: block;
        position: absolute;
        width: 100%;
        top: 80px;
        left: 0;
        background-color: white;
        margin: 0;
        padding: 0;

        opacity: 0;
        pointer-events: none;
        transition: all ease .3s;
    }

    .menuItems>li {
        justify-content: center;
        padding: 12px;
        box-sizing: border-box;
    }

    .menuItems>li a {
        font-weight: 600;
    }

    .hamburgerMenuIcon {
        width: 25px;
        padding: 10px 6px;
    }

    .hamburgerMenuIcon div,
    .hamburgerMenuIcon div::before,
    .hamburgerMenuIcon div::after {
        content: '';
        display: block;
        background-color: #dd71c6;
        position: absolute;
        height: 1.95px;
        width: 25px;
        transition: transform 400ms ease;
    }

    .hamburgerMenuIcon div::before {
        margin-top: -7.9px;
    }

    .hamburgerMenuIcon div::after {
        margin-top: 7.9px;
    }

    /* Menu opened */
    .menuItemsOpen {
        top: 100px;
        opacity: 1;
        pointer-events: initial;
    }

    .hamburgerMenuOpen div::before {
        margin-top: 0px;
        transform: rotate(45deg);
        visibility: visible;
    }

    .hamburgerMenuOpen div {
        visibility: hidden;
    }

    .hamburgerMenuOpen div::after {
        margin-top: 0px;
        transform: rotate(-45deg);
        visibility: visible;
    }


}

@media (max-width: 820px) {
    header nav {
        min-width: 655px;
    }
}
@media (max-width: 720px) {
    header nav {
        min-width: 90%;
    }
}

@media (max-width: 675px) {
    header {
        height: 76px;
        padding: 0 20px;
        box-sizing: border-box;
        background-color: transparent;
        backdrop-filter: blur(0);
    }

    header nav {
        min-width: 100%;
    }

    .logo {
        width: 89px;
        height: 40px;
        background-size: 89px;
    }

    .menuItems {
        top: 60px;
    }

    .menuItemsOpen {
        top: 70px;
    }
}