* {
  margin: 0;
  box-sizing: border-box;
}

@font-face{
	font-family: 'the_bold_fontfree_version';
    src: url('THEBOLDFONT-FREEVERSION.woff');
}

body{
	font-family: "Signika Negative", sans-serif;
	font-optical-sizing: auto;
	font-weight: 340;
	font-style: normal;
	background-image: url("../img/pexels-olly-3769010.jpg");
	font-size: 16px;
	min-height:100%;
}

h1,h2,h3,h4,h5{
    font-family: 'the_bold_fontfree_version';
}

.grid-container {
  display: grid;
  grid-template-areas:
    'logo menu';
    gap: 10px;
    background-color: rgba(147,228,255,0.5);
    padding: 1% 12.5% 1% 12.5%;
	font-family: 'the_bold_fontfree_version';
}

.item1 {
  grid-area: logo;
  justify-self: start;
  align-self: center;
}


.item2 {
  grid-area: menu;
  font-size: 30px;
  justify-self: end;
  align-self: end;
  padding-bottom: 1.25%;
}

.content-grid {
  display: grid;
  grid-template-areas:
    'left right';
    gap: 10px;
}

.citem1 {
  grid-area: left;
  max-width:25vw;
  align-self: center;
}


.citem2 {
  grid-area: right;
  align-self: center;
}

a:link, a:visited{
    text-decoration: none;
    color: #000;
}

a:hover, a:active{
    color: #fff;
    text-shadow: 1px 1px 1px rgb(41,40,58) , -1px -1px 1px rgb(41,40,58) , 1px -1px 1px rgb(41,40,58) , -1px 1px 1px rgb(41,40,58) ;
}


a.menubutton:link, a.menubutton:visited{
	text-decoration: none;
	color: #000;
	/*border-style: outset;*/
	text-shadow: none;
	padding: 15px 15px 8px;
	margin: 20px 1px;
	transition: background-color 1s, border 1s;
	border-radius: 5px;
	border: 2px solid transparent;
}

a.menubutton.m1:hover, a.menubutton.m1:active{
	background-color: #aaeeaa;
	border: 2px solid rgba(0,0,0,0.5);
}

a.menubutton.m2:hover, a.menubutton.m2:active{
	background-color: #f6cb84;
	border: 2px solid rgba(0,0,0,0.5);
}

a.menubutton.m3:hover, a.menubutton.m3:active{
	background-color: #d5de8c;
	border: 2px solid rgba(0,0,0,0.5);
}

a.menubutton.m4:hover, a.menubutton.m4:active{
	background-color: #ffabaf;
	border: 2px solid rgba(0,0,0,0.5);
}

a.menubutton.m5:hover, a.menubutton.m5:active{
	background-color: #ffb993;
	border: 2px solid rgba(0,0,0,0.5);
}

.footer{
	display: grid;
	grid-template-areas:
    'addr links';
    gap: 10px;
	margin-top: auto;
	padding-top: 1.5%;
	padding-left: 12.5%;
	padding-right: 20.5%;
	padding-bottom: 1.5%;
	background: #ffffff;
	/*height: 45px;*/
	border-style: solid hidden hidden;
	border-color: rgba(48, 48, 48, 0.51);
	border-width: 1px;
	font-size: 14px;
	width: 100%;
	font-size: 18px;
	position: static;
	bottom: 0;
}

.foot1{
	grid-area: addr;
	justify-self: start;
	align-self: center;
}

.foot2{
	grid-area: links;
	justify-self: end;
	align-self: center;
}


.contentwrap{
	margin-left: 12.5%;
	margin-right: 12.5%;
	margin-bottom: 2%;
	padding-top:2%;
}

.logo{
    padding: 10px;
    background-color: #fff;
    border: 2px solid rgba(0,0,0,0.5);
    border-radius: 5px;
}

