/*Normal Styles*/
html,
body {
    box-sizing: border-box;
    font-size: 62.5%;
    /*10px/16px = 62.5% -> 1rem = 10px  Pixels required divide by 16 to get REM*/
    font-family: raleway;
    color: #000;
    margin: 0;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.wrapper {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.youtube-video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%;
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.intro {
    grid-column: full-start / full-end;
    padding: 20px 20px;
}

.cards {
    display: grid;
    margin: 0 10%;
}


.card {
    display: grid;
    grid-template-rows: min-content 1fr;
    grid-template-columns: 1fr;
}

.card_top {
    display: grid;
    grid-area: 1 / 1 / 2 / 2;
    z-index: 1000;
}

.card_back1 {
    border-radius: 0px 50px 0px 50px;
    grid-area: 2 / 1 / 5 / 2;
    background-color: white;
    box-shadow: 5px 10px 15px rgba(136, 136, 136, 0.6);
    margin-top: -100px;
    padding: 0 30px 20px 30px;
    z-index: -1;
    position: relative;
}

.card_back2 {
    border-radius: 0px 50px 0px 50px;
    grid-area: 2 / 2 / 5 / 3;
    background-color: white;
    box-shadow: 5px 10px 15px rgba(136, 136, 136, 0.6);
    margin-top: -100px;
    padding: 0 30px 20px 30px;
    z-index: -1;
    position: relative;
}

.card_back3 {
    border-radius: 0px 50px 0px 50px;
    grid-area: 2 / 3 / 5 / 4;
    background-color: white;
    box-shadow: 5px 10px 15px rgba(136, 136, 136, 0.6);
    margin-top: -100px;
    padding: 0 30px 20px 30px;
    z-index: -1;
    position: relative;
}

.card img {
    width: 80%;
    margin: 0 10%;
}


.footer {
    grid-column: full-start / full-end;
    background-color: #cecac9;
    color: #000;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 0.5fr 0.5fr;
    padding: 20px 0 40px 0;
    margin-top: 80px;
    bottom: 0;
}

.social {
    display: grid;
    justify-items: center;
    grid-column: 2 / 3;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}


.social1 {
    grid-column: 3 / 4;
}

.social2 {
    grid-column: 4 / 5;
}

.social3 {
    grid-column: 5 / 6;
}

.social4 {
    grid-column: 6 / 7;
}

.mobile {
    display: none;
}

.desktop {
    display: block;
}

.select {
    grid-column: full-start / full-end;
}


/*Tab landscape port*/
/*1200px*/
@media only screen and (max-width: 75em) {
    .cards {
        margin: 0 5%;
    }
}


/*Tab port*/
/*900px*/
@media only screen and (max-width: 56.25em) {
    .cards {
        display: grid;

        margin: 0 3%;
    }
}

/*Tab port*/
/*800px*/
@media only screen and (max-width: 50em) {
    .cards {
        display: grid;

        margin: 0 15%;
    }

    .card_back1 {
        border-radius: 0px 50px 0px 50px;
        grid-area: 2 / 1 / 5 / 4;
        background-color: white;
        box-shadow: 5px 10px 15px rgba(136, 136, 136, 0.6);
        margin-top: -100px;
        padding: 0 30px 20px 30px;
        z-index: -1;
        position: relative;
    }

    .card_back2 {
        border-radius: 0px 50px 0px 50px;
        grid-area: 6 / 1 / 9 / 4;
        background-color: white;
        box-shadow: 5px 10px 15px rgba(136, 136, 136, 0.6);
        margin-top: -100px;
        padding: 0 30px 20px 30px;
        z-index: -1;
        position: relative;
    }

    .card_back3 {
        border-radius: 0px 50px 0px 50px;
        grid-area: 10 / 1 / 13 / 4;
        background-color: white;
        box-shadow: 5px 10px 15px rgba(136, 136, 136, 0.6);
        margin-top: -100px;
        padding: 0 30px 20px 30px;
        z-index: -1;
        position: relative;
    }
}


/*Phone port*/
/*600px*/
@media only screen and (max-width: 37.5em) {

    html,
    body {
        width: 100vw;
        height: 100vh;
        margin: 0 auto;
        overflow-x: hidden;
    }

    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    .footer {
        padding: 40px 0 40px 0;
    }

    .cards {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 2rem;
        margin: 0 3%;
    }

}



/* PAGE MARGINS */

/* Normal Styles */
.u-centre-text {
    text-align: center;
}

.u-centre-image {
    display: grid;
    place-items: center;
}

.u-margin-bottom-large {
    margin-bottom: 6vw;
}

.u-margin-bottom-medium {
    margin-bottom: 4vw;
}

.u-margin-bottom-small {
    margin-bottom: 2vw;
}

.u-margin-bottom-xsmall {
    margin-bottom: 2vw;
}

.u-margin-top-large {
    margin-top: 6vw;
}

.u-margin-top-medium {
    margin-top: 4vw;
}

.u-margin-top-small {
    margin-top: 2vw;
}

.u-margin-top-xsmall {
    margin-top: 1vw;
}


/*Tab port*/
/*900px*/
@media only screen and (max-width: 56.25em) {
    .u-margin-bottom-small {
        margin-bottom: 1vw;
    }

    .u-form-spacer {
        margin-bottom: 6vh;
    }

    .u-mobile-spacer {
        display: block;
        margin-top: 6vh;
        margin-bottom: 4vh;
    }


}

/*Mob port*/
/*600px*/
@media only screen and (max-width: 37.5em) {

    .u-mobile-spacer {
        display: block;
        margin-top: 6vh;
        margin-bottom: 4vh;
    }

}

/*Small Mob port*/
/*400px*/
@media only screen and (max-width: 25em) {}