/*
Farhana Kazi
date: 02/10/25
File Name: style css 
*/

/*CSS Reset        */
body, header, nav, main, footer, img, h1, h3{
    margin: 0;
    padding: 0;
    border: 0; 
}
/* style roles for body and images */
body{
    background-color: #f6eee4;

}
img{
    max-width: 100%;
    display: block;
}
/*Styles rules for mobile viewport*/


/*Style rules to show mobile class and hide tab-desk class*/
.mobile .mobile-tablet{
    display: block;
}
.tab-desk .desktop{
    display: none;
}
.mobile-tablet{
    display: none;
}
/*Style rules for header area*/
.mobile h1, h3{
    padding: 2%;
    text-align: center;
}

/*Style rules for navigation area  */
nav{
    background-color: #2a1f14;
}
nav ul{
    list-style-type:none ;
    margin: 0;
    text-align:center ;
}

nav li {/*used to be nav ul li*/
    display: block;
    font-size: 1.5em;
    font-family: Geneva,Arial,sans-serif;
    font-weight: bold;
}

/*style rules for main content */
main{
    padding: 2%;

}
 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;
 
}

 
 #contact #form h2{
    text-align:center;
    
}

nav li a{
    display: block;
    color: #f6eee4;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 2em;
    padding-right: 2em;
    text-decoration: none;
}

.mobile h1{
    
        font-family: "Emblema One", serif;
        font-weight: 400;
        font-style: normal;
}
.mobile h3{    
        font-family: "Lora", serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;     

}

/* style rules for main contant*/
main{
    padding: 2%;
    font-family: Verdana,Arial,sans-serif; 
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  
}
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-top: 0%;
    margin-bottom: 0%;
    margin-right: auto;
    margin-left: auto;
}
.tel-link a{
    color: #f6eee4;
    text-decoration: none;
    font-weight: bold;

}
/* style rules for form elements, for mobile viewport*/
fieldset input textarea{
    margin-bottom: 2%;
     
}
fieldset legend{
    font-weight: bold;
}
label{
    display: block;
    padding-top:2%;
}
#submit{
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
    padding: 2%;
    background-color: #78593a #f6eee4;
    font-size: 1.25em;
    border-radius: 10px;
}


/*rules for footer contant */
footer{
    text-align: center;
    font-size: 0.85em;
    background-color: #2a1f14;
    color: #f6eee4;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-right: 0%;
    padding-left: 0%;
}
footer a{
    color: #f3e3d8;
    text-decoration: none;
}

/* css reset style rule*/
nav ul{
    margin: 0;
}
nav li{
    display: block;
    border-top: solid 0.5px #f6eee4;  

}

/* Media query for Tablet viewport*/
@media screen and (min-width:620px), print {
    /* Table Viewport: Show tab-desk class, hide mobile class.*/
    .tab-desk{
        display: block;
    }
    .mobile{
        display: none;
    }
    /* Tablet viewport:Style rules for nav area*/
    
    nav li{
        border-top:none;
        display: inline-block;
        font-size: 1.25em;
    }
    nav li a{
        padding: 0.5em;
    }
    .grid{
        display: grid;
        grid-template-columns: auto auto;
        grid-gap:10px;
    }
    aside{
        grid-column: 1/span 2;
    }
    /*Tablet Viewport: Style rules for form element.*/
    form{
        width: 70%;
        margin-top: 0;
        margin-bottom: 0;
        margin-left:auto;
        margin-right: auto;
    }
 }
 /* Media query for large desktop viewports*/
 @media screen and (min-width:1921px), print {
    body{
        background: -moz-linear-gradient(#f6eee4 and #78593a);
    }
    #wrapper{
        width: 1920px;
        margin-top: 0;
        margin-bottom: 0;
        margin-left:auto;
        margin-right: 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;
    }
  }

 /* Media query for desktop viewport*/
 @media screen and (min-width:1000px), print {
    /* desktop viewport: show desktop, hide moble-tablet class*/
    nav li{
        font-size: 1.5em;
    }
    nav li a{
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        padding-left: 1.5em;
        padding-right: 1.5em;}
       
    nav li a:hover {
            color: #2a1f14;
            background-color: #f6eee4;
            opacity: 0.5;
       }
       /* Desktop Viewport: Styles rules for main content*/
    #info ul{
            margin-left: 5%;

       }  
    .grid{
        grid-template-columns: auto auto auto;
        grid-gap:30px;

    }
    aside{
        grid-column:1/span 3;
        font-size: 2em;
    }
    /*style rules for table*/
    table{
        border: 1px solid #2a1f14 colapse;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
    }
    caption{
        font-size: 1.5em;
        font-weight: bold;
        padding: 1%;

    }
    th td{
        border-width: 1px solid #2a1f14;
        padding: 1%;
    }
    th{
        background-color: #2a1f14;
        color: white;
        font-size: 1.15em;

    }
    
    tr:nth-child(odd) {
        background: #deccba}
    
    /* Desktop Viewpot: Style rules for form element*/
    form{
        width: auto;
    }
    .form-grid{
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 20px;
    }
    .btn{
        grid-column: 1/span 2;
    }


 }
    
 /*css reset- chapter #7 page 395, item #8 */
 aside, figure, figcaption{



 }
 
 
 
 
 
       


    

