nav {
    box-shadow: 0px 1px 14px rgb(0 0 0 / 10%);
}

nav .menu li:hover .sub-menu-1 ul li {
    width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
    text-align: center;
}

.search {
    width: 200px;
}

.search i {
    cursor: pointer;
}

.showcase-heading a {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-family: 'FontAwesome';
}

.latest-heading a {
    font-size: 1.7rem;
    font-family: 'FontAwesome';
}

.movies-box a {
    display: inline-table;
    overflow: unset;
    font-size: initial;
    margin: auto;
    margin-top: auto;
}

.search input {
    position: absolute;
    left: 85.5%;
    width: 121px;
    border: none;
}

.search i:hover {
    color: #00BFFF;
}

.search .input {
    cursor: pointer;
    height: unset;
    right: 78px;
    position: absolute;
    border: none;
    background-color: whitesmoke;
}

.logo .ripcrabby {
    height: 37px;
    position: absolute;
    width: 269px;
    top: 20px;
}

#search-submit {
    position: absolute;
}

.fa-search:before {
    content: "\f002";
    position: inherit;
    top: 3px;
    cursor: pointer;
    right: 0px;
}

.goTop {
    position: fixed;
    background: #3BB9FF;
    color: #121518;
    width: 35px;
    height: 35px;
    right: 16px;
    bottom: 17px;
    text-align: center;
    font-size: 17px;
    display: none;
}

.goTop:hover {
    color: whitesmoke;
}

footer {
    background: #161619;
    height: 64px;
}

.icon {
    padding-bottom: 0;
}

footer p {
    color: #fff;
}

.imgrip {
    display: none;
}

