/*
Theme Name: Geo Redirect
Description: A minimal WordPress theme that purely acts as a geolocation-based language redirect.
Version: 1.0
Author: Fellowship
*/

@font-face {
	font-family: "heebo";
	src: url("/wp-content/themes/flexiteek/assets/fonts-new/dist/heebo/heebo-regular-webfont.woff2") format("woff2"),
		 url("/wp-content/themes/flexiteek/assets/fonts-new/dist/heebo/heebo-regular-webfont.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/*@font-face {
	font-family: "futura-condensed";
	src: url("/wp-content/themes/flexiteek/assets/fonts-new/dist/futura-condensed/futura-condensed-regular-webfont.woff2") format("woff2"),
		 url("/wp-content/themes/flexiteek/assets/fonts-new/dist/futura-condensed/futura-condensed-regular-webfont.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}*/

@font-face {
	font-family: "futura-condensed";
	src: url("/wp-content/themes/flexiteek/assets/fonts-new/dist/futura-condensed/futura-condensed-medium-webfont.woff2") format("woff2"),
		 url("/wp-content/themes/flexiteek/assets/fonts-new/dist/futura-condensed/futura-condensed-medium-webfont.woff") format("woff");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

* { margin: 0; 	padding: 0; }
body{
	font-family: "heebo", Arial, Helvetica, Sans Serif;
	font-size: 65.5%;
	background-color: white;
	color: rgb(67, 67, 67);
}
body::before {
	content: "";
	position: fixed; /* or absolute if preferred */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('assets/images/flexiteek_background_image.jpg') center center / cover no-repeat;
	opacity: 0.4; /* adjust transparency here */
	z-index: -1; /* keeps it behind everything */
}
a { color: #08658F; }
a:hover { color: #0092BF; }
#header { color: #333; padding: 1.5em; text-align: center; font-size: 1.2em; }
#content{
	font-size: 150%;
	width:80%;
	max-width: 1000px;
	margin:0 auto;
	margin-top: 2rem;
	padding: 5%;
	text-align: center;
	background-color: white;
	border: 3px solid #9B1D01;
}
#content p{
	font-size: 1em;
	padding: .8em 0;
}
#content p.intro{
	font-size: 1.25em;
}
@media (min-width: 768px) {
	#content p{
		max-width: 70%;
		margin-left: auto;
		margin-right: auto;
	}
}
h1,h2{
	font-family: "futura-condensed", Arial, Helvetica, Sans Serif;
	color: #9B1D01;
	font-weight: 600;
	text-transform: uppercase;
	/*color: #861100;*/
}
h1 { font-size: 300%; padding: .5em 0; }
ul.site-links{
	list-style: none;
	margin: 0;
}
@media (min-width: 768px) {
	ul.site-links{
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
}
ul.site-links li{
	display: block;
	border: 2px solid #9B1D01;
	margin-bottom: 1rem;
}
@media (min-width: 768px) {
	ul.site-links li{
		width: 48%;
	}
}
ul.site-links li a{
	display: flex;
	align-items: center;
	background-color: #F0F0EC;
	font-family: "futura-condensed", Arial, Helvetica, Sans Serif;
	text-transform: uppercase;
	color: #9B1D01;
	text-decoration: none;
	font-size: 1.25em;
	padding: 1rem;
}
ul.site-links li a:hover{
	background-color: #9B1D01;
	color: white;
}
ul.site-links li a.flag::before{
	content: "";
	display: block;
	width: 70px;
	height: 42px;
	background-color: grey;
	margin-right: 0.5rem;
	background-repeat: no-repeat;
	background-size: 70px 42px;
	border: 1px solid white;
}
ul.site-links li a.flag.united-kingdom::before{
	background-image: url('/wp-content/themes/geo-redirect/assets/images/flag_united_kingdom.png');
}
ul.site-links li a.flag.netherlands::before{
	background-image: url('/wp-content/themes/geo-redirect/assets/images/flag_netherlands.png');
}
ul.site-links li a.flag.spain::before{
	background-image: url('/wp-content/themes/geo-redirect/assets/images/flag_spain.png');
}
ul.site-links li a.flag.poland::before{
	background-image: url('/wp-content/themes/geo-redirect/assets/images/flag_poland.png');
}
ul.site-links li a.flag.france::before{
	background-image: url('/wp-content/themes/geo-redirect/assets/images/flag_france.png');
}
ul.site-links li a.flag.italy::before{
	background-image: url('/wp-content/themes/geo-redirect/assets/images/flag_italy.png');
}
ul.site-links li a.flag.germany::before{
	background-image: url('/wp-content/themes/geo-redirect/assets/images/flag_germany.png');
}
ul.site-links li a.flag.norway::before{
	background-image: url('/wp-content/themes/geo-redirect/assets/images/flag_norway.png');
}
ul.site-links li a.flag.sweden::before{
	background-image: url('/wp-content/themes/geo-redirect/assets/images/flag_sweden.png');
}
ul.site-links li a.flag.denmark::before{
	background-image: url('/wp-content/themes/geo-redirect/assets/images/flag_denmark.png');
}