/* 
stylesheet for Integrate 2 Educate 2023
Giselle Kroeger
*/

/****** GENERAL ******/
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&display=swap');
:root {
    --i2eDarkBlue: #0f4694;
    --i2eMedBlue: #32b4e3;
    --i2eLime: #bde54c;
    --i2eGreen: #7dc133;
    --i2ePurple: #9B71E0;
    --i2eDarkPurple: #6D48AB;
}
html {
    font-size: 1em;
}
body {
    margin: 0;
    padding: 0;
}
h1 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 3rem;
}
h2 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
}
h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}
p, ul, label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.2rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#wrapper, #cartWrapper, #ordersWrapper {
    width: 100%;
    min-width: 1280px;
    margin-top: 140px;
    margin-bottom: 2rem;
}
#contactWrapper {
    width: 80%;
    min-width: 1280px;
    margin-top: 160px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.greenBannerText {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: normal;
    color: white;
    text-align: center;
}
.purpleText {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    color: var(--i2ePurple);
    margin-bottom: 2rem;
}

/****** COMING SOON ******/
#description {
    float: left;
    width: 30%;
    height: 100vh;
    text-align: center;
}
#coming_soon_logo {
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 6rem;
    margin-bottom: 6rem;
}
#coming_soon_description {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.coming_soon {
    margin-left: 30%;
    height: 100vh;
    background-image: url(images/bg_image-01.png);
    background-size: cover;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#woordeboek, #studyPacks {
    width: 40%;
}
.advert {
    width: 100%;
    box-shadow: 10px 10px 5px #0F1630;
}
#description h2 {
    line-height: 3rem;
    color: var(--i2eMedBlue);
}
.h1ComingSoon {
    color: white;
    margin-bottom: 1rem;
}
.hiddenButton input[type=submit] {
    color: var(--i2eMedBlue);
    background-color: var(--i2eMedBlue);
    border: none;
}

/****** HEADER ******/
#mobileHeader {
    display: none;
    height: 0px;
}
#mobileLinks {
    display: none;
    height: 0px;
}
#desktopHeader {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    height: 120px;
    top: 0;
    background-color: #0f4694;
    /* margin-bottom: 120px; */
}
#desktopHeader a {
    margin: 1rem;
    width: 14%;
}
.headerLogo img {
    width: 100%;
    min-width: 193px;
    max-height: 100%;
    vertical-align: middle;
}
#topnav {
    padding: 3rem;
}
#topnav form {
    display: inline;
    padding: 1rem;

}
.topnavButton {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    background: none;
    border: none;
    color: white;
}
.topnavButtonActive {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    background: none;
    border: none;
    color: var(--i2eMedBlue);
}
.topnavButton:hover {
    color:var(--i2eLime);
}

#headerHR {
    clear: both;
}

/****** MESSAGE ******/
.display_message {
    display: flex;
    justify-content: space-between;
    background-color: var(--i2eMedBlue);
    margin: 0 25% 2rem 25%;
    padding: 1rem;
    /* border: thin solid pink; */
}

/****** HOME ******/
#contactDetailsImage {
    width: 50%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.greenBanner {
    background-color: var(--i2eGreen);
    padding: 1rem;
    margin-top: 120px;
}
.greenBannerContent {
    margin-top: auto;
    margin-bottom: auto;
}
#homeWrapper {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
}
#homePortrait {
    width: 33%;
    padding: 3% 3% 1% 3%;
}
#homeDescription {
    padding: 3%;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color:#4b86ad;
}
.homeBottom {
    text-align: center;
}
.blueButton {
    color: white;
    background-color: var(--i2eDarkBlue);
    border: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0.5rem 0 0.5rem 0;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0.3rem 0.3rem black;
    text-decoration: none;
    margin: 1rem;
}

/****** GRADE FILTER ******/
#selectGrade {
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 2rem;
    color: black;
}
#selectGrade {
    padding-top: 1rem;
    margin-bottom: 3rem;
}
#selectGrade input[type="checkbox"] {
    margin: 1rem;
}

/****** REVIEWS ******/
.reviewHeading {
    color:#4b86ad;
    margin-bottom: 1rem;
}
#reviews {
    margin-left: 1.5rem;
    margin-top: 1rem;
}
.reviewDescription {
    color:#4b86ad;
}
.reviewName {
    color:#4b86ad;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}
.reviewButton {
    color: black;
    background-color: var(--i2eMedBlue);
    border: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin: 0.5rem 0 0.5rem 0;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0.3rem 0.3rem var(--i2eDarkBlue);
}
#reviewRequest input[type=text] {
    width: 40%;
}
#reviewRequest input[type=textarea] {
    width: 40%;
    height: 8rem;
}
#reviewFormName, #reviewFormDescription {
    margin-bottom: 2rem;
}
.reviewsMobile {
    display: none;
}

