/*Main*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Poppins, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --main-green: #6ecd8b;
    --main-grey: #2c3e50;
    --main-blue: #3898ec;
}

a {
    text-decoration: none;
    color: black;
}

/*Header*/

.header-img {
    width: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.8)), url(images/accounting-ledger.webp);
    background-position: center;
    background-size: cover;
}

h1 {
    text-align: center;
    font-size: 100px;
}

/*Content*/

.content {
    background-color: var(--main-grey);
    color: var(--main-grey);
}

.content p {
    padding: 20px;
    text-align: justify;
    width: 90%;
    margin: auto;
    color: white;
}

.content-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    padding: 40px;
}

.content-tiles {
    width: 80%;
    background-color: var(--main-green);
    color: var(--main-grey);
    border-radius: 20px;
    padding-bottom: 10px;
}

.content-tiles h2 {
    text-align: center;
    padding: 20px;
    color: white;
}

.content-tiles ul {
    padding: 0 20px 0 40px;
}

.content-tiles li {
    margin: 10px auto;
}

#services {
    width: 50%;
}

/*Footer*/

.footer-list {
    display: flex;
    flex-wrap: wrap;
}

.footer-list li {
    width: 30%;
    background-color: var(--main-green);
    padding: 10px;
    margin: 20px;
    list-style: none;
    border-radius: 10px;
}

.footer-list a {
    color: white;
}

.info-reach {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-reach h3 {
    padding-top: 20px;
    font-size: 40px;
}

.info-grid {
    display: flex;
    flex-direction: row; 
}

.info-tiles {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px;
}

.info-tiles img {
    width: 35%;
    margin: 20px;
}

.info-icons {
    height: 10%;
    width: 5%;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 94%;
    top: 52%;
}

.info-icons img {
    width: 100%;
}

.footer-line {
    margin: 0 auto;
    height: 1px;
    width: 99%;
    background-color: var(--main-grey);
}

.footer-text {
    margin-left: 10px;
    font-weight: 300;
    font-size: 15px;
}

@media (max-width: 478px) {

    header h1 {
        font-size: 3.5rem;
    }

    #services {
        width: 80%;
    }

    .footer-list li {
        width: 80%;
        margin: 1rem auto;
    }

    .info-grid {
        flex-direction: column;
    }

    .info-icons {
        height: 35%;
        width: 30%;
        left: 85%;
        top: 55%;
    }

    .info-icons img {
        width: 40%;
    }
}