* {
    margin: 0;
    padding: 0;
}

#all_slides {
    position: relative;
    height: 100vh;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

.slide {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    -webkit-transition: opacity 2.5s;
    -moz-transition: opacity 2.5s;
    -o-transition: opacity 2.5s;
    transition: opacity 2.5s;
}

.active {
    opacity: 1;
    z-index: 2;
}

.controls {
    display: none;
}

.slide {
    font-size: 40px;
    padding: 40px;
    box-sizing: border-box;
    background: #333;
    color: #fff;
    background-size: cover;
}

.qt-logo {
    position: absolute;
    top: 10;
    left: 10;
    z-index: 3;
    width: 300px;
}

@media (min-width: 768px) {
    .qt-logo {
        display: block;
    }
    .slide:nth-of-type(1) {
        background-image: url("../img/slide-1.png?v=221117a");
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        background-attachment: fixed;
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    }
    .slide:nth-of-type(2) {
        background-image: url("../img/slide-2.png?v=221117a");
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        background-attachment: fixed;
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    }
    .slide:nth-of-type(3) {
        background-image: url("../img/slide-3.png?v=221117a");
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        background-attachment: fixed;
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    }
}

@media (max-width: 767px) {
    .qt-logo {
        display: none;
    }
    .slide:nth-of-type(1) {
        background-image: url("../img/m-slide-1.jpg?v=221117a");
        background-position: center center;
    }
    .slide:nth-of-type(2) {
        background-image: url("../img/m-slide-2.jpg?v=221117a");
        background-position: center center;
    }
    .slide:nth-of-type(3) {
        background-image: url("../img/m-slide-3.jpg?v=221117a");
        background-position: center center;
    }
}

.controls {
    display: inline-block;
    position: relative;
    top: 1rem;
    right: 0.5rem;
    border: none;
    outline: none;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid #fff;
    border-radius: 2rem;
    background: rgba(151, 75, 201, 0.75);
    width: 4rem;
    height: 4rem;
    margin-left: 0.5rem;
}

.controls:hover {
    background: #eee;
    color: #333;
}

.container {
    position: relative;
}

.buttons {
    position: absolute;
    right: 0.5rem;
    top: 0px;
    z-index: 10;
    font-size: 0px;
}

.fancy {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: -2rem;
    width: 7rem;
    height: 2rem;
    background: gold;
    color: #000;
    z-index: 3;
    transform: rotate(-45deg);
    border-radius: 1rem;
}

.buttons .fa {
    color: white;
}