/* 
  Author: Eriyhane Washington
  Date:09/20/26
  File:styles.css
  */
  
/*
 CSS Reset
 */
 
 
 body,header,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: #8ac6e8;
    padding: 0;
    margin: 0;
}
img, video { 
    max-width:100%;
    display:block;
}

    /*
    Style rules for mobile viewport
    */
    
    /* Style rules for form elements*/
    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;
}
    /*
    Style rules to show mobile class and hide tab-desk class 
    */
    
    .moible, .mobile-tablet {
        display:block;
    }
    
    .tab-desk, .desktop {
        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;
    }
    
header {
    background-color: #0056b8;
    padding: 2em;
}

header .logo {
    height: 100px;
    margin: 0 auto;
    display: block;
    color: white;
}

header .brand {
    margin: 0 auto;
    width: fit-content;
    color: white;
}
/*
Style rules for navtgation area
*/

nav {
    background-color: black;
}

nav ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav li {
    flex-grow: 1;
    margin: auto auto;
    display: block;
    border-top: solid;
    border-top-width:0.5px;
    border-top-color: #f6eee4;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 20px 10px;
    display: block;
    text-align: center;
}

nav a:hover {
    background-color: lightgrey;
    color: black;
}

/*
 Style rules for main content 
 */
 
 main { 
     padding:2%;
     font-family: Verdana, Arial, sans-serif; 
     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;
}

#contact,
#form h2 {
    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 footer content
 */

footer {
    text-align: center;
    font-size:0.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;
}
    
#wrapper {
    background-color: white;
    padding: 2em;
    width: 80%;
    margin: 0 auto;
}

footer {
    height: 100px;
    width: 100%;
    background-color: black;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
}

.card-container div {
    width: 100px;
    height: 100px;
    margin: 1em;
    text-align: center;
}

.card-container a {
    text-decoration: none;
    color: black;
    border: 3px solid black;
    margin: 1em;
    border-radius: 15px;
    transition: border-radius 0.125s;
}

.card-container div .title {
    padding-top: 10px;
}

.card-container div .arrow {
    display: none;
    font-weight: bolder;
    font-size: 50px;
    margin: 0;
}

.card-container a:hover .arrow {
    display: block;
}

.card-container a:hover {
    border-radius: 0;
  }

/* Media Query for tablet Viewpoint*/ 
@media screen and (min-width: 620px) {
    
    /* Tablet Viewpoint: Show tab-desk class, hide mobile class */
    .tab-desk, .mobile-tablet { 
    display: block;
}
.mobile, .desktop { 
    display: none;
 }
    
    /* Table Viewpoint : 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:repeat(2, 1fr);
   gap:10px;
    }

aside {
    grid-column: 1 / span 3;
    font-size: 2em;
  }
  
  /* Tablet Viewport: Style rule for form element*/
  form {
      width: 70%;
      margin: 0 auto;
      
  }
}
/* Media Query for Desktop Viewpoint */
@media screen and (min-width: 1000px) {
    
/* Desktop Viewpoint: Show desktop class, hide mobile-tablet class */ 

.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;
    opacity: 0.5;
}

/* Desktop Viewpoint: Style rule for main content */
#info ul { 
    margin-left: 5%;
}
.grid {
    grid-template-columns: repeat(3, 1fr) ;
    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;
  }
  
  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-child(odd) {
      background-color: #deccba;
  }
  
/* Desktop Viewport: Style rules for form elemnts */ 
form {
    width: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}

.btn { 
    grid-column: 1 / span 2;
}

}

/* Media Query for Large Desktop Viewports*/
@media screen and (min-width: 1921px) {
    body { 
        background:linear-gradient(#f6eee4,#78593a);
    }

#wrapper { 
    width: 1920px;
    margin: 0 auto;
}

main { 
    background-color: #f6eee4;
}
.grid {
    grid-template-columns: repeat(4, 1fr);
}

aside {
    grid-column: 1 / span 4;
    font-size: 3em;
  }
}

/* Media Query for Print*/ 
@media print {
    body { 
        background-color: white;
        color: black;
}
}
/* General table styling*/
table { 
    width:100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td { 
    border: 1px solid #ccc;
    padding: 10px ;
    text-align:left;
}

th { 
    background-color: #0056b8;
    color: white;
}

