::selection {
    background: #5A4FCF;
    color: white;
}

:root {
    --glow-color: hsl(245, 57%, 56%);
}

.footer-brand a img {
    width: 100px;
    height: 100px;
    margin-top: 12px;
}

footer body {
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    border-top: 5px;
    border-color: red;
}

footer {
    font-size: 16px;
    min-height: 100px;
    width: 100%;
    border-top: 0.15em solid var(--glow-color);
    /*border-top: 2px solid black;
    /*box-shadow: -2px -11px 19px rgb(90, 79, 207), 
                0px -11px 4px rgb(90, 79, 207), 
                0px -14px 8px rgb(90, 79, 207), 
                0px -20px 16px rgb(90, 79, 207);*/
    -webkit-box-shadow: 0px 0px 0.5em 0px var(--glow-color),
                        0px 0px 0.5em 0px var(--glow-color);
    bottom: 0;
}

.dark-mode footer {
    background-color: black;
    color: white;
}

.light-mode footer {
    background-color: rgb(194, 194, 194);
    color: black;
}

footer * {
    box-sizing: border-box;
    border: none;
    outline: none;
}

.row {
    padding: 1em 1em;
}

.row.primary {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    align-items: stretch;
}

.footer-brand a {
    width: 20%;
}

.column {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 32px 50px 32px;
    /*min-height: 15em;*/
}

footer h3 {
    width: 100%;
    text-align: left;
    font-size: 24px;
    white-space: nowrap;
    padding-bottom: 20px;
}

.dark-mode footer h3 {
    color: white;
}

.light-mode footer h3 {
    color: black;
}

.about p {
    text-align: justify;
    line-height: 2;
    margin: 0;
}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

footer li:not(:first-child) {
    margin-top: 13px;
}

footer ul li a {
    text-decoration: none;
    color: rgb(205, 205, 205);
}

footer ul li a:hover {
    color: gray;
}

.dark-mode footer ul li a {
    color: rgb(205, 205, 205);
    text-decoration: none;
}

.light-mode footer ul li a {
    color: #090909;
    text-decoration: none;
}

.dark-mode ul li a:hover {
    color: gray;
}

.light-mode ul li a:hover {
    color: rgb(73, 73, 73);
}

.copyright {
    padding: 4px 16px;
    padding-bottom: 20px;
    background-color: black;
    display: flex;
    flex-direction: column;
}

.footer-menu {
    float: right;
}

.footer-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.footer-menu a {
    color: gray;
    margin-right: 6px;
    text-decoration: none;
}

.footer-menu a:hover {
    color: white;
}

.copyright p {
    color: gray;
    font-size: 0.9em;
    text-decoration: none;
    text-align: left;
    margin-top: 10px;
}

@media screen and (max-width: 850px) {
    .row.primary {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 2fr;
        align-items: stretch;
    }
}

.social-logo img {
    width: 30px;
    height: 30px;
}

.social a {
    margin: 10px;
}

.social-logo {
    display: inline-block;
    margin: 10px;
}