* {
    margin: 0;
    padding: 0;
}

/* Featured Items */
#slider {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 100%;
    margin-bottom: 70px;
    margin-top: 50px;
}

.container {
    width: 1600px;
    margin: auto;
}

.subcontainer {
    width: 85%;
    margin: auto;
}

.controller {
    display: flex;
    justify-content: space-between;
}

#controls i {
    color: white;
    font-size: 1rem;
}

.previous, .next {
    padding: 2px;
    width: 30px;
    cursor: pointer;
    border-radius: 50%;
    outline: none;
    transition: 0.7s ease-in-out;
    border: 3px solid white;
    background-color: lightgray;
    box-shadow: 0 0 5px #bbb;
    position: absolute;
    z-index: 10;
    margin-top: 150px;
}

.previous {
    left: 30px;
}

.next {
    right: 30px;
}

.previous:hover, .next:hover {
    border: 3px solid gray;
}

.slide-img {
    width: 100%;
    height: 275px;
    background-position: center;
    background-size: cover;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.slide-img:hover {
    box-shadow: 0 0 0 200px rgba(0, 150, 6, 0.5) inset;
}

.slide {
    position: relative;
}

.slide a {
    text-decoration: none;
    transform: scale(0);
    transition: 0.8s;
    font-size: 1.5rem;
    color: white;
    opacity: 0;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slide:hover a {
    opacity: 1;
    transform: scale(1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 1600px) {
    .container {
        width: 100%;
    }
}

.view-menu-btn {
    margin: 25px auto 0;
    text-align: center;
    position: relative;
}

.view-menu-btn a {
    width: 150px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    background-color: var(--main-color);
    color: white;
    border-radius: 5px;
    padding: 12px;
    z-index: 1;
    position: relative;
    transition: color 0.5s;
}

.view-menu-btn a span {
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    z-index: -1;
    transition: 0.5s;
}

.view-menu-btn a:hover {
    color: black;
}

.view-menu-btn a:hover span {
    width: 100%;
}


/* Media query for max-height: 844px */
@media (max-height: 844px) and (max-width: 414px) {
    #slider {
        margin-bottom: 100px;
    }
}