/* Table of Content
==================================================
	#Font-Face
	#Site Styles
	#Media Queries */

/* #Font-Face
================================================== */


/* #Site Styles
================================================== */

/* ### general ### */
:root {
	--width-base: 1442px;
	--width-large: 1596px;
	--font-size-base: 18px;
	--color-primary: #1d1c41;
	--color-secondary: #9bc4c3;
	--color-dark: #64113f;
	--color-white: #fff;
	--color-black: #000;
	--color-grey: #f6f6f6;
	--color-yellow: #f5a039;
	--color-orange: #ef7a1c;
	--color-blue: #0084d1;
	--font-family-base: 'Museo Sans', sans-serif;
	--font-family-icon: 'icomoon', sans-serif;
	--font-family-heading: 'Museo Slab', sans-serif;
	--line-height-base: 1.7;
	--font-size-h1: 40px;
	--font-size-h2: 32px;
	--font-size-h3: 28px;
	--font-size-h4: 24px;
	--font-size-h5: 18px;
	--font-size-h6: 16px;
	--line-height-heading: 1;
	--font-weight-light: 300;
	--font-weight-normal: 400;
	--font-weight-medium: 500;
	--font-weight-semi-bold: 600;
	--font-weight-bold: 700;
	--font-weight-extrabold: 800;
	--font-weight-black: 900;
	--width: 100%;
	--height: 100%;
	--line-decoration-none: none;
	--duration: all 0.25s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html,
body { font-family: var(--font-family-base), sans-serif; font-size: var(--font-size-base); font-weight: var(--font-weight-semi-bold); line-height: var(--line-height-base); color: var(--color-primary); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: var(--color-white); }
input,
select,
textarea { padding: 10px; width: 100%; height: 48px; font-family: var(--font-family-base), sans-serif; font-size: var(--font-size-base); font-weight: 300; color: var(--color-primary); border: 1px solid var(--color-primary); border-radius: 26px; background-color: transparent; appearance: none; }
input::placeholder,
textarea::placeholder { color: var(--color-primary); }
img { display: block; max-width: 100%; border: 0; }
ul,
li { list-style: none; }
:focus { outline: none; }
a { display: inline-block; transition: var(--duration); }
p { margin-bottom: 20px; }
.h1,
h1,
.h2,
h2,
.h3,
h3,
.h4,
h4,
.h5,
h5,
h6 { margin-bottom: 20px; font-family: var(--font-family-heading), sans-serif; font-weight: var(--font-weight-black); line-height: var(--line-height-heading); color: var(--color-primary); }
.h1,
h1 { font-size: var(--font-size-h1); }
.h2,
h2 { font-size: var(--font-size-h2); }
.h3,
h3 { font-size: var(--font-size-h3); }
.h4,
h4 { font-size: var(--font-size-h4); }
.h5,
h5 { font-size: var(--font-size-h5); }
.h6,
h6 { font-size: var(--font-size-h6); }

/* ### button ### */
.button { padding: 11px 37px; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; font-family: var(--font-family-base), sans-serif; font-size: 20px; text-decoration: var(--line-decoration-none); color: var(--color-white); border: 0; border-radius: 50px; font-weight: var(--font-weight-black); background-color: var(--color-orange); transition: var(--duration); cursor: pointer; }
.button:focus,
.button:hover { background-color: var(--color-dark); }

/* ### global classes ### */
.clear { visibility: hidden; clear: both; height: 0; line-height: 0; }
.centered,
.centered-lg { padding-right: 15px; padding-left: 15px; }

/* ### wrapper ### */
.wrapper { position: relative; display: block; width: var(--width); min-height: 100%; overflow: hidden; }

/* ### header ### */
.header { padding-top: 20px; padding-bottom: 20px; display: flex; align-items: center; justify-content: space-between; background-color: var(--color-dark); }
.header-logo { width: 210px; }
.header-login { position: relative; }
.header-login-button { cursor: pointer; position: relative; z-index: 3; color: var(--color-orange); font-size: 16px; font-weight: var(--font-weight-black); display: block; text-decoration: var(--line-decoration-none); background: transparent; border: none; font-family: var(--font-family-base);  }
.header-login-button i { font-size: 15px; vertical-align: middle; }
.header-login-panel { display: none; position: absolute; top: -6px; right: -13px; padding: 30px 20px; z-index: 2; border-radius: 16px; background-color: var(--color-white); box-shadow: 0 0 30px rgba(0, 0, 0, .10); }
.header-login-panel li { font-size: 16px; }
.header-login-panel li a { text-decoration: var(--line-decoration-none); position: relative; padding-left: 20px; font-weight: var(--font-weight-medium); color: var(--color-primary); }
.header-login-panel li a:before { content: ''; position: absolute; top: 11px; left: 2px; width: 6px; height: 6px; border-radius: 75px; background-color: var(--color-primary); transition: var(--duration); }
.header-login-panel.is-active { display: block; }
.header-login-panel li a:focus,
.header-login-panel li a:hover { color: var(--color-orange); }

/* ### intro ### */
.intro { padding-top: 50px; padding-bottom: 50px; position: relative; height: 543px; background: url("../images/intro-overlay.svg") no-repeat; background-size: 1555px 100%; color: var(--color-white); }
.intro-content { font-weight: 500; position: relative; z-index: 1; }
.intro h1 { color: inherit; margin-bottom: 24px; }
.intro h1 span { display: inline-block; position: relative; }
.intro h1 span:after { position: absolute; z-index: -1; bottom: 8px; width: 100%; left: 0; background: url("../images/stripe-shape.svg") no-repeat; height: 27px; pointer-events: none; content: ''; background-size: 100% 100%; }
.intro-right { position: relative; z-index: 1; }
.intro-text { font-size: 20px; padding: 25px 0; line-height: 1.5; text-align: center; font-weight: var(--font-weight-semi-bold); }
.intro-shape { display: none; pointer-events: none; position: absolute; top: 0; left: 0; z-index: -1; }
.intro-shape img { width: var(--width); height: var(--height); object-fit: cover; }

/* ### services ### */
.services { padding-top: 60px; padding-bottom: 90px; }
.services-heading { max-width: 1030px; margin: 0 auto 50px; text-align: center; }
.services-heading h2 { margin-bottom: 22px; }
.services-heading h2 span { display: inline-block; position: relative; }
.services-heading h2 span:after { position: absolute; z-index: -1; bottom: 1px; width: 100%; left: 0; background: url("../images/stripe-shape2.svg") no-repeat; height: 25px; pointer-events: none; content: ''; background-size: 100% 100%; }
.services-holder { max-width: 777px; margin: 0 auto; }
.services-item { font-size: 20px; width: 175px; height: 175px; padding: 35px; line-height: 1; border-radius: 100%; display: flex; align-items: center; justify-content: center; background-color: var(--color-secondary); text-decoration: var(--line-decoration-none); text-align: center; color: var(--color-white); transition: var(--duration); margin: 0 auto 25px; }
.services-item.yellow { background-color: var(--color-yellow); }
.services-item.dark { background-color: var(--color-dark); }
.services-item.orange { background-color: var(--color-orange); }
.services-item:focus,
.services-item:hover { transform: scale(1.2); box-shadow: 0 0 23px rgba(0, 0, 0, 0.19); }

/* ### footer container ### */
.footer { position: relative; padding-top: 100px; padding-bottom: 47px; color: var(--color-white); background-color: var(--color-dark); }
.footer:before { position: absolute; top: -99px; left: 0; width: 100%; height: 176px; background: url("../images/footer-overlay.png") no-repeat; content: ''; pointer-events: none; background-size: 100% 100%; }
.footer-holder { }
.footer-left { margin-bottom: 40px; font-weight: var(--font-weight-light); }
.footer-logo { display: block; margin-bottom: 30px; width: 200px; }
.footer-title { font-family: var(--font-family-heading); margin-bottom: 27px; }
.footer address { font-style: normal; display: block; }
.footer-link { margin-bottom: 29px; }
.footer-link li a { color: var(--color-white); text-decoration: var(--line-decoration-none); }
.footer-link li a:focus,
.footer-link li a:hover { color: var(--color-secondary); }
.footer-social { margin-top: 44px; display: flex; }
.footer-social li { margin-right: 25px; }
.footer-social li a { font-size: 25px; color: rgba(255, 255, 255, 0.5); text-decoration: var(--line-decoration-none); }
.footer-social li a:focus,
.footer-social li a:hover { color: var(--color-white); }
.footer-right { position: relative; z-index: 1; margin-bottom: 40px; }
.footer-info { font-weight: var(--font-weight-medium); position: relative; z-index: 1; }
.footer-info h2 { margin-bottom: 25px; font-size: 40px; color: var(--color-white); }
.footer-info p { margin-bottom: 31px; }
.footer-shape { display: none; position: absolute; top: 0; left: 0; }
.footer-copy { text-align: center; font-size: 16px; color: rgba(255, 255, 255, 0.5); font-weight: var(--font-weight-light); }
.footer-icon { margin-top: 10px; }
.footer-icon img { width: 91px; }
.footer-watermark { width: var(--width); pointer-events: none; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); }
.footer-watermark img { width: var(--width); }


