/*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-image: url(images/mof.png);
    background-position: center;
    background-size: cover;
    opacity: 50%;
}

header h1 {
    text-align: center;
    margin-top: -190px;
    margin-bottom: 40px;
    font-size: 100px;
}

/*Content*/

.content {
    background-color: var(--main-grey);
    color: white;
    padding: 20px 0;
}

.content p {
    text-align: justify;
    width: 80%;
    margin: 10px auto;
}

.content-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 40px auto;
}

.content-tiles {
    width: 30%;
    background-color: var(--main-green);
    padding: 10px 10px 10px 30px;
    border-radius: 20px;
    box-shadow: 5px 5px 15px white;
}

.content-tiles ul {
    color: black;
}

.content-action {
    text-align: justify;
    margin: 0 auto;
    width: 50%;
}

.content-action h2 {
    text-align: center;
}

/*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;
}

.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: 3.4rem;
        margin-bottom: 1.7rem;
    }

    .content-grid {
        flex-direction: column;
        align-items: center;
    }

    .content-tiles {
        width: 80%;
    }

    .content-action {
        width: 80%;
    }

    .footer-list li {
        width: 80%;
        margin: 1rem auto;
    }

    .info-grid {
        flex-direction: column;
    }

    .info-icons {
        height: 35%;
        width: 30%;
        left: 85%
    }

    .info-icons img {
        width: 40%;
    }
}