@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('roboto-v49-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url('roboto-v49-latin-700.woff2') format('woff2');
}
:root {
	--primary: #8b8561;
	--primaryLight: #f1eeda;
	--secondary: #f8b943;
	--third: #565454;
	--font: #565454;
    --h1: calc(2rem + 2vw);
    --h2: calc(1.3rem + 1vw);
    --h3: calc(1rem + 0.6vw);
    --p: calc(1rem + 0.5vw);
    --m-h1: 1.75rem;
    --border: 20px;
    --max: 1500px;
}
* {
    /*border: solid red 1px !important;*/
}
* {
    font-family: roboto;
    font-size: 16px;
    margin: 0 auto;
    padding: 0;
    max-width: 100vw;
    position: relative;
    box-sizing: border-box;
}
body {
    max-width: 1500px;
    background-color: var(--primaryLight);
}

li {
	list-style: none;
}
a {
    border: none;
	text-decoration: none;
    color: var(--font);
}
h1, p, h2, h3 {
    color: var(--font);
}
h1 {
    font-size: var(--h1);
}
h2 {
    font-size: var(--h2);
}
h3 {
    font-size: var(--h3);
}
p {
    font-size: var(--p);
}
.button {
    border-radius: 30px;
    background-color: var(--secondary);
    font-weight: 600;
    padding: 5px 17px;
    width: auto;
    height: auto;
    color: var(--font);
    font-size: 1.5rem;
    text-align: center;
}
.button:hover {
    transform: scale(1.05);
}
.flare {
    background-color: var(--secondary);
    width: 25vw;
    max-width: 320px;
    height: 1.5px;
}
.circle {
    width: 20vw;
    height: 20vw;
    max-width: 150px;
    max-height: 150px;
    border: 1.5px solid var(--secondary);
    border-radius: 50%;
}
.header-flare {
    width: 80vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
}


 /*     ---------------------------------------
        ---------------------------------------
        ---------------------------------------
        ----------MOBILE iPhone/ONLY-----------
        ---------------------------------------
        ---------------------------------------
        ---------------------------------------  */
@media only screen and (min-width: 0rem) {
#navigation {
    z-index: 100;
    position: sticky;
}
.navigation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-items: center;
    border-radius: 15px;
    margin: 0 auto;
    padding: 5px 0;
    background-color: white;
    width: 82vw;
    top: 40px;
    transition: .65s;
}
.move-menu {
    transition: .65s;
    width: 100vw;
    top: 0;
}
#navigation .logo img {
    width: 100%;
    height: 100%;
}
#navigation .logo {
    width: clamp(100px, 13vw, 120px);
    margin-left:
}
#menu {
    display: none;
}
.mobile-menu #menu {
    display: grid;
    grid-column-start: span 2;
    justify-content: center;
    background-color: var(--secondary);
    width: 82vw;
    padding-left: 2vw;
    border-radius: 13px;
    text-align: center;
    position: absolute;
    top: clamp(83px, 10vw, 105px);
}
.move-menu #menu {
    width: 100vw;
}
.nav-menu {
    padding: 20px 0;
}
.nav-menu li {
    padding: 10px 0; 
}
#menu a {
    font-size: 1.6rem;
    font-weight: 600;
} 
#menu li {
    font-size: 1.6rem;
    font-weight: 600;
}
.nav-menu .dropdown-group {
    padding: 4px 0;
}
#menu .dropdown-group button {
    background-color: inherit;
    border: none;
    /*width: 95vw;*/
    font-family: roboto;
    font-size: 1.6rem;
    line-height: inherit;
    padding: 10px 0;
    color: var(--font);
    font-weight: 600;
}  
.dropdown {
    visibility: hidden;
}
.open .dropdown {
    visibility: visible;
    border-radius: 13px;
}
.caret {
    width: 1.5rem;
    transform: translateY(4px);
    transition: 0.75s ease;
}
.open .caret {
    transform: rotate(180deg) translateY(-3px);
    transition: 0.75s ease;
} 
#menu .drop-text:hover {
    cursor: pointer;
}
#menu .drop-text {
    margin-top: -5px;
    color: var(--font);
}
.text-cta {
    margin-top: -205px;
}
.open .text-cta {
    margin-top: 0px;
}
#navigation .box:hover {
    cursor: pointer;
}
#navigation .box {
    display: inline-block;
    width: clamp(50px, 5vw, 60px);
    height: clamp(50px, 5vw, 60px);
    background-color: var(--primary);
    position: relative;
    border-radius: 10px;
    margin-right: -5vw;
}
#navigation .box .line {
    background-color: #fff;
    width: 75%;
    height: 11%;
    border-radius: 5px;
    margin: 23% 0 0 12.5%;
    position: absolute;
}
#navigation .box .line2 {
    position: absolute;
    margin: 44.5% 0 0 12.5%;
}

