/* GENERAL */

body{	
	font-family: 'Libre Baskerville', serif;
	font-weight: 400; 
	line-height: 1.8;
	font-size: 18px;
	color: #304E9D;
	text-align: justify;
}

h3{
	font-size: 50px;
	margin-bottom: 25px;
}
/* HEADER */

header{
    display: flex;
    justify-content: flex-end;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

#logo{
	padding: 5px;
	font-size: 20px;
	display: flex;
	transition: all 0.2s ease;
}

#logo svg{
	fill: #304E9D;
	transition: all 0.2s ease;
}

#logo h1{
	font-size: 20px;
	margin-bottom: 0;
}

#logo h2{
	font-size: 23px;
	margin-bottom: 0;
}

@media screen  and (min-width: 768px) {
	#logo.invert-color{
		color: #fff;
	}
	#logo.invert-color svg{
		fill: #fff;
	}
}

/* NAV */
nav{
	position: fixed;
    background: #304E9D;
    font-size: 35px;
    font-weight: bold;
    color: #fff;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    align-items: center;
	justify-content: center;	
	z-index: -100;
	opacity: 0;
	display: none;
    transition: z-index 0.25s step-end, opacity 0.25s linear;
}
nav .btn-close{
	position: absolute;
    right: 20px;
    top: 20px;
}

nav a{
	display: block;
	text-decoration: none;
	padding: 20px 0;	
}

.open-menu nav{
	opacity: 1;
	z-index: 10;
    transition: z-index 0.25s step-start, opacity 0.25s linear;
}
/* SECTION */
section{
	padding: 80px 23%;
	background: url('../img/logo-bg-blue.png') 0% 0% no-repeat;
	background-size: 20%;
	background-attachment: fixed;
}

section:first-child{
	padding-top: 20%;
}

section:nth-child(2n){
	background-image: url('../img/logo-bg-white.png');	
	background-color: #304E9D; 
	color: #fff;
}

.content{
	max-width: 1200px;
	padding-right: 6%;
	padding-left: 1%;
}

.content p{
	margin-bottom: 20px;
}
/* CONTACT */

.contact p{
	margin-bottom: 0;
}

.contact h4{
	margin-bottom: 10px;
}

.contact ul{
	padding-left: 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	vertical-align: text-top;
}
.contact li{
	margin-bottom:50px;
	width:50%;
	
	
}
.contact a{
	color: #304E9D;
}

/* FOOTER */

footer{
	font-size: 20px;
	padding: 20px 23%; 
	text-align: right;
}

/* TEXT FADE IN */ 
.fade-anim{
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.8s ease;
}

.fade-anim.visible{
	opacity: 1;
	transform: translate(0);
}
li.fade-anim{
	transform: translate(-30px,0);
}
li.fade-anim:nth-of-type(2){
	transition-delay: 0.25s;
}
li.fade-anim:nth-of-type(3){
	transition-delay: 0.5s;
}

@media screen  and (max-width: 1350px) {
	footer,section{
		padding-left: 220px;
		padding-right: 320px;
	}
	section{		
		background-size: 170px;
	}
	section:last-child{		
		padding-bottom: 0;
	}
	.contact ul{
		flex-wrap: wrap;
	}
	.contact li{
		width: 50%;
		margin-bottom: 30px;
	}
}

@media screen  and (max-width: 1150px) {
	header{
		position: absolute;
	}

	footer,section{
		padding-left: 10%;
		padding-right: 10%;
	}
	section{		
		background-size: 7%;
	}
}
@media screen  and (max-width: 768px) {
	body{		
		font-size: 18px;
	}
	header{
		justify-content: space-around;
		border-bottom: solid 1px;
		position: fixed;
		background: #fff;
		z-index: 1;
	}
    #logo{
        padding: 0 20px;
    }
	nav{
		display: flex;
	}
	main{
		padding-top: 20px;
	}
    h3{
        font-size: 42px;
    }
	.contact li{
		width: 100%;
		
	}
	section{
		padding-top: 110px;
	}
	section:nth-child(n){
		background-image: none;
	}
	section:first-child{		
		padding-top: 90px;
	}
	.fade-anim{
		opacity: 1;
		transform: translateY(0px);
	}
	li.fade-anim{
		transform: translate(0px,0);
	}
}