body.home{
    background-color: aliceblue; 
    background-size: 160%;
    background-repeat: no-repeat;
    
    background-image: url(../imgg/ocean.jpg);
}

header div{left: 60px;
        margin-bottom: -72px;
        margin-top: 0px;
        bottom: 58px;
        top: -84px;
        margin-left: -6px;
      }
    
      .fontdiner-swanky-regular {
        font-family: "Fontdiner Swanky", serif;
        font-weight: 400;
        font-style: normal;
      }
      

.cherry-bomb-one-regular {
    font-family: "Cherry Bomb One", system-ui;
    font-weight: 400;
    font-style: normal;
  }
  
main {
    padding: 1rem;}
    
#logo{
    height: auto;
    width: 3rem;
    margin-bottom: 2rem;
margin-top: 0rem;
bottom: 4px;
    
}

h1 { font-size: 1.4em; }
      h2 { font-size: 1.3237em; }
      h3 { font-size: 1.2515em;
    color: dodgerblue; }
      h4 { font-size: 1.1832em;
    color: lightskyblue; }
      h5 { font-size: 1.1187em; }
      h6 { font-size: 1.0577em; }
      p { font-size: 1em; }
      small { font-size: .9455em; }
h1{
    color: midnightblue;

}

h2{ 
   
    color: cornflowerblue;
    margin-top: 1rem;
margin-bottom: 0.4rem;

}

h3{margin-top: 1rem;
    margin-bottom: 0.4rem;}

h4{margin-top: 1rem;
    margin-bottom: 0.4rem;}    

p{
    font: 1rem sans-serif;
    color: rgb(100 99 99);
}

      h1,
      h2,
      h3,
      h4,
      h5,
      h6,
      label,
      legend {
        font-family: "Aclonica", sans-serif;
        font-weight: 400;
        font-style: normal;
      }
      p,
      label,
      legend {
       
            font-family: "Lusitana", serif;
            font-weight: 400;
            font-style: normal;
          }
      
      a {
        text-decoration: none;
        color: #2129aa;
      }
      figcaption{
        margin-top: -12px;
        color: #3e6291;
}
      
      

img{
    max-width: 100%;
    height: auto;
    margin: 1rem 0 1rem 0;
}
header{


    background-color: lightblue;

    padding: 6px;
    color: #00668f;
    font-size: 2.2rem; /* add these three new lines */
    font-style: normal;
   font-family:"Cherry Bomb One" ;
   width: auto;
}
.big-box {
    width: 100%;           /* Make it take up full width of the container */
    height: 130px;
    top: 180px;
    color: #d0d6e1;
    background-color: #add8e61f;
    text-align: center;    /* Center the content inside */
    padding: 20px;         /* Add some padding for spacing */
    font-size: 2em;        /* Make the text inside bigger */
    display: block;        /* Ensure it's block-level (default for div) */
    font-family: "Fontdiner Swanky", serif;}
form{
 
    padding: 1rem;
}

fieldset{
    border: 1px solid #444;
    margin: 0 0.05rem 2rem 0.5rem;
    padding: 1rem;
}

label,input{
    display: block;
    width: 100%;
}

.copyright{font-family: sans-serif;
padding-left: 1rem;
font-size: 11px;
  font-weight: 580;
  color: #0e2a7c;
}
.homecredits
{font-family: sans-serif;
    padding-left: 1rem;
    font-size: 11px;
      font-weight: 580;
      color: #0e2a7c;
    top: 360px;}

input[type="text"],
input[type="tel"] {
    margin: 0.125rem 0 1.2rem 0;
}

textarea{
    width: 100%;
    margin: 0.125rem 0 1.2rem 0;
}

.align-right{
    display: flex;
    justify-content: end;
}

input[type="submit"]{
    margin: 0 0.55rem;
    background-color: darkseagreen;
}

input[type="reset"]{
    background-color: lightcoral;
}

.button{
    width: 5rem;
    color: white;
    border-radius: 0.5rem;
}

.button.hover{
    filter: opacity(0.5);
}

/* Hamburger Menu Button */
button#menu-button {
    height: 2rem;
    width: 2rem;
    display: block;
    border: none;
    background-image: url(../imgg/hamburger-svgrepo-com.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

#menu {
    display: none;
}

#menu.show-nav {
    display: block;
    position: absolute;
    z-index: 100;
    top: 2.5rem;
    right: 6px;
    left: 6px;
    list-style: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    background-color: rgb(0, 46, 73);  
    padding: 1rem;
    width: 290px;  
    margin: 0 auto;
    border: 1px solid #FFFFFF;
    height: 435px;
    display: flex;
    flex-direction: column;  /* Stack menu items vertically */
    align-items: center;  /* Center align the menu items */
}

#menu-button {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    padding: 0;
    background-color: transparent;
    z-index: 10;
}

#menu-button:hover {
    cursor: pointer;
}

.hide-text {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    padding: 0;
}

.icon {
    position: relative;
    width: 100%;  /* Make each icon container take the full width */
    text-align: center;  /* Align content (icon and text) in the center */
}

.icon a {
    display: flex;
    flex-direction: row;  /* Align icon and text horizontally */
    justify-content: center;  /* Center horizontally */
    align-items: center;  /* Align vertically */
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.5rem;
    margin: 0;
    padding: 0.5rem 1rem;  /* Space around each icon for easier clicking */
}




li.icon {
    width: 100%;  /* Full width for each icon list item */
    margin-bottom: 1.2rem;  /* Space between each item */
}

li.icon a span {
    margin-left: 0.5rem;  /* Space between icon and text */
    font-size: 0.88rem;  /* Text size */
    color: #d5e9ff;  /* Text color */
    white-space: nowrap;  /* Ensure text doesn't wrap */
}
li.icon.home { left: 5px; }
li.icon.animal { left: 5px; }
li.icon.plants { left: 5px; }
li.icon.pollution { left: 5px; }
li.icon.contact { left: 5px; }






    @media only screen and (min-width: 64em) {
        button#menu-button {
            display: none;
        }

        #menu {
            display: flex;
        }
    }
    nav {
        width: 300px;  /* fits in 320px mobile */
        margin: 0 auto;  /* centered */
        height: 60px;
        padding: 0;
        margin-top: 17px;
    }
    nav ul.navigation {
        list-style-type: none;
        position: relative;  /* absolute positioning calculated from top/left of this box */
        margin: 0 auto;
        padding: 0;
    }
    
    .icon {
        margin: 0;
        padding: 0;
        top: 1px;
    }
    
    .icon svg {
        display: block;
        width: 100%;
        height: auto;
        fill: #99CCE4;
        height: 50px;
        width: 50px;
    }


    .icon.home { 
        left: 5px;
    }
    .icon.animal {
        left: 65px;
    }
    
    .icon.plants {
        left: 125px;
    }
    
    .icon.pollution {
        left: 185px;
        top: 0.325rem;
    }
    
    .icon.contact {
        left: 245px;
    }

    a span {
        display: block;
        width: 100%;
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.55rem;
        position: relative;
        top: -0.3rem;}














        