@media (max-width:1310px) {
    .showcase-heading {
        margin-top: 86px;
    }
    .imgrip {
        display: none;
    }
    nav .menu {
        display: none;
        position: absolute;
        top: 65px;
        left: 0px;
        background: #fff;
        border-bottom: 4px solid #242424;
        width: 100%;
        padding: 0px;
        margin: 0px;
    }
    nav .menu li a {
        width: 189%;
        height: 40px;
        align-items: center;
        margin: 0px;
        padding: 25px;
        border: 1px solid rgba(38, 38, 38, 0.03);
    }
    nav .menu {
        position: fixed;
        max-height: 94%;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    nav .menu-icon {
        margin-left: 44px;
    }
    nav {
        justify-content: space-between;
        height: 70px;
        padding: 0px 10px;
    }
    .details summary {
        width: 100%;
        height: 40px;
        align-items: center;
        margin: 0px;
        padding: 25px;
        border: 1px solid rgba(38, 38, 38, 0.03);
    }
    nav .menu {
        display: none;
        position: absolute;
        top: 65px;
        left: 0px;
        background: #fff;
        border-bottom: 4px solid #242424;
        width: 100%;
        padding: 0px;
        margin: 0px;
    }
    .menu li {
        width: 100%;
    }
    nav .menu li a {
        width: 189%;
        height: 40px;
        align-items: center;
        margin: 0px;
        padding: 25px;
        border: 1px solid rgba(38, 38, 38, 0.03);
    }
    nav .menu li:hover .sub-menu-1 {
        position: inherit;
    }
    nav .menu-icon {
        cursor: pointer;
        float: right;
        padding: 28px 20px;
        position: relative;
        user-select: none;
        display: block;
    }
    nav .menu-icon .nav-icon {
        background-color: #333333;
        display: block;
        height: 2px;
        position: relative;
        transition: background 0.2s ease-out;
        width: 18px;
    }
    nav .menu-icon .nav-icon:before,
    nav .menu-icon .nav-icon:after {
        background: #333333;
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all ease-out;
        width: 100%
    }
    nav .menu-icon .nav-icon:before {
        top: 5px;
    }
    nav .menu-icon .nav-icon:after {
        top: -5px;
    }
    nav .menu-btn:checked~.menu-icon .nav-icon {
        background: transparent;
    }
    nav .menu-btn:checked~.menu-icon .nav-icon:before {
        transform: rotate(-45deg);
        top: 0px;
    }
    nav .menu-btn:checked~.menu-icon .nav-icon:after {
        transform: rotate(45deg);
        top: 0px;
    }
    nav .menu-btn {
        display: none;
    }
    nav .menu-btn:checked~.menu {
        display: block;
    }
}
@media (max-width: 1309px){
    nav .menu {
        position: relative;
    }
    .menu-item .sub-menu{
        position: inherit;
    }
}

@media (max-width: 1100px) {
    nav .menu li a {
        width: 189%;
        height: 40px;
        align-items: center;
        margin: 0px;
        padding: 25px;
        border: 1px solid rgba(38, 38, 38, 0.03);
    }
    .movies-box a {
        max-width: 90%;
        font-size: 0.8rem;
    }
    .showcase-heading {
        padding-left: 30px;
        font-weight: 400;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-size: 1.2rem;
        color: #1a1a1a;
        margin-top: 16px;
    }
    nav .menu {
        position: fixed;
        max-height: 94%;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    nav .menu-icon {
        margin-left: 44px;
    }
    .search input {
        position: inherit;
        left: 137px;
        width: 121px;
    }
    .search .input {
        cursor: pointer;
        height: unset;
        right: 78px;
        position: inherit;
    }
    .logo .imgrip {
        display: none;
        height: 49px;
        position: absolute;
        width: 53px;
        top: 4px;
        left: 3px;
    }
}

@media (max-width: 776px) {
    .ripcrabby {
        display: none;
    }
    .logo .imgrip {
        display: flex;
        height: 49px;
        position: absolute;
        width: 53px;
        top: 4px;
        left: 3px;
    }
}

@media (max-width: 440px) {
    footer {
        bottom: 1px;
    }
    .search .input {
        cursor: pointer;
        height: unset;
        width: 17px;
        left: 263px;
        position: inherit;
    }
    #autoWidth2 {
        height: 338PX;
    }
    .latest-box {
        width: 148px;
    }
    .latest-b-img {
        height: unset;
    }
    .latest-b-text {
        margin: 10px;
        width: auto;
    }
    .latest-c-text {
        width: unset;
        max-width: 90%;
        font-size: 0.8rem;
    }
    .latest-c-text strong {
        width: max-content;
    }
    .ripcrabby {
        display: none;
    }
    .search input {
        position: inherit;
        left: 137px;
        width: 121px;
    }
    .movies-box a {
        max-width: 90%;
        font-size: 0.8rem;
    }
    .goTop {
        position: fixed;
        background: #3BB9FF;
        color: #121518;
        width: 30px;
        height: 29px;
        right: 9px;
        bottom: 17px;
        text-align: center;
        font-size: 14px;
        display: none;
    }
}

.menu-item .sub-menu {
    position: absolute;
    background: whitesmoke;
    line-height: 63px;
    list-style: none;
    height: 720px;
    /* border-radius: 0 0 8px 8px; */
    box-shadow: 0 5px 25px rgb(0, 0, 20%);
    pointer-events: none;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.3s;
    transition-property: transform, opacity;
    padding: inherit;
}

.menu-item:hover .sub-menu {
    pointer-events: all;
    transform: translateY(0);
    opacity: 1;
}

.sub-menu .sub-item {
    height: 34px;
}

.sub-menu .sub-item a {
    font-size: 0.8em;
}

@media (max-width: 1100px) {
    .sub-menu .sub-item {
        height: unset;
    }
    .menu-item .sub-menu {
        position: unset;
        background: whitesmoke;
        top: unset;
        line-height: 63px;
        list-style: none;
        height: unset;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 5px 25px rgb(0, 0, 20%);
        pointer-events: none;
        transform: translateY(0px);
        opacity: 1;
        transition: 0.3s;
        transition-property: transform, opacity;
        padding: inherit;
    }
}