.hometiles{
	display: grid;
	grid-template-areas:
    '00 01 02 03 04'
	'10 tlogo tlogo tlogo 14'
	'20 tlogo tlogo tlogo 24'
	'30 31 32 33 34'
	'40 41 42 43 44';
	grid-template-columns: 12vw 12vw 12vw 12vw 12vw;
	grid-template-rows: 12vw 12vw 12vw 12vw 12vw;
    gap: 1%;
	max-width: calc(12vw*5 + 1%*4);
	margin-inline: auto;
	height: calc(12vw*5 + 1%*4);
	margin-bottom: 3.5%;
}

.tile{
	width: 12vw;
	max-width: 200px;
	aspect-ratio : 1 / 1;
}

.tile.00{
	grid-area: 00;
}

.tile.01{
	grid-area: 01;
}

.tile.02{
	grid-area: 02;
}

.tile.03{
	grid-area: 03;
}

.tile.04{
	grid-area: 04;
}

.tile.10{
	grid-area: 10;
}

.tile.11{
	grid-area: 11;
}

.tile.12{
	grid-area: 12;
}

.tile.13{
	grid-area: 13;
}

.tile.14{
	grid-area: 04;
}

.tile.20{
	grid-area: 20;
}

.tile.21{
	grid-area: 21;
}

.tile.22{
	grid-area: 22;
}

.tile.23{
	grid-area: 23;
}

.tile.24{
	grid-area: 24;
}

.tile.30{
	grid-area: 30;
}

.tile.31{
	grid-area: 31;
}

.tile.32{
	grid-area: 32;
}

.tile.33{
	grid-area: 33;
}

.tile.34{
	grid-area: 34;
}

.tile.40{
	grid-area: 40;
}

.tile.41{
	grid-area: 41;
}

.tile.42{
	grid-area: 42;
}

.tile.43{
	grid-area: 43;
}

.tile.44{
	grid-area: 44;
}

.tilelogo{
	grid-area: tlogo;
	/*width: 36vw;*/
	/*width: calc(12vw*3+10px*2);
	height: calc(12vw*2+10px);*/
	background-color: #fff;
	/*overflow: hidden;*/
	position: relative;
}

.tilelogo > img {
	object-fit: contain;
	display: block;
	width: 100%;
	height: 100%;
}

.tilelogo > .banner{
	display: float;
	text-align: center;
    position:absolute;
    top: -9vw;
    width: calc((12vw * 3) + (1% * 2));
    margin-left: auto;
    margin-right: auto;
    text-shadow: 3px 3px 1px rgb(255,255,255) , -3px -3px 1px rgb(255,255,255) , 3px -3px 1px rgb(255,255,255) , -3px 3px 1px rgb(255,255,255) ;
    left: 50%;
    transform: translate(-50%, 0);
	font-size: 2vw;
	float: left;
}

/* smaller than tablet */
@media (max-width: 550px) {
	.grid-container{
		padding: 1% 2% 1% 2%;
		grid-template-areas:
			'logo'
			'menu';
	}
	
	.logo{
		max-height: 10vh;
	}
	
	.item1{
		justify-self: center;
		align-self: center;
	}
	
	.item2{
		justify-self: center;
		align-self: center;
		text-align: center;
	}

	.contentwrap{
		margin-left: 1%;
		margin-right: 1%;
	}
	.footer{
		padding-left: 1%;
		padding-right: 1%;
	}
	
	.content-grid{
	    grid-template-areas:
	        'left'
	        'right';
	}
	
	.citem1{
	    max-width:60vw;
	    justify-self: center;
	}
}

/* smaller than normal desktop */
@media (max-width: 1200px) and (min-width: 550px) {
	.grid-container{
		padding: 1% 5% 1% 5%;
		grid-template-areas:
		'logo menu';
	}
	
	.logo{
		max-height: 10vh;
	}
	
	.contentwrap{
		margin-left: 5%;
		margin-right: 5%;
	}
	.footer{
		padding-left: 5%;
		padding-right: 5%;
	}
	
	.citem1{
	    max-width:30vw;
	}
}

