html {
    font-family: Tahoma,Verdana,sans-serif; 
    margin: 0;
    height: 100%;
    scroll-behavior: smooth;
}
body {
    width: auto;
    margin: 0px;
    padding: 0;
}


h2 {
    width: 100%;
    margin: 0px auto;
    text-align: center;
    padding: 100px 0px 50px 0px;
    background-color: #F5F5F5;
    font-size: 30px;
}

#quick_links {
    background-color: #F5F5F5;
}
#quick_links ol {
    width: 100%;
    padding: 0px 0px 100px 0px;
    margin: auto;
    display: inline-flex;
    justify-content: space-evenly;
}
#quick_links ol a {
    color: #960018;
    font-size: 19px;
}
h3 {
    text-align: center;
    font-size: 27px;
    text-transform: uppercase;
    padding: 0px 0 0 0;
    font-weight: bold;
    font-family: Constantine,Geneva,Tahoma,Verdana,sans-serif;
    margin-bottom: 15px;
    color: #960018;
}

.types {
    width: auto;
    display: inline-flex;
    justify-content: space-between;
}
.who {
   
}
.specifics:nth-child(1) {
    width: 50%;
    margin: 0px 0px 0px 5%;
}
.specifics:nth-child(2) {
    width: 50%;
    margin: 0px 5% 0px 0px;
}
.type_img {
    width: 50%;
    display: flex;
    align-items: end; /* Centers items vertically */
    justify-content: center; /* Centers items horizontally (optional) */
    height: 60vh; /* Example: set a height for the container */
}
.types img {
    width: 100%;
}
.types h3 {
    padding-top: 15px;
    font-size: 23px;
}
.types ol {
    padding-left: 0px;
    margin-left: 0px;
    margin-top: 35px;
}
ol li {
    list-style-type: none;
    font-size: 17px;
    line-height: 30px;
}
.bold {
    font-weight: bold;
}
.types p {
    font-size: 16px;
    line-height: 26px;
    margin-top: 35px;
    margin-bottom: 0px;
    text-align: justify;
}
#group {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

#resources {
    width: 100%;
    margin-top: 50px;
    padding-top: 0px;
    display: inline-flex;
    background-color: #F5F5F5;
}
#teaching {
    width: 100%;
}
#resources h3 {
    font-size: 23px;
    margin-top: 0px;
    padding-top: 50px;
}
#resources p {
    width: 80%;
    margin: 25px 10%;
    padding-bottom: 25px;
    line-height: 26px;
    text-align: justify;
}
#course_books {
    margin-top: -15px;
    padding-bottom: 15px;
    width: 80%;
    margin-left: 10%;
    padding-left: 0;
}
h6 {
    text-align: left;
    font-size: 15px;
    margin-bottom: 10px;
}
a.books {
    font-size: 14px;
    margin-bottom: 0px;
    text-decoration: underline;
    color: #000;
}
.books:hover { 
    cursor: pointer;
    opacity: .6;
    transition: .2s ease;
}
#course_books li a {
    line-height: 0;
}

#cost {
    width: 80%;
    padding-bottom: 50px;
    background-color: rgba(150, 0, 25, .85);
    color: #FFF;
}
#cost h3 {
    padding-top: 50px;
    font-size: 23px;
    color: #FFF;
    margin-bottom: 25px;
}
#cost ol {
    padding-top: 0px;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    padding-left: 0px;
}
#cost ol li {
    padding-left: 0px;
    margin-left: 0px;
}
#rates {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
}
#notes {
    margin-top: 20px;
}
.note {
    line-height: 25px;
    font-size: 15px;
}

#trial {
    width: 70%;
    margin: 25px 15% 65px 15%;
    font-size: 19px;
    text-align: center;
    height: 100px;
}

#trial_book:hover {
    cursor: pointer;
    opacity: .7;
    transition: .2s ease;
}

#groups {
    visibility: visible;
    width: 75%;
    margin: auto;
    margin-top: 0px;
    padding-top: 0px;
}
#groups table {
    width: 100%;
    table-layout: fixed;
}
tr.white td.heading {
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    height: 30px;
}
h5 {
    width: auto;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 50px;
    padding-top: 0px;
    margin-left: 0px;
    color: #960018;
    font-size: 21px;
    font-family: Constantine,Geneva,Tahoma,Verdana,sans-serif;
}
#groups th {
    text-align: left;
    text-transform: uppercase;
    padding-top: 7.5px;
    padding-bottom: 7.5px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 17px;
}
#groups td {
    width: 33%;
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.white {
    background-color: rgba(54, 54, 54, .05);
}
.gray {
    background-color: rgba(54, 54, 54, .25);
}
.click {
    width: 100%;
    text-align: center;
    margin: 50px auto;
}
.click a {
    text-decoration: none;
    color: #FFF;
    background-color: #960018;
    font-weight: bolder;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-size: 17px;
    padding: 12px 24px;
    border-radius: 5px;
}
.click a:hover {
    cursor: pointer;
    opacity: .7;
    transition: .2s ease;
}

@media screen and (max-width: 1000px) {
    h2 {
        padding-top: 50px;
    }
    #quick_links {
        padding-bottom: 0px;
    } 
        #quick_links ol {
        display: flex;
        flex-wrap: wrap;
        padding-bottom: 25px;
    }
    #quick_links ol li {
        padding: 0px 25px 15px 25px;
    }
    #quick_links ol li a {
        font-size: 16px;
    }
    #individual {
        display: flow-root;
        background-image: url(photos/learn_opaque.png);
        background-repeat: no-repeat;
        background-size: contain;
    }
    #group {
        display: flow-root;
        background-image: url(photos/fun_opaque.png);
        background-repeat: no-repeat;
        background-size: contain;
    }
    #groups {
        width: 90%;
    }
    table {
        width: 100%;
        table-layout: fixed;
    }
    tr.white td.heading {
        font-size: 15px;
        font-weight: bold;
        text-transform: uppercase;
    }
    table td {
        font-size: 13px;
    }
    .specifics {
        display: inline;
    }
    .specifics h3, .specifics ol, .specifics li, .specifics p {
        width: 90%;
    }
    .specifics p {
        width: 80%;
        margin-left: 10%;
    }
    .specifics ol, .specifics li {
        margin-left: 5%;
    }
    .type_img {
        display: none;
    }
    #resources {
        display: block;
    }
    #teaching, #cost {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    tr.white td.heading {
        font-size: 10px;
        font-weight: bold;
        text-transform: uppercase;
    }
}