@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    box-sizing: border-box;
    color: white;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    margin: 5em auto ;
}

.logo {
    height: 5em;
}


body {

    margin: 0;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    background-color: rgb(31, 36, 42);

}
#bg-fixed{
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
  }
#popup {

    /* background: rgb(31, 35, 42); */
    padding: 20px;
    border-radius: 4px;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, .5);
    position: relative;
    margin: 2em;

}

#app-video {
    top: 340vh;
}

#course-video {
    top: 220vh;
}

.float-right {
    float: right;
}

header {
    width: 100%;
    position: absolute;
    margin-top: 1em;
    z-index: 1;
}

nav ul {
    margin: 0;
    padding: 1em;
    list-style: none;
    font-weight: 300;

}

nav li {
    display: inline-block;

}

nav a {
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .8rem;
    padding: .5em;
    color: white;
    border-bottom: 1px solid transparent;

    transition: border-bottom 0.5s;
}

nav a:hover {
    border-bottom: 1px solid white;
}

nav a:focus {
    color: #fff;

}

.home-hero {
    height: 100vh;
    width: 100%;
    /* background-image: linear-gradient(rgba(38, 46, 53, 0.9), rgba(0, 0, 0, 0.9)), url(../Assets/tpina_170615_1781_0209.jpg);
    background-size: cover;
    background-position: center; */
    padding: 10em 0;
    color: #fff;
    overflow: hidden;


}

.home-hero video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: -1;
}
.home-hero iframe{
    width: 100%;
    height: 100vh;
    
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: 0;
}

.home-hero .container {
    position: relative;
    text-align: center;
    z-index: 0;
}

.past-paper-hero { 
    height: fit-content;
    padding: 10em 0 4em 0;
}

.home-hero h1 {
    font-size: 2.5rem;
}

.home-hero h1 span {
    font-weight: 100;
    display: block;
    font-size: .8em;
}
.home-section{
    
   overflow: hidden;
}
.home-section video{
    height: 100vh;
   width: 100vw;
   object-fit: cover;
   z-index: -1;
}

.home-section-textbox {
    color: white;
    padding: 2em 4em;
    /* background-image: url("Assets/home-about-textbox-backgroung-img.png"); */
    background-repeat: none;
    position: relative;

}

.home-section-textbox h1 {
    font-weight: 700;
    font-size: 3rem;
    top: -0.75em;
    padding: 0 .25em;
    text-align: left;

}

.home-section-textbox p {
    color: white;
    font-size: 1.2rem;
    padding: 0 1em;
    text-align: left;
}


footer {
    padding: 1em 0;
    text-align: center;
    color: white;   
    z-index: 1;
}


.home-sponsor-textbox {
    margin: 2em;
    padding: 5em 0;
    border: 0.5em solid #a1a1a1;

}

.button {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    border-style: solid;
    border-radius: 0.5em;
    padding: 1em 2em;
    border-width: 0.12em;

}

.button-accent {
    color: #00fffc;

}

.button-accent:hover,
.button-accent:focus {
    background: #00fffc;
    color: #005DA5
}

.portfolio-items-wrapper {
    display: grid;

}

.portfolio-item-wrapper {
    margin: 2em;
    position: relative;


}

.portfolio-img-background {
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, .5);
    border-radius: .75em;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    width: 100%;
}

.img-text-wrapper {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    text-align: center;
    padding: 0 1em;

}

