*, *:before, *:after {
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@800&family=Playfair+Display:wght@700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

html {
  font-size: 21px;
  font-family: "Open Sans";
  background: rgb(252,248,247);
  background: linear-gradient(0deg, rgba(252,248,247,1) 80%, rgba(192,192,192,1) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

html, body {
  height: 100%;
}

h1 {
  font-family:'Poppins', sans-serif;
  font-size: 1.5em;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #01A388;
  margin-bottom: 0.3em;
}

h4.image {
font-size: 16px; 
line-height: 0.2em; 
text-transform: uppercase;
text-indent: 25px;
color: #01A388;
}


b {
	color: #00364A;
        font-weight: bold;
}

em,
i {
	color: #00364A;
}

a {
	color: #01A388;
	text-decoration: none;
        letter-spacing: 0.1em;
        border-bottom: 1px dashed #9E0B46;
}

a:hover {
	color: #9E0B46;
	text-decoration: none;
        letter-spacing: 0.1em;
}

p {
  font-weight: 200;
  color: #525252;
}


.fl {
  float: left;
  margin: 20px;
}

.fr {
  float: right;
  margin: 20px;
}

.hero {
  width: 30%;
  height: 100%;
  position: fixed;
  background: url(mb_idiosyncratic.jpg);
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
}
.hero .hamb-wrap {
  height: 30px;
  width: 40px;
  position: absolute;
  top: 25px;
  left: 25px;
  cursor: pointer;
  z-index: 2;
}
.hero .hamb {
  height: 3px;
  width: 35px;
  background: #01A388;
  position: absolute;
  top: 10px;
  left: 0;
  transition: 0.2s;
  border-radius: 10% 10% 10% 10%/40% 40% 40% 40%;
}
.hero .hamb:before, .hero .hamb:after {
  content: "";
  position: absolute;
  background: #fff;
  height: 3px;
  width: 100%;
  transition: 0.2s;
  border-radius: 10% 10% 10% 10%/50% 50% 50% 50%;
}
.hero .hamb:before {
  top: 8px;
}
.hero .hamb:after {
  top: -8px;
}
.hero .active {
  background: none;
  transition: 0.2s;
}
.hero .active:before, .hero .active:after {
  transition: 0.2s;
  top: 0;
}
.hero .active:before {
  transform: rotate(45deg);
}
.hero .active:after {
  transform: rotate(-45deg);
}
.hero .logo {
  color: #fff;
  text-shadow: 2.5px 1px 0px #01A388;
  letter-spacing: 0.25em;
  font-family: 'Archivo', sans-serif;
  text-transform: uppercase;
  font-size: 1.8em;
  margin: 0 0 0 85px;
  line-height: 2;
}
.hero nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding-top: 60px;
  font-family: "Raleway";
  font-size: 2em;
  display: none;
  background: rgba(0, 0, 0, 0.8);
}
.hero nav ul {
  margin: 0 0 0 25px;
  padding: 0;
}
.hero nav li {
  list-style-type: none !important;
  margin: 25px 0;
  position: relative;
}
.hero nav a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  border-bottom: 0px dotted #dcdcdc;
}

.hero nav a:hover {
  text-decoration: none;
  color: #01A388;
  text-transform: uppercase;
  border-bottom: 0px dotted #dcdcdc;
}

.content {
  width: 60%;
  min-height: 100%;
  margin-left: 32%;
  padding: 2.5em 1.5em;
  overflow: hidden;
  font-family:'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-shadow: 0.1em 0.1em 0.1em #c2cbd1;
}

footer {
	text-align: right;
	font-family:'Poppins', sans-serif;
	font-size: 10px;
	border-top: 1px dotted #dcdcdc;
        background: rgb(252,248,247);
}

ul {
  list-style: none;
}

ul li::before {
  list-style: none;
  font-weight: normal; 
  display: inline-block;
  width: 1em; 
  margin-left: -1em; 
}

li:not(:first-of-type) {
            margin-top: 1.0em;
        }

.wrapperfl { margin: 0 auto; }

.desc { float: left;
  width: 60%;
  text-align: left;
}

.clear { clear: both; }


.boxed {
	background:#e5e5e5;
        margin: 20px;
        padding: 10px;
        opacity: 0.8;
        filter: alpha(opacity=80);
}

.border { border-width: 8px; 
          border-color: #314B59; 
          border-style: solid; 
}

hr {
border: none;
border-top: dotted 0px;
color: transparent;
background-color: transparent;
}

input {
	padding: 0.5em;
	border: solid 2px #dcdcdc;
	border-radius: 0.75em;
	outline: none;
        margin-bottom: 5px;
	/* fixing chrome error */
}

textarea {
	padding: 0.5em;
	border: solid 2px #dcdcdc;
	border-radius: 0.75em;
	outline: none;
	/* fixing chrome error */
}

input[type="text"]:focus {
	border: solid 2px #28aadc;
}


/* === HEADING STYLE #3 === */
.three h1 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}
.three h1:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #01A388;
}
.three h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: #01A388;
}


@media (max-width: 768px) {
  html {
    font-size: 18px;
  }

  .hero {
    height: 350px;
    width: 100%;
    display: block;
    position: relative;
    padding: 1px;
  }
  .hero nav {
    font-size: 1.7em;
  }

  .content {
    margin-left: 0;
    padding-top: 0;
    width: 100%;
  }
}



.line {
  height: 8px;
  width: 45px;
  background: #fff;
  margin: 5px auto;
}


.tile
{
  width:200px;
  height:200px;
  margin:10px;
  background-color:#81aaaf;
  display:inline-block;
  background-size:cover;
  position:relative;
  transition: all 0.4s ease-out;
  box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.44);
  overflow:hidden;
  color: white;
  font-size: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  text-transform: uppercase;
  
}
.tile img
{
  height:100%;
  width:100%;
  position:absolute;
  top:0;
  left:0;
  z-index:0;
  transition: all 0.4s ease-out;
}
.tile .text
{
/*   z-index:99; */
  position:absolute;
  height:calc(100% - 60px);
}
.tile h2
{
  font-weight:bold;
  color: white;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  margin:0;
  padding:5px;
  text-shadow:2px 2px 2px rgba(0,0,0,0.8);
}

.tile p
{
  font-weight:300;
  margin:20px 0 0 0;
  padding:5px;
  line-height: 1.4em;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  color: #45494a;
  text-transform: none;
/*   opacity:0; */
  transform: translateX(-200px);
  transition-delay: 0.2s;

}
.animate-text
{
  opacity:0;
  transition: all 0.6s ease-in-out;
}
.tile:hover
{
/*   background-color:#d3cfc6; */
box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.64);
  transform:scale(1.05);
}
.tile:hover img
{
  opacity: 0.2;
}
.tile:hover .animate-text
{
  transform:translateX(0);
  opacity:1;
}

.tile:hover span
{
  opacity:1;
  transform:translateY(0px);
}




@media (max-width: 480px) {
  img.fl, img.fr {
    float: none;
    margin: 10px 0;
    width: 100%;
    height: auto;
  }
}
