p {
    color: #111;
}

a {
    color: inherit;
}

/* Apply same color on focus as on :hover (from Skeleton) */
a:focus {
    color: #0FA0CE;
}

body {
    margin:0;
}

#footer {
    background-color: #1676b3;
    width: 100%;
    margin: 1.5rem 0 0 0;
    color: white;
    padding-top: 2em;
}

#left-pane {
    float: left;
}

#right-pane {
    float: right;
}

#footer ul {
    list-style: none;
}

#footer ul li img {
    padding-right: 0.5em;
    vertical-align: middle;
}

#footer a:hover, #footer a:focus {
    color: #d3edfd;
}

#footer p {
    color: inherit;
}

#header {
    margin-top: 3%;
}

.inverted {
    filter: invert(100%);
}

#content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 400rem;
    margin: 0 auto;
    margin-top: 4%;
    padding: 0.5rem;
    padding-left: 20rem;
    padding-right: 20rem;
}

#content > * {
    flex: 1 50%;
}

@media screen and (max-width: 1242px) {
    #content > * {
        flex: 1 100%;
    }
}

/* Make the link background blue, includeing fade animation*/
.content-link {
    background-color: #D1F0FF;
    border-radius: 2rem;
    margin: 0.3rem;
    padding: 2rem;
    -webkit-transition: transform 0.3s ease-in-out;
    box-shadow: 0px 0.2rem 5px #E4E4EC;
}

/*child elements no margin*/
.content-link > * {
    margin: 0rem;
}

/*bigger on scale*/
.content-link:hover {
    transform: scale(1.04);
    cursor: pointer;
}

.link-header {
    font-family: ´Raleway´, monospace;
    font-weight: 700;
    letter-spacing: 0.15rem;
}

.link-description {
    font-family: ´Raleway´, monospace;
    font-weight: 300;
    letter-spacing: 0.09rem;
}

.title-links {
    letter-spacing: 0.24rem;
}

/* Make it so columns inside the nine columns div have width relative to it */
.main-links {
    position: relative;
    width: 95%;
    max-width: 750px;
    margin: 0 auto;
    margin-bottom: 1.5em;

    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    column-gap: 1rem;
}





.main-links h4 {
    margin-bottom: 1.5rem;
    grid-column: 1 / -1;
}

.footer-links {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.4rem;
    justify-items: center;
}

.title-wrapper {
    display: grid;
    grid-template-columns: max-content auto;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.under-title-wrapper {
    display: grid;
    align-items: center;
    text-align: center;
}



#right-pane .main-links:last-child {
    margin-bottom: 0;
}

#header h2 {
    margin-top: 48px;
}

#description-form {
    display: none;
}

/* Hide descriptions by default on smaller devices */
@media screen and (max-width: 800px) {
    #description-form {
        display: block;
    }
    .main-links p {
        display: none;
    } 
    .title-wrapper {
        display: flex;
    }
    .title-wrapper > :first-child {
        display: none;
    }
    #header h2 {
        margin-top: 0;
    }
    /* Allow JS a way to force descriptions */
    .force-descriptions .main-links p {
        display: block;
        margin-left: 1em;
    }
    .force-descriptions .main-links h5 {
        margin-bottom: 0.5rem;
    }
    .main-links h5::before {
        content: '• ';
    }
    .force-descriptions .main-links h5::before {
        content: '';
    }
    .main-links h5 {
        margin-bottom: 0.4rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    ul.products {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        grid-auto-flow: row;
    }

    #content {
        padding-left: 0rem;
        display: flex;
    }

    .main-links {
        display: block;
        margin-left: 4rem;
    }

}

/* Put the headings a bit to the left of the links */
/*.main-links h4 {*/
/*    margin-left: -2%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/

/* Make sure overflow doesn't obfuscate other text */
.main-links h5, .main-links p {
    overflow: hidden;
}

/* Override Skeleton's default of setting page width to 80%, wasting precious screen space on smaller devices */
div.container {
    width: 95%;
    margin: auto;
    padding: 0;
}

.container .denyes {
    margin: 0 auto;
    width: max-content;
}

.comingsoon {
    opacity: 0.60;
}

.red_text {
    color: #FF0000;
}

.new {
    animation: rainbow-color 3s infinite linear;
}

h5 {
    white-space: nowrap;
}

@font-face {
    font-family: ´Raleway´;
    src: url('./fonts/Raleway-Regular.ttf') format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: ´Raleway´;
    src: url('./fonts/Raleway-Bold.ttf') format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

#SM {
    font-family: ´Raleway´, monospace;
    font-weight: 700;
    letter-spacing: 1.3px;
    margin-bottom: -0rem;
    margin-top: 1rem !important;
    padding: 0;
}



#UNDER-SM {
    font-family: ´Raleway´, monospace;
    font-weight: 300;
    letter-spacing: 2px;
    margin: -0rem;
    padding: 0;
    text-shadow: 0px 0.3rem 5px #E4E4EC;
}

@keyframes rainbow-color {
    from {
        color: #0000AF;
    }
    14.29% {
        color: #50007F;
    }
    28.57% {
        color: #DF0000;
    }
    42.86% {
        color: #FF8000;
    }
    57.14% {
        color: #dad300;
    }
    71.43% {
        color: #00c800;
    }
    85.71% {
        color: #1676b3;
    }
    to {
        color: #0000AF;
    }
}
