//*
Author: Dani Sam Cherian
Date: 12/05/24
File Name: styles.css
*/

/*CSS Reset*/
body, header, nav, main, footer, img, h1, h3, ul, video {
    margin: 0;
    padding: 0;
    border:0;
}

/* Style rule for body and images*/
body {
    background-color: #f6eee4;
}

img {
   max-width: 100%;
   height: auto;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* Style rules for skip navigation link */
.skip {
    position: absolute;
    left: -999px;
}

.skip:focus {
    color: #fff;
    background-color: #2a1f14;
    text-decoration: none;
    padding: 0.5%;
    top: auto;
    left: auto;
    right: 1px;
    z-index: 1;
}



/* Style rules for mobile viewport */


/*Style rules to show mobile class and hide tab-desk class*/
mobile-nav a {
    color: #fff;
    text-align: center;
    font-size: 2em;
    text-decoration: none;
    padding: 3%;
    display: block;
}

mobile-nav nav-icon {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    color: #f6eee4;
    padding: 2%;
}

nav-icon div {
    height: 40px;
    width: 40px;
    color: #2a1f14;
}

mobile {
    display: block;
}

header h1 {
    padding: 2%;
    text-align: center;
    font-family: 'Emblema One', cursive;
}

header h3 {
    padding: 2%;
    text-align: center;
    font-family: 'Lora', serif;
}

tab-desk {
    display: none;
}

/* Style rules for header area */
mobile {
    display: block;
}

header h1 {
    padding: 2%;
    text-align: center;
    font-family: 'Emblema One', cursive;
}

header h3 {
    padding: 2%;
    text-align: center;
    font-family: 'Lora', serif;
}

/* Style rules for navigation area */
nav {
    background-color: #2a1f14;
}

nav ul {
	display: block
    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-style: solid;
    border-width: 0.5px;
    border-color: #f6eee4;
}

nav li a {
    display: block;
    color: #f6eee4;
    text-align: center;
    padding: 0.5em 2em;
    text-decoration: none;
}

#questions p {
    cursor: pointer;
    margin: 10px 0;
    padding: 10px;
    background-color: #f6eee4;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#answer {
    text-align: center;
    font-weight: bold;
    width: 80%;
    margin: 20px auto;
}

#answer h2 {
    display: none;
    margin-bottom: 10px;
}

.faq.open .answer {
    display: block; /* Shown when the parent has 'open' class */
}


/* Hide #nav-links by default */
#nav-links {
    display: 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: square;
}

external-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;
}

#info ul {
    margin-left: 10%;
}

#contact id {
    text-align: center;
}

#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;
}

#questions p {
    cursor: pointer;
    margin: 10px 0;
    padding: 10px;
    background-color: #f6eee4;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#answer {
    text-align: center;
    font-weight: bold;
    width: 80%;
    margin: 20px auto;
}

#answer h2 {
    display: none;
    margin-bottom: 10px;
}

.faq.open .answer {
    display: block; /* Shown when the parent has 'open' class */
}



/* CSS Reset */
body, h1, p, img, figure, figcaption, aside, video, grid {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

video {
    margin: 0;
    padding: 0;
    border: 0;
}



/* Grid Styling */

grid {
    display: grid;
    grid-template-columns: 3fr;
    gap: 20px;
}

aside {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 4px 4px 10px #c5a687;
    grid-column: 1 / span 1;
}

/* Figure Styling */
figure {
    border: 4px solid #2a1f14;
    box-shadow: 6px 6px 10px #c5a687;
    max-width: 400px;
    margin: 0 auto;
}

img {
    width: 100%;
    display: block;
    border-radius: 5px;
}

figcaption {
    padding: 2%;
    border-top: 4px solid #2a1f14;
    text-align: center;
}

/* Sponsorship Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
}

caption {
    font-weight: bold;
    color: #004080;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #004080;
    color: white;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #e6f7ff;
}

/* Mobile and Tablet View Sponsorship Levels */
mobile-tablet {
    display: block;
}

mobile-tablet p {
    margin: 10px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* Style rules for footer content */
footer {
    text-align: center;
    font-size: 0.85em;
    background-color: #2a1f14;
    color: #f6eee4;
    padding: 1% 0%;
}

footer a {
    color: #f3e6d8;
    text-decoration: none;
}

.social {
    margin-top: 10px; /* Optional: Add spacing above the social icons */
}

.social img {
    width: 40px; /* Adjust size of the icons */
    height: 40px; /* Ensure aspect ratio */
    margin: 0 5px; /* Add space between the icons */
    display: inline-block;
}

/* Media Query for Tablet Viewport */
@media screen and (min-width: 620px), print {
  
  /* Tablet 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;
    }
    
  /* Media Query for Desktop Viewport */
  @media screen and (min-width: 1000px), print {
  
  /* Desktop Viewport: Style rules for nav area */
    nav li {
        font-size: 1.5em;
    }
    
    nav li a {
        padding: 0.5em 1.5em;
    }
    
    nav li a:hover {
        color: #2a1f14;
        background-color: #f6eee4;
    }
    
  /* Desktop Viewport: Style rules for main content */
    #info ul {
        margin-left: 5%;
    }
    
  /* 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;
    }
    
  /*Media Query for Print */
    @media print {
        body {
            background-color: #ffffff;
            color: #000000;
        } 
    }