* {
    font-family: 'Roboto', Helvetica, sans-serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}


.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.container4 {
    margin: 0;
    display: flex;
    position: relative;
    background-color: white;
    z-index: 999;
    margin-bottom: 10px;
    border-radius: 5px
}

.logo-container4 {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav2-btn2 {
    flex: 3;
    display: flex;
 
}

.nav2-links {
    flex: 2;
}

.log-sign {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}


.btn2 {
    display: inline-block;
    padding: .5rem 1.3rem;
    font-size: .8rem;
    border: 2px solid #fff;
    border-radius: 2rem;
    line-height: 1;
    margin: 0 .2rem;
    transition: .3s;
    text-transform: uppercase;
}

    .btn2.solid, .btn2.transparent:hover {
        background-color: #fff;
        color: #fff;
    }

        .btn2.transparent, .btn2.solid:hover {
            background-color: transparent;
            color: #fff;
        }

.nav2-links > ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav2-link {
    position: relative;
    margin-left: 5px;
    margin-right: 5px;
}

    .nav2-link > a {
        line-height: 3rem;
        color: #0f0f0f;
        padding: 0 .3rem;
        letter-spacing: 1px;
        font-size: .83rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: .5s;
    }

        .nav2-link > a > i {
            margin-left: .2rem;
        }

    .nav2-link:hover > a {
        transform: scale(1.1);
    }

.dropdown2 {
    position: absolute;
    top: 100%;
    left: -40px;
    width: 15rem;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: .5s;
}

    .dropdown2 ul {
        position: relative;
    }

.dropdown2-link > a {
    display: flex;
    background-color: #fff;
    color: #0f0f0f;
    padding: .5rem 1rem;
    font-size: .9rem;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
}

.dropdown2-link:hover > a {
    background-color: #ea3166;
    color: #fff !important;
}

.dropdown2-link:not(:nth-last-child(2)) {
    border-bottom: 1px solid #eaeaea;
}

.dropdown2-link i {
    transform: rotate(-90deg);
}


.dropdown2-link {
    position: relative;
}

.dropdown2.second2 {
    top: 0;
    left: 95%;
    padding-left: .8rem;
    cursor: pointer;
    transform: translateX(10px);
}

    .dropdown2.second2 .arrow {
        top: 10px;
        left: -5.5px;
    }

.nav2-link:hover > .dropdown2,
.dropdown2-link:hover > .dropdown2 {
    transform: translate(0, 0);
    opacity: 1;
    pointer-events: auto;
}

.hamburger-menu-container4 {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

    .hamburger-menu div {
        width: 1.6rem;
        height: 3px;
        border-radius: 3px;
        background-color: #0f0f0f;
        position: relative;
        z-index: 1001;
        transition: .5s;
        margin-right:7px;
    }

        .hamburger-menu div:before,
        .hamburger-menu div:after {
            content: '';
            position: absolute;
            width: inherit;
            height: inherit;
            background-color: #0f0f0f;
            border-radius: 3px;
            transition: .5s;
        }

        .hamburger-menu div:before {
            transform: translateY(-7px);
        }

        .hamburger-menu div:after {
            transform: translateY(7px);
        }

#prod {
    margin-top: 10px;
    position: absolute;
    top: 50%;
    right: 5rem;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    z-index: 90000;
    display: none;
    font-weight:bold
}

#check {
    position: absolute;
    top: 50%;
    right: 0rem;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    z-index: 90000;
    cursor: pointer;
    opacity: 0;
    display: none;
}


    #check:checked ~ .hamburger-menu-container4 .hamburger-menu div {
        background-color: transparent;
    }

        #check:checked ~ .hamburger-menu-container4 .hamburger-menu div:before {
            transform: translateY(0) rotate(-45deg);
        }

        #check:checked ~ .hamburger-menu-container4 .hamburger-menu div:after {
            transform: translateY(0) rotate(45deg);
        }

@keyframes animation {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

@media (max-width: 915px) {

    .hamburger-menu-container4 {
        display: flex;
    }

    #check {
        display: block;
    }

    #prod {
        display: block;
    }

    .nav2-btn2 {
        position: fixed;
        height: calc(100vh - 3rem);
        /*top: 12%;*/
        margin-top:50px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        overflow-x: hidden;
        overflow-y: auto;
        transform: translateX(100%);
        transition: .65s;
        color: #0f0f0f;
    }

    #check:checked ~ .nav2-btn2 {
        transform: translateX(0);
    
    }


        #check:checked ~ .nav2-btn2 .nav2-link,
        #check:checked ~ .nav2-btn2 .log-sign {
            animation: animation .5s ease forwards var(--i);
        }

    .nav2-links {
        flex: initial;
        width: 100%;
    }

        .nav2-links > ul {
            flex-direction: column;
            padding-inline-start: 0;
        }

    .nav2-link {
        width: 100%;
        opacity: 0;
        transform: translateY(15px);
        border-bottom: 1px solid #eaeaea;
    }

        .nav2-link > a {
            line-height: 1;
            padding: 1.6rem 2rem;
        }

        .nav2-link:hover > a {
            transform: scale(1);
            background-color: #fff;
            color: #000;
        }

    .dropdown2, .dropdown2.second2 {
        position: initial;
        top: initial;
        left: initial;
        transform: initial;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        padding: 0;
        background-color: #fff;
        display: none;
    }

        .nav2-link:hover > .dropdown2,
        .dropdown2-link:hover > .dropdown2 {
            display: block;
        }


    .nav2-link:hover > a > i,
    .dropdown2-link:hover > a > i {
        transform: rotate(360deg);
    }

    .dropdown2-link > a {
        background-color: transparent;
        color: #000;
        padding: 1.2rem 2rem;
        line-height: 1;
    }

    .dropdown2.second2 .dropdown2-link > a {
        padding: 1.2rem 2rem 1.2rem 3rem;
    }

    .dropdown2.second2 .dropdown2.second2 .dropdown2-link > a {
        padding: 1.2rem 2rem 1.2rem 4rem;
    }

    /*
    .dropdown2-link:not(:nth-last-child(2)) {
        border-bottom: none;
    } */

    .arrow {
        z-index: 1;
        background-color: #fff;
        left: 10%;
        transform: scale(1.1) rotate(45deg);
        transition: .5s;
    }

    .nav2-link:hover .arrow {
        background-color: #ea3166;
    }

    .dropdown2 .dropdown2 .arrow {
        display: none;
    }

    .dropdown2-link:hover > a {
        background-color: #f44577;
    }

    .dropdown2-link:first-child:hover ~ .arrow {
        background-color: #ea3166;
    } 

    .nav2-link > a > i {
        font-size: 1.1rem;
        transform: rotate(-90deg);
        transition: .7s;
    }

    .dropdown2 i {
        font-size: 1rem;
        transition: .7s;
    }

    .log-sign {
        flex: initial;
        width: 100%;
        padding: 1.5rem 1.9rem;
        justify-content: flex-start;
        opacity: 0;
        transform: translateY(15px);
    }
}
