/* these are the main colors and header image
   replace them with anything you want! */
:root {
    --header-bg: url('images/headerimage.jpeg');
    --accent-color: #35046A;
    --link-color: #FFF;
    --button-color: #c78be5;
    --bg-color: #c78be5;
    --bg-color2: #633aac;
    --text-color: #FFF;
    --select-color: #5D70F8;
}

* {
    color: #FFF;
    font-family: Abel, sans-serif;
}
/* this is for when you select text on the page */
::selection {
    background: #EA74A7;
    color: #c78be5;
}

body {
    background-color: #c78be5;
    margin: 0;
}
/* i think having better line spacing helps text to be more readable, but you can remove it if you want */
p {line-height: 1em;}

header {
/* you can add the image url in :root (at the top) if you want */
    background: url('images/headerimage.PNG');
    background-size: 100%;
    background-position: center;
/* change the minimum height if you want it to take up more/less space */
    max-width: cover;
    min-height: 200px;
    margin: 0 auto;
    padding: 0 1em;
/* i have a default border-radius set, but i didn't want rounded corners on this element */
    border-radius: 1em;
    box-shadow: #c78be5 8px 8px 20px;
}

nav {
    margin-top: 2em;
    font-weight: bold;
}

nav > ul {
    max-width: 960px;
    margin: auto;
    line-height: 3rem;
/* this stuff makes it wrap around on mobile */
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
/* this line takes away the dot in front of the list items */
    list-style-type: none;
/* list items have default padding but we don't need it for these */
    padding-left: 0;
/* and this spaces out the buttons so they're not touching */
    justify-content: space-evenly;
}
nav li {
    text-align: center;
}
nav li > a {
    background-color: #c78be5;
    padding: .5em 3em;
    box-shadow: #633aac 0 0 6px;
/* this takes away the link underline */
    text-decoration: none;
}
nav li > a:visited {
    color: #FFF;
}
nav li > a:hover {
    background-color: #5D70F8;
    box-shadow: #49B3FC 0 0 6px;
    color: #FFF;
}

a {
    color: #FFF;
    border-radius: .5em;
    text-shadow: #633aac 1px 1px 2px;
    font-weight: bold;
    transition: color 400ms ease-out, background-color 400ms ease-out, box-shadow 400ms ease-out;
}
a:visited {
    color: #FFF;
}
a:hover {
    color: #FFF;
}

/* you can change this to anything you want :) */
ul { list-style-type: none; }

#sidebar {
    background: #c78be5;
    min-width: 220px;
    margin: 1em;
    padding: 1em;
    border: 2px dotted #633aac;
    box-shadow: #c78be5 8px 8px 20px;
    border-radius: 2em;
}

#avatar1 {
    margin: 0.5em;
/* image size is 160px so i made its container a little bigger to fit the borders */
    max-width: 175px;
    max-height: 255px;
    border-radius: 2em;
}
#avatar1 img {
    background: #633aac;
    border: 2px solid #c78be5;
    max-width: 170px;
    border-radius: 2em;
}

#avatar2 {
    margin: .5em;
/* image size is 160px so i made its container a little bigger to fit the borders */
    max-width: 185px;
    max-height: 255px;
    border-radius: 2em;
}
#avatar2 img {
    background: #633aac;
    border: 2px solid #c78be5;
    max-width: 180px;
    border-radius: 2em;
}

#team1 {
    margin: 1em 1em;
    background: #633aac;
    border: 1px solid #c78be5;
    border-radius: 1em;
}
#team1 p { margin: 1em; }

#team2 {
    margin: 2em 1em;
    background: #633aac;
    border: 1px solid #c78be5;
    border-radius: 1em;
}
#team2 p { margin: 1em; }

#team3 {
    margin: 2em 1em;
    background: #633aac;
    border: 1px solid #c78be5;
    border-radius: 1em;
}
#team3 p { margin: 1em; }

#content {
    display: flex;
    max-width: 960px;
    margin: auto;
}

#nicheclinicvolumeone {
    margin: 2em;
}

#Olneymagazine2025spring {
    margin: 2em;
}

#Olneymagazine2025fallwinter {
    margin: 2em;
}

#Olneymagazine2024spring {
    margin: 2em;
}

#Olneymagazine2024 {
    margin: 2em;
}

#olneyhspost {
    margin: 2em;
}

main {
    background-color: #c78be5;
    padding: 1em 2em;
    margin: 1em;
    border: 2px dotted #633aac;
    box-shadow: #c78be5 8px 8px 20px;
    border-radius: 2em;
}

