body{
    margin: 0px;
}

.grid-container{
    display: grid;
    grid-template-areas:
    'header nav'
    'article right'
    'footer footer';
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(238, 234, 0, 0.911);
    padding: 2px;
}

.grid-container > *{
    background-color: rgb(11, 12, 16);
}

.logo{                /* Logo image styling */
    width: 150px;
    height: 150px;
}

header{
    grid-area: header;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid gold;
    width: 100%;
}

header > h1{                  
    color: gold;
    display: inline-block;      /*keeps it next to the logo*/
    font-size: 60px;
    font-family: 'Orbitron', sans-serif;
}

nav{
    grid-area: nav;
    display: flex;                    /*keeps the links in a row*/
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid gold;
}

nav a{                                /* Styling for the three navigation links */
    display: block;
    margin: 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 30px;
    color: gold;
    font-family: 'Orbitron', sans-serif;
}

nav a:hover{                      /* underline effect when hovering over links */
    text-decoration: underline;
}

article{
    grid-area: article;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: white;
}

article h1{                    /*" Contact Us " header styling */
    text-align: center;
    font-size: 40px;
    margin-top: 10px;
    color: gold;
    font-family: 'Orbitron', sans-serif;
}

.home-content {                                  /* Home page content layout inside of article */
    display: block;
    width: 100%;
}

.Contact-info {
    background-color: rgb(31, 64, 104);
    margin-bottom: 20px;
    margin-left: 10px;
    font-size: 25px;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid gold;
}

.Socials{
    background-color: rgb(31, 64, 104);
    margin-bottom: 20px;
    margin-left: 10px;
    font-size: 25px;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid gold;
}

.Socials h3{
    margin-top: 0px;
    color: white;
    font-family: 'Orbitron', sans-serif;
}

.Email-us{
    background-color: rgb(31, 64, 104);
    margin-bottom: 20px;
    margin-left: 10px;
    font-size: 20px;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid gold;
}

aside{
    grid-area: right;
} 

aside > h2{                    /*"Our Location" subheader styling */
    text-align: center;
    font-size: 40px;
    margin-top: 10px;
    margin-bottom: 26px;
    color: gold;
    font-family: 'Orbitron', sans-serif;
}

aside iframe{
    display: block;
    margin: 0 auto;
    margin-top: 10px;
    border: 2px solid gold;
    border-radius: 10px;
    width: 90%;
}

.info-box {                           /* Information box styling */
    background-color: rgb(31, 64, 104);
    padding: 10px;
    border-radius: 10px;                  /* rounded corners for info box */
    margin: 30px auto;          /*evens out all the sides so it fits in the better in the aside*/
    border: 1px solid gold;
    width: 90%;
    max-width: 550px;
    max-height: 500px;
    box-sizing: border-box;       
    overflow: auto;             /* adds scroll if content goes past box size when shrinking screen */
    color: white;
    font-family: 'Orbitron', sans-serif;
}

.info-box-font {                   /* Font styling for info box content */
    font-size: 33px;
}

footer{
    grid-area: footer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    margin-top: 1px;
    width: 100%;
    color: gold;
    font-family: 'Orbitron', sans-serif;
} 


@media (max-width: 768px) {       /* Responsive design for smaller screens when screen width is 768px or less */
    .grid-container {
        grid-template-areas:
            'header'
            'nav'
            'article'
            'right'
            'footer';
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    nav a {        
        font-size: 22px;
        padding: 8px 12px;
    }

    header > h1 {
        font-size: 40px;
        line-height: 1.1;
        text-align: center;
        margin: 8px 12px;
    }
    
    .Contact-info, .Socials, .Email-us, .info-box {             /* Make blocks full width */
        margin: 10px auto;      /* centers horizontally */
        max-width: 100%;       
    }
                

    .info-box {           /*makes info box smaller*/
        font-size: 20px;
        padding: 10px;
    }

    aside iframe {          /* makes the map responsive */
        width: 100%;
        max-width: 100%;
    }

    footer {          /*Reduces footer size for smaller screens */
    font-size: 16px;
    padding: 12px;
    text-align: center;
  }
}