/****** HISTORY & MATHS ******/
#sidebar {
    float: left;
    width: 18%;
}
#contentsDescription {
    margin: 0.8rem 0 0 0.8rem;
}
#contentsDescription p {
    margin: 2rem 0 0 1rem;

}
#contentsDescription ul {
    margin-left: 1rem;
    
}
#contentsDescription li {
    margin: 0.8rem;
}
#studyPackList, #allVideos, #AdminStudyPackList, #AdminVideoList, #shippingDetails, #bookList, #reviewRequest {
    float: left;
    width: 76%;
    margin-bottom: 5rem;
}
.materialDescription {
    color:#4b86ad;
    margin-left: 7%;
}
.booksDescription {
    color:#4b86ad;
    margin-left: 7%;
    margin-right: 7%;
}
.booksDiscountDescription {
    color: var(--i2ePurple);
    margin-left: 7%;
    margin-right: 7%;
}
.studyMaterialFlexbox {
    display: flex;
    flex-wrap: wrap;
}
.studyMaterialItemVideo {
    width: 50%;
    padding: 2rem 7%;
    z-index: -1;
    /* border: thin solid black; */
}
.studyMaterialItemPDFs {
    width: 50%;
    padding: 2rem 7%;
    /* border: thin solid black; */
}
.studyMaterialItemBooks {
    width: 33%;
    padding: 2rem 7%;
    /* border: thin solid black; */
}
.studyMaterialItemBooks img, .studyMaterialItemPDFs img {
    max-width: 100%;
    max-height: 50vh;
}
#studyPackCartDescription {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    padding: 0.2rem;
    /* border: thin solid black; */
}
.price {
    color:black;
}
.greenButton {
    color: black;
    background-color: var(--i2eLime);
    border: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0.5rem 0 0.5rem 0;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0.3rem 0.3rem var(--i2eGreen);
}

.videoContainer {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* to create aspect ratio 16:9 */
}
.videoContainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.infoAndTitle {
    margin-top: 0.5rem;
}
.videoTitle, .videoDescription {
    margin: 0.5rem;
}

/****** CART ******/
#cartWrapper {
    display: flex;
}
#cartContents, .ordersSummary {
    margin-left: 13%;
    width: 38%;
    /* border: thin solid blue; */
}
#cartContents img {
    width: 200px;
}
#cartTotal, .orderDetail {
    padding-left: 7%;
    /* border: thin solid yellow; */
}
.cartItem, .adminItem {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    
}
#itemInfo {
    margin-left: 1.2rem;
}
.textButton {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    background: none;
    border: none;
    text-decoration: underline;
}
.cart_quantity {
    display: flex;
    /* justify-content: flex-start; */
}
.cart_quantity form{
    padding-left: 1rem;
}
.cart_quantity form input[type=number]{
    width: 25%;
}
.quantityButton {
    text-align: center;
    background-color: lightblue;
    border: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.2rem;
    border-radius: 0.3rem;
    width: 20px;
    height: 20px;
    line-height: 10px;
}
.blueShippingText {
    color: var(--i2eMedBlue);
}
.greenShippingText {
    color: var(--i2eGreen)
}
#shippingMethodRadio {
    border: none;
}
#sectionPostnet {
    display: none;
}
#sectionDoor {
    display: none;
}

/****** PAYMENT SUCCESS ******/
#paymentSuccess {
    text-align: center;
    margin-top: 160px;
    margin-left: auto;
    margin-right: auto;
}
#paymentSuccess h2, #paymentSuccess form {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--i2eDarkBlue);
}

.successMessage {
    font-size: 2rem;
}

.downloadMessage {
    color: var(--i2eDarkBlue);
    font-size: 1.5rem;
    margin: 0 0 2rem 0;
    padding: 0.5rem;
}

.pdfDownloadLink {
    padding: 2rem;
}

.pdfDownloadLink a {
    font-family: 'Quicksand', sans-serif;
    color: white;
    background-color: var(--i2ePurple);
    border-radius: 0.2rem;
    font-size: 1.5rem;
    margin: 0.5rem;
    padding: 0.6rem;
}

.successBreak {
    margin: 2rem;
}

