@charset utf-8;

@import url('https://fonts.googleapis.com/css?family=Prompt');


@media only screen and (min-width: 1025px) {
    :root {
        font-size: 16px;
    }
    
    body{
        display: grid;
        grid-template-columns: auto auto auto;
        grid-row-gap: 0.5em;
    }
    
    nav {
        width: 14.5em;
        grid-column-start:1;
        grid-column-end:1;
        grid-row-start: 1;
        grid-row-end: 3;
    }
    header {
        margin-left: 0.5em;
        grid-column-start: 2;
        grid-column-end:2;
        grid-row-start:1;
        grid-row-end:1;
    }


    main {
        margin-left: 0.5em;
        grid-column-start: 2;
        grid-column-end:2;
        grid-row-start:2;
        grid-row-end:3;
    }


    footer {
        margin-left: 0.5em;;
        grid-column-start: 2;
        grid-column-end:2;
        grid-row-start:3;
        grid-row-end:3;
    }

    .menuButton {
        display: none;
    }

    .closebtn {
        display: none !important;
    }

    .sidenav {
        left: 0;
    }

    #mySidenav {
        left: 0;
        width:15.2em;
    }

    #ngy2p {
        position: relative;
    }


    .img-responsive1{
        background-image: url("../slideMedia/SC_04_Wallpaper_3840x2160.jpg");
        background-attachment: fixed;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right;
    }

    .img-responsive2{
        background-image: url("../slideMedia/SC_14_Wallpaper_3840x2160.jpg");
        background-attachment: fixed;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: left;
    }

    .img-responsive3{
        background-image: url("../slideMedia/SC_05_Wallpaper_3840x2160.jpg");
        background-attachment: fixed;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: left;
    }

    .gradient-effect{
        position: relative;
        display: block;
    }
    .gradient-effect::before{
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(to left,rgba(255,255,255,0),#FFF,#FFF);
    }

    .gradient-effect2{
        position: relative;
        display: block;
    }
    .gradient-effect2::before{
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(to left,#FFF,#FFF,rgba(255,255,255,0));
    }

    .gradient-effect3{
        position: relative;
        display: block;
    }
    .gradient-effect3::before{
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(to left,#FFF,#FFF,#FFF,rgba(255,255,255,0));
    }

    .content{
        word-wrap:break-word;
        position: relative;
        width: 50%;
    }
    .contentP{
        word-wrap:break-word;
        position: relative;
        width: 50%;
        margin-left: 50%;
        padding-bottom: 2em;
    }

    .contentI{
        word-wrap:break-word;
        position: relative;
        width: 70%;
        margin-left: 30%;
        padding-bottom: 2em;
    }

}

/*for laptops with small screen, smartphones in landscape or tablets*/
@media only screen and (min-width: 768px) and (max-width: 1025px) or (orientation: landscape) {
    :root {
        font-size: 16px;
    }
    
    body{
        display: grid;
        grid-template-columns: auto auto auto;
        grid-column-gap:0.1em;
        grid-row-gap: 1em;
    }

    nav {
        grid-row-end: 1;
        grid-row-start:1;
        grid-column-start: 1;
        grid-column-end: 1;
    }
    
    header{
        margin-left: 0.5em;
        grid-row-end: 2;
        grid-row-start:2;
        grid-column-start: 1;
        grid-column-end: 1;
    }
    
    main{
        margin-left: 0.5em;
        grid-row-end: 3;
        grid-row-start:3;
        grid-column-start: 1;
        grid-column-end: 1;
    }
    
    footer{
        margin-left: 0.5em;
        grid-row-end: 4;
        grid-row-start:4;
        grid-column-start: 1;
        grid-column-end: 1;
    }


    .sidenav {
        right: 0;
    }
    
    .closebtn{
        display:block;
    }

    .menuText {
        position: relative;
        float: right;
        padding-right: 0.5em;
    }

    .menuButton {
        position: relative;
        float: left;
    }

    .menuContainer {
        position: relative;
        z-index: 1;
        float: left;
    }

    #ngy2p {
        position: relative;
    }

}

/* for smartphones portrait */
@media only screen and (min-width: 0px) and (max-width: 768px) and (orientation: portrait) {
    :root {
        font-size: 13px;
    }

    
    body{
        display: grid;
        grid-template-columns: minmax(100px,1080px) auto auto;
        grid-column-gap:0.1em;
        grid-row-gap: 1em;
    }

    nav {
        grid-row-end: 1;
        grid-row-start:1;
        grid-column-start: 1;
        grid-column-end: 1;
    }
    
    header{
        margin-left: 0.5em;
        grid-row-end: 2;
        grid-row-start:2;
        grid-column-start: 1;
        grid-column-end: 1;
    }
    
    main{
        grid-row-end: 3;
        grid-row-start:3;
        grid-column-start: 1;
        grid-column-end: 1;
    }
    
    footer{
        grid-row-end: 4;
        grid-row-start:4;
        grid-column-start: 1;
        grid-column-end: 1;
    }



    .sidenav {
        right: 0;
    }
    
    .closebtn{
        display:block;
    }

    .menuText {
        position: relative;
        float: right;
        padding-right: 0.5em;
    }

    .menuButton {
        position: relative;
        float: right;
    }

    .menuContainer {
        position: relative;
        z-index: 1;
        float: right;
    }

    #ngy2p {
        position: relative;
    }
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */


body {
    font: 400 0.94em/1.8 "Lato", sans-serif;
    color: #777;
}
    
nav {
    font-family: 'Prompt', sans-serif;

}

header {
    font-family: 'Prompt', sans-serif;
}


main {
    font-family: 'Prompt', sans-serif;
}


footer {
    display: flex;
    flex-wrap: wrap;
    font-family: 'Prompt', sans-serif;
    line-height: 1;
    text-align: center;
}

footer > a {
    text-decoration: none;
}

* {
    box-sizing: border-box;
}

img {
    vertical-align: middle;
}

.platforms {
    text-align: center;
    color: #000;
}



.caption {
    top:50%;
    border: 2px;
    border-bottom: solid white;
    border-top: solid white;
    position: relative;
    background-color: black;
    text-align: center;
    color: #000;
}

.backtotop {

}

.backtotop:first-child {
    position: relative;
    text-align: center;
    background-color: rgba(70, 70, 70, 1);
    color: white;
    padding: 1.1em;
    font-size: 1.38em;
    letter-spacing: 0.06em;
    width: 100%;
}


.caption > span.border {
    color: white;
    text-shadow: 0.0625em 0.0625em 0.3125em black;
    padding: 1.13em;
    font-size: 1.38em;
    letter-spacing: 0.06em;
}





.menuContainer {
    width: 27.5em;
}

.menuButton {
    font-size: 30px;
    cursor: pointer;
}

.menuText {
    font-size: 30px;
    cursor: pointer;
}

/* The side navigation menu */
.sidenav {
    z-index: 100;
    height: 100%;
    /* 100% Full-height */
    width: 0px;
    /* 0 width - change this with JavaScript */
    position: fixed;
    /* Stay in place */
    top: 0;
    /* Stay at the top */
    background-color: #111;
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 2rem;
    transition: 0.5s;
    /* 0.5 second transition effect to slide in the sidenav */
}


.sidenav ul >li{
    list-style: none;
}

#gallChild{
    display: none;
}

