body {
	background: rgb(219, 239, 251);
	min-height: 100vh;
	display: grid;
	grid-template-rows: min-content 1fr min-content;
	grid-template-columns: 100%;
    font-size: 18pt;
    margin: 0;
    font-weight: 500;
}

* {
    text-align: left;
    background: none;
    font-family: 'Quicksand', sans-serif;
}

a {
	text-decoration: none;
	color: #004F8A;
}
	a:hover {
			color: #38AAF5;
            cursor:pointer;
            }
    a img {
        border-radius: 8px;
    }
.about, h2 {
	margin: 0 auto;
	max-width: 60%;
}

nav {
    background: rgb(0, 56, 106);
    overflow: auto;
    font-size: 1.4rem;
    height: 3.6rem;
}

#backarrow {
    height: 6rem;
    width: min-content;
    -webkit-transition: all .08s ease-in-out;
    -moz-transition: all .08s ease-in-out;
    transition: all .08s ease-in-out;
    opacity: 95%;
}
    #backarrow img {
        height: 3.4rem;
        width: 3.4rem;
        min-width: 3.4rem;
        margin-bottom: 0;
    }
    #backarrow:hover {
        opacity: 75%;
    }

.about p, li{
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    margin:  0 1rem 1rem 1rem;
    text-align: start;
    margin-left: 1rem;
    margin-right: 1rem;
    color: rgb(38,38,38);
    word-break: break-word;
    line-height: 1.4;
}

section {
    width: 100vw;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
section div {
    max-width: 800px;
    margin: auto;
}

h1, h2 {
    font-weight: 500;
    color: rgb(0, 107, 168);
    margin-top: 2rem;
    margin: 0;
    max-width: 100%;
    position: sticky;
    top: 0; 
	font-family: 'Quicksand', sans-serif;
}
h1 {
	font-size: 3.2rem;
}
h2 {
	font-size: 2.5rem;
}
h3 { 
	position:relative; 
	font-weight: 600;
}

.dark, .dark h2, .dark h1 {
    background-color: rgb(191, 227, 247);
}
.light h1, .light h2 {
    background-color: rgb(219, 239, 251);
}

img {
    margin-bottom: 2rem;
    min-width: 200px;
}

li {
    font-size: 18pt;
    padding-inline-start: 1rem;
	margin: .6rem 1rem;
	line-height: 1.3;
}

.numItem {
    color: rgb(0, 107, 168);
    font-weight: 600;
    font-size: 1.3em;
    display: block;
}
ol p, ol ul {
    margin-left: 2rem;
}
.box {
    background-color: rgba(255,255,255,0.4);
    padding: 3rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-radius: 2rem;
    border: rgb(0, 107, 168) 2px solid;
    
}
    .box img {
        width: 25%;
        min-width: 200px;
    }
    .box img:first-of-type {
        border-radius: 1rem;
    }

b {
    font-size: 1.1em;
}

#table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    background-color: rgba(255,255,255,0.3);
    align-items: start;
    
}
#table div {
    margin-top: 0;
}
#table * {
    text-align: center;
}
#table img  {
    min-width: 7rem!important;
    width: 7rem;
}
#effectsList {
    list-style: none;
    column-count: 2;
    column-gap: 2rem;
    font-weight: 600;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 1fr);
}
#effectsList img {
    max-width: 70%;
    display: block;
}

#support {
    display: inline-block;
  border-radius: 1rem;
  width: 50%;
  min-width: 350px;
}
#socialising {
    display: inline-block;
  width: 30%;
  min-width: 350px;
}

#speechpath {
    display: inline-block;
  border-radius: 1rem;
  width: 250px;
}

#speechpathhelp li {
    padding: 1.3rem;
}

@media screen and (max-width: 820px) {
    .about, h2 {max-width: 100%;}
    section div {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    #effectsList {
        grid-template-columns: 1fr;
    }
    #effectsList img {
        max-width: 45vw;
    }
    h1, h2 {
        font-size: 140%;
    }
    #backarrow {

    }
}