main > h1,
main > h2 {
    background-color: #633aac;
    border-radius: .4em;
    padding: .2em .5em;
}

main > h3 {
    border-radius: .4em;
    padding: .2em .5em;
}

/* a class for centering text and images */
.center { text-align: center; }
/* made this a class so i can change it to be centered on mobile */
.img-right { float: right; }

footer {
    text-align: center;
    font-size: small;
    margin: 1em auto;
    max-width: 960px;
}

/* these are the mobile styles! */
@media only screen and (max-width: 800px) {
    #content {
        flex-wrap: wrap;
    }
    #sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    header {
        min-height: 160px;
        margin: 0 1em;
    }
    header > h1 { 
        font-size: 3em;
        margin: .4em;
    }
    #avatar {margin: 0 1em;}
    #bio {width: 50%;}
    main {margin: 0 1em;}
    #sidebar ul {   
        margin: 0 1em;
        display: flex;
        flex-wrap: wrap;
        line-height: 2em;
    }
    #sidebar li {
        padding-left: 0;
        margin: .3em 1em;
    }
    .img-right {
        float: none;
        text-align: center;
    }
    footer {
        margin: 1em;
    }
}

.readmore summary {
    font-weight: bold;
    color: #FFFF;
    list-style: none;
}
.readmore summary::-webkit-details-marker {
  display: none;
}
.readmore[open] > summary {
    border-bottom: 2.5px dashed #633aac;
    padding-bottom: .6em;
    margin-bottom: .6em;
}




/* a class for centering text and images */
.center { text-align: center; }
/* made this a class so i can change it to be centered on mobile */
.img-right { float: right; }

footer {
text-align: center;
font-size: small;
margin: 1em auto;
max-width: 960px;
}

/*This is where your header stuff goes. The inside uses the post-inner class like posts do, instead of having a separate class name.*/
/*(If you want to give it different behavior, then add a #header .post-inner {} after the rules for .post-inner to make a special ruleset for it.)*/
#header {
border: 2.5px dashed #633aac;
width: 80em;
margin: 10px auto;
padding-left: -1px;
}

/*Contains the columns of posts.*/
.column-wrapper {
columns: 3;
min-height: 80%;
width: 80em;
margin: 0 auto;
column-gap:10px;
}

/*Variable and fixed-height boxes.*/
.post, .post-scroller {
display: inline-block;
border: 1px solid #633aac;
margin: 0 auto;
margin-bottom:10px;
overflow-y: auto; /*To give fixed-height posts a scroller, and make images outside the post-inner div conform to rounded corners.*/
}

.post img, .post-scroller img { /*Prevent image overflow.*/
max-width: 100%;
height: auto;
}

/*Fixed-height box.*/
.post-scroller {
height: 500px;
}

.post-inner { /*because padding doesn't play nice with divs directly inside columns*/
margin: 10px;
}

/*Special optional styling for images used as post headers.*/
.post-head-image {
padding: 0;
}

/*Looks similar to footer but just covers a big section.*/
.block-color-section {
background: #633aac;
color: white;
min-height:1em;
margin-top: 10px;
margin-bottom:20px;
}

.block-color-inner {
padding:10px;
padding-left: 10%;
padding-right: 10%;
margin: 0 auto;
}

\#footer {
background: #633aac;
color: #fff;
min-height:1em;
margin-top: 10px;
bottom: 0;
}

/*Variant footer. This will stick at the bottom of the page, and overlap anything that gets too close. Use only for pages too short to scroll.*/
#footer-sticky {
position:fixed;
width: 100%;
background: #633aac;
color: #fff;
min-height:1em;
bottom: 0;
margin-top: 10px;
margin-bottom:0;
}

\#footer-content {
/*For some reason the padding needs at least 1px top and bottom or else it automatically gets a giant margin instead. I still don't know why it does that. Just don't make it 0.*/
padding:1px;
padding-left: 10px;
padding-right: 10px;
margin: 0 auto;
}

/*For making columns in the footer like demonstrated.*/
.footer-columns {
columns: 3;
width: 80em;
margin: 0 auto;
column-gap:10px;
}

/*For when you want to make distinct columns of different stuff without a million <br>s.*/
.footer-column {
text-align: left;
display: inline-block;
height:6em;
width: 100%;
padding: 10px;
padding-top:0;
}

/*Used to style lists of links without big obvious bullets.*/
#footer li {
padding-left:0;
padding-top: 2px;
padding-bottom: 2px;
list-style-type: none;
}

@media(max-width:80em) { /*Allow smaller side margins on narrower screens.*/
#header, #description, .column-wrapper, .footer-columns {
width: 90%;
}
}