#navigation .box .line3 {
    position: absolute;
    margin: 65% 0 0 12.5%;
}
/*     ---------------------------------------
       ---------------------------------------
       -------top sections iPhone/ONLY--------
       ---------------------------------------
       --------------------------------------- */
#about-page {
    display: flex;
    flex-flow: row wrap;
    margin: 65px 0 0 0;
}
#about-page h1 {
    color: #000;
}
#about-page .flare {
    width: 13vw;
}
#about-page #about-content1 h2 {
    text-align: center;
    color: #000;
}
#about-page .about-hero-pic {
    margin: 30px auto;
    width: 75vw;
    height: auto;
    max-width: 675px;
}
#about-page .about-hero-img {
    border-radius: 35px;
    width: 100%;
    height: auto;
}
#about-page #about-content1 p {
    color: #000;
    margin: 25px 0;
}
#about-page #about-content1 {
    width: 85vw;
    max-width: 675px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
/*   ------------------------------
     ------ READING ---------------
    ------------------------------*/
.reading-button {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 70px;
    width: 275px;
    height: 50px;
}
.slider {
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    border-radius: 15px;
}
.reading-button .switch {
    width: 30%;
    height: 83%;
    z-index: 1;
    cursor: pointer;
    position: absolute;
    bottom: 5px;
    border-radius: 10px;
    transition: 0.4s;
    text-align: center;
    text-transform: uppercase;
    font-size: .9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reading-button .early {
    left: 3%;
    background-color: #fff;
}
.reading-button .growing {
    left: 36%;
    background-color: var(--secondary);
    opacity: 0.25;
}
.reading-button .advanced {
    left: 69%;
    background-color: var(--secondary);
    opacity: 0.25;
}
.switch-pages .early {
    background-color: var(--secondary);
    opacity: 0.25;
}
.switch-pages .growing {
    background-color: #fff;
    opacity: 1;
}
.open-advanced .early {
    background-color: var(--secondary);
    opacity: 0.25;
}
.open-advanced .growing {
    background-color: var(--secondary);
    opacity: 0.25;
}
.open-advanced .advanced {
    background-color: #fff;
    opacity: 1;
}
#reading1, #reading2, #reading3, #phonics,
#writing, #math1, #math2, #math3 {
    margin: 35px auto 0 auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    row-gap: 30px;
}
#reading2 {
    display: none;
}
#reading3 {
    display: none;
}
#math2 {
    display: none;
}
#math3 {
    display: none;
}
.read-math-h1 {
    font-size: 1.8rem;
    text-align: center;
    color: #000;
    order: -3;
    padding: 0 20px;
}
.read-math-h2 {
    font-size: 1.5rem;
    width: 85vw;
    padding: 0 20px;
    text-align: center;
    margin-top: 15px;
    font-weight: 700;
    color: #000;
    order: -1;
}
.read-math-h2 .flare {
    display: inline-block;
    width: 30px;
    height: 3px;
    margin-bottom: 0.45rem;
}
.read-math-h2 .flare-left {
    margin-right: 15px;
}
.read-math-h2 .flare-right {
    margin-left: 15px;
}
.read-math-h2 .flare-attach {
    white-space: nowrap;
    font-size: 1.5rem;
}
.read-math-h2 .flare {
    display: none;
}
.read-math-pic1 {
    width: 65vw;
    margin: 0 auto;
    order: -2;
}
.read-math-img1 {
    width: 100%;
    max-width: 375px;
    border-radius: 50%;
}
.read-math-p1 {
    width: 90vw;
    padding: 0 20px;
    color: #000;
}
.switch-pages #reading2 {
    display: flex;
}
.switch-pages #reading1 {
    display: none;
}
.open-advanced #reading3 {
    display: flex;
}
.open-advanced #reading1 {
    display: none;
}
.open-upper #math2 {
    display: flex;
}
.open-upper #math1 {
    display: none;
}
.open-secondary #math3 {
    display: flex;
}
.open-secondary #math1 {
    display: none;
}
#phonics {
    margin-top: 75px;
}
#writing {
    margin-top: 75px;
}
 /*        --------------------------------------
            ----- Contact PAGES-------
         --------------------------------------  */ 
