/*
Author: Troy Venzant
Date: 09/09/1016
File Name: styles.css
*/

/* CSS Reset */
body, header, nav, main, footer, h1, p, img {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Style rule for images */
img {
    max-width: 100%;
    display: block;
    border-radius: 15px;
}

/* Style rules for mobile viewport */

/* Style rule for hero image */
.hero {
    width: 100%;
    margin-top: 15px;
}

/* Style rule for body */
body {
    background-color: #0d1117;
    color: #e6e6e6;
    font-family: 'Inter', sans-serif;
}

/* Style rules for header */
header {
    text-align: center;
    padding: 3%;
    background-color: #0d1117;
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    color: #00f0ff;
    font-size: 2em;
    margin-bottom: 2%;
}

.logo {
    margin: 0 auto;
    width: 200px;
}

/* Style rules for navigation area */
nav {
    background-color: #1a1f2e;
    padding: 3%;
    text-align: center;
    position: sticky;
    top: 0;
}

nav a {
    display: inline-block;
    background-color: #1a1f2e;
    color: #e6e6e6;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    padding: 12px 20px;
    margin: 5px;
    border: 2px solid #8a2be2;
    border-radius: 25px;
}

nav a:hover {
    background-color: #8a2be2;
    color: #fff;
}

/* Style rules for main content */
main {
    background-color: 1a1f2e;
    padding: 5%;
    min-height: 250px;
}

#intro {
    background-color: #0d1117;
    padding: 5%;
    border: 2px solid #8a2be2;
    border-radius: 10px;
}

#intro p {
    color: #e6e6e6;
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

#intro img {
    width: 100%;
    margin-bottom: 20px;
}

/* Style rules for coming soon section */
#coming-soon {
    text-align: center;
    padding: 10%;
}

#coming-soon h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00f0ff;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

#coming-soon p {
    color: #e6e6e6;
    font-size: 1.1em;
}

/* Style rules for gaming devices */
#devices {
    padding: 5%;
    text-align: center;
}

#devices h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00f0ff;
    margin-bottom: 20px;
}

figure {
    background-color: #1a1f2e;
    border: 2px solid #8a2be2;
    border-radius: 10px;
    padding: 15px;
    position: relative;
}

figure img {
    width: 100%;
}

figcaption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background-color: rgba(26, 31,46, 0.85);
    color: #e6e6e6;
    font-weight: bold;
    padding: 10px 0;
}

/* Style rules for footer */
footer {
    background-color: #0d1117;
    text-align: center;
    padding: 3%;
    font-size: 0.8em;
}

footer p {
    color: #e6e6e6;
    margin: 8px 0;
}

footer a {
    color: #00f0ff;
    text-decoration: none;
}

/* Style rules for grid */
.grid {
    display: grid;
    grid-template-columns: auto;
    gap: 20px;
}

/* Style rules for grid images */
.grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Style rule for gird img hover */
.grid img:hover {
    box-shadow: 0 0 20px #00f0ff;
}

/* Style rules for about area */
#about {
    background-color: #0d1117;
    padding: 5%;
    border: 2px solid #8a2be2;
    border-radius: 10px;
    margin-bottom: 30px;
}

#about h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00f0ff;
    text-align: center;
    margin-bottom: 20px;
}

#about p {
    color: #e6e6e6;
    font-size: 1em;
    line-height: 1.7;
    text-align: center;
}

/* Style rules for contact area */
#contact h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00f0ff;
    text-align: center;
    margin-bottom: 20px;
}
#contact p {
    text-align: center;
}

#contact a {
    color: #00f0ff;
}

/* Style rules for map */
.map {
    display: block;
    width: 90%;
    max-width: 600px;
    height: 450px;
    margin: 20px auto;
    border: 3px solid #00f0ff;
    border-radius: 15px;
}

.mobile {
    display: inline;
}

.tablet-desktop {
    display: none;
}

/* Media Query for Tablet Viewport */
@media screen and (min-width: 550px) {

    /* Tablet Viewport: Style rules for navigation */
    .logo {
        width: 225px;
    }

    /* Tablet Viewport: Style rules for navigation */
    nav a {
        padding: 12px 18px;
    }

    /* Tablet Viewport: Style rules for main */

    /* Tablet Viewport: Style rules for grid */
    .grid {
        grid-template-columns: auto auto;
    }

    .mobile {
        display: none;
    }

    .tablet-desktop {
        display: inline;
    }

}

/* Media Query for Desktop Viewport */
@media screen and (min-width: 769px) {

    /* Desktop Viewport: Style rules for header */
    header {
        padding: 2%;
    }

    header h1 {
        font-size: 2.5em;
    }

    .logo {
        width: 250px;
    }

    /* Desktop Viewport: Style rules for navigation */
    nav {
        padding: 1.5%;
    }

    nav a {
        padding: 12px 24px;
        margin: 0 6px;
    }

    /* Desktop Viewport: Style Rules for main */
    main {
        padding: 4%;
    }

    #intro {
        padding: 4%;
    }

    #intro p {
        font-size: 1.1em;
    }

    /* Desktop Viewport: Style rules for grid */
    .grid {
        grid-template-columns: auto auto auto;
    }

}

/* Media Query for Print */
@media print {

    body{
        background-color: #fff;
        color: #000;
    }

    nav {
        display: none;
    }

    main, #intro {
        background-color: #fff;
        color: #000;
    }

}