/* Math artifacts about page SNEAUXPHLAYKES.

   developer:   marionm
   requires:    shared.css
   ========================================================================== */

/* ==========================================================================
   wrappers
   ========================================================================== */

#about-wrapper {
    margin: 0 auto;
    max-width: calc(1200px - 4rem);
    padding: 0 2rem 3rem;
}

#about-wrapper > div {
    border: 1px solid var(--artifacts-silver);
    position: relative;
}

#about-wrapper > div:before {
    content: '';
    display: block;
    height: 7px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 20;
}

#about-wrapper.topic-learning-journeys > div:before { background: var(--artifacts-bar-learning-journeys); }

#about-wrapper section {
    padding: 3rem 2rem 2rem;
    position: relative;
}

@media all and (max-width: 600px) {
    #about-wrapper section { padding: 2rem 1rem 1rem; }
}

#about-wrapper section.gradient { background: linear-gradient(180deg, rgba(255,255,255,1) 80%, rgba(241,241,241,1) 100%); }

#about-wrapper section.add-border { padding: 0 2rem 2rem; }

@media all and (max-width: 600px) {
    #about-wrapper section.add-border { padding: 0 1rem 2rem; }
}

#about-wrapper section.add-border h3 {
    border-top: 1px solid var(--artifacts-orange);
    color: var(--artifacts-orange);
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: .8rem;
    padding-top: 1rem;
}

#about-overview { border-bottom: 1px solid var(--artifacts-orange); }

#about-overview.no-border {
    border-bottom: none;
    padding-bottom: 0;
}

/* ==========================================================================
   shared page styles
   ========================================================================== */

#about-wrapper hr {
    background: #cacaca;
    border: none;
    height: 1px;
    margin: 3rem 0;
}

#about-wrapper img {
    height: auto;
    max-width: 100%;
}

#about-wrapper p {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* ==========================================================================
   overview
   ========================================================================== */

#about-overview h3 {
    color: var(--artifacts-charcoal);
    font-size: 2.7rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2rem;
}

#about-overview h3 + p {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 2rem;
}

#about-overview h3 + p + div { text-align: center; }

#about-overview h4 {
    color: var(--artifacts-orange);
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

#about-overview .pwrapper {
    display: flex;
    align-items: center;
}

@media all and (max-width: 900px) {
    #about-overview .pwrapper { flex-direction: column; }
}

#about-overview .pwrapper.left > *:first-child { min-width: 320px; }

@media all and (max-width: 900px) {
    #about-overview .pwrapper.left > *:first-child {
        min-width: auto;
        order: 2;
    }
}

#about-overview .pwrapper.right > *:last-child {
    min-width: 400px;
    text-align: right;
}

@media all and (max-width: 900px) {
    #about-overview .pwrapper.right > *:last-child {
        min-width: auto;
        text-align: inherit;
    }
}

#about-overview a { color: #9a5626; }

#about-overview a:hover { color: var(--artifacts-orange); }

/* ==========================================================================
   additional resources
   ========================================================================== */

#about-additional h4 {
    color: var(--artifacts-orange);
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

#about-additional h5 {
    color: var(--artifacts-charcoal);
    font-size: 1.3125rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

#about-additional h6 {
    color: #a5a5a5;
    font-size: .8125rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

#about-additional .gwrapper {
    align-items: center;
    column-gap: 2rem;
    display: grid;
    grid-template-columns: calc(60% - 2rem) 40%;
    row-gap: 2rem;
}

@media all and (max-width: 900px) {
    #about-additional .gwrapper { grid-template-columns: 1fr; }
}

#about-additional .gwrapper > *:last-child { text-align: right; }

@media all and (max-width: 900px) {
    #about-additional .gwrapper > *:last-child { text-align: center; }
}

#about-additional .pwrapper {
    align-items: top;
    column-gap: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media all and (max-width: 900px) {
    #about-additional .gwrapper { grid-template-columns: 1fr; }
}

#about-additional li {
    font-size: 1rem;
    line-height: 1.3;
    margin-left: .9rem;
    padding-bottom: .25rem;
    position: relative;
}

#about-additional li:before {
    color: #c8c8c8;
    content: '\25AA';
    display: inline-block;
    font-size: 24px;
    line-height: 0;
    margin-left: -.9rem;
    position: relative;
    top: 2px;
    width: .9rem;
}

@media all and (max-width: 1200px) {
    #about-additional li {
        font-size: 1.14rem;
        line-height: 1.15;
        padding-bottom: .85rem;
    }

    #about-additional li:before { font-size: 20px; }
}

#about-additional li a { color: var(--artifacts-charcoal); }

#about-additional li a:hover { color: var(--artifacts-orange); }

#about-additional li a span {
    color: #7f7f7f;
    font-size: .9rem;
}

#about-additional hr { margin: 2rem 0; }

/* ==========================================================================
   bottom
   ========================================================================== */

#about-bottom {
    background: #353535;
    color: #fff;
    padding: 2rem !important;
}

#about-bottom .pwrapper {
    column-gap: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 3rem;
}

@media all and (max-width: 900px) {
    #about-bottom .pwrapper { grid-template-columns: 1fr; }
}

#about-bottom h3 {
    color: #ffa453;
    font-size: 1.5625rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

@media all and (max-width: 600px) {
    #about-bottom h3 { font-size: 1.8625rem; }
}

#about-bottom p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
}

@media all and (max-width: 1200px) {
    #about-bottom p { font-size: 1.125rem; }
}

@media all and (max-width: 600px) {
    #about-bottom p {
        font-size: 1.2rem;
        line-height: 1.4;
    }
}

#about-bottom .social {
    display: flex;
    margin-top: 1rem;
}

#about-bottom .social a {
    align-items: center;
    background: rgba(255,255,255,.26);
    border-radius: 15%;
    display: flex;
    height: 30px;
    justify-content: center;
    margin-right: .5rem;
    position: relative;
    width: 30px;
}

#about-bottom .social a:hover { background: rgba(255,255,255,1); }

#about-bottom .social .has-arrow a:after {
    border-bottom: 5px solid transparent;
    border-left: 5px solid rgba(255,255,255,.26);
    border-top: 5px solid transparent;
    content: '';
    height: 0;
    margin-left: 34px;
    position: absolute;
    width: 0;
}

#about-bottom .social .has-arrow a:hover:after {
    border-bottom: 5px solid transparent;
    border-left: 5px solid rgba(255,255,255,1);
    border-top: 5px solid transparent;
}

#about-bottom .social a img {
    filter: invert(1);
    height: 20px;
    width: 20px;
}

#about-bottom .social a:hover img { filter: invert(49%) sepia(95%) saturate(572%) hue-rotate(341deg) brightness(96%) contrast(87%); }