/*
Author: Mikayla Miller
Date: October 1, 2026
File Name: styles.css
*/

/* CSS Reset */

body, header, nav, main, footer, img, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Style rules for images */

img {
    max-width: 100%;
    display: block;
}

/* Style rules for header content */

header {
    text-align: center;
    background-color: #ffd6e7;
    padding: 4%;
}

header h1 {
    font-family: "DM Serif Display", serif;
    font-size: 3em;
}

header p {
    font-family: "DM Serif Display", serif;
    font-size: 1.5em;
    font-style: italic;
}

/* Style rules for navigation area */

nav {
    background-color: #ff4f9a;
}

nav ul {
    list-style-type: none;
    text-align: center;
}

nav li a {
    display: block;
    color: #fff;
    text-align: center;
    padding: 0.5em 1em;
    text-decoration: none;
    font-family: Roboto, Arial, sans-serif;
}

nav li {
    display: block;
    font-size: 1.5em;
    border-top: 1px solid #fff;
}

/* Style rules for main content */

main {
    padding: 2%;
    background-color: #fff0f6;
    overflow: auto;
    font-family: Verdana, Arial, sans-serif;
}

main p {
    font-size: 1.25em;
}

.action {
    font-size: 1.25em;
    color: #ff4f9a;
    font-weight: bold;
}

#about ul {
    margin-left: 2em;
}

#about ul + h2 {
    margin-top: 4%;
}

.contact-email {
    font-size: 1.5em;
    font-weight: bold;
}

.map {
    width: 100%;
    max-width: 600px;
    height: 300px;
    margin: 2% auto;
    border: 5px solid #ff4f9a;
    box-sizing: border-box;
}

/* Style rules for homepage */

#news {
    text-align: center;
    margin-bottom: 3%;
}

#news img {
    margin: 0 auto;
    width: 100%;
    height: auto;
}

#latest, #last, #starter {
    margin-bottom: 4%;
}

#latest h2, #last h2, #starter h2 {
    text-align: left;
    font-size: 1.25em;
    margin-bottom: 1%;
}

#latest p, #last p, #starter p {
    font-size: .75em;
    font-weight: bold;
    margin-bottom: 3%;
}

#latest img:not(:first-of-type),
#last img:not(:first-of-type),
#starter img:not(:first-of-type) {
    display: none;
}

#latest img:first-of-type,
#last img:first-of-type,
#starter img:first-of-type {
    width: 45%;
    height: auto;
    margin: 0 auto;
}

/* Style rules for footer content */

footer {
    text-align: center;
    font-size: 0.65em;
    clear: left;
    padding: 2%;
    background-color: #ffd6e7;
}

footer a {
    color: #ff4f9a;
}

/* Mobile Viewport */
.mobile {
    display: block;
}

.tab-desk {
    display: none;
}

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

    nav li {
        border-top: none;
        display: inline-block;
        font-size: 1.5em;
        border-right: 1px solid #fff;
    }

    nav li:last-child {
        border-right: none;
    }

    nav li a {
        padding: 0.25em 0.5em;
    }
    
    #latest img:first-of-type,
    #last img:first-of-type,
    #starter img:first-of-type,
    #latest img:not(:first-of-type),
    #last img:not(:first-of-type),
    #starter img:not(:first-of-type) {
        display: inline-block;
        width: 30%;
        height: auto;
        margin: 0 1%;

}

    .mobile {
        display: none;
    }
    
    .tab-desk {
        display: block;
    }
}

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

    header {
        padding: 2%;
    }

    nav li a {
        padding: 0.5em 1.5em;
    }

    nav li a:hover {
        color: #ff4f9a;
        background-color: #ffd6e7;
    }

}