html {font-size: 10px;}
body { font-family: Tahoma, Verdana, sans-serif;}
h1 { font-size: 3.8em;}
h1,h2 { font-family: Georgia, Times, serif;}


h2 {
    font-size: 2.5em;
    color: #fff;
    padding: 10px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8); /* Increased blur radius and darker color */
}

h3 {
    font-size: 2em;
    color:  teal; 
    padding: 10px;
}

p {
    font-size: 1.5em;
    margin-bottom: 2em;
    line-height: 1.4;
    max-width: 72ch;
}

.bigP{
    background-color: teal;
    font-size: 2.5em;
    color: #fff;
    padding: 10px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8); /* Increased blur radius and darker color */
}
/*
img {
    max-width: 100%;
    height: auto;
}
*/

header {
    background-image: url(../images/background.jpeg);
    border: solid 3px white;
    border-radius: 5px; /* I like round corner and white border */
    text-align: center;
    height: auto;
    padding: 20px;
    color: aliceblue;
    text-shadow: 0 0 3px rgba(255, 255, 255, .8);
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
}

header img {
    width: 50px;
    height: auto;
    margin-right: 20px; /* Adjust the margin as needed for spacing between image and text */
     order:-1; /* make sure image goes before text */
}


header h1 {
    margin: 0;
}


/*---- Begin navigation  section ----*/


ul {font-size: 1.5rem;}

nav {
    background-color: teal;
    color: white;
    text-align: center;
 margin-bottom: 2em;

}

nav li {
    list-style-type: none;

}


/* handling Link status */
nav a {
    text-decoration: none;
    color: white;
    display: block;
    padding: .4rem;
}
nav a:visited {color: greenyellow;}
nav a:hover {
    color:red;
    background-color: #14818b;
}
nav a:active { color: mediumpurple;}


/* styling my hamburger */
nav input[type=checkbox]:checked ~ ul.menu {
    display: block;/*by default, this is for a mobilew device therefore we hide the navigation and only show the burger menu*/
}
/* hide the checkbox as this is really used for hide and unhide navbar */
nav input[type=checkbox] {
    display: none; 
}

.fa-solid.fa-burger {

    color: #8B4513;/* saddle Brown */
    font-size: 24px;
    margin: 1px;
    padding: 5px;    
    cursor: pointer; /* Change the cursor on hover */

}
 .menu li{
        border-bottom: 1px solid #fff;
    }

.fa-solid.fa-burger:hover {
    color: #FF0000;  /* Change color on hover to red*/
}


.displayMenu {
    display: inline-flex;
    justify-content: space-between; /* for my tiger menu there is no burger so I want to make sure the menu section is always there */
}



/*---- End navigation  section ----*/


/* main section */
main {
    margin: 2em auto;
    width: 90%;
}

/* responsive video and map */
.video, .map {
    position: relative;
    padding-bottom: 56.25%; /* 270 ÷ 480 */
    padding-top: 25px;
    height: 0;
    overflow: hidden;

}

.video iframe,
.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}





.textBox {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
}

footer {
    padding: 20px;
}




/*  code as mobile to start with, therefore make sure it is one column for this site*/
.twoGrid {
    display: grid;
    grid-template-columns: 1fr;
}



/*-- Begin tiger page  --*/

figure {
    position: relative;
    text-align: center;
    margin: 0;
}


figcaption {
    position: relative; 
    padding: 5px;
    font-size: 1.5rem;
    color: #333;
    margin-top: 10px; /* Add margin to push down the content below */
}

table {
    border: 2px solid black;
   
    margin: auto;
    table-layout: auto; /* Set table layout to auto */
}

td:nth-of-type(odd) {
    background-color: antiquewhite;
    font-size: 3rem;
}
td:nth-of-type(even) {
    background-color: #fff;
    font-size: 1rem;
}
td,
th {
    padding: 3ch;
    border: 1px solid #ccc;
    vertical-align: top;
    

}
/*-- End tiger page for table --*/



/* connect page styling */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 35px;
}

.contact-info article {
    flex: 1 1 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease-in-out;
}


.contact-info article:hover {
    transform: scale(1.05);
}
/* styling the icons */
.icon {
    font-size: 24px;
    margin-right: 10px;
    color: #3498db;
}

.icon-nav {
    background-color: azure;
}

.icon-nav a {
    color: black;
    font-size: 50%;
}
/* make the icons pop out when hover over */
.icon figure:hover {
    transform: scale(2);
}

/**---------- Section for Responsibe Website ---------------**/

/*--- Begin Mobile Devices ---*/
@media only screen and (max-width: 767px) {

    header {

        align-items: center;
    }

    header section {
        margin-top: 0;
        display: flex;
        align-items: baseline;
        gap: 1.5em;
        color: #fff;
        text-shadow: 0 0 5px rgba(0, 0, 0, .8);
    }

    .showMenu {
        background-color: #F5F5DC;
        color: black;
        text-align: center;
        padding: .1em;
        display: block;
        cursor: pointer;
        font-size: 1rem;

    }
    main::after 
    {
        clear: both;
/*        content: "hello out there - generate content via css";*/
        display: block;
        height: 0;
        margin-bottom: 1em;
    }

    /*menu won't be shown by deault for small screen */
   .menu{
        display: none;
    }

   
    .home {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5em;
        max-width: 1400px;
    }

    .fontSize {
        font-size: 2rem;
    }
    
    
   /* Styles for both two columns and one column layout */
table,
tr,
td,
th {
    margin:20px;
    border-collapse: collapse;
    border: 1px solid chocolate;
     display: block;
}

}

/*--- End Mobile Devices ---*/


/* for desktop */
@media screen and (min-width: 1025px) {

    /* For tiger and connect page */
    .twoGrid {

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5em;
    }

    /* don't show hamburger option */
    .showMenu {
        display: none;
    }

     
    
    .menu li {
        display: inline-block; /* or display: inline; */
        width: auto; /* Adjust the width as needed or remove it to let the content determine the width */
        border-bottom: none; /* Remove the bottom border for desktop */
    }
    
    
    
    nav ul {
        display: flex;
        justify-content: center;
        gap: 1.2em;
    }

    

    .home {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5em;
        max-width: 1400px;
    }

    article {
        border-bottom: none;
    }

    article img {
        float: none;
    }

    .fontSize {
        font-size: 3.5rem;
    }
}

/* for tablet sizes */
@media only screen and (min-width: 767px) and (max-width: 1024px) {
    header {
        background-image: url(../images/background.jpeg);
        align-items: center;
        height: 300px;
    }

    header section {
        margin-top: 0;
        display: flex;
        align-items: baseline;
        gap: 1.5em;
        color: #76dce5;
        text-shadow: 0 0 5px rgba(0, 0, 0, .8);
    }

    /* don't show hamburger option */
    .showMenu {
        display: none;
    }

    nav ul {
        display: flex;
        justify-content: center;
        gap: 1.2em;
    }
 .menu li {
        display: inline-block; /* or display: inline; */
        width: auto; /* Adjust the width as needed or remove it to let the content determine the width */
        border-bottom: none; /* Remove the bottom border for tablet */
    }
    
    .home {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5em;
        max-width: 1400px;
    }

    article img {
        float: left;
        margin: 0 10px 20px 0;
    }

    .fontSize {
        font-size: 3rem;
    }
}
