@import url("https://use.typekit.net/ody8gms.css");

:root {
    --primary-colour: #ffffff;
    font-family: nunito-sans, sans-serif;
    color: var(--primary-colour);
    font-size: 16px;
}

::selection {
    background: #e6332a; /* WebKit/Blink Browsers */
}

::-moz-selection {
    background: #e6332a; /* Gecko Browsers */
}

.westlake-icon {
    color: #000000;
}

body {
    max-height: 100vh;
    margin: 0;
    background-image: url(../_images/westlake-background-mobile.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    display: flex;
    height: 100vh;
}

span.development {
    z-index: 1000;
    display: block;
    position: absolute;
    background: #ffd900;
    padding: 0.5em 1em;
    left: 50%;
    transform: translate(-50%, 0);
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: normal;
    align-items: center;
    align-content: center;
  }

.container .item {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    text-align: center;
    width: 50%;
}

.container .item:nth-child(1) {

}
  
.container .item:nth-child(2) {

}

.container .item.left img{
    width: 75%;
}

.container .item.right img.logo {
    width: 20%;
}

.container .item.right p {
    margin: 2em 5em 0.5em;
    font-size: 1.5em;
}

.container .item.right p.shop-the-range {
    margin: 0.5em 0 2em 0;
}

.container .item.right div.fascia-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: normal;
    align-items: center;
    align-content: center;
    margin: 1em auto;
}

.container .item.right div.fascia-container:nth-of-type(1){
    width: 35%;
}
.container .item.right div.fascia-container:nth-of-type(2){
    width: 65%;
}

.container .item.right div.fascia-container:nth-of-type(2) .fascia-item {
    padding: 1em 2em;
}

.container .item.right div.fascia-container .fascia-item {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}

.container .item.right div.fascia-container a.fascia-item{
    border-right: 1px solid var(--primary-colour);
    padding: 1em;
    text-decoration: none;
    color: var(--primary-colour);
}

.container .item.right div.fascia-container a.fascia-item:last-child{
    border: none;
}

@media only screen and (max-width: 1440px) {
    .container .item.right p{
        font-size: 1em;
    }
}

@media only screen and (max-width: 1024px) {
    body {
        background-image: url(../_images/westlake-background-desktop.jpg);
    }
    .container {
        flex-direction: column;
    }
    .container .item {
        width: 100%;
        margin: 3em 0 0;
    }
    .container .item.right {
        margin-top: 2em;
    }
    .container .item.right img.logo {
        width: 40%;
    }
    .container .item.right p{
        margin: 2em 1em 0.5em;
        font-size: 1.15em;
    }
    .container .item.right div.fascia-container:nth-of-type(1){
        width: 60%;
        margin: 0 auto 1em;
    }
    .container .item.right div.fascia-container:nth-of-type(2){
        width: 80%;
    }
    .container .item.right div.fascia-container:last-child {
        margin: 0 auto 5em;
    }
}

div.fascia-container img{
	width: 100%;
}

div.fascia-container img.go-outdoors-logo {
	width: 50%;
}

@supports (-moz-appearance:none) { 
	/*  Firefox ony rules - px values needed to display svg images */
	
		div.fascia-container a {
			width: 26%;
		}
	
		div.fascia-container img{
			width: 120px;
		}
		div.fascia-container img.go-outdoors-logo {
			width: 60px;
		}

	@media screen and (max-width: 800px) {
		div.fascia-container img{
			width: 80px;
		}
		div.fascia-container img.go-outdoors-logo {
			width: 40px;
		}		
	}
	
	@media screen and (max-width: 500px) {
		div.fascia-container img{
			width: 40px;
		}
		div.fascia-container img.go-outdoors-logo {
			width: 20px;
		}
	}

}