/* #Media Queries
================================================== */
@media only screen and (min-width: 768px) {
	:root {
		--font-size-h2: 50px;
		--font-size-h3: 36px;
	}

	.header { padding-top: 40px; padding-bottom: 40px; }
	.header-logo { width: 404px; }
	.header-login-button i { font-size: 20px; }
	.header-login-panel { top: -16px; right: -31px; padding: 65px 53px 33px 42px; }
	.header-login-panel li a {padding-left: 35px; }
	.header-login-panel li a:before {top: 8px; left: 2px; width: 10px; height: 10px; }

	.intro { padding-top: 103px; padding-bottom: 103px; height: 543px; background-size: 100% 100%; display: flex; justify-content: space-between; }
	.intro-content { width: 35%; }
	.intro-right { width: 65%; }
	.intro-text { padding: 45px 75px 40px 55px; }
	.intro-shape { top: -77px; display: block; }

	.services { padding-top: 133px; padding-bottom: 200px; }
	.services-heading { margin: 0 auto 94px; }
	.services-holder { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; grid-column-gap: 25px; grid-row-gap: 25px; }

	.footer:before { top: -139px; }
	.footer-holder { display: flex; justify-content: space-between; }
	.footer-left { width: 25%; }
	.footer-logo { margin-bottom: 70px; width: auto; }
	.footer-right { width: 75%; }
	.footer-info { padding-left: 75px; max-width: 455px; }
	.footer-shape { display: block; top: -130px; }
	.footer-copy { display: flex; justify-content: space-between; margin-left: auto; width: 64.6%; margin-top: -11px; }
}

