@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
body,
html {
    height: 85%;
    margin: 0;
    font-family: "Open Sans";
} /* tragedy picking open sans */


/* land acknowledgement section */
#soze {
    height: 7.5em;
    display: flex;
    align-items: center;
    margin: auto;
}

.land-ack-seal {
    height: 80%;
    margin: auto;
}

#land {
    background-color: white;
    color: #767676;
    font-family: "DM Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
    margin-right: 12%;
    margin-left: 12%;
    margin-bottom: 0;
    padding: 2em;
}


/* button section */

.b1s { /*button for pdf instruction download*/
    background-color: #4a6fa5;
    font-size: 26px;
    border-color: white;
    color: white;
    font-weight: bold;
    border-radius:10px;
}

.b1s:hover {
    background-color: #6486B9;
    cursor: pointer;
}

#selection-deadline-time {
    span {
        display: block;
    }

    #CountdownDateGr12 {
        font-size: 40px;
        font-weight: bold;
    }

    #deadline-date {
        font-size: 18px;
    }
}

h2 {
    /* float: left; */
    padding-top: 15px;
    padding-bottom: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    color: #5a217e;
    font-weight: 600;
    margin-left: 10px;
    margin-bottom: .2em;
    text-transform: uppercase;
}

#container1 {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px;
    /* margin: 10px; */
    overflow-x: hidden;
}

#container {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin: 20px;
}

#video {
    flex: 1;
    width: 100vh;
    height: 60vh;
    /* box-shadow: 2px 2px 4px; */
    border-radius: 10px;
}

#video-figure {
    margin-top: 0;
}

.crsReqHd {
    background-color: darkblue;
    border: 1px black;
}

.buttonContainer {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 20px;
    padding: 5px;
    box-sizing: border-box;
}

#deadline9,
#deadline12,
#videoTitle {
    width: 100%;
    border-style: solid;
    border-width: thin;
    border-color: black;
    font-family: Arial, Helvetica, sans-serif;
    padding: 30px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: white;
    line-height: 35px;
    margin: 10px 0;
    box-sizing: border-box;
    border-radius: 10px;
}

/* pdf instruction style */
#deadline9 {
    background-color: #4a6fa5;
}

/* course selection deadline style */
#deadline12 {
    background-color: rgb(0, 107, 115);
}

/* video title style */
#videoTitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #5a217e;
    font-weight: 600;
    background-color: lavender;
    padding: 1em;
    text-transform: uppercase;

    abbr {
      text-transform: none;
    }
}

/* Big purple title */
/* .reqTitle { */
h3 {
    margin: 1em 15px 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #5a217e;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

.reqContent {
    margin:0 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color:#333;
    padding-top: 15px;
    line-height: 1.6;
}


/* Line separator */

hr.line2 {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

/* Course requirements section */
.boxReq {
    background-color: #e6e6fa;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    font-size: 14px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.boxReq:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.boxReq .grade-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #5a217e;
    margin-top: 0;
    margin-bottom: 15px;
}

#boxContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    margin: auto;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 20px;
    padding: 20px 10px;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    #boxContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    #boxContainer {
        grid-template-columns: 1fr;
    }

    #boxReq {
        width: 100%;
    }
}

@media (max-width: 900px) {
    #container1 {
        flex-direction: column;
        align-items: center;
    }

    #video {
        width: 100%;
        height: 240px;
    }

    .buttonContainer {
        width: 100%;
        margin: 0;
        gap: 12px;
    }

    #deadline9,
    #deadline12,
    #videoTitle {
        padding: 16px;
        line-height: 1.4;
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .landing-text {
        width: 90%;
    }

    .landing-text h1 {
        font-size: 2rem;
    }

    #processTitle {
        font-size: 20px;
        margin-left: 0;
    }

    #processInfo {
        font-size: 16px;
        padding: 0 10px;
    }

    #boxContainer {
        padding: 10px;
        gap: 12px;
    }

    #boxReq {
        padding: 16px;
    }

    #land {
        margin: 0 8%;
        font-size: 14px;
        line-height: 1.5;
    }

    #soze {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 10px 0 20px;
    }

    #pp1 {
        height: auto;
        width: 90px;
    }
}



body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}


/* Landing Image */

.landing-image {
    position: relative;
    width: auto;
    height: 100vh;
    overflow: hidden;
}

.landing-image {
    position: relative;
}

.landing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.landing-text {
    position: absolute;
    bottom: 5%;
    left: 2%;
    text-align: left;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 60%;
}

.landing-text h1 {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
    margin: 0;
    padding: 0.5rem 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    display: inline-block;
    border-left: 4px solid white;
    padding-right: 2rem;
}

/* Different coloured page sections */
#sectionerWhite,
#sectionerAlt {
    min-height: 100vh;
    height: auto;
    padding-top: 1%;
    padding-bottom: 1%;
}

#sectionerWhite {
    background-color: #F0F2F5;
}

#sectionerAlt {
    background-color: rgb(219, 219, 241)
}

/* Misc */
#processInfo {
    font-size: 18px;
    margin-top: 20px;
    text-align: left;
    font-family: arial;
    line-height: 1.5;
    margin-right: 20px;
}

hr {
    border: 0;
    height: 2px;
    background-color: #5a217e;
    margin: 10px 0;
}

.thinContainer {
    margin: 5px 0;
    padding: 0;
}

.thinContainer hr {
    margin: 2px 0;
}

.thinContainer p {
    margin: 2px 0;
    font-size: 0.9em;
    line-height: 1.2;
}
