/***
 * All edits to basic main.css
 ***/
@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Electrolize&family=Reem+Kufi+Fun:wght@400;500;600;700&family=Sofia+Sans+Semi+Condensed:wght@300&display=swap');

/***
    font-family: 'Bad Script', cursive;
    font-family: 'Electrolize', sans-serif;
    font-family: 'Limelight', cursive;
    font-family: 'Reem Kufi Fun', sans-serif;
    font-family: 'Sofia Sans Semi Condensed', sans-serif;
    font-family: 'Exo', sans-serif;
 ***/

:root {
    --BrightCream: rgba(255, 255, 210, 0.95);
    --LightBlueSky: #87ceff;
    --SandyYellow: #f3c351;
    --BlueBorderDark: rgba(58, 88, 197, 0.85);
    --nearWhite: #f0f0f0;
    --FontShadow: #000;
}

body {

    background-color: var(--LightBlueSky);
    background-image: -moz-linear-gradient(180deg, var(--LightBlueSky) 15%, var(--nearWhite) 95%);
    background-image: -webkit-linear-gradient(180deg, var(--LightBlueSky) 15%, var(--nearWhite) 95%);
    background-image: -ms-linear-gradient(180deg, var(--LightBlueSky) 15%, var(--nearWhite) 95%);
    background-image: linear-gradient(180deg, var(--LightBlueSky) 15%, var(--nearWhite) 95%);
    background-attachment: fixed;
    background-size: contain;
}

body {
    background-color: #fff;
    color: var(--BrightCream);
}

p {
    font-family: 'Sofia Sans Semi Condensed', sans-serif;
    font-size: 1.15rem;
    line-height: 1.5;
}

#header.alt {
    padding-top:4rem;
}

#header.alt p {
    padding: 1rem 0.5rem;
    border-radius: 1rem;
    font-size: 1.95rem;
    color:#000;
    font-family: 'Exo', sans-serif;
    font-weight: 300;
}

#header.alt h1 {
    font-family: 'Electrolize', sans-serif;
    color: var(--BlueBorderDark);
    font-weight: bold;
    font-size: 100px;
    text-shadow: 1px 1px 0 var(--BrightCream),
    -1px 1px 0 var(--BrightCream),
    1px -1px 0 var(--BrightCream),
    -1px -1px 0 var(--BrightCream),
    0 1px 0 var(--BrightCream),
    0 -1px 0 var(--BrightCream),
    -1px 0 0 var(--BrightCream),
    1px 0 0 var(--BrightCream),
    2px 2px 0 var(--BrightCream),
    -2px 2px 0 var(--BrightCream),
    2px -2px 0 var(--BrightCream),
    -2px -2px 0 var(--BrightCream),
    0 2px 0 var(--BrightCream),
    0 -2px 0 var(--BrightCream),
    -2px 0 0 var(--BrightCream),
    2px 0 0 var(--BrightCream),
    1px 2px 0 var(--BrightCream),
    -1px 2px 0 var(--BrightCream),
    1px -2px 0 var(--BrightCream),
    -1px -2px 0 var(--BrightCream),
    2px 1px 0 var(--BrightCream),
    -2px 1px 0 var(--BrightCream),
    2px -1px 0 var(--BrightCream),
    -2px -1px 0 var(--BrightCream);
}

#header.alt .logo {
    max-width: 100%;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
    border-radius: 20%/50%;
    border: 2px solid var(--BlueBorderDark);
    max-height: 300px;
}
#header.alt .logo img {
    max-width: unset;
    max-height: 300px;
}


#nav ul li a {
    color: var(--nearWhite);
}
#nav ul li a.active {
    background-color: var(--BlueBorderDark);
    color: var(--nearWhite);
}
#nav ul li a:hover {
    background-color: var(--LightBlueSky);
}