@media only screen and (min-width: 1025px) {
	:root {
		--font-size-h1: 55px;
	}

	.button { min-height: 90px; }

	.header { padding-top: 69px; padding-bottom: 69px; }

	.intro-right { width: 60%; }
	.intro-text { font-size: 25px; padding: 65px 75px; }

	.services { padding-bottom: 360px; }
	.services-holder { grid-template-columns: repeat(4, 1fr); }
	.services-item { margin: 0; }

	.footer-right { width: 61%; }
}

@media only screen and (min-width: 1201px) {
	:root {
		--font-size-h1: 75px;
	}

	.intro-text { padding: 65px 165px 65px 100px; }

	.footer-shape { top: -190px; }
	.footer-info { padding-left: 155px; padding-top: 38px; max-width: 635px; }
	.footer-info h2 { font-size: 60px; }
}

@media only screen and (min-width: 1440px) {
	.intro-right { width: 47.3%; }
	.intro-text { padding: 95px 145px 100px 95px; }
}

@media only screen and (min-width: 1680px) {
	.centered { padding-right: calc((100% - var(--width-base)) / 2); padding-left: calc((100% - var(--width-base)) / 2); }
	.centered-lg { padding-right: calc((100% - var(--width-large)) / 2); padding-left: calc((100% - var(--width-large)) / 2); }

}
