/*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%;
    height: 200px;
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.8)), url(images/company-secretarial.webp);
    background-position: center;
    background-size: cover;
}

header h1 {
    text-align: center;
    font-size: 100px;
}

/*Content*/

.content {
    background-color: var(--main-grey);
    padding-bottom: 50px;
}

.content-1 {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.content-2 {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.content-img {
    width: 25%;
    margin: 40px;
    border-radius: 100px;
}

.content-p {
    margin: 50px;
    padding: 10px;
    border-radius: 20px;
    color: white;
    text-align: center;
    background-color: var(--main-green);
}

.line {
    width: 99%;
    height: 1px;
    background-color: white;
    margin: auto;
}

.content-3 {
    color: white;
    padding: 10px;
    margin: 30px;
    text-align: center;
}

.content-list {
    width: 50%;
    margin: auto;
    padding: 40px;
    list-style: disc;
    color: white;
    background-color: var(--main-green);
    border-radius: 20px;
}

/*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: 92%;
    top: 50%;
}

.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: 3rem;
    }

    .content-1 {
        flex-wrap: wrap;
        justify-content: center;
    }

    .content-2 {
        flex-wrap: wrap;
        justify-content: center;
    }

    .content-img {
        margin: 1rem;
        width: 50%;
    }

    .content-p {
        margin: 1rem;
    }

    .line {
        margin-top: 2rem;
    }

    .content-list {
        width: 70%;
    }

    .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%;
    }
}