/* 
Author: Jasmine Burdett
Date: 11/03/26
File Name: styles.css
*/

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

/* Style rules for body and images */
body{
    background-color: #142555;
}
img {
    max-width: 100%;
    display: block;
}
#container{
    background-color: #12235b;
}
.main {
    background-color: #12235b;
}
main h2{
    color: #0ce2db;
}

/* Style rules for mobile viewport */

/* Style rule for header */
header{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    text-align: center;
    background-color: #12235b;
    height: 100px;
}
header img {
    margin: 0 auto;
}
/* Style rules for navigation area */
nav{
    background-color: #12235b;
    padding: 0.5em;

}

nav ul {
    list-style-type: none;
}

nav li {
    font-size: 1.4em;
    font-family: 'DM Serif Display', 'sans-serif';
    border-top: 1px solid #6cd0d0;
}

nav li:first-child{
    border-top: none;
}
nav li a{
    display: block;
    color: azure;
    padding: 0.6em 1em;
    text-decoration: none;
}

/*Show mobile class, hide tablet-desktop class */
.mobile{
    display: block;
}
.tablet-desktop{
    display: none;
}

/*Style rules for main content */
main{
    background-color: #1b287c;
    padding: 2%;
    font-size: 1.3em;
    font-family: 'DM Serif Display', sans-serif;
    color: #e5e5e5;
}

.tel-link {
    background-color: #20b6c1;
    padding: 2%;
    margin: 0 auto;
    width: 80%;
    text-align: center;
    border-radius: 5px;
    color: #27449F;
    text-decoration: none;
    font-size: 1.2em;
}
.hours {
    margin: 8%;
    margin-bottom: -1em;
    margin-top: -0.5em;
}
.info {
    color: #12235b;
    padding-bottom: 30%;
    margin: -0.5em;
    background: linear-gradient(to right, #1daad0, #fff);
    text-align: center;
}
.info .button1{
    background-color:#e3fbf3;
    color: #1b287c;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'DM Serif Display', 'sans-serif';
    border-radius: 5px;
    cursor: pointer;
}
#shop{
    text-decoration: none;
}

.moon{
    padding-bottom: 12%;
    margin: -0.6em;
    border-radius: 5px;
}

main .moon p {
    margin-left: 1em;
    padding-top: -1em;
}
main .moon h2 {
    margin-left: 0.6em;
}
.moon, .mission2, .mission3 {
    font-family:'DM Serif Display', 'sans-serif';
    font-size: 0.9em;
}
main .mission2{
    margin-top: -3em;
}
 #mission3 img {
    border-radius: 6px;
    margin: 0 -0.5em;
}
#mission3{
    margin-top: 1em;
}
#contact{
    text-align: center;
}
#contact .contact-email-link
{
    color: #6cd0d0;
    text-decoration: none;
}
.map{
    border: 4px solid #0ce2db;
    width: 95%;
    height: 50%;
}

/*Style rules for footer content */
footer p{
    font-size: 0.75em;
    text-align: center;
    color: #6cd0d0;
    padding: 0 1em;
}
footer p a {
    color: #6cd0d0;
    text-decoration:none;
}

/*Media Query for Tablet Viewport */

@media screen and (min-width: 630px), print {

    /*Tablet Viewport: Show Tablet-desktop class, hide mobile class */
    .tablet-desktop{
        display: block;
    }
    .mobile{
        display: none;
    }
    /*Tablet Viewport: Style rule for header */
    header {
        position: static;
        padding-bottom: 2%;
    }
    #hero img {
        height: 300px;
        width: 1440px;
        margin: auto;
    }
    /*Tablet Viewport: Style rules for nav area */
    nav li{
        border-right: none;
        border-top: none;
        display: inline-block;
        border-right: 1px solid #0ce2db;
        
    }
    nav ul {
        text-align: center;
        list-style-type: none;
    }
    nav li:last-child{
        border-right: none;
    }
    nav li a {
        padding: 1em 0.75em;
    }
    /*Tablet Viewport: Style rules for main content area */
    main ul {
        margin: 0 0 4% 10%;
    }
    .info {
        border-radius: 10px;
        border: 2px solid #fff;
        margin-top: 3em;
        margin-left: 3em;
        margin-right: 3em;
        margin-bottom: 0.5em;
    }
    .info h3, p{
        padding-top: 1em;
        margin-bottom: -1em;
    }

    .tablet-desktop #word {
        margin-top: -0.5em;
    }
    .tablet-desktop{
        font-size: 0.9em;
    }
    .info .button1{
        margin-top: 2.5em;
    }
    main h2{
        text-indent: -21px;
    }
    .tablet-desktop h2{
        font-size: 1.2em;
        margin: 0.5em;
    }
    .tablet-desktop p{
        margin-top: -1em;
        margin-bottom: 1em;
    }
    #mission3 img{
        margin-left: 1em;
        margin-top: 2em;
    }
    #hero{
        border: 1px solid #000;
    }
    .tel-num{
        font-size: 1.25em;
    }
    .map{
        width: 600px;
        height: 450px;
    }
    /*Tablet Viewport: style rules for footer */
}

/*Media Query for desktop Viewport */

@media screen and (min-width: 950px), print {
    /*Desktop Viewers: style rules for header */
    header{
        width: 25%;
        float: left;
        padding-bottom: 0;
    }
    .hero {
        width: 300px;
        
    }
    /*Desktop Viewport: Style rules for nav area */
    nav{
        float: right;
        width: 70%;
        margin: 4em 1em 0 0;
    }
    nav ul {
        text-align: right;
    }
    nav li{
        border:none;
    }
    nav li a {
        padding: 0.5em 1em;
        padding-bottom: 1px;
        margin-top: -30px;
        margin-bottom: -10px;
    }
    nav li a:hover{
        color: #000;
        background:linear-gradient(to right,#5abeb4, #9fccc6 )
    }
    /*Desktop Viewport: Style rules fo main content */
    main{
        clear:left;
    }
    main h1 {
        font-size: 1.8em;
    }
    .info{
        margin-left: 20em;
        max-width: 600px;
        max-height: 100px;
    }
    .info .button1{
        margin-top: 5em;

    }
    main h2 {
        text-indent: -22px;
    }
    .tablet-desktop p{
        margin-top: -1em;
        margin-bottom: 1em;
    }   
}
/*Media Query for Large Desktop Viewports */
@media screen and (min-width: 1441px), print {
    #container{
        width:1440px;
        margin: 0 auto;
    }
}
/*Media Query for Print */
@media print {
    body{
        background-color: #fff;
        color: #000;
    }
    
}