.btn{
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    font-size: 16px;
    margin: 20px 0;
}

.btn:hover{
    background-color: white;
    color: black;
    transition: 0.5s;
}

/* Slider */

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    height: 600px;
    margin: auto;
}

.slide {
    display: flex;
    flex: 0 0 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out;
    transform: translateX(100%);
}

.slide.active {
    transform: translateX(0);
}

.text-box {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    padding: 4em;
    box-sizing: border-box;
    width: 30%;
}

img {
    object-fit: cover;
    flex: 7;
    width: 70px;
    height: auto;
    box-sizing: border-box;
}

.arrow {
    position: absolute;
    top: 50%;
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}

#prevBtn {
    left: 10px;
    color: #000;
}

#nextBtn {
    right: 10px;
    color: #000;
}

/* Background colors for each slide*/
#slide1 { background-color: #a4b39e; }
#slide2 { background-color: #0767b2; }
#slide3 { background-color: #d89069; }



/* Tablet */
@media screen and (max-width: 768px) {
    .slide {
        flex-direction: column;
    }
    .text-box {
        order: 2;
        width: 100%;
        padding: 2em;
    }

    img {
        width: 100%;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .slide {
        flex-direction: column;
    }

    .text-box {
        order: 2;
        height: auto;
        width: 100%;
        padding: 1em;
    }

    img {
        width: 100%;
    }
}