/*
Author: Diane Mills
File Name: styles.css
Date: 03/14/2026
*/

/* CSS Reset */
body, header, nav, main, footer, img, h1, h3, ul {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Style rules for body and images */
body {
    background-color: #f6eee4;
}

img {
    max-width: 100%;
    display: block;
}

/* Style rules for mobile viewport */

/* Mobile Viewport */

/* Contact section */

#contact,
#form h2 {

    /* mobile styles  */
}

/* Style rules for form elements */

fieldset,
input {
    margin-bottom: 2%;
}

/* fieldset legend */
fieldset legend {
    font-weight: bold;
    font-size: 1.25em;
}

/* label */
label {
    display: block;
    padding-top: 3%;
}

/* form submit button */
form #submit {
    margin: 0 auto;
    display: block;
    padding: 3%;
    background-color: #b7b7e1;
    font-size: 1em;
}

/* Mobile Viewport: Form element styles */
fieldset,
input,
textarea {
    margin-bottom: 2%;
}

fieldset legend {
    font-weight: bold;
    font-size: 1.25em;
}

label {
    display: block;
    padding-top: 2%;
}

form #submit {
    margin: 0 auto;
    display: block;
    padding: 2%;
    background-color: #78593a;
    color: #f6eee4;
    font-size: 1.25em;
    border-radius: 10px;
}

.mobile {
/*mobile styles */
}
.mobile,
.mobile-tablet {
    /*mobile styles */
}

/* Style rules to show mobile class and hide tab-desk class */
.mobile {
    display: block;
}

.tab-desk { 
    /* tablet/desktop styles */
}
.tab-desk,
.desktop { 
    /* tablet/destop styles */
}
    display: none;


/* Style rules for header area */
.mobile h1, .mobile h3 {
    padding: 2%;
    text-align: center;
}

.mobile h1 {
    font-family: 'Emblema One', cursive;
}

.mobile h3 {
    font-family: 'Lora', serif;
}

/* Style rules for navigation area */
nav {
    background-color: #2a1f14;
}

nav ul {
    list-style-type: none;
    text-align: center;
}

nav li {
    display: block;
    font-size: 1.5em;
    font-family: Geneva, Arial, sans-serif;
    font-weight: bold;
    border-top: 0.5px solid #f6eee4;
}

nav li a {
    display: block;
    color: #f6eee4;
    padding: 0.5em 2em;
    text-decoration: none;
}

/* Style rules for main content */
main {
    padding: 2%;
    font-family: 'Lora', serif;
}

main p {
    font-size: 1.25em;
}

main h3 {
    padding-top: 2%;
}

main ul {
    list-style-type: square;
}

.link {
    color: #4d3319;
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
}

.action {
    font-size: 1.75em;
    font-weight: bold;
    text-align: center;
}

.round {
    border-radius: 6px;
}

aside {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 4px 4px 10px #c5a687;
}

figure {
    border: 4px solid #2a1f14;
    box-shadow: 6px 6px 10px #c5a687;
    max-width: 400px;
    margin: 2% auto;
}

figcaption {
  padding: 2%;
  border-top: 4px solid #2a1f14;
}

#info ul {
    margin-left: 10%;
}

#contact {
    text-align: center;
}

.tel-link {
    background-color: #2a1f14;
    padding: 2%;
    width: 80%;
    margin: 0 auto;
}

.tel-link a {
    color: #f6eee4;
    text-decoration: none;
    font-weight: bold;
}

/* Style rules for footer content */

/* Style rules for form elements */

/* Mobile viewport: form styling */
fieldset,
input,
textarea {
    margin-bottom: 2%;
}

fieldset legend {
    font-weight: bold;
    font-size: 1.25em;
}

label {
    display: block;
    padding-top: 2%;
}

form #submit {
    margin: 0 auto;
    display: block;
    padding: 2%;
    background-color: #78593a;
    color: #f6eee4;
    font-size: 1.25em;
    border-radius: 10px;
}

/* Footer style rules */

footer {
    text-align: center;
    font-size: 0.85em;
    background-color: #2a1f14;
    color: #f6eee4;
    padding: 1% 0;
}

footer a {
    color: #f6eee4;
    text-decoration: none;
}

@media screen and (min-width: 769px) { 
/* Desktop Viewport: Show desktop class, hide mobile-tablet class */

aside {
    /* existing aside sy=tyles */

    /* Style rules for table */

    /* your other desktop rules follow here */
}

    text-align: center;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 4px 4px 10px #c5a687;  

.desktop {
    display: block; 
    /* any existing desktop styles */

.mobile-tablet {
    display: none;
  
/* any additional desktop-only styles go here */

/* Style rules for Tablet and Desktop Viewport */
@media (min-width: 620px) {
    /* Tablet Viewport: Show tab-desk class and hide mobile class */
    .mobile {desktop
        display: none;
    }    

    .tab-desk {
        display: block;
    }

    /* Style rules for nav area */
    .nav li{
        display: inline-block;
        border-top: none;
        font-size: 1.25em;
    }

    .nav li a {
        padding: 0.5em;
    }

/* Inside your tablet media query, below nav a { ... } */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* two-column layout */
  gap: 10px; /* grid gap */
}

aside {
  grid-column: 1 / span 2; /* make aside span both columns */
}

/* Style rules for Large Desktop Viewports */
@media (min-width: 1921px) {
    body {
        background-color: linear-gradient(to right, #f6eee4, #78593a);
    }

    /* Inside your large desktop media query, below the last style rule */
.grid {
  grid-template-columns: repeat(4, 1fr); /* four-column layout */
}

aside {
  grid-column: 1 / span 4; /* spans all four columns */
  font-size: 3em;

  /* existing .map style rule */
  
  /* Tablet Viewport: Style rule for form element */
  form {
    width: 70%;
    margin: 0 auto;
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2%;
    font-family: 'Lora', serif;
    font-size: 1.25em;

  /* Style rules for table */

table {
    border: 1px solid #2a1f14;
    border-collapse: collapse;
    margin: 0 auto;
}

caption {
    font-size: 1.5em;
    font-weight: bold;
    padding: 1%;
}

th, td {
    border: 1px solid #2a1f14;
    padding: 1%;
}

th {
    background-color: #2a1f14;
    color: #fff;
    font-size: 1.15em;
}

tr:nth-of-type(odd) {
    background-color: #deccba;
}

  border: 2px solid #2a1f14;
}
/* existing tr style rule */

/* Desktop Viewport: Style rules for form elements */
form {
    width: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 20px;
}

.btn {
    grid-column: 1 / span 2;
}

/* Style rules for Desktop Viewport */

@media (min-width: 1000px) {
    
    /* Desktop Viewport: Show desktop class, hide mobile-tablet class */
    
    .desktop {
        display: block;

        /* existing desktop styles */
    }       

        .mobile-tablet {
            display: none;
    }
}
    .nav li {
        font-size: 1.5em;
    }

    .nav li a {
        padding: 0.5em 1.5em;
    }

    .nav li a:hover {
        color: #2a1f14;
        background-color: #f6eee4;
    }

    /* existing tr style rule */

    /* Desktop Viewport: Style rules for form elements */
.form {
    width: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 20px;
}

.btn {
    grid-column: 1 / span 2;
}

    #info ul {
        margin-left: 5%;
    }
}

    @media (min-width: 1025px) {

  /* existing desktop nav hover rule */
  nav li a:hover {
    /* your current styles */
    opacity: 0.5; /* ← add this line */
  }

}

