.mgCookies {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: #FFFE;
    opacity: 0;
    z-index: 1;
    border-top: 1px solid #CCC;
    transition: bottom 1s ease, opacity 1s ease;
}

.mgCookies.show {
    bottom: 0;
    opacity: 1;
}

.mgCookies a.mgIAgree {
    display: inline-block;
    background-color: var(--green);
    color: var(--white);
    border-radius: 5px;
    padding: 8px 20px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .3s;
}

.mgCookies a.mgIAgree:hover {
    background-color: var(--lblue);
}

@media (max-width: 799.999px) {
    .mgCookies > section { padding: 10px; }

    .mgCookies section > div:last-child { text-align: center; }

    .mgCookies a.mgIAgree { margin-top: 10px; }
}

@media (min-width: 800px) {
    .mgCookies > section {
        display: flex;
        padding: 20px 10px;
    }

    .mgCookies a.mgIAgree { margin-left: 20px; }
}
