/** Fonts **/
@font-face {
  font-family: "Visually";
  src: url("/fonts/visually.otf") format("otf"),
       url("/fonts/visually.woff") format("woff"),
       url("/fonts/visually.ttf") format("ttf");
}

/** General **/
html,
body{
	min-height: 100%;
	height: 100%;
	overflow: auto;
}

body{
	font-family: 'Roboto';
	margin: 0;
}

a{
	color: inherit;
	text-decoration: none;
}

h1 {
	margin: 0;
}

address {
	font-style: inherit;
}

/** Index page **/
body.postcard{
	background-color: #282D35;
	background-image: url('/media/background.jpg');
	background-position: right;
	background-size: cover;
	background-repeat: no-repeat;
}

header,
footer{
	position: relative;
}

header{
	padding: 0 90px;
	z-index: 2;
}

.logo-wrap {
	display: inline-block;
	position: relative;
}

.logo {
	position: relative;
	width: 80px;
	height: 80px;

	padding: 19px 0;
}

.logo-icon-wrap{
	position: relative;
	margin: 52px 0px 21px;
}

.logo-pillar{
	width: 80px;
	height: 100%;
	margin: 0 5px;

	position: absolute;

	background-color: #F2F2F2;
}

.company-name{
	font-size: 123px;
    line-height: 123px;
	text-transform: uppercase;
	letter-spacing: 32px;
    margin-left: 20px;
}

.slogan{
	font-family: Visually;
	font-size: 64px;
	right: 40px;

	position: absolute;
}

footer{
	position: fixed;
	bottom: 0;
	right: 0;

	text-align: right;

	padding: 55px;
}

.contact-wrap {
	position: relative;
}

.contact-email {
	margin-bottom: 32px;
	font-size: 18px;
	letter-spacing: 3px;
}

.icon-envelop {
	margin-bottom: 18px;
}

.icon-envelop svg {
	width: 112px;
}

.contact-address {
	font-size: 24px;
	line-height: 48px;
	letter-spacing: 6px;
}

.contact-address p{
	margin: 0;
}

#tear-section-bg{
	position: absolute;
    bottom: 0;
    right: 0;
    width: 250%;
}

header > .company-name-wrap {
	margin: 36px 0px 0px;
	display: none;
}

header > .company-name-wrap .company-name {
	margin: 0px;
}

/** Components **/
.bg-overlay{
	background: #333333;
	opacity: .65;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

/** Util **/
.inline-block{
	display: inline-block;
}

.flex{
	display: flex;
}

.items-center{
	align-items: center;
}

/** Colors **/
.bg-accent {
	background-color: #1c67ba;
}

.text-accent {
	color: #1c67ba;
}

.text-white {
	color: #fff;
}

.text-dark {
	color: #595959;
}


/** Responsive **/
@media only screen and (max-width: 1520px) {
	.logo {
		width: 80px;
		height: 80px;

		padding: 18px 0;
	}

	.logo-pillar{
		width: 70px;
	}

	.company-name{
		font-size: 112px;
	    line-height: 112px;
		letter-spacing: 24px;
	    margin-left: 16px;
	}

	.slogan{
		font-size: 52px;
		right: 28px;
	}


	#tear-section-bg{
	    width: 200%;
	}

	.contact-email {
		margin-bottom: 28px;
		font-size: 16px;
		letter-spacing: 2px;
	}

	.icon-envelop {
		margin-bottom: 16px;
	}

	.icon-envelop svg {
		width: 100px;
	}

	.contact-address {
		margin-left: 28px;
		font-size: 20px;
		line-height: 42px;
		letter-spacing: 5px;
	}
}

@media only screen and (max-width: 1280px) {
	body.postcard {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	header {
		text-align: center;
    	margin-bottom: 48px;
	}

	footer {
		position: initial;
		color: #fff !important;
		box-sizing: border-box;
    	text-align: center;
	}

	.logo-icon-wrap .company-name-wrap {
		display: none;
	}

	header > .company-name-wrap {
		display: block;
	}

	#tear-section-bg {
		display: none;
	}

	.slogan {
		position: initial;
	}

	.icon-envelop {
		display: none;
	}

	.contact-address {
		margin: 0px;
	}
}

@media only screen and (max-width: 1085px) {
	.logo-icon-wrap{
		margin-top: 38px;
    	margin-bottom: 16px;
	}

	.company-name {
		font-size: 82px;
    	line-height: 82px;
    	letter-spacing: 10px;
	}

	.company-name > span {
		display: block;
		margin-bottom: 14px;
	}

	.slogan {
		width: 80%;
	    margin: 48px auto;
	    font-size: 42px;
	}

	footer {
		padding-bottom: 42px;
	}

	.contact-email {
		margin-bottom: 24px;
	}

	.contact-address {
		font-size: 18px;
	}
}

@media only screen and (max-width: 575px) {
	header {
		padding: 0 50px;
	}
}

@media only screen and (max-width: 500px) {
	header {
		padding: 0 24px;
	}

	.company-name {
		font-size: 50px;
		line-height: 50px;
	}

	.slogan {
		font-size: 36px;
	}

	footer {
		padding-left: 24px;
		padding-right: 24px;
		padding-bottom: 28px;
	}
}
