﻿.hero-slider {
    height: 550px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
}

    .slide.active {
        display: block;
        animation: fade 1s;
    }

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 700px;
}

    .content h2 {
        font-size: 64px;
        margin-bottom: 15px;
        color:#fff;
    }

    .content p {
        font-size: 20px;
        margin-bottom: 20px;
        line-height:30px;
    }

.btn {
    background: #f14247;
    padding: 12px 28px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 20px;
}

    .btn:hover {
        background: #28284e;
        color: white;
    }

.arrow {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 10px;
    transform: translateY(-50%);
}

    .arrow.left {
        left: 20px;
    }

    .arrow.right {
        right: 20px;
    }

.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    background: white;
    display: inline-block;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
}

    .dot.active {
        opacity: 1;
    }
