@charset "UTF-8";

/* ---------- Font rules ---------- */

h1 {
  font-family: 'Open Sans', sans-serif;
	color: #fff;
	font-size: 1.5em;
	font-weight: 600;
	letter-spacing: 2px;
	line-height: 150%;
	text-transform: uppercase;
}

h2 {
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase; 
  color: rgb(7,99,117);
	font-size: 2em;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.3;
	text-align: center;
	padding: 0 0 10px 0;
}

h3, p {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: center;
	padding: 5px 0;
}

h3 {
	font-size: 1.4em;
	text-transform: uppercase;
}

p {
	font-size: 1em;
	line-height: 150%;
	margin-bottom: 10px;
}

/* ----- Link rules ----- */

a {
	color: rgba(255,164,0,1.0);
	font-weight: 600;
	text-decoration: none;
}

a:hover {
	color: #000;
}

.subtitle a {
  color: rgba(0,96,114,1.0);
}

/* ----- Extra font rules ----- */

.white {
	color: #fff;
}

.orange {
  color: rgba(255,164,0,1.0);
}

.left {
	text-align: left;
}

.justify {
	text-align: justify;
}

/* ---------- General rules ---------- */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.clear {
	clear: both;
}

/* ---------- Navigation section ---------- */

.main-nav {
	background-color: #fff;
	width: 100%;
	height: 60px;
	z-index: 150;
	margin: 0;
	padding: 0;
	box-shadow: 0 10px 20px rgba(0,0,0,.4);
	position: fixed;
	top: 0;
}

.nav-list {
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	font-weight: 300;
	text-align: right;
	text-transform: uppercase;
	list-style: none;
	overflow: hidden;
	margin: 0;
	padding: 20px;
}

.nav-list li {
	display: none;
	padding: 0 20px;
}

.nav-list li a {
	padding: 5px 10px;
	font-weight: 300;
}

.nav-list.responsive a.icon {
	position: absolute;
	top: 20px;
	right: 20px;
  }

.nav-list.responsive {
	background-color: #fff;
  padding-top: 50px;
	}

.nav-list.responsive li {
	float: none;
	display: block;
	position: relative;
	text-align: center;
	margin: 30px 0px;
	}

.nav-list li a:hover, .nav-list li a:active {
	background-color: rgba(255,164,0,1.0);
	color: #fff;
}

.anchor {
  top: -50px;
}

.icon {
	display: block;
	float: right;
	font-size: 1.5em;
}

.logo {
  height: 40px;
  float: left;
  margin: 10px 0 0 20px;
  position: fixed;
}

/* ---------- Hero section ---------- */

.hero {
	background-image: url("../image/anna-aani-tausta.png");
	background-position: center center;
	background-size: cover;
	height: 100vh;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.title-wrapper {
	text-align: center;
	width: 100%;
}

.title {
	background-color: rgba(0,96,114,0.7);
	width: 100%;
	text-align: center;
	margin: 20px auto 30px auto;
	padding: 40px 10px;
  letter-spacing: 3px;
}

.subtitle {
	background-color: rgba(226,226,231,0.5);
	width: 100%;
	margin: auto auto 20px auto;
	padding: 30px 10px;
	color: #fff;
	font-size: 1em;
	font-weight: 300;
	letter-spacing: 2px;
  text-transform: uppercase;
}

/*------------ Anna ääni -----------*/

#anna-aani {
  padding: 80px 20px;
}

.call-to-action {
  display:block;
  background-color: rgba(7,99,117,1.0);
  color: #fff;
  font-family: 'Open Sans';
  font-weight: 300;
  font-size: 1.2em;
  padding: 20px;
  margin: 20px auto 0 auto;
  width: 90%;
  border-radius: 5px;
  text-align: center;
}

.call-to-action:hover {
  background-color: rgba(10,144,162,1.0);
  color: #fff;
}

/* ---------- Ota yhteyttä ---------- */

#ota-yhteytta {
  background-color: rgba(38,55,70,1.0);
  width: auto;
}

#ota-yhteytta p {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.8em;
  font-weight: 300;
  text-align: center;
  padding: 50px 0;
  margin-bottom: 0;
}

/* ---------- Hyödyt ---------- */

#hyodyt {
  background-color: rgb(226,226,231);
  padding: 80px 20px;
}

.benefits li {
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  font-weight: 300;
  padding: 10px 0px;
  text-align: center;
}

/* ---------- Contact section ---------- */

#yhteystiedot {
  padding: 80px 20px;
}

.contact {
	width: 100%;
	margin-bottom: 30px;
}

.contact-title {
	padding-bottom: 10px;
}

/*---------- Contact form ---------- */

label {
	display: block;
	margin-top: 20px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 100;
}

input, textarea {
	width: 100%;
	height: 40px;
	border: 1px solid #dedede;
	padding: 10px;
	margin-top: 5px;
	font-size: 0.9em;
	font-family: 'Open Sans', sans-serif;
	font-weight: 100;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

textarea {
	height: 230px;
}

input:focus, textarea:focus {
	outline: none;
	border: 1px solid rgba(0,96,114,1.0);
}

#submit {
	background-color: rgba(0,96,114,1.0);
	color: #fff;
  margin-top: 20px;
}

#submit:hover {
	background-color: rgba(10,144,162,1.0);
}

/* Footer section */

footer {
	background-color: rgba(38,55,70,1.0);
	clear: both;
	width: 100%;
	text-align: center;
  color: #fff;
  height: 100px;
}

.footer-info {
  padding: 20px 0 10px 0;
}

/* Kiitos sivu */

.back-button {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	border-radius: 5px;
	background-color: rgba(10,144,162,1.0);
	padding: 10px 20px;
	display: block;
	margin: 0 auto;
	text-align: center;
	width: 250px;
}

/* ---------- Media queries ---------- */


/* ----- Screen width over 700px ----- */
@media only screen and (min-width: 700px) {
  .subtitle {
    width: 70%;
  }
  
  .call-to-action {
  width: 500px;
  }
}



/* ----- Screen width over 800px ----- */
@media only screen and (min-width: 800px) {
  .title {
    width: 90%;
  }
  
  .cont-left {
    float: left;
    width: 50%;
  }
  
  .cont-right {
    float: right;
    width: 50%;
  }
}

/* ----- Screen width over 850px ----- */
@media only screen and (min-width: 850px) {
  .subtitle {
    font-size: 1.2em;
  }
  
  h1 {
    font-size: 1.7em;
  }
}

/* ----- Screen width over 1000px ----- */
@media only screen and (min-width: 1000px) {
  .title {
    width: 80%;
  }
  .subtitle {
    width: 60%;
  }
}


/* ----- Screen width over 1030px ----- */
@media only screen and (min-width: 1030px) {
	.nav-list li {
		display: inline-block;
	}
	
		.icon {
		display: none;
	}
  
  h1 {
    font-size: 2em;
  }
  
  .title {
    width: 80%;
  }
  
  .subtitle {
    font-size: 1.5em;
    width: 60%;
  }
  
  .contact {
    width: 50%;
  }
  
  .wrapper {
    padding: 0 80px;
  }
  
  .col-left {
    float: left;
    padding: 0 20px;
  }
  
  .col-right {
    float: right;
    padding: 0 20px;
  }
  
  .cont-left {
    float: none;
    width: 100%;
  }
  
  .cont-right {
    float: none;
    width: 100%;
  }
}