/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif&display=swap');

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Typography */
html {
    font-size: 16px;
}


span {
    margin-left: 1rem;
}



.site-title {
    height: 1rem;
    left: -11rem;
    width: 1rem;
    top: -2rem;
    font-size: 3rem;
}


img#logo {
    width: 5rem;
    height: 5rem;
    top: 0rem;
    left: 0rem;
}



/* Classic Typographic Scale */
h1 { font-weight: 500;
    margin: 0rem 0 0rem 1.8rem;
    padding: 2px;
    border: 0;
    font-size: inherit;
    font-size: inherit;
    position: relative;
    top: -0.3rem;
    left: 0rem;
    width: 12rem;} /* step 6 value */
h2 { margin: 0 0 0 1.8rem;
    padding: 2px;
    border: 0;
    font-size: 100%;
    font: inherit;
      font-size: inherit;
    font-size: inherit;
    vertical-align: baseline;
    position: relative;
    box-sizing: border-box;
    top: -0.7rem;
  }
h3 { font-size: 1.8131em; }
h4 { font-size: 1.5349em; }
h5 { font-size: 1.2994em; }
p { padding: 2rem;
    padding: 0rem;
    margin: 2rem 0 0 0;} /* step 5 value */
small { font-size: .9312em; }

/* Body */
body {
    font-family: 'PT Serif', serif;
    background-color: #f2f2f2;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #02943F;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    color: white;
    font-size: 1.2rem;
    position: relative;
    margin-bottom: 20px;
}

#logo {
    height: 80px;
    width: 90px;
}

/* Hide Menu by Default */
#menu {
    display: none;
}

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

/* Mobile Navigation Menu */
#menu.show-nav {
    display: block;
    position: absolute;  
    z-index: 100;
    top: 0;
    right: 0.6rem;
    background-color: rgb(255, 255, 237);
    padding: 1rem;
    width: 95%;
    margin: 0 auto;
    border: 1px solid #444;
}

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

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

/* Hidden Text for Accessibility */
.hide-text {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    padding: 0;
}

/* Navigation Icons */
.icon a img {
    width: 2rem;
    height: auto;
}

li.icon {
    width: 100%;
    height: 1.8rem;
    margin: 1.3rem 0;
}

li.icon a {
    display: flex;
    justify-content: start;
    align-items: center;
    font-family: arial, helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.5rem;
    margin: 0; 
    height: 1.5rem;
}

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

    #menu {
        display: flex;
    }

    .main-navigation {
        display: flex;
        justify-content: space-around;
        position: static;
        background: none;
        border: none;
        width: 100%;
    }

    .main-navigation li {
        margin: 0;
    }
}

/* Main Navigation */
.main-navigation {
    list-style: none;
    display: none; /* Hidden by default */
}

.main-navigation li {
    margin: 10px 0;
}

.main-navigation li a {
    text-decoration: none;
    font-weight: bold;
    color: #02943F;
}

.main-navigation li a:hover {
    text-decoration: underline;
}

/* Show Navigation on Click */
#menu.show-nav {
    display: block;
    position: absolute;
    top: -98px;
    right: 12px;
    background-color: white;
    border: 1px solid #ddd;
    width: 297px;
    z-index: 100;
    padding: 10px;
}

/* Footer */
footer {
    background-color: #3DB571;
    color: white;
    padding: 10px 20px;
    text-align: center;
}

.footer-navigation {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.footer-navigation li {
    margin: 0 10px;
}

.footer-navigation li a {
    text-decoration: none;
    color: white;
}

.footer-navigation li a:hover {
    text-decoration: underline;
}

section {
	padding: 2rem;
}


label {
	display: block;
}

form {
    margin: 1rem;
  }

  input[type="reset"] {
    background-color: mediumorchid;
  }
  .button {
    width: 5rem;
    color: white;
    border-radius: 0.5rem;}

    input[type="submit"] {
        margin: 0 0.55rem;
        background-color: teal;
      }
      .button {
        width: 5rem;
        color: white;
        border-radius: 0.5rem;
      }

     




   