#contact {
    margin: 40px auto 0 auto;
    display: flex;
    flex-flow: row wrap;
}
#contact #contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 50vw;
    row-gap: 30px;
    padding: 60px 0 30px 30px;
    background-color: white;
}
#contact #contact-info h2 {
    color: #000;
    margin: 0 0 0 5vw;
}
#contact #contact-info p {
    color: #000;
    margin: 0 0 0 5vw;
}
#contact #contact-info span {
    display: flex;
    column-gap: 15px;
    margin: 0 0 0 6.5vw;
}
#contact #contact-info span img {
    width: calc(1rem + 1.25vw);
    background-color: var(--secondary);
    border-radius: 50%;
    padding: 5px;
}
#contact #contact-info span a {
    color: #000;
    font-size: var(--p);
}
#contact #contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 20px;
    width: 50vw;
    padding: 60px 0;
    background-color: white;
}
#contact #contact-form label {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    width: 75%;
    font-size: 1.125rem;
    text-transform: uppercase;
}
#contact #contact-form label input, select, textarea {
    width: 100%;
    height: 40px;
    border-radius: 7px;
    border: none;
    padding: 5px 0 5px 10px;
    color: #000;
    background-color: var(--primaryLight);
    font-size: 1.1rem;
}
#contact #contact-form label input:focus {
    outline: 1px solid var(--primary);
}
#contact #contact-form label select:focus {
    outline: 1px solid var(--primary);
}
#contact #contact-form label textarea:focus {
    outline: 1px solid var(--primary);
}
#contact #contact-form label textarea {
    height: 150px;
}
#contact form .button {
    border: none;
}
#contact #contact-info {
    width: 100vw;
    align-items: center;
    padding: 30px;
}
#contact #contact-form {
    width: 100vw;
}
#contact #contact-info h2 {
    font-size: 1.3rem;
    margin: 0;
}
#contact #contact-info p {
    margin: 0;
}
#contact #contact-info span {
    margin: 0;
}
#contact #contact-info span a {
    font-size: var(--p);
}


}

/*     ---------------------------------------
        ---------------------------------------
        ---------------------------------------
        --------MOBILE iPAD/only (772px)-------
        ---------------------------------------
        ---------------------------------------
        ---------------------------------------  */
@media only screen and (min-width: 48.3rem) {
#about-page {
    align-items: center;
}
#about-page .about-hero-pic {
    width: 45vw;
}
#about-page #about-content1 {
    width: 45vw;
}
/*       ------------------------------
         ----- READING PAGES-----------
         ------------------------------*/