.logo-wrapper img {
    height: 6em;
    width: auto;
    margin-bottom: 20px;
    -webkit-filter: drop-shadow(2px 2px 15px #222);
    filter: drop-shadow(2px 2px 15px #222);
}

.img-text-wrapper .subtitle {
    font-family: sans-serif;
    font-size: 20px;
    transition: 1s;
    font-weight: 400;
    /* color: rgba(255, 255, 255, 0); */
    color: white;
}

/* .img-text-wrapper:hover .subtitle {
    color: white;
} */

.img-darken {
    transition: 0.5s;
    filter: brightness(40%);
}

.img-darkish {
    transition: 0.5s;
    filter: brightness(60%);
}

.portfolio-desc-wrapper {
    margin: 2em;
    background-color: #00fffc;
    padding: 4em 1em;
    border-radius: 1em;
    -webkit-filter: drop-shadow(3px 3px 6px #222);
    filter: drop-shadow(3px 3px 6px #222);

}

.portfolio-desc-wrapper h1 {
    margin: 0;
}

.dark-button {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    border-style: solid;
    border-radius: 5em;
    padding: 1em 2em;

}

.dark-button-accent {
    color: rgb(31, 36, 42);

}

.dark-button-accent:hover,
.dark-button-accsent:focus {
    background: rgb(31, 36, 42);
    color: #00fffc;
}

.block {

    height: 25rem;
    background-image: url("Assets/Free-Past-Exam-Papers.jpg");
    display: flex;
    border-radius: 1em;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    z-index: 4
}

#footer {
    padding: 1em 0;
    text-align: center;
    color: white;
}

@media screen and (min-height: 1100px) {
    #footer {
        width: 100vw;
        position: fixed;
        bottom: 0;
        z-index: -1;
    }
 }

.footer {
    background: rgb(31, 36, 42);
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}

.footer-content-container {
    max-width: 1200px;
    -webkit-flex-basis: 1200px;
    flex-basis: 1200px;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin: 50px 30px 60px
}

.footer-columns-container,

.footer-content-container {

    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: flex-start;
    align-items: flex-start
}

.footer-column {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    margin-left: 100px;
    min-width: 100px
}

.footer-line-separator {
    display: none
}

.footer-monthly-logo {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-transform: scale(1.25);
    transform: scale(1.25);
    margin-bottom: 15px
}

.footer-text {
    color: #afafaf;

    text-decoration: none
}

.footer-section-title {
    font-weight: 500;
    color: #fff
}

.footer-option {
    text-decoration: none;
    color: #afafaf;
    margin-top: 18px
}

.footer-option:hover {
    color: #fff;
    cursor: pointer;
    text-decoration: none
}

.footer-line-separator {
    border: 1px solid #3b3f4d;
    width: 100%;
    margin-top: 25px;
    margin-bottom: 25px
}

@media (max-width:1300px) {
    .footer-content-container {
        margin-left: 50px;
        margin-right: 50px
    }
}

@media (max-width:800px) {
    .footer-content-container {
        -webkit-flex-direction: column-reverse;
        flex-direction: column-reverse;
        -webkit-justify-content: center;
        justify-content: center
    }

    .footer-column {
        margin: 10px
    }

    .footer-columns-container {
        -webkit-align-items: flex-start;
        align-items: flex-start;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        width: 100%
    }

    .footer-line-separator {
        display: -webkit-flex;
        display: flex
    }
}

@media (max-width:400px) {
    .footer-column {
        min-width: 85px
    }
}

@media (max-width:420px) {
    .footer-column {
        min-width: 70px
    }

    .footer-content-container {
        margin-left: 20px;
        margin-right: 20px
    }
}

@font-face {
    font-family: "Dalgona";
    src: url("Assets/Fonts/Dalgona.ttf");
}




 .info-container {
    margin: 5em 15em;

}
.content {
    padding: 10em 0;
    width: auto;
    height: 100%;
}

.content h1 {}

.content ul {
    margin: auto 40%;
    list-style-type: none;
    padding: 0;
}

.content li {
    margin: 2rem 0;
    color: #fff;
}

.content a {
    text-decoration: none;
}

.content a:hover {
    text-decoration: none;
    padding: 0.5rem;
    border-bottom: 1px solid white;
    transition: border-bottom 0.25s;
}

.course-gallery {
    /* padding: 10em 0; */
    margin-bottom:20vh;
    display: grid;

}

.course-item {
    margin: 2em;
    position: relative;
}

.course-img-background {
    box-shadow: .25rem .25rem .5rem 0px rgba(0, 0, 0, .25);
    border-radius: .75em;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    width: 100%;

}

.course-overlay {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: min-content;
    width: 100%;
    text-align: center;
    padding: 1em 1em;
    border-radius: .75em;
    
}

.course-item .subtitle {
    font-family: sans-serif;
    font-size: 20px;
    transition: 1s;
    font-weight: 400;
    color: rgba(255, 255, 255, 0);
}

.course-item:hover .subtitle {
    color: white;
}


.course-title {
    margin: 1rem;
    font-size: 1rem;

    font-weight: 700;
}

.acrylic {
    background: rgba(33, 33, 33, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(30px);
    box-shadow: 2px 2px 10px rgb(0, 0, 0, 0.6);
}

.courses-page-title {
    padding-top: 2em;
    font-size: 4em;

    margin: 0 3rem;
}

.categories {
    font-size: 1.1rem;
    margin-top: 2rem;
}

.categories a {
    text-decoration: none;
    transition: border-bottom 0.25s;
}

.categories a:hover {
    color: #00fffc;
    padding: 0.5rem 0;
    border-bottom: .2em solid #00fffc;
}

.categories ul {
    list-style: none;
}

.categories ul li {

    font-weight: 600;
    margin: .5rem 1rem;
    display: inline-flex;
}

.course-hero {
    height: 60vh;
    background-color: #232323;
    display: flexbox;
}

.featured-course {
    height: min-content;
}

.featured-course .course-img-background {
    box-shadow: .25rem .25rem .5rem 0px rgba(0, 0, 0, .25);
    border-radius: .75em;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 100%;

}

.forehead {
    height: 20vh;
}

.boardSelection-items-wrapper {

    display: grid;

}

.boardSelection-item-wrapper {
    margin: 2em;
    position: relative;


}

.boardSelection-img-background {

    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, .5);
    border-radius: .75em;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    width: 100%;
}

.boardSelection-desc-wrapper {
    margin: 2em;
    background-color: #00fffc;
    padding: 4em 1em;
    border-radius: 1em;
    -webkit-filter: drop-shadow(3px 3px 6px #222);
    filter: drop-shadow(3px 3px 6px #222);

}

.boardSelection-desc-wrapper h1 {
    margin: 0;
}




.papers-table {

    width: 100vw;
    font-size: 1rem;
    font-weight: 400;
    padding: 1em 2em 2em;
    margin: auto;

}


.papers-table td {
    text-align: left;
    padding: 0.75rem;
    border: none;
    word-break: break-all;
}

.papers-table td a {
    padding: 15px;
    border: none;
    text-decoration: none;

}

.papers-table tr:hover {
    filter: brightness(70%);

}

#ac-wrapper {
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    /* margin-left: auto;
    margin-right: auto; */
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}


.popup-content {
    font-size: 16px;
}

.close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 42px;
    color: white;
    transform: rotate(45deg);
    cursor: pointer;
}


.close:hover {
    color: #00fffc;
}


@media (min-width:60rem) {

    .papers-table {
        width: 80%;
        margin-bottom: 20vh;
        padding: 2em;
    }
    .forehead {
        height: 10vh;
    }

    .home-hero {
        height: 100vh;
        padding-top: 40vh;
    }

    .home-hero h1 {
        font-size: 3rem;
    }

    #popup {

       
        padding: 20px;
        border-radius: 4px;
        box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, .5);
        position: relative;
        margin: 0 33vw;

    }
 

    .past-paper-hero {
        height: min-content;
        padding-top: 10rem;
        padding-bottom: 5rem;
    }

    .logo {
        float: left;
        margin-left: 0.5rem;
    }

    nav {
        float: right;
    }

    .portfolio-items-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .courses-page-title {
        padding-top: 2em;

        margin: 0 3rem;
    }

    .boardSelection-items-wrapper {
        padding:8em;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .course-gallery {
        /* padding: 10em 0; */
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .home-section {

        overflow: hidden;
        /* border-radius: 1em; */
        height: 120vh;
        /* margin: 2rem; */

    }




    .home-hero {
        height: 100vh;
        padding-top: 40vh;
    }

    .home-hero h1 {
        font-size: 3rem;
    }



    .past-paper-hero {
        height: min-content;
        padding-top: 10rem;
        padding-bottom: 5rem;
    }

    .logo {
        float: left;
        margin-left: 0.5rem;
    }

    nav {
        float: right;
    }

    .portfolio-items-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }



    .boardSelection-items-wrapper {

        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .course-gallery {
        /* padding: 10em 0; */
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

   
    .home-section video {
        height: 120vh;
        width: 100%;
        position: absolute;
        object-fit: cover;
        overflow: hidden;
      
        left: 0%;
        z-index: -1;
    }

    .home-section-textbox {
        box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, .5);
        padding: 2em;
        border-radius: .8em;
        width: 40%;
        margin-left: 2.5%;
        margin-top: 2.5%;
        z-index: 0;
        background: rgba(0, 0, 0, 0.1);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(30px);
        box-shadow: 2px 2px 10px rgb(0, 0, 0, 0.6);
    }

    .categories {
        font-size: 1.1rem;
        margin-top: 2rem;
    }

    .categories a {
        text-decoration: none;
        transition: border-bottom 0.25s;
    }

    .categories a:hover {
        color: #00fffc;
        padding: 0.5rem 0;
        border-bottom: .2em solid #00fffc;
    }

    .categories ul {
        list-style: none;
    }

    .categories ul li {

        font-weight: 600;
        margin: 0 1rem;

        display: inline;
    }





    .categories {
        font-size: 1.1rem;
        margin-top: 2rem;
    }

    .categories a {
        text-decoration: none;
        transition: border-bottom 0.25s;
    }

    .categories a:hover {
        color: #00fffc;
        padding: 0.5rem 0;
        border-bottom: .2em solid #00fffc;
    }

    .categories ul {
        list-style: none;
    }

    .categories ul li {

        font-weight: 600;
        margin: 0 1rem;

        display: inline;
    }
    .info-container {
        margin: 1.5em;
    }
 }

 .login{
    height: fit-content;
    margin-top: 1em;
    max-width: max-content;
    padding: 2px 4px;
    border-radius:15px;
    border-style: solid;
    border-width: 2px;
}

.course-gallery a{
   padding: .5em 2em;
}


.blogs-table {
    font-size: 1rem;
    font-weight: 400;
    margin: auto;
}

.blogs-table td {
    text-align: left;
    padding: 0.75rem;
    border: none;
    word-break: break-all;
}

.blogs-table tr:hover {
    filter: brightness(70%);
}

.blog-section {
    min-height: 60vh;
    width: 80%;
    margin: 5em auto;
    text-align: left;
    line-height: 1.6;
}

.blog-section h1 {
    text-align: center;
}

@media screen and (min-width:960px){
    .blog-section {
        width: 50%;
    }
}