section div.imageHolder {
    max-width: 40%;
    width: 40%;
    display: block;
    text-align: center;
}
section div.imageHolder > span.image {
    margin: 0.5rem 0 0.5rem 0.65rem;
    background-color: var(--LightBlueSky);
    border-color: transparent !important;
}

section div.imageHolder > span.image img {
    width: 35vw;
    height: 35vw;
    object-fit: cover;
    max-width: 320px;
    max-height: 320px;
}
section div.imageHolder.accom-right > span.image img {
    display: block;
    border-radius: 100%;
}


ul.paraList {
    margin: 0 0 2rem 2rem;
    text-align: left;
    line-height: 1.35;
    max-width: 700px;
}

ul.paraList li {
    padding-bottom: 1rem;
}

.imageHolder.sidebar.accom-right {
    float:right;
}
.imageHolder.sidebar.accom-right:after {
    clear:both;
}

@media screen and (max-width: 980px) {
    #header.alt .logo {
        max-width: 100%;
        overflow: hidden;
        object-fit: cover;
        object-position: center;
        border-radius: 20%/45%;
        border: 2px solid var(--BlueBorderDark);
        max-height: 300px;
    }
    #header.alt .logo img {
        transform: translate(-15%, 0);
        max-width: unset;
        border: none;
        overflow:hidden;
        border-radius: unset;
    }

    section div.imageHolder {
        max-width: 100%;
        margin: auto;
        width: unset;
        text-align: center;

    }
    section div.imageHolder > span.image {
        margin: 0.5rem 1rem;
        max-width: 320px;
        border-radius: 10%;
        width: 35vw;
        height: 35vw;
        max-height: 320px;
    }
    section div.imageHolder.accom-right > span.image {
        max-width: 320px;
        width: 35vw;
        height: 35vw;
        max-height: 320px;
    }
    section div.imageHolder > span.image img,
    section div.imageHolder.accom-right > span.image img {
        border-radius: 10%;
        width: 100%;
        height: 100%;
    }
    img.obj_pos_right {
        object-position: right;
    }
}
@media screen and (max-width: 736px) {
    #header.alt .logo {
        border-radius: 25%/40%;
    }
    /***
     * Correction so image edge doesn't appear on screen
     ***/
    #header.alt .logo img {
        transform: translate(-25%, 0);
    }
    #nav ul li a {
        padding:0 1rem;
    }
    .imageHolder.sidebar.accom-right {
        float:none;
    }
}
@media screen and (max-width: 640px) {
    #header.alt h1 {
        font-size: 3.75rem;
        text-shadow: 1px 1px 0 var(--BrightCream),
        -1px 1px 0 var(--BrightCream),
        1px -1px 0 var(--BrightCream),
        -1px -1px 0 var(--BrightCream),
        0 1px 0 var(--BrightCream),
        0 -1px 0 var(--BrightCream),
        -1px 0 0 var(--BrightCream),
        1px 0 0 var(--BrightCream);
    }
    #header.alt p {
        font-size: 1.35rem;
    }
}

@media screen and (max-width: 550px) {

    #nav {
        padding: 0.5rem;
        font-size: 1.1rem;
    }

    #nav + #main {
        padding-top: 5.25rem;
    }

    section div.imageHolder.accom-right {
        display: block;
        width: unset;
        height: unset;
        margin-bottom: 1.5rem;
    }
    section div.imageHolder > span.image,
    section div.imageHolder.accom-right > span.image  {
        width: unset;
        height: unset;
    }
    section div.imageHolder > span.image
    section div.imageHolder.accom-right > span.image {
        max-width: 360px;
        max-height: 360px;
    }

}





@media screen and (max-width: 480px) {
    #header.alt .logo {
        border-radius: 35%;
    }

    #nav {
        padding: 0.35rem;
        font-size: 1.0rem;
        min-width: 100%;
        position:static !important;
    }
    #nav + #main {
        padding-top: 0;
    }

    section div.imageHolder > span.image {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 70vw;
        max-height: 70vw;
    }
}