/****** ADMIN ******/
#adminSidebar {
    float: left;
    width: 18%;
    margin: 1rem 0 0 2rem;
}
#AdminContents {
    float: left;
    width: 70%;
    margin-bottom: 8rem;
}
.adminContentGrid {
    margin-top: 2rem;
    display: grid;
    gap: 5rem 1rem;
    grid-template-columns: 1fr 2fr;
}
.adminContentImage {
    text-align: right;
}
.adminContentGrid img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}
#AdminContents h2, #shippingDetails h2 {
    font-size: 2rem;
}
.editDeleteButtons form {
    display: inline;
    margin-right: 1rem;
}
.newContent, .shippingForm {
    margin: 2rem 0;
}
.newContent select, .newContent input[type=text], .newContent textarea, .shippingForm input[type=text], .shippingForm input[type=email]{
    width: 30%;
    padding: 0.5rem;
    margin-bottom: 1rem;
}
.newContent input[type=file] {
    margin-bottom: 3rem;
}
.orderh2 {
    margin-left: 3%;
    margin-bottom: 1rem;;
}
.ordersTable table, .ordersTable th, .ordersTable td {
    border: 1px solid;
    padding: 0.5rem;
}
.ordersTable {
    width: 100%;
    border-collapse: collapse;
    margin-left: 3%;
}
 #ordersWrapper {
    display: grid;
    gap: 2rem;
    grid-template-columns: 10% 1fr 1fr;
}
.adminH2 {
    color: var(--i2eDarkPurple);
    margin-top: 1rem;
}

/****** FOOTER ******/
footer {
    width: 100%;
    background-color: var(--i2eMedBlue);
    text-align: center;
    position: fixed;
    bottom: 0;
}
.KWD {
    color: var(--i2eDarkBlue);
    font-size: 0.6rem;
}
.developerUse {
    display: flex;
    justify-content: center;
    margin: 0;
}
.developerUse a {
    color: var(--i2eDarkBlue)
}
footer a img {
    height: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.2rem;
}
/****** FOR MOBILE SCREEN ******/
/****** FOR MOBILE SCREEN ******/
/****** FOR MOBILE SCREEN ******/

/* Style rule for screens SMALLER than 900px */
@media screen and (max-width: 900px) {
    /****** GENERAL ******/
    #wrapper, #homeWrapper, #cartWrapper, #ordersWrapper {
        width: 100%;
        min-width: 100%;
        margin-top: 100px;
        margin-bottom: 3rem;
    }
    #homeWrapper {
        display: block;
    }
    /****** HEADER ******/
    #desktopHeader {
        display: none;
        height: 0px;
    }
    #mobileHeader {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        height: 90px;
        top: 0;
        background-color: #0f4694;
    }
    .icon {
        text-align: right;
    }
    #topnavMobile {
        color: white;
        margin: 1rem;
        font-size: 1.8rem;
    }
    #mobileLinks {
        display: none;
        position: absolute;
        right: 0;
        top: 0;
        width: 50%;
    }
    header a {
        margin: 1rem;
        width: 50%;
    }
    #headerLogo img {
        width: 80%;
        min-width: 80%;
        vertical-align: middle;
    }
    #topnav {
        padding: 1rem;
        background-color: var(--i2eDarkBlue);
    }
    #topnav form {
        padding: 0;
        margin: 0;
    }
    #topnav input {
        margin: 1rem;
    }

    /****** HOME ******/
    #homePortrait {
        width: 100%;
    }

    /****** REVIEWS *******/
    .reviewsMobile {
        display: block;
        clear: both;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /****** STUDY PACKS ******/
    #sidebar {
        display: none;
    }
    #studyPackList {
        width: 100%;
    }
    .studyMaterialItemPDFs, .studyMaterialItemBooks {
        width: 100%;
        padding: 2rem 7%;
        text-align: center;
    }
    

    /****** BOOKS ******/
    .studyMaterialItemBooks img {
        max-height: 70vh;
    }

    .studyMaterialItemBooks p {
        text-align: left;
    }
    #bookList {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .booksDescription, .booksDiscountDescription {
        width: 100%;
        font-size: 1rem;;
    }

    /****** CART ******/
    #cartWrapper {
        display: block;
    }
    #cartContents, .ordersSummary {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        /* border: thin solid blue; */
    }
    #cartContents .cartItem img {
        width: 40%;
    }
    .cartItem {
        align-items: flex-start;
    }
    #itemInfo br {
        display: none;
    }
    #cartTotal {
        text-align: center;
    }
    
    /****** FOOTER ******/
    .KWD {
        color: var(--i2eDarkBlue);
        font-size: 0.6rem;
    }
    footer a img {
        height: 1rem;
        margin-top: 1rem;
        margin-bottom: 0.2rem;
    }
}