
@media only screen and (min-width: 320px) {
 
    * body {
        height: 100vh;
        width: 100vw;
        padding: 0;
        margin: 0;


	}
    body {
        height: 100%;
        width: 100%;
        margin: 0;
        background-color: violet;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        font-family: Impact, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    }
    #main {
        width: 80vw;
        margin-left: 10vw;
        padding-bottom: 10vh;
        border: 15px solid rgba(255, 215, 0, 1);
        background-image: url("../images/Sun-Image-02.png");
        background-repeat: no-repeat;
        background-size: 103% 110%;
    }
    header {
        width: 79.2vw;
        height: 30vh;
        background-image: url("../images/Android-Logo.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }   

    nav {
        width: 79.2vw;
        height: 20vh;
        text-align: center;
        background-color: rgba(0, 0, 0, 1.00);
        padding: 0vw;
        float: left;
        margin-bottom: 2vh;
    }
    nav ul {
        -webkit-padding-start: 0;
    }
    nav li {
        display: inline;
    }
    nav li a {
        color: rgba(255, 255, 255, 1.0);
        text-decoration: none;
        font-weight: 300;
        margin-left: 5vw;
    }
    section#slideshow {
        /*width: 79.2vw;
        height: 70vh;*/
        margin-top: 25vh;
        margin-left: 0 auto;
        margin-right: 0 auto;
        opacity: 0.9;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
        background-image: url("../images/Android-Logo.png");
        background-repeat: repeat;
        background-size: 25vw;
    }

    section.contentbox {
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        width: 18vw;
        height: auto;
        margin: 3vw;
        float: left;

    }
   
    article.news {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
		width: 75vw;
		height: 50vw;
        margin-top: 5vh;
        margin-bottom: 2vh;
	}
	footer nav li  a{
        color: red;
        vertical-align: central;
 
	}
	
    footer {
        margin: 0vh;
        margin-left: 10vw;
        height: 10vh;
      
    }
}
/* Retina enabled devices with smaller screen */
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px), only screen and (min-device-pixel-ratio: 2) and (min-width: 320px), only screen and (min-resolution: 192dpi) and (min-width: 320px), only screen and (min-resolution: 2dppx) and (min-width: 320px) {}
/*Non- retina based devices with medium screen size */
@media only screen and (max-width: 768px) {
 
    * body {
        height: 100vh;
        width: 100vw;
        padding: 0;
        margin: 0;


	}
    body {
        height: 100%;
        width: 100%;
        margin: 0;
        background-image: url("../images/Galaxy-02.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        font-family: Impact, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    }
    #main {
        width: 80vw;
        margin-left: 10vw;
        padding-bottom: 10vh;
        border: 15px solid rgba(255, 215, 0, 1);
        background-image: url("../images/Sun-Image-02.png");
        background-repeat: no-repeat;
        background-size: 103% 110%;
    }
    header {
        width: 79.2vw;
        height: 30vh;
        background-image: url("../images/Android-Logo.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }   

    nav {
        width: 79.2vw;
        height: 20vh;
        text-align: center;
        background-color: rgba(0, 0, 0, 1.00);
        padding: 0vw;
        float: left;
        margin-bottom: 2vh;
    }
    nav ul {
        -webkit-padding-start: 0;
    }
    nav li {
        display: inline;
    }
    nav li a {
        color: rgba(255, 255, 255, 1.0);
        text-decoration: none;
        font-weight: 300;
        margin-left: 5vw;
    }
    section#slideshow {
        width: 79.2vw;
        height: 70vh;
        margin-top: 25vh;
        margin-left: 0 auto;
        margin-right: 0 auto;
        opacity: 0.9;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
        background-image: url("../images/Android-Logo.png");
        background-repeat: repeat;
        background-size: 25vw;
    }

    section.contentbox {
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        width: 18vw;
        height: auto;
        margin: 3vw;
        float: left;

    }
   
    article.news {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
		width: 75vw;
		height: 50vw;
        margin-top: 5vh;
        margin-bottom: 2vh;
	}
	footer nav li  a{
        color: red;
        vertical-align: central;
 
	}
	
    footer {
        margin: 0vh;
        margin-left: 10vw;
        height: 10vh;
      
    }
}
/* Retina devices with medium screen size */
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 769px), only screen and (min-device-pixel-ratio: 2) and (min-width: 769px), only screen and (min-resolution: 192dpi) and (min-width: 769px), only screen and (min-resolution: 2dppx) and (min-width: 769px) {
    /* Non-retina devices with large screen sizes */
    @media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 1200px), only screen and (min-device-pixel-ratio: 2) and (min-width: 1200px), only screen and (min-resolution: 192dpi) and (min-width: 1200px), only screen and (min-resolution: 2dppx) and (min-width: 1200px) {

        * body {
            height: 100vh;
            width: 100vw;
            padding: 0;
            margin: 0;
        }

        body {
            height: 100%;
            width: 100%;
            margin: 0;
            background-color: crimson;
            font-family: Impact, "Helvetica Neue", Helvetica, Arial, "sans-serif";
        }

        div#main {
            width: 80vw;
            margin-left: 10vw;
            padding-bottom: 10vh;
            border: 15px solid rgba(255, 215, 0, 1);
            background-image: url("../images/Sun-Image-02.png");
            background-repeat: no-repeat;
            background-size: 103% 110%;
        }

        header {
            width: 77.0vw;
            height: 30vh;
            margin: 0;
            padding-left: 1px;
            background-image: url("../images/Android-Logo.png");
            background-size: 100% 100%;
            background-repeat: no-repeat;
        }

        nav {
            width: 80vw;
            height: 20vh;
            text-align: center;
            float: left;
            margin: 0px 0px 19.6px;
        }

            nav ul {
                padding: 0;
            }

            nav li {
                display: inline;
            }

                nav li a {
                    color: rgba(255, 255, 255, 1.0);
                    text-decoration: none;
                    font-weight: 300;
                    margin-left: 5vw;
                }

        section#slideshow-container {
            width: 150px;
            height: 50px;


        }
        article.news {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
            width: 75vw;
            height: 50vw;
            margin-top: 5vh;
            margin-bottom: 2vh;
        }

        footer nav li a {
            color: red;
            vertical-align: central;
        }

        footer {
            margin: 0vh;
            margin-left: 10vw;
            height: 10vh;
        }
    }
}