body {
    overflow-x: hidden;
}

p,ol,ul,a {
    font-size: 20px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 40px;
}

h4 {
    font-size: 35px;
}

h5 {
    font-size: 25px;
}

.image-shadow {
    filter: drop-shadow(0 1mm 1mm #222120);
}

#top-box {
    text-align: center;
}

#top-box a {
    color: black;
    font-size: 15px;
}

.top-section {
    display: flex;
}

.logo-image {
    height: 140px;
}

.logo-image:hover {
    cursor: pointer;
}


#logo-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#nav-row {
    display: flex;
    justify-content: space-around;
}

#link-box {
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}

.menu-item {
    color:black;
    text-decoration: none;
    font-size: 15px;
    text-align: center;
}

.menu-item:hover {
    color: #cd000a;
    text-decoration: underline;
}
@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}


#background-image {
    width: 100vw;
    position: fixed;
    z-index: -2;
}

@media (max-width: 1670px) {
    #background-image {
        width: 1669px;
    }
}


#headeroutput {
    background-color: white;
}

.image-box {
    background-color: #000066;
    color: white;
    border-radius: 20px 20px 0px 0px;
    width: 500px;
    padding: 70px 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#main-image-container {
    display: flex;
    width: 100%;
    height: 220px;
    position: relative;
    top: 470px;
    justify-content: center;
}

.centered-heading {
    text-align: center;
}

main {
    position: relative;
    /* background-color: white; */
    top: 470px;
}

.news-main {
    top: 0px
}

.gallery-image {
    width: 100%;
    border-radius: 50px;
    padding: 20px;
}

.gallery-box {
	padding-top: 50px;
	padding-bottom: 50px;
	background-image: linear-gradient(to right, #cf000c, #000066 50%,  #cf000c 100%);
	width: 100%;
	color: white;
	padding: 10px;
}

.image-row {
	background-color: #cd000a;
	background-image: linear-gradient(to right, #cf000c, #000066 50%,  #cf000c 100%);
	padding-top: 50px;
	padding-bottom: 50px;
}

footer {
    position: relative;
    background-color: #000066;
    top: 470px;
    color: white;
    padding: 50px;
}

.news-footer {
    top: 0px;
}

#footer-box {
    width: 100%;
    padding: 10px 100px;
}

@media (max-width: 768px) {
    #footer-box {
        padding: 10px;
    }

}

footer a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

footer p {
    margin-bottom: 0px;
}

#footer-link-box {
    padding-top: 50px;
}

footer a:hover {
    text-decoration: underline;
    color: #cd000a;
}

.footer-link {
    font-weight: 600;
    padding-bottom: 5px;
}

.footer-sub-link {
    padding-left: 5px;
    padding-bottom: 5px;
}

.vidbox {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 60%;
}

.vid {
    width: 100%;
    height: 100%;
    position: absolute;
}

.text-carousel {
    background-color: white;
    color: black;
    align-items: center;
    display: flex;
    padding: 100px;
}

.carousel-box {
    min-height: 800px;
    align-items: center;
    padding: 20px;
    color: white;
    font-style: italic;
}

.text-carousel {
    min-height: 750px;

}

.carousel-box p {
    font-size: 20px;
}

@media (max-width: 768px) {
    .carousel-box {
        padding: 5px;
    }
    .carousel-box p {
        font-size: 16px;
    }
    .text-carousel {
        padding: 10px;
        min-height: 700px;
    }
    .text-carousel {
        min-height: 650px;
    }
}


#testimonials-red {
    background-color: #cd000a;
}

#testimonials-blue {
    background-color: #000066;
}

.row-pic {
    width: 100%;
}

.line {
    height: 4px;
    background: #cd000a;
    border: none;
    opacity: 1;
}

.download-button {
    background-color: #cd000a;
    font-size: 25px;
    color: white;
    box-shadow: 5px 5px #000000;
    padding: 10px;
    border-radius: 10px;
    transition: 0.2s;
}

.download-button:hover {
    transform: translate(5px, 5px);
    box-shadow: 0px 0px #000000;
}

.task-table {
    width: 100%;
}

.reading-pic {
    width: 100%;
    border-radius: 20px;
    margin: 10px;
}

.lib-image-row {
    padding: 50px;
}

.contact-table {
    width: 100%;
    height: 300px;
    text-align: center;
    font-size: 20px;
}

.profile-pic {
    border-radius: 200px;
    width: 100%;
}

.profile-pic-box {
    border: #000066 solid;
    padding: 10px;
    border-radius: 10px;
}

.profile-paragraph {
    font-size: 18px;
}


@media (min-width: 768px) {
    .navbar .nav-item:hover .dropdown-menu{
        display: block;
    }
}

@media (max-width: 768px) {
    .navbar .nav-item .dropdown-menu{
        display: block;
    }
}

.dropdown-menu .menu-item {
    font-size: 15px;
}

.speech-bubble {
    background: no-repeat url("../media/speech-bubble.png") 50% / 100%;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 5.5% 10% 8%;
    width: 100%;
    height: 420px;
    /* text-align: center; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.speech-bubble-image{
    vertical-align: top;
    width: 100%; /* max width */
    opacity: 0;  /* make it transparent */
    text-align: center;
}

.speech-text {
    position: absolute;
    top: 450px;
    width: 100%;
    height: 100%;
}

.speech-bubble p {
    font-size: 100%;
    max-width: 400px;
}

@media (max-width: 768px) {
    .speech-bubble p {
        font-size: 50%;
    }
}

.speech-row {
    background-color: #000066;
}

.quote-text {
    font-style: italic;
    font-size: 20px;
}

.quote-image {
    border-radius: 20px;
}

#t-speech-bubble p {
    font-size: 80%;
    max-width: 500px;
}

@media (max-width: 1030px) {
    #t-speech-bubble p {
        font-size: 70%;
    }
}
@media (max-width: 1030px) {
    #t-speech-bubble p {
        font-size: 60%;
    }
}

@media (max-width: 768px) {
    #t-speech-bubble p {
        font-size: 80%;
    }
}

@media (max-width: 620px) {
    #t-speech-bubble p {
        font-size: 60%;
    }
}

@media (max-width: 500px) {
    #t-speech-bubble p {
        font-size: 40%;
    }
}

#t-speech-row {
    background-color: #000066;
}

.bg-blue {
    background-color: #000066;
}
.bg-red {
    background-color: #cd000a;
}

.border-blue {
    border: 2px solid #000066;
}

.border-red {
    border: 2px solid #cd000a;
}

#t-speech-bubble {
    background: no-repeat url("../media/speech-bubble.png") 50% / 100%;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 5.5% 10% 8%;
    width: 100%;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-pic {
    width: 100%;
    border-radius: 50px;
    padding: 30px;
}

.mb-custom {
    margin-bottom: 10em;
}

#signup-bg-image {
    background: url("../media/stage3-images/CHU_Nov-38.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
}

#signup-text-box {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 20px;
}

#speech-box {
    background: url("../media/stage3-images/10/CK__-73.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 980px;
}

#speech-box-2 {
    background: url("../media/stage3-images/12/CHU_Nov-48.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 980px;
}