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/video-rental/wp-content/themes/video-rental-old/scss/header.scss
@import "partials";
header {
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    width: 100%;
    transition: 0.3s;
    &:after {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(15, 8, 8, 1) 0%, rgba(0, 0, 0, 1) 100%);
        opacity: 0.1;
        content: "";
        z-index: -1;
        transition: 0.3s;
    }
    .navbar {
        padding: 12px 15px;
        transition: 0.3s;
        @media ($sm-1481) {
            padding: 10px 15px;
        }
        @media ($sm-767) {
            top: 0px;
            padding: 8px 15px;
        }
        .navbar-brand {
            display: inline-block;
            padding: 0;
            margin: 0;
            img {
                max-width: 81px;
                transition: 0.3s;
                @media ($sm-1679) {
                    max-width: 75px;
                }
                @media ($sm-1481) {
                    max-width: 60px;
                }
                @media ($sm-1199) {
                    max-width: 45px;
                }
            }
        }

        .navbar-toggler {
            border: none;
            outline: none;
            box-shadow: none;
            display: block;
            margin-left: auto;
            margin-right: 5px;
            @media ($lg-768) {
                display: none;
            }
        }
    }
    ul {
        margin: 0;
    }
    .nav-wrapper {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: flex-end;
        @media ($sm-767) {
            flex-direction: column;
            padding: 80px 0 0 0;
        }

        .navbar-nav {
            padding-right: 20px;
            @media ($sm-1679) {
                padding-rigt: 15px;
            }

            @media ($sm-767) {
                flex-direction: column;
                margin-left: inherit;
                justify-content: unset;
                padding: 0;
                margin: 0;
                width: 100%;
                max-width: 100%;
            }

            li.nav-item {
                //margin-right: 65px;
                padding: 0 30px;
                @media ($sm-1679) {
                    padding: 0 20px;
                }
                @media ($sm-1481) {
                    //margin-right: 55px;
                    padding: 0 15px;
                }
                @media ($sm-1199) {
                    //margin-right: 40px;
                }
                .nav-link {
                    font-size: 17px;
                    color: #fff;
                    padding: 0px 5px;
                    position: relative;
                    transition: 0.3s;
                    @media ($sm-1679) {
                        font-size: 15px;
                    }
                    @media ($sm-1199) {
                        //font-size: 14px;
                    }
                    @media ($sm-767) {
                        // text-align: center;
                        font-size: 16px;
                        padding: 10px 0;
                    }
                    &::before {
                        background-color: #f9b548;
                        content: "";
                        position: absolute;
                        left: 0;
                        display: inline-block;
                        width: 0;
                        height: 1px;
                        border-radius: 5px;
                        top: 100%;
                        transition: 0.5s transform ease;
                        transform: scale3d(0, 1, 1);
                        transform-origin: 100% 50%;
                        width: 100%;
                    }
                    &:hover,
                    &.active {
                        //color: $primary-color;
                         color: #f9b548;
                        &::before {
                            transform: scale3d(1, 1, 1);
                            transform-origin: 0 50%;
                        }
                    }
                }
            }
        }
    }

    .user-wrap {
        position: relative;
        .link {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            text-decoration: none;
        }
        .img-wrap {
            border: 1px solid #ffffff;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            position: relative;
            background: #fff;;
            @media ($sm-1679) {
                width: 35px;
                height: 35px;
            }
            @media ($sm-1199) {
                width: 30px;
                height: 30px;
            }
            .status {
                position: absolute;
                top: 0;
                right: 0;
                width: 7px;
                height: 7px;
                background: #000;
                border-radius: 50%;
                &.active {
                    background: #06c816;
                }
            }
            .img {
                width: 100%;
                height: 100%;
                border-radius: 50%;
                object-fit: cover;
            }
        }
        .arrow {
            width: 12px;
            @media ($sm-1679) {
                width: 10px;
            }
            @media ($sm-1199) {
                width: 8px;
            }
        }
        .user-list {
            position: absolute;
            right: 0;
            top: calc(100% + 10px);
            margin: 0;
            padding: 0;
            background: #0b0b0b;
            width: 200px;
            padding: 20px 15px;
            border-radius: 20px;
            //overflow: hidden;
            //opacity: 0;
            //pointer-events: none;
            //transition: 0.3s;
            @media ($sm-1679) {
                padding: 15px;
                width: 180px;
            }
            @media($sm-767){
                border-radius: 10px;
            }
            li {
                list-style: none;
                margin: 0 0 5px 0;
                padding: 0 0 5px 0;
                border-bottom: 1px solid #ffffff31;
                a {
                    background: none;
                    text-decoration: none;
                    font-size: 16px;
                    color: #fff;
                    @media ($sm-1679) {
                        font-size: 14px;
                    }
                    &:hover {
                        color: #f9b548;
                    }
                }
                &:last-child {
                    border: 0;
                    padding: 0;
                    margin: 0;
                }
            }
        }
        &.user-click {
            .user-list {
                opacity: 1 !important;
                pointer-events: all;
            }
        }
    }
}
header.shrink {
    border-bottom: 1px solid #312c2c;
    &:after {
        opacity: 0.8;
        z-index: -1;
    }
    .navbar{border-bottom: 1px solid #000;}
    .navbar-brand {
        img {
            max-width: 70px;
            @media ($sm-1679) {
                max-width: 65px;
            }
            @media ($sm-991) {
                max-width: 40px;
            }
        }
    }
}
@media ($sm-767) {
    .nav-active {
        .offcanvas-collapse {
            &:after {
                position: absolute;
                inset: 60px 0 0 0;
                height: 1px;
                background: #000;
                content: "";
            }
        }
    }
    .hamburger .line {
        width: 30px;
        height: 3px;
        background-color: #f9b548;
        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;
    }

    .hamburger:hover {
        cursor: pointer;
    }

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

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

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

    .offcanvas-collapse {
        z-index: -1;
        border-top: solid 2px #373737;
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: #000;
        background-image: url("../img/price-card-bg.png");
        background-size: cover;
        transition-timing-function: ease-in-out;
        transition-duration: 0.3s;
        transition-property: left, visibility;
        transition: 0.3s;
        height: calc(100vh);
        &.open {
            animation: growDown 300ms ease-in-out forwards;
            left: 0;
            visibility: visible;
            align-items: flex-start;
        }
    }
}

.innerpage-banner {
    height: 345px;
    background-size: cover;
    background-position: top center;
    display: flex;
    align-items: center;
    justify-content: center;
    @media ($sm-1679) {
        height: 300px;
    }
    @media ($sm-1199) {
        height: 260px;
    }
    @media ($sm-767) {
        height: 250px;
    }
    .title {
        font-size: 50px;
        color: #ffffff;
        line-height: 1.2;
        font-weight: 600;
        text-align: center;
        margin: 0;
        position: relative;
        top: 50px;
        @media ($sm-1679) {
            font-size: 40px;
        }
        @media ($sm-1199) {
            font-size: 36px;
        }
        @media ($sm-767) {
            font-size: 32px;
            top: 60px;
        }
        @media ($sm-579) {
            font-size: 28px;
        }
    }
}