html,body {
    background-color: #f0f8ff;
    background-image: linear-gradient(to right, #add8e6, #87cefa, #87cefa, #add8e6);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    font-family: sans-serif;
    color: #111;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    
}

a:hover {
    color: #222;

}
a{
    color: #222;
}
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.main-content {
    flex: 1;
    padding-bottom: 0%;
}


header {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f0f8ff;
    background-image: linear-gradient(to right, #add8e6, #87cefa, #87cefa, #add8e6);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #fff;
    padding: 500px 0;
    text-align: center;
}

#results-container {
    display: none;
    margin-top: 30px;
    margin-bottom: 130px;
}

.logo {
    width: 200px;
    position: absolute; /* Keep this for larger screens */
    top: -50px;
    left: 90px; /* Original positioning */
}


@media (max-width: 768px) {
.logo {
    position: relative; /* Change position to relative for centering */
    margin: 0 auto;    /* Center the logo horizontally */
    left: 0;           /* Reset left property */
    top: 0;            /* Adjust top if needed */
    display: block;
    margin-bottom: -50%;    /* Ensure the logo behaves like a block element */
         }
}


#taxForm {
    margin-bottom: 0px;
}

.main-container {
    margin-top: -50px;
    
}

.co2-tip {
    font-size: .9rem;
    color: #222;
    margin-top: 5px;
}

.container-header {
    padding-top: 150px;
    position: center;
    display: flex;                
    justify-content: center;      
    align-items: center;          
}

.results-container {
    margin-top: 50px;
}

.btn {
    background-color: black;
    width: 100%;
    align-self: center;
    border-radius: 10px;
    cursor: pointer;
    position :relative;
    
}
.btn:active,
.btn:focus {
    background-color: white; /* Change this to black on click */
    color: black;
 }
.btn:hover {
    background-color: white;
    color:black;
}

@media (max-width: 768px) {
    .mobile-spacing {
     margin-bottom: 10%; /* Adjust this value to increase space between elements */
     padding-bottom: 10%;              }
}

.off-screen-menu {
    margin-top: -80px;
    width: 100%;
    max-width: 500px;
    position: fixed;
    top: 100px;
    right: -500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 25px;
    transition: .3s ease;
    text-decoration: underline;
       
}

.off-screen-menu.active {
    right: 0;
}

nav {
    padding: 1rem;
    display: flex;
}

.ham-menu {
    top: 15px;
    left: 95%;
    height: 50px;
    width: 50px;
    margin-left: auto;
    position: fixed;
}

.ham-menu span {
    height: 5px;
    width: 100%;
    background-color: black;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

.ham-menu span:nth-child(1) {
    top: 25%;
}

.ham-menu span:nth-child(3) {
    top: 75%;
}

.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 75%;
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
 top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 75%;
}

.aboutus-button button {
    border-radius: 15px;
    background-color: black;
    color: white;
    cursor: pointer;
    margin-right: 2px;
    font-size: 22px;
    padding-right: 10px;
    padding-left: 10px;
    position: flex;
}

.aboutus-button button:hover {
    background-color: white;
    color:black;
}

.site-footer {
        padding-top: 20px; /* Adjust padding to remove extra space */
        font-size: 15px;
        line-height: 24px;
        position: relative;
        width: 100%;
        text-align: center;
}
    

.site-footer hr {
  border-top-color: inherit; /* Use the same color as the rest of the site */
  opacity: 0.5; /* Transparency for the rule */
}

.site-footer h5,
.site-footer h6 {
  font-size: 16px; /* Heading size */
  text-transform: uppercase; /* Uppercase for headings */
  margin-top: 5px; /* Margin above headings */
  letter-spacing: 2px; /* Letter spacing for style */
}

.site-footer p {
  margin-bottom: 30px; /* Space below paragraphs */
}

.site-footer a {
  color: inherit; /* Inherit color from parent */
}

.site-footer a:hover {
  text-decoration: none; /* No underline on hover */
}

.footer-links {
  padding-left: 0; /* Remove padding for list */
  list-style: none; /* No bullets */
}

.footer-links li {
  display: block; /* Stack links vertically */
}

.footer-links a {
  color: inherit; /* Inherit color from parent */
}

.footer-links a:hover {
  text-decoration: none; /* No underline on hover */
}

.social-icons {
  text-align: right; /* Align social icons to the right */
}

.social-icons a {
  width: 40px; /* Width for social icons */
  height: 40px; /* Height for social icons */
  line-height: 40px; /* Center text vertically */
  margin-left: 6px; /* Space between icons */
  border-radius: 100%; /* Make icons circular */
}

.copyright-text {
  margin: 0; /* Remove margin */
}

@media (max-width: 767px) {
    .site-footer {
        padding: 5px  0 30px; /* Adjust padding to create space for copyright */
        display: flex;
        flex-direction: column; /* Stack children vertically */
        justify-content: flex-start; /* Align to the top */
    }

    .copyright-text {
        margin: 0;
        text-align: center; /* Center the text */
    }

    .site-footer hr {
        border-top-color: #bbb;
        opacity: 0.5;
        margin: 0; /* Adjust the margin as needed */
    }


}
@media (max-width: 768px) {
    .site-footer .row {
        flex-direction: column; /* Stack elements vertically */
        align-items: center;    /* Align content to the center */
    }
    
    .site-footer .col-sm-12 {
        margin-bottom: 20px;    /* Add space between stacked items */
        text-align: center;     /* Center the text */
    }

    .footer-links {
        margin-bottom: 20px;    /* Add space below the list */
    }

    .site-footer img {
        margin-bottom: 20px;    /* Space for the image */
    }

    .copyright-text {
        margin-top: 10px;       /* Adjust for copyright text */
    }
}


.site-footer .container {
    padding-bottom: 0;
    margin-bottom: 0;
}

.copyright-text {
    margin: 0;
}


.top-ad-iframe
{
width:100%;
height:600px            
}

@media(max-width:1200px)
{
#taxForm
{
margin-bottom: 20px;
}   
}
