.slider-container {
    width: 100%;
    height: 90vh;
    overflow: hidden;
    position: relative;
}
.slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d1660f;
    opacity: 74%;
}
.text-overlay {
    position: absolute;
    bottom: 25%;
    left: 14%;
    color: white;
    width: 45%;
}
.text-overlay h1 {
    font-size: 3.5em;
    color: #fff;
    font-weight: 900;
}
.text-overlay p {
    font-size: 1.5em;
}
.navigation {
    position: absolute;
    top: 46%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.navigation button {
    margin-left: -50px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: lighter;
}
#prev > img, #next > img{
    width: 30%;
}
#next{
    margin-right: -80px;
}
#prev{
    margin-left: -80px;
}


@media screen and (max-width: 500px) {

    .slider-container{
        height: 60vh;
    }
    
    #prev {
        margin-left: -0px;
        text-align: left;
        padding-left: 5%;
    }

    #next {
        margin-right: -0px;
        text-align: right;
        padding-right: 5%;
    }

    .text-overlay {
        bottom: 15%;
        left: 17%;
        width: 65%;
    }
    .navigation button {
        margin-left: 0px;
    }

    .navigation {
        display: inline-flex;
    }

    .text-overlay h1 {
        font-size: 1.4em;
    }

    .text-overlay p {
        font-size: 1em;
        line-height: 1.4em;
    }

    #prev > img, #next > img {
        width: 15%;
    }

  }

  @media (min-width: 501px) and (max-width: 700px) {

    .slider-container{
        height: 60vh;
    }
    
    #prev {
        margin-left: -0px;
        text-align: left;
        padding-left: 5%;
    }

    #next {
        margin-right: -0px;
        text-align: right;
        padding-right: 5%;
    }

    .text-overlay {
        bottom: 15%;
        left: 17%;
        width: 65%;
    }
    .navigation button {
        margin-left: 0px;
    }

    .navigation {
        display: inline-flex;
    }

    .text-overlay h1 {
        font-size: 1.4em;
    }

    .text-overlay p {
        font-size: 1em;
        line-height: 1.4em;
    }

    #prev > img, #next > img {
        width: 15%;
    }

  }