/* ------ NOTES----------------------------------------------------------------

Master Screen Style for Temtailor errors
Author: Teamtailor - Joakim Nordlund

--------- CONTENTS ------------------------------------------------------------

1: BODY OCH UNIVERSAL RESET
2: GLOBALS
3: PAGE STRUCTURE

---------------------------------------------------------------------------- */


/* 1: BODY OCH UNIVERSAL RESET
============================================================================= */

/* body */

body {
  font: normal 18px/32px 'Roboto', sans-serif;
  color: #7898A9;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
  }

/* reset margin and padding for all elements */

* {margin: 0; padding: 0;}

/* 2: GLOBALS
============================================================================= */

/* html5 fix */

section, header, footer, nav {display: block;}

/* text */

h1 {
  color: #364962;
  font-size: 70px;
  font-weight: bold;
  line-height: 1;
}

strong {
  color: #364962;
  font-size: 25px;
}

/* links */

a {
  color: #7898A9;
  text-decoration: underline;
}

a:hover {
  color: #5C7582;
}

/* images */

img {border: none;}

/* 3: PAGE STRUCTURE
============================================================================= */

.hero {
  width: 300px;
  margin: 0 auto;
  padding: 0 10px;
}

.logo {
  display: block;
  width: 139px;
  margin: 10px auto;
}

.hero-copy {
  display: block;
  margin: 0 auto;
  padding: 10px 0;
  width: 300px;
  text-align: center;
}

.hero-copy p {
  text-align: left;
  margin: 30px 0 40px 0;
  font-size: 20px;
}

.hero-copy .emoji {
  margin-top: 130px;
  margin-bottom: 60px;
  font-size: 80px;
}

.be-happy {
  float: right;
  margin-top: 40px;
  font-size: 14px;
}

.be-happy .emoji {
  font-size: 24px;
  vertical-align: middle;
  margin-left: 6px;
}

@media (min-width: 600px) {
  .hero-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    transform: translate(-50%, -50%);
  }

  .hero-copy p {
    text-align: center;
  }

  .be-happy {
    position: absolute;
    right: 10px;
    bottom: 10px;
    margin-top: 0;
  }
}
