HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/Michigan-Care/wp-content/themes/michigan-care/scss/header.scss
@import "partials";
.header-wrap {
    background: #fafcf5;
    padding: 50px 0 50px 0;
    position: absolute;
    inset: 0 0 auto 0;
    @media ($sm-1679) {
        padding: 30px 0;
    }
    @media ($sm-1481) {
        padding: 20px 0;
    }
    @media ($sm-991) {
        padding: 15px 0;
    }
    @media ($sm-767) {
        padding: 20px 24px;
    }
    @media ($sm-579) {
        padding: 20px 24px;
    }
    .col-align {
        align-self: center;
        display: flex;
        justify-content: end;
    }
    .logo-wrap {
        img {
            @media ($sm-1679) { 
                max-width: 240px;
            }
            @media ($sm-1481) {
                max-width: 230px;
            }
            @media ($sm-991) {
                max-width: 200px;
            }
            @media ($sm-767) {
                max-width: 193px;
            }
        }
    }
    .menu-btn-wrap {
        display: flex;
        align-items: center;
        transition: all 0.5s;
        @media ($sm-991) {
            width: 0;
            overflow: auto;
            right: -300px;
            position: fixed;
            background: #fff;
            top: 0;
            bottom: 0;
            z-index: 9;
            height: 100vh;
            flex-direction: column;
            padding: 60px 30px 20px 30px;
        }
        .menu-wrap {
            @media ($sm-991) {
                width: 100%;
            }
            ul {
                list-style: none;
                margin: 0;
                padding: 0;
                display: flex;
                @media ($sm-991) {
                    flex-direction: column;
                }
                li {
                    color: #3d5751;
                    font-size: 14px;
                    a {
                        color: #3d5751;
                        font-family: $font-sequel-bold-body;
                        transition: all .5s;
                        &:hover {
                            color: #66b096;
                        }
                    }
                    &.call-li {
                        a {
                            font-family: $font-sequel-bold-disp;
                            color: #66b096;
                            text-decoration: underline;
                            &:hover {
                                color: #3d5751;
                            }
                        }
                    }
                    & + li {
                        padding-left: 35px;
                        @media ($sm-1679) {
                            padding-left: 25px;
                        }
                        @media ($sm-991) {
                            padding: 10px 0 0 0;
                        }
                    }
                }
            }
        }
        .btn-wrap {
            padding-left: 30px;
            @media ($sm-991) {
                padding: 20px 0 0 0;
                width: 100%;
            }
            .btn {
                box-shadow: none;
                outline: none;
                border: 2px solid #66b096;
                border-radius: 8px;
                padding: 5px 24px;
                height: 48px;transition: all .5s;
                display: flex; align-items: center; justify-content: center;
                @media ($sm-1679) {
                    height: 42px;
                    padding: 3px 15px;
                }
                @media ($sm-991) {
                    width: 100%;
                }
                span {
                    font-family: $font-sequel-bold-body;
                    font-size: 14px;
                    color: #66b096;
                    padding-right: 10px;transition: all .5s;
                }
                img {
                    width: 24px;transition: all .5s;
                    @media ($sm-1679) {
                        width: 20px;
                    }
                }
                &:hover{background:#94cfa1; border-color: #94cfa1;
                    span{color: #fff;}
                    img{filter: brightness(0) invert(1);}
                }
            }
        }
    }
    .mmenu {
        display: none;
        position: relative;
        z-index: 9;
        @media ($sm-991) {
            display: block; position: absolute; right: 20px; top: 20px;
        }
    }
}

.open-bg {
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s;
    z-index: 9;
}
.nav-active {
    overflow: hidden;
    .open-bg {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
}
.offcanvas-collapse {
    right: -300px;
    &.open {
        right: 0;
        width: 300px;
    }
}
.hamburger .line {
    width: 27px;
    height: 2px;
    background-color: #94cfa1;
    display: block;
    margin: 6px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    &:nth-child(2) {
        //width: 15px;
    }
}

.hamburger:hover {
    cursor: pointer;
}

#hamburger-1.is-active .line:nth-child(2) {
    opacity: 0;
}

#hamburger-1.is-active .line:nth-child(1) {
    -webkit-transform: translateY(7px) rotate(45deg);
    -ms-transform: translateY(7px) rotate(45deg);
    -o-transform: translateY(7px) rotate(45deg);
    transform: translateY(7px) rotate(45deg);
}

#hamburger-1.is-active .line:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(-45deg);
    -ms-transform: translateY(-10px) rotate(-45deg);
    -o-transform: translateY(-10px) rotate(-45deg);
    transform: translateY(-10px) rotate(-45deg);
}