@font-face {
    src: url(../fonts/ethnocentric/ethnocentric_rg.ttf);
    font-family: ArionFont;
}

main {
	background-color: #263A4A;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #263A4A;
    z-index: 1;
    width: 90%;
    max-width: 1500px;
    min-height: calc(100vh - 80px);
    margin: auto;
    padding: 1%;
}

.main-container h1 {
    font-size: 4.0rem;
	line-height: 1.25;
	font-family: ArionFont;
    color: #ffffff;
    text-align: center;
    padding-bottom: 1%;
}

.main-container h2 {
    font-size: 2.5rem;
	font-family: ArionFont;
    color: #ffffff;
}

.main-container p {
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;

}

.who-we-are {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.who-we-are .offset-text {
    order: 1;
}

.who-we-are .offset-image {
    order: 2;
}

.who-we-are .offset-text, .who-we-are .offset-image {
    flex: 1;
    min-width: 300px;
}

.who-we-are .offset-text p {
    margin: 20px 0 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
    width: 100%;
}

.who-we-are .offset-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.meet-the-team {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.meet-the-team a {
    text-decoration: none;
    color: inherit;
    font-family: inherit;
}

.meet-the-team a:hover {
    opacity: 0.5;
    transition: 0.3s ease-out;
}

.arrow {
    display: flex;
    flex-direction: row;
    margin-bottom: 1%;
}

.team-line {
    width: 28.0rem;
    height: 3px;
    background-color: #ffffff;
    margin: auto 0;
}

.tri {
    width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-left: 15px solid #ffffff;
	border-bottom: 5px solid transparent;
}


.meet-the-team .center-image img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.the-project {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.the-project .offset-text {
    order: 1;
}

.the-project .offset-image {
    order: 2;
}

.the-project .offset-text, .the-project .offset-image {
    flex: 1;
    min-width: 300px;
}

.the-project .offset-text p {
    margin: 20px 0 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
    width: 100%;
}

.the-project .offset-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.brochure {
    padding: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.brochure a {
    text-decoration: none;
    color: inherit;
    font-family: inherit;
}

.brochure a:hover {
    opacity: 0.5;
    transition: 0.3s ease-out;
}

.brochure-line {
    width: 27.5rem;
    height: 3px;
    background-color: #ffffff;
    margin: auto 0;
}

.center-download {
    margin: auto;
}

.brochure .center-download img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 960px) {
    .main-container {
        width: 95%;
    }

    .who-we-are, .the-project, .meet-the-team, .brochure {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1%;
    }

    .who-we-are .offset-text, .who-we-are .offset-image, .the-project .offset-text, .the-project .offset-image {
        flex: none;
        width: 100%;
    }

    .meet-the-team, .brochure {
        text-align: center;
        align-items: center;
    }

    .brochure .center-download img{
        max-width: 100%;
    }

}

@media only screen and (max-width: 500px) {
    .main-container h1 {
        font-size: 2rem;
        padding: 2%;
    }
    
    .main-container h2 {
        font-size: 1.2rem;
        padding-bottom: 1%;
    }
    
    .who-we-are, .the-project {
        gap: 5px;
    }

    .who-we-are, .meet-the-team, .the-project {
        padding: 5px;
        margin-bottom: 7%;
    }

    .who-we-are .offset-text p, .the-project .offset-text p{
        margin: 0;
    }

    .team-line, .brochure-line {
        width: 13rem;
    }

    .brochure .center-download img{
        max-width: 100%;
    }
}