@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
header {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 213, 0, 1);
}

@media screen and (max-width: 320px) {
    .slider {
        display: block;
        max-width: 100%;
        min-height: 50%;
        position: relative;
        overflow: hidden;
    }
    .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: all 1s ease-in-out;
    }
    .img-slider-ab {
        min-height: 50%;
        max-width: 100%;
    }
}

@media screen and (min-width: 321px) and (max-width: 650px) {
    .slider {
        display: block;
        max-width: 100%;
        min-height: 35%;
        position: relative;
        overflow: hidden;
    }
    .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: all 1s ease-in-out;
    }
    .img-slider-ab {
        min-height: 50%;
        max-width: 100%;
    }
    .prev,
    .next {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 2rem;
        border-radius: 2rem;
        background-color: white;
        z-index: 100;
        top: 50%;
        transform: translatey(-50%);
        transition: transform 0.2s, background 0.5s;
    }
    .prev:hover,
    .next:hover {
        transform: translatey(-50%) scale(1.2);
        background: rgba(255, 213, 0, 1);
    }
    .prev {
        left: 2%;
    }
    .next {
        right: 2%;
    }
}

@media screen and (min-width: 651px) and (max-width: 768px) {
    .slider {
        display: block;
        max-width: 100%;
        min-height: 35%;
        position: relative;
        overflow: hidden;
    }
    .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: all 1s ease-in-out;
    }
    .img-slider-ab {
        min-height: 50%;
        max-width: 100%;
    }
    .prev,
    .next {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 2rem;
        border-radius: 2rem;
        background-color: white;
        z-index: 100;
        top: 50%;
        transform: translatey(-50%);
        transition: transform 0.2s, background 0.5s;
    }
    .prev:hover,
    .next:hover {
        transform: translatey(-50%) scale(1.2);
        background: rgba(255, 213, 0, 1);
    }
    .prev {
        left: 2%;
    }
    .next {
        right: 2%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .slider {
        display: block;
        max-width: 100%;
        min-height: 60%;
        position: relative;
        overflow: hidden;
    }
    .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: all 1s ease-in-out;
    }
    .img-slider-ab {
        min-height: 50%;
        max-width: 100%;
    }
    /* .prev,
    .next {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 2rem;
        border-radius: 2rem;
        background-color: white;
        z-index: 100;
        top: 50%;
        transform: translatey(-50%);
        transition: transform 0.2s, background 0.5s;
    }
    .prev:hover,
    .next:hover {
        transform: translatey(-50%) scale(1.2);
        background: rgba(255, 213, 0, 1);
    }
    .prev {
        left: 2%;
    }
    .next {
        right: 2%;
    } */
}

@media screen and (min-width: 1025px) and (max-width: 1367px) {
    .slider {
        display: block;
        max-width: 100%;
        min-height: 60%;
        position: relative;
        overflow: hidden;
    }
    .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: all 1s ease-in-out;
    }
    .img-slider-ab {
        min-height: 50%;
        max-width: 100%;
    }
    .prev,
    .next {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 2rem;
        border-radius: 2rem;
        background-color: white;
        z-index: 100;
        top: 50%;
        transform: translatey(-50%);
        transition: transform 0.2s, background 0.5s;
    }
    .prev:hover,
    .next:hover {
        transform: translatey(-50%) scale(1.2);
        background: rgba(255, 213, 0, 1);
    }
    .prev {
        left: 2%;
    }
    .next {
        right: 2%;
    }
}

@media screen and (min-width: 1368px) and (max-width: 2560px) {
    .slider {
        display: block;
        max-width: 100%;
        min-height: 60%;
        position: relative;
        overflow: hidden;
    }
    .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: all 1s ease-in-out;
    }
    .img-slider-ab {
        min-height: 50%;
        max-width: 100%;
    }
}


/* .slide:nth-child(1) {
    background-color: pink;
    background-image: url("https://unsplash.it/800/300");
}

.slide:nth-child(2) {
    background-color: yellow;
    background-image: url("https://unsplash.it/801/300");
}

.slide:nth-child(3) {
    background-color: green;
    background-image: url("https://unsplash.it/802/300");
} */

.prev,
.next {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2rem;
    border-radius: 2rem;
    background-color: white;
    z-index: 100;
    top: 50%;
    transform: translatey(-50%);
    transition: transform 0.2s, background 0.5s;
}

.prev:hover,
.next:hover {
    transform: translatey(-50%) scale(1.2);
    background: rgba(255, 213, 0, 1);
}

.prev {
    left: 2%;
}

.next {
    right: 2%;
}