﻿/*
    Author: Dennis
    Date: 2025
    File Name: styles.css
*/


/* CSS Reset */
body, margin, nav, main, footer, img, h1, h3, ul, aside, figure, figcaption, video {
    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*/
/*style rules to show mobile class and hide tab-desk class*/
.mobile .mobile-tablet {
    display: block;
}

.tab-desk {
    display: none;
}

#nav-links {
    display: none;
}


/*style rules for header area*/
.mobile h1, h3 {
    padding: 2%;
    text-align: center;
}

.mobile h1 {
    font-family: "Emblema One", system-ui;
    margin: 2% 0 0 3%;
}

.mobile h3 {
    font-family: "Lora", serif;
}


/*Style rules for navigation*/
nav {
    background-color: #2a1f14;
}

.mobile-nav a {
    color: #fff;
    text-align: center;
    display: block;
    font-size: 2em;
    text-decoration: none;
    padding: 3%;
}

    .mobile-nav a.nav-icon {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        color: #f6eee4;
        padding: 2%;
    }

.nav-icon div {
    height: 40px;
    width: 40px;
    color: #2a1f14;
}

nav li {
    color: #f6eee4;
}


/*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: 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;
    max-width: 400px;
    margin: 2%;
}

ficaption {
    padding: 2%;
    border-top: 4px solid #2a1f14;
}

#info ul {
    margin-left: 10%;
}

#contact #form h2 {
    text-align: center;
}

.tel-link {
    background-color: #2a1f14;
    padding: 2%;
    width: 80%;
    margin: 0 auto 0 auto
}

    .tel-link a {
        color: #f6eee4;
        text-decoration: none;
        font-weight: bold;
    }

#questions {
    cursor: pointer;
}

#answer {
    text-align: center;
    font-weight: bold;
    width: 80%;
    margin: 0 auto;
}

    #answer h2 {
        display: none;
    }
/*Style rules for main content*/
main {
    padding: 2%;
    font-family: Verdana, Arial, sans-serif;
}

    main p {
        font-size: 1.25em;
    }

    main h3 {
        padding-top: 2%;
    }

    main ul {
        list-style: square;
    }

.link {
    color: #4d3319;
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
}

.action {
    font-size: 1.75em;
    font-weight: bold;
    text-align: center;
}

#contact {
    text-align: center;
}

/*Style rules for form elements*/
fieldset, input, textarea {
    margin-bottom: 2%;
}

    fieldset legend {
        font-size: 1.25em;
        font-weight: bold;
    }

label {
    display: block;
    padding-top: 2%;
}

form #submit {
    margin: 0 auto 0 auto;
    display: block;
    padding: 2%;
    background-color: #f6eee4;
    font-size: 1.25em;
    border-radius: 10px;
}
/*Style rules for footer*/
footer {
    font-size: .85em;
    background-color: #2a1f14;
    color: #f6eee4;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 0%;
    padding-right: 0%;
}

    footer a {
        color: #f3e6d8;
        text-decoration: none;
    }




/*media query for tablet viewport*/
@media screen and (min-width:620px) {
    .grid {
        display: grid;
        grid-template-columns: auto auto;
        grid-column-gap: 10px;
    }

    aside {
        grid-column: 1 / span 2;
    }
    /*Tablet Viewport: Style rule for form element*/
    form {
        width: 70%;
        margin: 0 auto 0 auto;
    }
    /*Tablet Viewport: Show tab-desk class, hide mobile class*/
    .mobile,
    .mobile-nav {
        display: none;
    }
   

    .tab-desk {
        display: block;
    }

    /*Tablet Viewport: Style rules for nav area*/
    nav ul {
        list-style: none;
        text-align: center;
    }

    nav li{
        display: inline-block;
        border-top: none;
        color: #f6eee4;
        font-size: 1.25em;
        padding: .5em;
        font-family: Geneva, Arial, sans-serif;
        font-weight: bold;

    }
        nav li a {
            padding: .5em;
            display: block;
            color: #f6eee4;
            text-decoration: none;
        }

}
/*Media Query for Desktop Viewport*/
@media screen and (min-width:1000px) {
    /*Desktop Viewport: Style rules for nav area*/
    nav li {
        font-size: 1.5em;
    }

        nav li a:hover {
            color: #2a1f14;
            background-color: #f6eee4;
            opacity: .5;
        }

    /*Desktop Viewport: Style rules for main content*/
    #info ul {
        margin-left: 5%;
    }

    .grid {
        grid-template-columns: auto auto auto;
        grid-column-gap: 30px;
    }

    aside {
        grid-column: 1 / span 3;
        font-size: 2em;
    }
    /*Style rules for table*/
    table {
        border: 1px solid #2a1f14;
        border-collapse: collapse;
        margin: 0 auto 0 auto;
    }

    caption {
        font-size: 1.5em;
        font-weight: bold;
        padding: 1%;
    }

    th {
        background-color: #2a1f14;
        color: #fff;
        font-size: 1.15em;
    }

    tr:nth-child(odd) {
        background-color: #deccba;
    }
    /*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;
    }
    /*Desktop Viewport: Show desktop class, hide mobile-tablet class*/
    .mobile-tablet {
        display: none;
    }
}


    /*Media Query for Large Desktop Viewports*/
    @media screen and (min-width:1921px) {
        body {
            background: linear-gradient(to right, #f6eee4, #78593a);
        }

        #wrapper {
            width: 1920px;
            margin: 0 auto 0 auto;
        }

        main {
            background-color: #f6eee4;
        }

        .grid {
            grid-template-columns: auto auto auto auto;
        }

        aside {
            grid-column: 1 / span 4;
            font-size: 3em;
        }
    }
    /*Media Query for Print*/

    @media print {
        body {
            background-color: white;
            color: black;
        }
    }



