/* || Subjects page specific shite */

.header-subjects {
    width: 100%;
    height: 50vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(Images/subjects-header.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: solid thin white;
}

.spacer-subjects {
    width: 100%; 
    height: 50vh; 
    z-index: 0;
}

.main-content-subjects {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #01011C;
    padding: 10vh 0;
    border-bottom: solid thin white;
}

.main-content-subjects .inner{
    width: 60%;
}

.main-content-subjects .subjects-descriptor {
    color: white;
    font-size: 1vw;
    margin-top: 4vh;
    text-align: right;
}

.main-content-subjects .subjects-container {
    width: 100%;
    padding-top: 2vh;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.main-content-subjects .subjects-container .subject-card {
    width: 30%;
    height: 30vh;
    border: solid thin white;
    margin-bottom: 5vh;
    border-radius: 1em;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content-subjects .subjects-container .subject-card .icon {
    width: 30%;
    margin-bottom: 2vh;
}

.main-content-subjects .subjects-container .phys {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    background-image: url(Images/phys-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.5s;
    position: relative;
}

.main-content-subjects .subjects-container .phys-alt {
    display: none;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25), inset 0 0 0 1000px rgba(0,0,0,.6);
    transition: 0.5s;
}

.main-content-subjects .subjects-container .phys:hover .phys-alt {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.5vw;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 0.3em;
}

.main-content-subjects .subjects-container .chem {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    background-image: url(Images/chem-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.5s;
    position: relative;
}

.main-content-subjects .subjects-container .chem-alt {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 0.3em;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25), inset 0 0 0 1000px rgba(0,0,0,.6);
    transition: 0.5s;
}

.main-content-subjects .subjects-container .chem:hover .chem-alt {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.5vw;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.main-content-subjects .subjects-container .bio {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    background-image: url(Images/bio-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.5s;
    position: relative;
}

.main-content-subjects .subjects-container .bio-alt {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 0.3em;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25), inset 0 0 0 1000px rgba(0,0,0,.6);
    transition: 0.5s;
}

.main-content-subjects .subjects-container .bio:hover .bio-alt {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.5vw;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.main-content-subjects .subjects-container .maths {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    background-image: url(Images/maths-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.5s;
    position: relative;
}

.main-content-subjects .subjects-container .maths-alt {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 0.3em;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25), inset 0 0 0 1000px rgba(0,0,0,.6);
    transition: 0.5s;
}

.main-content-subjects .subjects-container .maths:hover .maths-alt {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.5vw;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.main-content-subjects .subjects-container .further {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    background-image: url(Images/further-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.5s;
    position: relative;
}

.main-content-subjects .subjects-container .further-alt {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 0.3em;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25), inset 0 0 0 1000px rgba(0,0,0,.6);
    transition: 0.5s;
}

.main-content-subjects .subjects-container .further:hover .further-alt {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.5vw;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.main-content-subjects .subjects-container .compsci {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    background-image: url(Images/compsci-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.5s;
    position: relative;
}

.main-content-subjects .subjects-container .compsci-alt {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 0.3em;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25), inset 0 0 0 1000px rgba(0,0,0,.6);
    transition: 0.5s;
}

.main-content-subjects .subjects-container .compsci:hover .compsci-alt {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.5vw;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.main-content-subjects .subjects-container .subject-card .title {
    width: 90%;
}

.main-content-subjects .subjects-description {
    width: 100%;
    padding-top: 4vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-content-subjects .subjects-description .inner {
    width: 60%;
}

.main-content-subjects .subjects-description .inner p {
    color: white;
    line-height: 1.5em;
    font-size: 1.75vw;
    margin-bottom: 4vh;
}

@media screen and (max-width: 1440px) {
}

@media screen and (max-width: 640px) {
    /* || Subjects page specific shite */

.main-content-subjects .inner{
    width: 80%;
}

.main-content-subjects .subjects-container {
    width: 100%;
    padding-top: 4vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-content-subjects .subjects-descriptor {
    color: white;
    font-size: 1vw;
    margin-top: 4vh;
    text-align: right;
    display: none;
}

.main-content-subjects .subjects-container .subject-card {
    width: 100%;
    height: 30vh;
    border: solid thin white;
    margin-bottom: 5vh;
    border-radius: 1em;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content-subjects .subjects-container .phys {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/phys-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.main-content-subjects .subjects-container .phys-alt {
    display: flex;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/phys-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .phys:hover .phys-alt {
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/phys-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .chem {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/chem-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.main-content-subjects .subjects-container .chem-alt {
    display: flex;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/chem-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .chem:hover .chem-alt {
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/chem-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .bio {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/bio-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.main-content-subjects .subjects-container .bio-alt {
    display: flex;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/bio-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .bio:hover .bio-alt {
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/bio-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .maths {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/maths-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.main-content-subjects .subjects-container .maths-alt {
    display: flex;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/maths-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .maths:hover .maths-alt {
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/maths-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .further {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/further-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.main-content-subjects .subjects-container .further-alt {
    display: flex;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/further-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .further:hover .further-alt {
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/further-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .compsci {
    width: 100%;
    height: 100%;
    border-radius: 1em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/compsci-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.main-content-subjects .subjects-container .compsci-alt {
    display: flex;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/compsci-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .compsci:hover .compsci-alt {
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: 0.08em;
    width: 100%;
    height: 100%;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.6);
    background-image: url(Images/compsci-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content-subjects .subjects-container .subject-card .title {
    width: 90%;
}

.main-content-subjects .subjects-description .inner {
    width: 80%;
}

.main-content-subjects .subjects-description .inner p {
    color: white;
    line-height: 1.5em;
    font-size: 4vw;
    margin-bottom: 4vh;
}

}