/* general styles*/
img {
    vertical-align: middle;
    width: 100%;
    height: 700px;
}

h1 {
    margin: 3rem 0;
}

h5 {
    margin-bottom: 1.5rem;
}

h5, .text {
    position: absolute;
    text-align: center;
    width: 100%;
    padding: 0.25rem 0.75rem;
    bottom: 0.7rem;
}
hr {
    color: #d9534f;
}
/* special styles*/

.data {
    margin: 4rem;
}

.data > a {
    margin-left: 1rem;
    text-decoration: none;
    border: 1px solid #d9534f;
    padding: 1rem;
    color: white;
    background-color: #d9534f;
}
.slide-show-wrapper {
    position: relative;
    margin: auto;
}

.slide {
    display: none;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

.prev, .next {
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -1.4rem;
    padding: 1rem;
    border-radius: 0 0.2rem 0.2rem 0;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.3rem;
    color: black;
    transition: 0.7s ease;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 0.2rem 0 0 0.2rem;
}

.prev:hover, .next:hover {
    background-color: #d9534f;
}

.text {
    font-size: 1rem;
    margin-top: 0.5rem;
}

.dot {
    display: inline-block;
    background-color: grey;
    width: 1rem;
    height: 1rem;
    margin: 0 0.2rem;
    border-radius: 50%;
    cursor: pointer;
    transition:background-color 0.7s ease;
}

.active, .dot:hover {
    background-color: #d9534f;
}

footer {
    margin-top: 3rem;
    padding: 5rem;
}

@keyframes fade {
    from {
        opacity: .4;
    }
    to {
        opacity: 1;
    }
}

/* Resposive design */

@media only screen and (max-width: 19rem){
    .prev, .next, .text {
        font-size: 0.6rem;
    }
}

/* ***************************** mobile-view styles ***************************** */
@media screen and (max-width: 500px) {
    .logo {
        width:40%;
        height: auto;
    }
}
