.paraCurriculum{
    width: 80%;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 550;
}

h2{
    text-align: center;
    padding-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 3.1rem;
    color: rgb(32, 32, 32);
}

.wrapper{
    margin: auto;
    width: 90%;
    justify-content: center;
}

.wrapper img{
    width: 100%;
}

.wrapper li{
    margin-top: 1rem;
    font-size: 1.5rem;
}

.cambridge, .oxford, .auxiliary{
    width: 90%;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 15px;
    border-top: 3px solid rgba(7, 7, 73, 0.35);
    border-radius: 15px;
    padding: 10px;
}

.earlyYears{
    width: 90%;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 15px;
    border-top: 3px solid rgba(7, 7, 73, 0.35);
    border-radius: 15px;
    padding: 10px;
}

.imgcambridge, .imgoxford{
    margin: auto;
    width: 40%;
}

.imgEarlyYears{
    margin: auto;
    width: 35%;
}

.subWrapper{
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    margin-top: 15px;
    text-align: center;
}

.examinable, .nonexaminable, .sports, .clubs{
    width: 45%;
    border: 3px solid rgba(7, 7, 73, 0.35);
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 1rem;
}

.subWrapper h4{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    text-decoration: underline;
}

.sports h4, .clubs h4{
    font-size: 2.5rem;
}

.subContent{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
}

.subContent li{
    font-weight: bolder;
    text-align: center;
}
.subContent p{
    margin-top: 5px;
}

span{
    font-weight: bold;
}

.curriculumEarlyyears{
    margin: 0 auto;
    width: 70%;
    text-align: center;
    border: 3px solid rgba(7, 7, 73, 0.35);
    border-radius: 15px;
    padding: 10px;
}

.curriculumText{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    text-decoration: underline;
}

.videos{
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.videowrapper{
    display: flex;
    width: 80%;
    height: 40vh;
}

.video{
    margin: 0.5rem 0.5rem;
    width: 50%;
}

@media(max-width: 800px){

    .imgheader{
        background-position: right;
    }

    header a{
        margin-left: 2.3rem;
    }

    .wrapper{
        flex-direction: column;
        margin-top: 1rem;
        justify-items: center;
    }

    .subWrapper{
        flex-direction: column;
    }

    .examinable, .nonexaminable, .sports, .clubs{
        width: 90%;
        margin: 0 auto;
    }

    .subContent{
        padding-bottom: 1.5rem;
    }

    .cambridge, .oxford, .auxiliary{
        width: 100%;
    }

    .imgcambridge, .imgoxford{
        width: 80%;
    }

    .imgEarlyYears{
        width: 75%;
    }

    h4{
        font-size: 2rem;
    }

    h2{
        font-size: 3.5rem;
    }

    .curriculumEarlyYears{
        width: 80%;
    }

    .videowrapper{
        flex-direction: column;
        width: 90%;
        height: 45vh;
        justify-content: center;
        align-items: center;
    }

    .video{
        width: 80%;
    }
}

@media(max-width: 500px){

    h2{
        font-size: 3.1rem;
    }
}

@media(max-width: 760px){
    .wrapper{
        width: 90%;
    }
}

@media(max-width: 720px){

    header a{
        margin-left: 2rem;
    }

}

@media(max-width: 600px){

    .imgheader h1{
        font-size: 2.5rem;
    }

    header a{
        margin-left: 1.5rem;
        font-size: 1.1rem;
    }

    h4{
        margin-top: 1.5rem;
    }
}

@media(max-width: 500px){

    .imgheader h1{
        font-size: 2rem;
    }

    header a{
        margin-left: 0.95rem;
    }

}

@media(max-width: 450px){

    .imgheader{
        background-position: right;
    }

    header a{
        font-size: 1rem;
        margin-left: 1.05rem;
    }
    
}
