@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@800&display=swap');

body {

	background: url(../img/background_ADV.jpeg);
	background-size: cover;
	background-color: #000000;
	text-align: center;
	font-family:Arial, Helvetica, sans-serif;
	color: #313131;
	font-size: 16px;
	padding-top: 2em;
	padding-left: 3em;
	padding-right: 3em;
}

h1 {
	font-size: 3em;
	font-family: 'Kanit', sans-serif;
	font-weight: 800;
	letter-spacing: 0.4rem;
	text-transform: uppercase;
	color: white;
	text-shadow: 2px 2px black;
	margin-bottom: 0;
}

h2 {
	font-size: 1.4em;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	color:  #2f3d75;
	margin-bottom: 1.6em;
}

p {
	max-width: 860px;
	margin: 3em auto 2em auto;
	color:  #000000;
	font-size: 1.1em;
	line-height: 1.5em;
}

.logo{
    display:block;
    width:100%;
    max-width:300px;
    margin: 0 auto;
}

.illustration {
	display: block;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}


ul.social {
	list-style: none;
	margin: 0 auto;
	padding: 0;
}

ul.social li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

ul.social li a {
	display: block;
	width: 48px;
	height: 48px;
	background: #2f3d75;
	margin-right: 1em;
	font-size: 1.2em;
	line-height: 48px;
	border-radius: 499em;
	color:  #F1A029;
	margin-bottom: .5em;
}

ul.social li a:hover {
	color: #2f3d75;
	background: #F1A029;
}

@media only screen and (max-width : 1020px) {
	body {
		padding-top: 3em;
		padding-left: 2em;
		padding-right: 2em;
	}
	h1 {
		font-size: 2.6em;
	}
	h2 {
		font-size: 1.2em;
		letter-spacing: 0.2rem;
		margin-bottom: 2em;
	}
	p {
		max-width: 680px;
	}
}

@media only screen and (max-width : 768px) {
	body {
		padding-top: 1.6em;
	}
	h1 {
		font-size: 2.2em;
		letter-spacing: 0.2rem;
	}
	h2 {
		font-size: 1.1em;
		letter-spacing: 0.2rem;
	}
	p {
		margin-top: 1.5em;
		font-size: 1em;
	}	
	ul.social li a {
		width: 38px;
		height: 38px;
		font-size: 1.1em;
		line-height: 39px;
		margin-right: .5em;
	}
}

@media only screen and (max-width : 480px) {
	body {
		padding-left: 1em;
		padding-right: 1em;
	}
	h1 {
		font-size: 1.6em;
	}
	h2 {
		font-size: 0.9em;
	}
	p {
		margin-top: 1.5em;
		font-size: 0.9em;
		padding-left: .5em;
		padding-right: .5em;
	}
}

.new{
	background-color: white;
	padding: 3em;
	border-radius: 1em;
}