/* #E9A549 orange */
*{
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif; 
}

p {
    font-size: 20px;
    font-weight: 300;
}

/* --------- NAVBAR --------- */
nav {
    display: flex;
    padding: 1% 3%;
    justify-content: space-between;
    align-items: center;
    cursor: default;
}

nav img {
    width: 50%;
	padding-left: 5%; 
	padding-top: 5%; 
}

.menu {
    padding: 0;
}

.sub-header nav {
    padding-left: 0;
}

.menu .icons .bi {
    color: #E9A549;
    margin-right: 0;
}

.menu ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.menu ul li a{
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
}

.menu ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #E9A549;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.menu ul li:hover::after{
    width: 100%;
}

.menu .li-icons:hover::after {
    width: 0%;
}

.menu ul li .selected {
    color: #E9A549;
}

@media(max-width: 786px){
    nav img {
        width: 30%;
    }

    .menu ul li a {
        font-size: 7px;
        letter-spacing: normal;
    }

    .menu .li-icons {
        display: none;
    }
}

@media(max-width:476px) {
    .menu ul li a {
        font-size: 3px;
        letter-spacing: normal;
    }
}

/* --------- HEADER --------- */

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,1) 76%),
    url(images/intro.gif);
    background-position: center;
    position: relative;
}

.header-text {
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.header-text h1{
    font-size: 10em;
    letter-spacing: 10px;
    padding-bottom: 30px;
    color: #E9A549;
}

.header-text h2 {
    font-weight: 400;
    letter-spacing: 2px;
}

.button-more {
    display: inline-block;
    border-radius: 3%;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 20px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.button-more:hover {
    border: 1px #107189;
    background: #107189;
    transition: 0.5s;
}

@media(max-width: 786px) {
    .header-text {
        font-size: 0.4em;
    }

    .sub-header nav {
        margin-left: -50px;
    }

    .sub-header img {
        width: 30%;
    }

    .sub-header h1 {
        font-size: 2em;
        margin-top: 2em;
    }
}

/* --------- ABOUT US --------- */
.us{
    text-align: center;
    padding-top: 8%;
}

h1 {
    font-size: 3em;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.row {
    margin: 3% 0;
    display: flex;
    align-items: center;
}

.row div {
    padding: 20px 0px;
}

.short-info {
    width: 50%;
    text-align: left;
    color: black;
    margin-left: 10%;
}

.group-photo img {
    width: 60%;
    box-shadow: 12px 12px 2px 1px orange;
}	

@media(max-width: 786px) {
    .us h1,
    .articles div h1 {
        font-size: 2em;
        margin: 0;
    }
    
    .short-info {
        width: 80%;
        margin: 0;
        text-align: justify;
    }

    .short-info p,
    .articles div p {
        font-size: 1em;
        text-align: justify;
    }

    .group-photo img {
        width: 80%;
        box-shadow: none;
    }

    .row {
        display: flex;
        flex-direction: column;
    }

    .content {   
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .content .begin p,
    .content-activity .work p,
    .content-activity .work ol {
        width: 90%;
        padding: 0;
        margin-left: 5%;
        text-align: justify;
    }

    .content-activity .work ol {
        width: 80%;
        margin-left: 10%;
    }

    .content .begin h1,
    .content .members h1,
    .content-activity .work h1,
    .content .partnership h1,
    .location-container .contact-info h2 {
        font-size: 1.5em;
        padding: 5% 0;
    }

    .partnership-container {
        display: flex;
        flex-direction: column;
    }

    .location-container {
        flex-direction: column;
        align-items: center;
    }

    .location {
        display: none;
    }

    .location-container .contact-info {
        width: 40vh;
    }

    .location-container .contact-info h4 {
        overflow-wrap: break-word;
    }
}

/* --------- ARTICLES --------- */

.articles{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.article p {
    flex-grow: 1;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    text-align: justify;
    overflow: hidden; 
}

.article p,
.article h3,
.article h3 {
    margin: 2% 5%;
}

.row2 {
    margin: 5%;
    display: flex;
    justify-content: space-between;
}

.article {
    display: flex;
    flex-direction: column;
    flex-basis: 31%;
    height: 60vh;
    background-color: #107189;
    color: white;
    font-size: 25px;
    transition: 0.5s;
    border-radius: 3px;
}

.article h3 {
    font-size: 0.7em;
    text-align: left;
    margin-top: 5%;
}

.article img {
    width: 90%;
    height: 40%;
    border-radius: 10px;
    pointer-events: none;
    cursor: default;
    align-self: center;
    margin-top: 5%;
}

.article button {
    background-color: #107189;
    border: 1px solid white;
    color: white;
    border-radius: 3px;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 7%;
}

.article button:hover{
    background-color: #E9A549;
    border: 1px solid #E9A549;
    transition: 0.5s;
}

@media(max-width: 768px) {
    .articles div p {
        margin: 30px 0;
    }

    .row2 {
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
    }

    .article {
        margin: 0;
        padding: 0;
        width: 130%;
        display: inline;
    }

    .article h3 {
        font-size: 26px;
        text-align: center;
    }

    .row2 .article p {
        padding: 0 30px;
        font-size: 0.7em;
    }

    .article img {
        width: 70%;
    }
}

/* ----------- ARTICLE CONTENT ----------- */
.article-page .content-wrapper {
    padding: 5% 10%;
    display: flex;
    justify-content: space-between;
}

.left-col,
.right-col {
    width: 48%;
}

.article-page img {
    float: left;
    margin: 5px;
    width: 95%;
    margin-bottom: 20px;
}

.article-page p {
    text-align: justify;
    font-size: 18px;
    color: black;
    line-height: 1.5;
}

.left-col p::first-letter {
    -webkit-initial-letter: 4;
            initial-letter: 3;
    color: #E9A549;
    font-weight: bold;
    margin-right: .75em;
}

.article-page h1 {
    text-align: center;
    font-size: 2.5em;
    padding-top: 5%;
}

p.article-authors {
    color: grey;
    font-size: 16px;
}

.initial-letter {
    font-size: 36px;
    line-height: 70px;
}

@media(max-width: 768px) {
    .article-page h1 {
        font-size: 1.5em;
        padding: 5% 1.5%;
    }

    .content-wrapper .left-col p::first-letter,
    .initial-letter {
        color: inherit;
        font-weight: 300;
        margin-right: 0;
        font-size: 18px;
    }

    .article-page .content-wrapper {
        flex-direction: column;
    }

    .left-col,
    .right-col {
        width: 100%;
    }
}

/* --------- MEDIA --------- */

.media{
    margin: auto;
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

h2{
    font-size: 20px;
}

.media p{
    font-size: 15px;
}

.icons .bi{
    color: blue;
    margin: 0 13px;
    cursor: pointer;
}

/* -------- PAGE ABOUT US ---------- */
.sub-header{
    min-height: 30vh;
    width: 100%;
	background-image: linear-gradient(180deg, rgba(0,0,0,0.5466561624649859) 0%, rgba(0,0,0,0.8435749299719888) 76%),
    url(images/background.jpg); 
    background-position: center;
    background-size: cover;
    position: relative;
	text-align: center; 
	color: white;
}

.sub-header h1{
    letter-spacing: 2px;
}

.content{
	padding-top: 2%; 
    padding-bottom: 5%;
    margin: auto;
	
}
.content h1{
    padding-top: 2%;
    font-size: 30px;
	text-align: center; 
	
}
.content p{
	padding-right: 20%;
	padding-left: 20%; 
    padding-top: 1%;
    color: black;
    font-size: 20px;
    line-height: 1.5
}

.begin p{
	text-align: justify;
}

.members p{
	text-align: center;
}

/* --------- ACTIVITY --------- */
.content-activity{
    text-align: center;
    margin: auto;
	line-height: 1.5;
    padding-top: 2%; 
}
.content-activity h1{
    padding-top: 2%;
    font-size: 30px;
}
.content-activity h2{
    padding-top: 50px;
    font-size: 25px;
}
.content-activity p{
	padding-right: 20%;
	padding-left: 20%; 
    padding-top: 1%;
    color: black;
    font-size: 20px;
    line-height: 1.5;
}
.content-activity ol{
	text-align: justify;
	padding-right: 20%;
	padding-left: 20%; 
    padding-top: 1%;
    color: black;
    font-size: 20px;
}

/* --------- CONTACT ---------  */

.location-container {
    display: flex;
    padding: 50px 80px;
}

.location{
    width: 60%;
    margin: auto;
    margin-right: 0;
}

.location iframe{
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info > h4 {
    font-weight: 300;
    margin-bottom: 8px
}

.contact-info h2 {
    font-weight: 700;
    font-size: 2em;
    margin-bottom: 20px;
}

/*  --------- PARTNERSHIP --------- */

.partnership {
	text-align: center;
}

.partnership-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 20px;
    margin-bottom: 0;
}

.partnership-container div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    width: 30vh;
}

.partnership-container div img {
    height: 10vh;
    margin-bottom: 20px;
}

.partnership-container div a {
    text-decoration: none;
    color: black;
    font-size: 1.5em;
    font-weight: 300;
}

