/* Reset and base styles */
body {
    margin: 0; 
    padding: 0; 
    font-size: 100%;
}

/* Typography styles */
h1 {
    margin: 0;
}

h2 {
    font-size: 1em;
    color: #222;
    letter-spacing: 1px;
    margin: 0px;
    padding: 0px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
}

h3 {
    color: #222; 
    text-align: center;
}

p {
    font-family: 'Roboto', sans-serif; 
    color: #222; 
    text-align: center;
}

/* Header styles */
#header {
    padding: 0px 10px 30px 0px; 
    font-family: 'Oswald', sans-serif;
    font-size: 2.5em; 
    color: #222; 
    text-align: center; 
    margin-top: 0px;
    letter-spacing: 1px;
    font-weight: bold;
    line-height: 90px;
}

/* Train logo SVG styling */
.train-logo {
    display: block;
    margin: 0 auto 10px auto;
}

/* Text utility classes */
.small {
    letter-spacing: 2px;
    font-size: .6em; 
    color: #777;
    text-align: center;
    padding-top: 20px;
}

.title {
    letter-spacing: 2px; 
    font-size: .8em; 
    color: #777; 
    text-align: center; 
    margin: 30px;
}

.titles {
    font-size: 1em;
    color: #222;
    letter-spacing: 1px;
    margin: 30px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
}

.text {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8em;
    line-height: 36px;
    margin: 20px;
}

.subtext {
    font-family: 'Libre Baskerville', serif;
    font-size: 1em;
    line-height: 24px;
    margin: 20px;
}

.copy {
    font-family: 'Roboto', sans-serif; 
    font-size: .9em;
    line-height: 20px;
    margin: 20px;
}

/* Link styles */
.special {
    color: #222;
}

/* unvisited link */
a:link {
    color: #222;
    text-decoration: none;
}

/* visited link */
a:visited {
    color: #666;
    text-decoration: none;
}

/* mouse over link */
a:hover {
    color:#666;
    text-decoration: none;
}

/* selected link */
a:active {
    color: #666;
    text-decoration: none;
}

/* Navigation/Button styles */
#nav button {
   font-family: 'Oswald', sans-serif;
    display: block; 
    letter-spacing: 1px;
    text-align: center;
    font-size: 18px;
    background: #ffb700;
    padding: 20px 20px 20px 20px;
    margin: 0 auto;
    width: 375px;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    border: 0px;
}

#nav button:hover {
    background: #e8a600;
    text-decoration: none;
}

/* Layout styles */
#main {
    text-align: center;
    width: 90%;
    margin: 20px auto;
}

#pagewrap {
    /* Container for the entire page */
}

#wrap {
    /* Container for header section */
}

/* Section styles for semantic organization */
.story-section {
    margin-bottom: 20px;
}

.product-info {
    margin-bottom: 20px;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-address,
.contact-details {
    margin-bottom: 10px;
}

/* Footer styles */
footer {
    clear: both;
    padding: 5px 10px;
}

/* Responsive design considerations */
@media (max-width: 768px) {
    #nav {
        width: 90%;
        max-width: 375px;
    }
    
    .text {
        font-size: 1.4em;
        line-height: 28px;
    }
    
    #header {
        font-size: 2em;
        line-height: 70px;
    }
    #nav {
    display: block;
    margin: 0 auto; 
    }
}

@media (max-width: 480px) {
    .text {
        font-size: 1.2em;
        line-height: 24px;
    }
    
    #header {
        font-size: 1.5em;
        line-height: 50px;
    }
    
    .title {
        font-size: .7em;
        margin: 20px;
    }
}
