/* Lizbeth Gonzalez
   09/20/2023
   Lesson 4 */

  /* 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 {
    display: block;
}
.tab-desk {
    display: none;
}

/* Header area styles */
.mobile h1 {
    padding: 2%;
    text-align: center;
    font-family: 'Emblema One', cursive;
}
.mobile h3 {
    padding: 2%;
    text-align: center;
    font-family: 'Lora', serif;
}

/* Navigation area styles */
nav {
    background-color: #221f14;
}
nav ul {
    list-style-type: none;
    padding: 0;
    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;
}

/* Main content styles */
main {
    padding: 2%;
    font-family: Verdana, Arial, sans-serif;
}
main p {
    font-size: 1.25em;
    padding-top: 2%;
}
main h3 {
    padding-top: 2%;
}
main ul {
    list-style-type: square;
}

/* Link class */
.link {
    color: #443319;
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
}

/* Action class */
.action {
    font-size: 1.75em;
    font-weight: bold;
    text-align: center;
}

/* Round class */
.round {
    border-radius: 6px;
}

/* About page info section */
#info {
    margin-left: 10%;
}

/* Tel-link styles */
.tel-link {
    background-color: #f2f1a4;
    padding: 2%;
    width: 90%;
    max-width: 1000px;
    margin: auto;
}
.tel-link a {
    color: #f6eee4;
    text-decoration: none;
    font-weight: bold;
}
.tel-link {
    background-color: #f2f1a4;
    padding: 2%;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}
.tel-link a {
    color: #f6eee4;
    text-decoration: none;
    font-weight: bold;
}

/* Contact area: center content and allow hero-like layout on large screens */
#contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Mobile overrides */
@media screen and (max-width: 480px) {
    .tel-link {
        width: 100%;
        margin: 0;
        padding-left: 4%;
        padding-right: 4%;
    }
    #contact {
        min-height: auto;
        padding-top: 2%;
        padding-bottom: 2%;
    }
}

/* Footer styles */
footer {
    text-align: center;
    font-size: 0.85em;
    background-color: #221f14;
    color: #f6eee4;
    padding: 1%;
}
footer a {
    color: #f5e6d8;
    text-decoration: none;
}

/* Tablet Viewport */
@media screen and (min-width: 768px), print {
    .tab-desk {
        display: block;
    }
    .mobile {
        display: none;
    }

    nav li {
        border-top: none;
        display: inline-block;
        font-size: 1.5em;
    }
    nav li a {
        padding: 0.5em 1.5em;
    }
    #info {
        margin-left: 5%;
    }
}

/* Desktop Viewport */
@media screen and (min-width: 1000px), print {
    nav li a:hover {
        color: #221f14;
        background-color: #f6eee4;
    }
}

/* Large Desktop Viewport */
@media screen and (min-width: 1920px) {
    body {
        background: linear-gradient(#f6eee4, #78593a);
    }
    #wrapper {
        width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }
    main {
        background-color: #f6eee4;
    }
}

/* Print Viewport */
@media print {
    body {
        background-color: #ffffff;
        color: #000000;
    }
}
/* ----------------------------------------- */
/* REQUIRED: Add aside, figure, figcaption to reset */
/* ----------------------------------------- */
aside, figure, figcaption {
    margin: 0;
    padding: 0;
    border: 0;
}


/* ----------------------------------------- */
/* REQUIRED STYLES FOR ASIDE, FIGURE, FIGCAPTION */
/* ----------------------------------------- */

/* Aside style (Step 9a) */
aside {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 1px 1px #f2f1f4;
    padding-bottom: 1em;
}

/* Figure container (Step 9b) */
figure {
    width: 90%;
    max-width: 400px;
    margin: 1.25em auto;
    padding: 1%;
    background-color: #ffffff;
    box-shadow: 8px 8px 8px #e5e2e2;
}

/* Figcaption style (Step 9c) */
figcaption {
    padding: 2%;
    border-top: 1px solid #f2f1f4;
    margin-top: 1em;
}


/* ----------------------------------------- */
/* GRID LAYOUT — MOBILE FIRST (Step 10) */
/* ----------------------------------------- */

.grid {
    display: block;
}


/* ----------------------------------------- */
/* TABLET VIEWPORT — 2 columns (Step 10a) */
/* ----------------------------------------- */
@media screen and (min-width: 768px) {

    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }

    aside {
        grid-column: 1 / span 2;
        font-size: 2em;
    }
}


/* ----------------------------------------- */
/* DESKTOP VIEWPORT — 3 columns (Step 12) */
/* ----------------------------------------- */
@media screen and (min-width: 1000px) {

    .grid {
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 15px;
    }

    aside {
        grid-column: 1 / span 3;
        font-size: 2em;
    }

    nav li a:hover {
        opacity: 0.5;
    }
}


/* ----------------------------------------- */
/* LARGE DESKTOP — 4 columns (Step 13) */
/* ----------------------------------------- */
@media screen and (min-width: 1920px) {

    .grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    aside {
        grid-column: 1 / span 4;
        font-size: 2.25em;
    }
}
