body {
    margin: 0;
    padding: 0;
}

.brand {
    position: absolute;
    z-index: 2;
    width: 20vw;
    margin-left: 40vw;
    margin-top: 15vw;
}

.header-slider {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin-top: 50px;
    max-height: 60vw;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0;
    transition: opacity 1s;
}

.carousel-slide.active {
    opacity: .9;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    right: 15vw;
    display: flex;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #fbe2d2;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: #fab488;
}

.down-arrow {
    position: absolute;
    top: 88%;
    left: calc(50%);
    transform: translateX(-50%);
    width: 0;
    height: 30px;
    border: 2px solid;
    border-radius: 2px;
    animation: jumpInfinite 2s infinite;
    color: white;
}

.down-arrow:after {
    content: " ";
    position: absolute;
    top: 12px;
    left: -10px;
    width: 16px;
    height: 16px;
    border-bottom: 4px solid;
    border-right: 4px solid;
    border-radius: 4px;
    transform: rotateZ(45deg);
}

@keyframes jumpInfinite {
    0% {
        margin-top: 0;
    }

    50% {
        margin-top: 20px;
    }

    100% {
        margin-top: 0;
    }
}



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

    .carousel-slide {
        height: 100%;
    }

    .header-slider {
        height: 100vh;
        max-height: inherit;
        width: 100vw;
    }

    .carousel-dots {
        right: 2rem;
    }

    .down-arrow {
        top: 92%;
    }
}

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

    .header-slider {
        height: 80vh;
    }

    .brand {
        width: 50vw;
        margin-left: 50%;
        margin-top: 50%;
        transform: translate(-50%, -50%);
    }

    .down-arrow {
        top: 88%;
    }
}