:root{
    --primary-color: #e5e6eb;
    --hover-color: #465be1;
    --accent-color: #4c99f8;
    --text-color: #000001;
/*    --background-color: #f4f4f4;
    --secondary-color: #2ecc71;
    --font-family: Arial, sans-serif; */
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    font-family: Poppins, "Seogoe UI", sans-serif;
    color: var(--text-color);
}
body{
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--primary-color);
    text-align: center;
}
main{
/*    padding: min(5em, 7%); */
    font-size:x-large;
/*    padding-top: 80px; */
    padding-bottom: 6em;
}
main p{
    margin-top: .95em;
    margin-bottom: .35em;
    line-height: 160%;
}
main li{
    margin-top: .95em;
    margin-bottom: .35em;
    line-height: 140%;
    list-style-type: none;
}
nav{
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--hover-color)
}
nav ul{
    display: flex;
    list-style: none;
}
nav .home-li{
    margin-right: auto;
}
nav li{
    display: flex;
}
nav a{
    display: flex;
    text-decoration: none;
    color: var(--text-color);
    padding: 1em 2em;
    transition: background-color 150ms ease;
}
nav a:hover{
    background-color: var(--hover-color);
}
nav a.active-link{
    border-bottom: 2px solid var(--text-color);
}
nav a.accent-link{
    background-color: var(--accent-color);
}

footer{
    background-color: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    padding: 1em;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size:x-large;
}

h1, h2{
    padding-top: .5em;
}

/*
p,li{
    padding-top: .3em;
    padding-bottom: .3em;
} */
li svg{
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
.mission{
    max-width: min(800px, 80%);
    margin: auto;
}

.content{
    max-width: min(800px, 80%);
    margin: auto;
    background-color: var(--primary-color);
/*    border-radius: 8px; */
/*    padding-bottom: 6em; */
}
div[class^="content-"]  {
    border: 1px solid var(--text-color);
    border-radius: 1em;
    margin-bottom: 1em;
    margin-top: 1em;
    padding: 1em;
    background-color: white;
}

#open-sidebar-button{
    display: none;
    background: none;
    border: none;
    padding: 1em;
    margin-left: auto;
    cursor: pointer;
}
#close-sidebar-button{
    display: none;
    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
}
#overlay{
    background: rgba(0,0,0,0.5);
    position: fixed;
    inset: 0;
    z-index: 9;
    display: none;
}
.slider{
  position:relative;
  margin: auto;
  overflow:hidden;
  text-align: center;
/*  display: none;  */
}
.slider img{
  width: 100%;
  max-width: 800px;
  display: none;
}

img.displaySlide{
  display: block;
  margin-left: auto;
    margin-right: auto; 
  animation-name: fade;
  animation-duration: 4.5s;
}

@keyframes fade {
  from {opacity: 0}
  to {opacity: 1}
}
@media screen and (max-width: 700px){
    #open-sidebar-button, #close-sidebar-button{
        display: block;
    }
    main, footer{
        font-size: medium;
    }
    nav{
        position: fixed;
        top: 0;
        right: -100%; /* Set this property to negative 100% to hide the nav */
        height: 100vh;
        width: min(15em, 100%);
        z-index: 10;
        border-left: 1px solid var(--hover-color);
        transition: right .3s ease-out;
    }
    nav.show{
        right: 0; /* Set this property to 0 to show the nav */
    }
    nav.show ~ #overlay{
        display: block;
    }
    nav ul{
        width: 100%;
        flex-direction: column;
    }
    nav a{
        width: 100%;
        padding-left: 2.5em;
    }
    nav a.active-link{
        border-bottom: none;
    }
    nave .home-li{
        margin-right: unset;
    }
}
