/*
	Theme Name: Anger MGMT
	Theme URI: https://wpdedicated.uk
	Description: Hand Crafted theme
	Version: 1.0
	Author: Ben Kitching
	Author URI: https://benkitching.uk
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

html {
	font-size: 1vw;
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

@media (min-width: 1921px) {
	html {
		font-size: 19px;
	}
}

body {
	font: normal 1rem/1.2 'Host', Arial, sans-serif;
	color: var(--dark);
	background-color: var(--white);
	margin: 0;
	padding: 0;
	max-width: 100vw;
	overflow-x: clip;
}

body.loading {
	overflow: hidden;
}

main {
	max-width: 1920px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	min-height: 100vh;
	padding: 6rem 0;
}

#loader {
	background-color: #000;
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999999;
}

/* clear */
.clear: before,
.clear: after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}


/*------------------------------------*\
    FORMS
\*------------------------------------*/

input:focus {
	outline:0;
	border:1px solid #003D47;
}

input[type=text], input[type=textarea], input[type=email], input[type=password] {
	padding:1rem;
	background-color:#fff;
	border-radius: 1rem;
	border:1px solid var(--light-blue);
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.wrapper {
	max-width: 1728px;
	width: 90%;
	margin: 0 auto;
	position: relative;
}

/*------------------------------------*\
	Colors
\*------------------------------------*/

::selection {
	background: #000;
	color: #fff;
	text-shadow: none;
}
::-webkit-selection {
	background: #000;
	color: #fff;
	text-shadow: none;
}
::-moz-selection {
	background: #000;
	color: #fff;
	text-shadow: none;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

p {
	margin: 1rem 0;
}

h1, .h1, h2, .h2, h3, .h3, h4, h5, h6 {
	margin:1rem 0;
	line-height: 1.2;
	font-weight: normal;
	font-size: 2rem;
}

@font-face {
  font-family: 'Host';
  font-style: normal;
  src: url('./fonts/jost.ttf') format("truetype-variations");
    font-weight: 100 900;
}

@font-face {
  font-family: 'Host';
  font-style: italic;
  src: url('./fonts/jost-italic.ttf') format("truetype-variations");
    font-weight: 100 900;
}

/*------------------------------------*\
    Site
\*------------------------------------*/

img.w100 {
	width: 100%;
	height: auto;
}

.grid {
    display: grid;
    align-items: stretch;
    grid-auto-flow: dense;
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.header-logo {
	width: 25rem;
	margin: auto;
}
.footer-logo {
	width: 20rem;
	margin: 6rem auto 0;
}

.home-intro {
	width: 80%;
	margin: 2rem auto 4rem;
	min-width: 300px;
	text-align: center;
}

.tiles {
	width: 60%;
	margin: 0 auto;
}
.tile a {
	text-decoration: none;
}
.tile {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.tile-img {
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: 1s transform;
}

.tile-img:hover {
	transform: scale(1.1);
}

.tile p, .contact, .contact a {
	text-align: center;
	color: #fff;
	font-size: 1.6rem;
	text-decoration: none;

}
.tile p {
	margin-top: 2rem;
}

@media(orientation: portrait) {

	html {
		font-size: 2.4vw;
	}

	.grid {
	    grid-template-columns: repeat(1,minmax(0,1fr));
	}

	.header-logo, .footer-logo {
		width: 32rem;
	}

}