@font-face {
	font-family: "Ubisoft Sans Bold";
	src: url("./fonts/UbisoftSans-Bold.eot");
	src: url("./fonts/UbisoftSans-Bold.otf") format("truetype"),
		url("./fonts/UbisoftSans-Bold.woff2") format("woff2"),
		url("./fonts/UbisoftSans-Bold.eot?#iefix") format("embedded-opentype");
	font-weight: bold;
}

* {
	font-family: "Ubisoft Sans Bold";
}

body {
	background-color: #f2f2f2;
	display: flex;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
	flex-flow: column nowrap;
	margin: 0;
}

nav {
	background-color: #343a40;
	width: 100%;
	margin-bottom: 30px;
}

nav img {
	max-height: 50px;
}

nav .container {
	width: 1110px;
	max-width: 100vw;
	margin: 0 auto;
	padding: 0 10px;
}

.free-events {
	width: 1150px;
	max-width: 100vw;
	min-height: 400px;
	max-height: 100vh;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.ubilogo {
	width: 1110px;
	max-width: 100vw;
	margin-bottom: 30px;
	color: #333333;
	font-size: 2em;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}

.ubilogo img {
	max-height: 2em;
}

.free-event {
	width: 535px;
	height: 380px;
	box-sizing: border-box;
	display: flex;
	flex-flow: column nowrap;
	background-color: white;
	-moz-box-shadow: 2px 5px 10px 0px #BDBDBD;
	-webkit-box-shadow: 2px 5px 10px 0px #BDBDBD;
	-o-box-shadow: 2px 5px 10px 0px #BDBDBD;
	box-shadow: 2px 5px 10px 0px #BDBDBD;
	filter:progid:DXImageTransform.Microsoft.Shadow(color=#BDBDBD, Direction=158, Strength=10);
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	margin: 20px;
}

.free-event .free-event-type {
	width: 100%;
	height: 100px;
	color: #027381;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: flex-start;
	text-transform: uppercase;
	padding: 10px;
    box-sizing: border-box;
}

.free-event .free-event-type > img {
	max-height: 60px;
}

.free-event .free-event-type > span {
	margin: 10px;
}

.free-event .free-event-button {
	height: 115px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.free-event .free-event-button a {
	background-color: #027381;
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	height: 50px;
	box-sizing: border-box;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
}

.free-event .eventlogo {
	flex: 1;
	display: flex;
    align-items: center;
    justify-content: center;
}

.free-event .eventlogo img {
	max-width: 100%;
	max-height: 200px;
}

@media (max-width: 1199px) {
	.free-events {
		padding: 45px 55px;
	}
}

@media (max-width: 575px) {
	.free-events {
		padding: 20px;
		margin: 0;
		width: 100vw;
		height: 100vh;
		overflow: auto;
		z-index: 0;
		align-items: flex-start;
	}
	
	.ubilogo {
		margin-top: 10px;
		justify-content: center;
	}
	
	.free-event { 
		margin: 10px 0;
	}
}