/* The navigation menu links */
.sidenav ul > li >a {
    font-size: 1.56em;
    padding: 0.5em 0.5em 0.5em 0em;
    text-decoration: none;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav ul ul li a {
    display: block;
    font-size: 1em;
    padding: 0.5em 0.5em 0.5em 0em;
    text-decoration: none;
    color: #818181;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav ul a:hover {
    color: #f1f1f1;
}


/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: -1em;
    right: -0.3em;
    font-size: 3.25em;
    margin-left: 0;
    margin-right: 5%;
}


#SCLogo{
    background-image: url(../logos/MadeByTheCommunity_Black.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 70px;
    width: 70px;
}

.bottomNav {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
}

.bottomNav > li {
    margin-left: 1em;
}

.bottomNav > li > a {
    vertical-align: middle;
    color: grey;
}

.aboutMe > div {
    border: 0.13em;
    border-bottom: solid white;
    border-top: solid white;
    color: #ddd;
    background-color: #282E34;
    text-align: center;
    padding: 3.13em 2em;
    text-align: middle;
    position: relative;
}

.bannerimg {
    max-width: 100%;
    height: auto;
    width: auto;
}

#container {
    position: relative;
    display: flex;
    display: -webkit-flex;
    /* Safari 8 */
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    /* Safari 8 */
    -webkit-justify-content: center;
    /* Safari 8 */
}

.bg-text{
    padding-left: 1.1em;
}

#disclaimerCIG{
    font-weight: 100;
    font-size:0.7em;
    width: 80%;
    margin-left: 10%;
}

#aboutme:hover #aboutChild{
    display: block;
}

#gallery:hover #gallChild{
    display: block;
}

#SCLogo{
    float: right;
    width: 10%;
    height: auto;

}

