html, body {
    height: 100%;
    background-color: #b99eb9;
    font-family: Roboto, "Helvetica Neue", sans-serif;
}

.main-container {
    min-height: 100%;
    padding: 1.5rem 0 0 0;
    background-color: #b99eb9;
}

.activate-news {
    color: green;
}

#image-big.active {
    position: fixed;
    background: rgba(0,0,0, 0.3);
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#image-big img {
    max-width: 75%;
}

#image-big.inactive {
    display: none;
}

.card {
    width: 70%;
    margin: 1rem auto;
    border: 3px solid lightgrey;
    border-radius: 15px;
    overflow: hidden;
    font-size: 1rem;
    background-color: rgba(255,255,255,.9);
}

.card.inactive {
    background-color: rgba(71, 71, 71, 0.9);
}

.card-img {
    max-width: 30%;
}

.card-imgs {
    max-width: 20%;
    margin: 0 0.2rem;
}

.card-img.intro {
    max-width: 150px;
}
.card-img.intro img, .card-img img, .card-imgs img {
    cursor: pointer;
    width: 100%;
    border: 2px solid rgba(0,0,0,0);
}

.card-img img:hover, .card-imgs img:hover {
    border: 2px solid black;
}

.card-header {
    display: flex;
    border-radius: 10px 10px 0 0;
    font-size: 1rem;
    font-weight: 500
}

.card-body {
    text-align: justify;
}

.card-footer {
    text-align: right;
    border-radius: 0 0 15px 15px;
}

.body {
    display: flex;
}

#logout {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
}

#reverse {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
}

#reverse > i {
    margin-left: 1rem;
    font-size: 2rem;
}

.flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.flex-column {
    flex-direction: column;
}

.flex-column-reverse {
    flex-direction: column-reverse;
}

.add-news {
    margin-top: 0.5rem;
}

.news-btns {
    display: flex;
    flex: 1;
    justify-content: right;
}

.news-btns i {
    color: black;
    margin: 0 0.5rem;
}

.title {
    margin-left: 0.5rem;
}

@media (max-width: 1024px) {
    .card {
        width: 100%;
    }

}

@media (max-width: 768px) {

    html {
        font-size: 1rem;
    }

    .card {
        width: 100%;
    }

    #reverse > i {
        margin-left: 0;
    }

    #reverse > span {
        display: none;
    }

    .body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .body .card-img {
        max-width: 50%;
    }

    .card-footer .card-imgs {
        max-width: 35%;
    }

    .card-footer .flex {
        width: 100%;
        justify-content: space-between;
    }
}