.logs {
    padding-top: 40px;
    padding-bottom: 40px;
    background-image: url('../../../img/layout/dot-pattern.png');
    text-align: center;

    @media (min-width:768px) {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

.logs__title {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 700;

    @media (min-width:768px) {
        font-size: 32px;
    }
}

.logs__more {
    margin-top: 30px;
    display: inline-block;
    font-family: "Roboto";
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-button-color);
    text-decoration: none;
    transition: color .2s ease-in-out;

    &:hover,
    &:focus {
        text-decoration: underline;
        color: var(--secondary-button-color-hover);
    }

    @media (min-width:992px) {
        position: relative;
        top: -110px;
    }
}

.log-list {
    margin: -7px;
}

log-list:before,
.log-list:after {
    display: table;
    content: " "
}

.log-list:after {
    clear: both
}

.log-list__item {
    float: left;
    padding: 7px;
    width: 50%;

    @media (min-width:992px) {
        width: 25%;
    }
}

@media (min-width:768px) {
    .logs .log-list__item {
        width: 25%;
    }
}

@media (min-width:992px) {
    .logs .log-list__item {
        width: 16.6666666667%;

        &:last-child,
        &:nth-last-child(2) {
            float: right;
        }
    }
}

.log {
    display: block;
    width: 100%;
    height: 125px;
    background-color: #fff;
    border: 1px solid #eaebec;
    position: relative;

    &:hover,
    &:focus {
        text-decoration: none;

        .log__front {
            opacity: 0;
            visibility: hidden;
        }

        .log__back {
            opacity: 1;
            visibility: visible;
        }
    }
}

.log__front,
.log__back {
    padding: 30px 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: opacity .15s ease-in-out,
        visibility .15s ease-in-out;
}

.log__front {
    opacity: 1;
    visibility: visible;
}

.log__back {
    opacity: 0;
    visibility: hidden;
}

.log__title {
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    color: var(--text-color);
}

.log__logo,
.log__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.log__logo {
    max-width: 100px;
}