.reading-button {
    width: 350px;
    height: 60px;
}
.reading-button .switch {
    font-size: 19px;
}
.reading-button .early {
    left: 5px;
}
.reading-button .growing {
    left: 120px;
}
.reading-button .advanced {
    left: 235px;
}
#reading1 {
    justify-content: center;
}
.read-math-h1 {
    font-size: 2.5rem;
    padding: 0 30px;
    order: 0;
}
.read-math-h2 {
    font-size: 1.7rem;
    order: 0;
}
.read-math-h2 .flare {
    display: inline-block;
}
.read-math-h2 .flare-attach {
    font-size: 1.7rem;
}
.read-math-pic1 {
    width: 25vw;
    max-width: 375px;
    margin-left: 5vw;
    order: 0;
}
.read-math-p1 {
    width: 60vw;
    max-width: 900px;
    padding-left: 30px;
    padding-bottom: 30px;
}
 /*        --------------------------------------
            ----- Math PAGES-------
         --------------------------------------  */ 
.math-button {
    width: 450px;
    height: 80px;
}

 /*        --------------------------------------
            ----- Contact PAGES-------
         --------------------------------------  */ 
#contact #contact-info {
    width: 50vw;
    max-width: 750px;
}
#contact #contact-form {
    width: 50vw;
    max-width: 750px;
}
#contact #contact-info h2 {
    text-align: center;
}
#contact #contact-info span a {
    font-size: 1.1rem;
}
#contact #contact-info span img {
    height: calc(1rem + 1.25vw);
}


}





/*     ---------------------------------------
        ---------------------------------------
        ---------------------------------------
        -----------DESKTOP/LAPTOP--------------
        ---------------------------------------
        ---------------------------------------
        ---------------------------------------  */
@media only screen and (min-width: 64rem) {
.mobile-nav {
    display: none;
}
.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 15px;
    margin: 0 auto;
    padding: 5px 0;
    background-color: white;
    width: 82vw;
    top: 40px;
    transition: .65s;
    max-width: 1230px;
}
.move-menu {
    transition: .65s;
    width: 98.5vw;
    top: 0;
    margin: 0 auto;
    max-width: var(--max);
    border-bottom: .75px solid var(--primaryLight);
}
#navigation .logo img {
    width: 100%;
    height: 100%;
}
.navigation .logo {
    width: 125px;
    margin-left: 2.45vw;
}
.move-menu .logo {
    width: 100px;
    margin-left: 10vw;
}
#menu {
    display: inherit;
}
#menu .nav-menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}
#menu .dropdown-group button {
    width: inherit;
 }
 #menu .dropdown-group button:hover {
    cursor: pointer;
 }
.navigation .text {
    margin-left: 2.25vw;
}
#menu a {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--font);
}
#menu li {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--font);
}
.caret {
    width: 1.5rem;
    transform: translateY(4px);
    transition: 0.75s ease;
}
.open .caret {
    transform: rotate(180deg) translateY(-3px);
    transition: 0.75s ease;
}
.navigation .dropdown {
    visibility: hidden;
    position: absolute;
}
.open .dropdown {
    visibility: visible;
    width: 220px;
    top: 80px;
    left: 10px;
    background-color: var(--secondary);
    border-radius: 0 0 13px 13px;
}
#menu .drop-text {
    margin-right: 3vw;
}
#menu .drop-text:hover {
    cursor: pointer;
}
.open .dropdown li {
    padding: 10px 0;
    font-size: 1.2rem;
    text-align: center;
    margin-left: -5px;
}
.open .dropdown li:nth-last-child(4) {
    margin-top: 15px;
}
.open .dropdown li:nth-last-child(1) {
    padding-bottom: 20px;
}
.open .dropdown span {
    position: absolute;
    height: 5px;
    width: 220px;
    background-color: var(--third);
}
.text-cta:hover {
    transform: scale(1.05);
}
#menu .text-cta {
    margin: 0 0 0 30px;
}
@media only screen and (min-width: 1150px) {
.navigation .logo {
    margin-left: 7vw;
}
.move-menu .button {
    margin-right: 10vw;
}
/*     ---------------------------------------
       ---------------------------------------
       -------top sections Desktop/laptop-----
       ---------------------------------------
       --------------------------------------- */

#about {
    padding: 0 30px;
    margin: 30px 0;
}
#about p {
    width: 90vw;
    max-width: 1350px;
    margin-top: 30px;
    color: #000;    
}



}


