@font-face {
  font-family: Abside;
  src: url(/fonts/Abside.otf);
}
@font-face {
  font-family: Century;
  src: url(/fonts/Century.ttf);
}
*{
	padding: 0px;
	margin: 0px;
}
#container{
	background-image: url(/images/backgrounds/bg-image-3.jpg);
	background-size: cover;
}
.item:nth-child(1){
	grid-area: section;
	justify-self: center;
	align-self: center;
}

#grid-container{
	width: 100vw;
	height: 100vh;
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: 100%;
	grid-template-areas: 
		"section";
}


.item:nth-child(1) .sub-item{
	margin:auto;
	text-align: center;
}

.item:nth-child(1) h1{
	font-family: Abside;
	color: white;
	font-size: 45pt;
}
.item:nth-child(1) h2{
	font-family: Century;
	color: white;
	font-size: 25pt;
	letter-spacing: 8px;
}
.item:nth-child(1) p:nth-of-type(1){
	font-family: Abside;
	color: white;
	font-size: 12pt;
}
.item:nth-child(1) p:nth-of-type(2){
	font-family: Century;
	color: white;
	font-size: 10pt;
}
.item:nth-child(1) p:nth-of-type(3){
	font-family: Abside;
	color: white;
	font-size: 16pt;
}
.item:nth-child(1) p:nth-of-type(4){
	font-family: Century;
	color: white;
	font-size: 12pt;
}

.button{
	background-color: #4d4d4d;
	border: none;
	font-family: Abside;
	font-size: 18pt;
	color: white;
	padding: 10px 30px;
	border-radius: 10px;
	-webkit-transition: .3s;
	-o-transition: .3s;
	transition: .3s;
	display: inline-block;
	margin: 0px 10px;
}
.button:hover{
	background-color: #000000;
	cursor: pointer;
}

#logocdr{
	width: 300px;
}

/*****************************************************************************************************************
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
##################################################################################################################
											CHANGE MEDIA QUERY
##################################################################################################################
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*****************************************************************************************************************/
@media screen and (min-width: 501px) and (max-width: 850px){

	.item:nth-child(1){
		justify-self:center;
	}
	.item:nth-child(1) .sub-item{
		width: 60%;
		margin: auto;
	}

	.item:nth-child(1) h1{
		font-size: 35pt;
	}
	.item:nth-child(1) h2{
		font-size: 20pt;
		letter-spacing: 7px;
	}
	.item:nth-child(1) p:nth-of-type(1){
		font-size: 10pt;
	}
	.item:nth-child(1) p:nth-of-type(2){
		font-size: 9pt;
	}
	.item:nth-child(1) p:nth-of-type(3){
		font-size: 14pt;
	}
	.item:nth-child(1) p:nth-of-type(4){
		font-size: 10pt;
	}
	
	#logocdr{
		width: 230px;
	}
	
}
/*****************************************************************************************************************
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
##################################################################################################################
											CHANGE MEDIA QUERY
##################################################################################################################
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*****************************************************************************************************************/
@media screen and (max-width: 500px){

	.item:nth-child(1){
		justify-self:center;
	}
	.item:nth-child(1) .sub-item{
		width: 90%;
		margin: auto;
		text-align: center;
	}
	.item:nth-child(1) h1{
		font-size: 30pt;
	}
	.item:nth-child(1) h2{
		font-size: 15pt;
		letter-spacing: 7px;
	}
	.item:nth-child(1) p:nth-of-type(1){
		font-size: 9pt;
	}
	.item:nth-child(1) p:nth-of-type(2){
		font-size: 8pt;
		margin-top: 20px;
	}
	.item:nth-child(1) p:nth-of-type(3){
		font-size: 12pt;
	}
	.item:nth-child(1) p:nth-of-type(4){
		font-size: 9pt;
	}

	#logocdr{
		width: 150px;
	}
}