@charset "utf-8";
/* CSS Document */

.page-margin {
    max-width: 1350px;
    margin: 0 auto;
}

.main-section {
    display: flex;
    margin: 3em auto 5em;
}

.hero-section {
    height: 420px;
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% 0;
}

.toc-nav {
    position: sticky;
    top: 2rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    width: 20%;
}

.toc-link {
    text-decoration: none;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    padding: 0.70rem 0 0.70rem 1rem;
    border-left: 3px solid #e0e0e0;
    transition: all 0.2s ease-in-out;
}

.toc-link.active {
    color: #1D98E4;
    border-left-color: #1D98E4;
    font-weight: 700;
}

.toc-link:hover {
    color: #1D98E4;
}

.content {
    width: 80%;
}

.content h1 {
    margin: 0;
}

.content h2 {
    font-size: 22px;
}

.content p {
    font-size: 17px;
    line-height: 22px;
    letter-spacing: 1%;
    width: 70%;
}

.img-holder {
    position: relative;
    margin: 5em 0;
}

.img-holder .img-holder-content {
    position: absolute;
    top: 1.5em;
    left: 1.5em;
}

.img-holder .img-holder-content h2 {
    font-weight: normal;
    font-size: 30px;
    letter-spacing: 1%;
    position: relative;
    left: 1.5em;
    top: 5px;
}

.img-holder .img-holder-content .quote-mark {
    color: #1D98E4;
    font-size: 100px;
}

.img-holder .img-holder-content .quote-mark:nth-of-type(1) {
    position: absolute;
    top: 0;
    left: 0;
}

.img-holder .img-holder-content .quote-mark:nth-of-type(2) {
    position: absolute;
    top: .5em;
    left: 3.8em;
    rotate: 180deg;
}

#section1 img {
    max-width: 100%;
}

#section2,
#section3,
#section4 {
    margin-bottom: 5em;
}

#section3 ul  {
    padding-left: 20px;
    list-style-type: square;
}

#section3 ul li h3 {
    margin-top: 1.5em;
}

#section3 ul li p {
    margin-left: -15px;
}

.card-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5em;
}

.card-container .card {
    box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.card-container .card h3 {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    font-size: 21px;
    font-weight: normal;
    border-radius: 6px 6px 0 0;
}

.card-container .card:nth-of-type(1) h3 {
    background: #BFC5CA;
}

.card-container .card:nth-of-type(2) h3 {
    background: #C7DBEF;
}

.card-container .card:nth-of-type(3) h3 {
    background: #E2E2E2;
}

.card-container .card p {
    width: 100%;
    padding: 1.5em 1.5em 4em;
    margin: 0;
}

.suggested-content_wrap li:nth-of-type(1) {
    display: none;
}

/*********************
Media
*********************/

@media only screen and (max-width: 1400px) {
    .page-margin {
        max-width: 1200px;
    }
}

@media only screen and (max-width: 1250px) {
    .page-margin {
        max-width: 1100px;
    }
}

@media only screen and (max-width: 1150px) {
    .page-margin {
        max-width: unset;
        padding: 0 2em;
    }
    .toc-nav {
        display: none;
    }
    .content {
        width: 100%;
    }
    .img-holder .img-holder-content .quote-mark:nth-of-type(2) {
        left: 3.4em;
    }
    .card-container .card h3 {
        font-size: 19px;
    }
}

@media only screen and (max-width: 992px) {
    .img-holder .img-holder-content h2 {
        font-size: 25px;
    }
    .img-holder .img-holder-content .quote-mark {
        font-size: 85px;
    }
    .content p {
        width: 80%;
    }
    .hero-section img {
        object-position: 70% 0;
    }
}

@media only screen and (min-width: 800px) {
    .mob-img {
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    .img-holder {
        margin: 4em 0;
    }
    .card-container .card p {
        padding: 1.5em 1em 4em;
    }
    .card-container .card h3 {
        height: 110px;
        font-size: 17px;
    }
    #section2, 
    #section3, 
    #section4 {
        margin-bottom: 4em;
    }
    .content p {
        width: 100%;
    }
    .card-container .card h3 {
        height: 100%;
        width: 350px;
        border-radius: 6px 0 0 6px;
    }
    .card-container .card {
        display: flex;
    }
    .card-container .card p {
        padding: 1.5em 1em 3em;
    }
    .card-container {
        grid-template-columns: 1fr;
    }
    .desk-img {
        display: none;
    }
    .mob-img {
        display: block;
    }
    #section1 img {
        border-radius: 15px;
    }
    .img-holder .img-holder-content h2 {
        font-size: 27px;
    }
    .img-holder .img-holder-content .quote-mark:nth-of-type(2) {
        left: 4em;
    }
}

@media only screen and (max-width: 650px) {
    .img-holder .img-holder-content h2 {
        font-size: 24px;
    }
    .img-holder .img-holder-content .quote-mark {
        font-size: 65px;
    }
    .img-holder .img-holder-content .quote-mark:nth-of-type(2) {
        top: .8em;
        left: 4.7em;
    } 
}


@media only screen and (max-width: 600px) {
    .card-container .card p {
        padding: 2em 1em;
    }
}

@media only screen and (max-width: 550px) {
    .card-container .card h3 {
        height: 100%;
        min-width: 150px;
        padding: 0 1em;
        border-radius: 6px 0 0 6px;
        width: unset;
    }
    #section1 img {
        min-height: 500px;
        object-fit: cover;
        object-position: right;
    }
}

@media only screen and (max-width: 450px) {
    .page-margin {
        padding-right: 1.5em;
        padding-left: 1.5em;
    }
    .content h1 {
        font-size: 24px;
    }
    .content h2 {
        font-size: 20px;
    }
    .hero-section {
        height: 350px;
    }
    .card-container .card {
        flex-direction: column;
    }
    .card-container .card h3 {
        border-radius: 6px 6px 0 0;
        height: 100px;
    }
    .img-holder .img-holder-content h2 {
        font-size: 21px;
    }
    .img-holder .img-holder-content .quote-mark:nth-of-type(2) {
        top: .6em;
        left: 4em;
    } 
}



























