*{
	box-sizing:border-box;
	margin:0;
}

body{
	width:100vw;
	height:100vh;
	background-image:url("images/bg-desktop.png");
	background-repeat:no-repeat;
	background-position:bottom left;
	background-size: 100% 53%;
	background-color:hsl(229, 57%, 11%);
}

#flex_container{
	width:63%;
	height:25%;
	position:absolute;
	left:19%;
	top:36%;
	display:flex;
	justify-content:space-between;
	align-items:flex-end;
}




#first{
	width:38%;
	height:100%;
	background-color:hsl(228, 56%, 26%);
	border-radius:4% 25% 4% 4%/ 8% 50% 8% 8%;
	padding:3%;
}

img[src="images/logo.svg"]{
	height:35%;
}

#img_container{
	display:flex;
	width:60%;
	height:35%;
	margin-top:5%;
	justify-content:space-between;
}

#img_container >div{
	width:28%;
	height:100%;
	background-color:hsl(229, 57%, 11%);
	display:flex;
	border-radius:10%;
}

#img_container img{
	margin:auto;
	width:50%;
	height:60%;
}

#img_container div:nth-child(3) img{
	height:40%;
}

#second{
	width:59%;
	height:80%;
	background-color:hsl(228, 56%, 26%);
	border-radius:2.5%/9%;
}

#third{
	width:33%;
	height:48%;
	background-color:white;
	position:relative;
	left:60%;
	bottom:30%;
	border-radius:3%/6%;
	font-size:calc(3vh + 1vw);
	font-family:"Raleway", sans-serif;
	font-weight:bold;
	padding-left:5%;
	padding-top:2%;
	color:hsl(229, 57%, 11%);
}

#third >span{
	font-size:1vw;
	color:hsl(229, 7%, 55%);
}


#triangle{
	width: 0;
	height: 0;
	border-left: 30px solid transparent;
	border-right: 30px solid white;
	border-bottom: 25px solid transparent;
	position:absolute;
	bottom:-20px;
	right:0%;
}

#container{
	width:85%;
	margin:auto;
	position:relative;
	bottom:20%;
	font-family:"Raleway", sans-serif;
	font-size:0.9vw;
	color:hsl(243, 100%, 93%);
	height:60%;
}

#container span{
	font-weight:bold;
}

#container span:nth-child(2){
	float:right;
	
}

#bar_outline{
	margin-top:13px;
	margin-bottom:8px;
	height:20%;
	width:100%;
	background-color:hsl(228, 56%, 20%);
	display:flex;
	align-items:center;
	border-radius:60px;
}

#bar{
	border-radius:50px;
	width:72%;
	height:90%;
	background-image:linear-gradient(to right, hsl(6, 100%, 80%), hsl(335, 100%, 65%));
	display:flex;
	align-items:center;
	justify-content:flex-end;
}

#dot{
	height:70%;
	width:3%;
	background-color:white;
	border-radius:100%;
	margin-right:2px;
}


.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }


@media (max-width:1200px){
	#flex_container{
		width:756px;
		left:228px;
	}
	
	#third >span{
		font-size:calc(1200px / 100);
	}
	
	#third{
		font-size:calc(3vh + 1200px / 100);
	}
	
	body{
		width:1200px;
		background-size: 1200px 53%;
	}
	
	#container{
		font-size:calc(0.9 * 12px);
	}
}

@media (max-height:550px){
	#flex_container{
		top:calc(0.36 * 550px);
		height:calc(0.25 * 550px);
	}
	
	#third >span{
		font-size:calc(1200px / 100);
	}
	
	#third{
		font-size:calc(3 * 5.5px + 1vw);
	}
	
	body{
		height:550px;
		background-size: 100% calc(0.53 * 550px);
	}
}

@media (max-height:550px) and (max-width:1200px){
	body{
		height:550px;
		width:1200px;
		background-size: 1200px calc(0.53 * 550px);
	}
	
	#third{
		font-size:calc(3 * 5.5px + 12px);
	}
}

@media (max-width:500px){
	body{
		width:400px;
		height:600px;
		background-image:url("images/bg-mobile.png");
		background-size:400px 600px;
	}
	
	#flex_container{
		width:370px;
		height:360px;
		top:100px;
		left:0;
		flex-direction:column;
		
	}
	
	#first{
		width:90%;
		margin-bottom:20px;
	}
	
	#first img[src="images/logo.svg"]{
		height:40px;
		margin:20px;
	}
	
	#img_container{
		margin-left:20px;
		width:55%;
	}
	
	#img_container > div{
		height:40px;
		width:40px;
	}
	
	#second{
		width:90%;
	}
	
	#third{
		left:65px;
		bottom:-110px;
		width:160px;
	}
	
	#triangle{
		display:none;
	}
}

