/* Tuodaan kaikki tarvittavat fontit kerralla */
@import url('https://googleapis.com');

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	list-style: none;
	text-decoration: none;
	font-family: 'Newsreader', serif;
}

body {
    background: white;
    line-height: 1.6;
}

/* Yläpalkki ja reunus */
.container .border{
	width: 100%;
	height: 5px;
	background: #C29D9D;
}

.container .topnav{
	width: 100%;
	height: 65px;
	background: #CFB0B0;
	padding: 0 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.container .topnav .left .logo p{
	font-size: 24px;
	font-weight: bold;
	color: white;
	font-family: 'Mountains of Christmas', cursive; 
}

.container .topnav .left .logo p span{
	font-family: 'Mountains of Christmas', cursive;
	color:#694C4C;
}

/* Navigoinnin linkit - Korjattu vastaamaan uutta HTML-rakennetta */
.container .topnav .right ul{
	display: flex;
    align-items: center;
}

.container .topnav .right ul li {
    margin: 0 12px;
}

.container .topnav .right ul li a {
    color: white;
    padding: 8px 10px;
    display: block;
    transition: 0.3s;
}

/* Painike */
.container .topnav .right ul .btn{
	background: #694C4C;
	color: #fff;
	border-radius: 2px;
	text-transform: uppercase;
	letter-spacing: 3px;
	border: 2px solid #694C4C;
    padding: 8px 15px;
    cursor: pointer;
    transition: 0.5s;
}

.container .topnav .right ul .btn:hover{
	background: #332424;
    border-color: #332424;
}

/* Alanavigointi */
.container .bottomnav{
	width: 100%;
	background: #694C4C;
	height: 45px;
	padding: 0 50px;
}

.container .bottomnav ul{
	width: 100%;
	height: 45px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.container .bottomnav ul li a{
	color: white;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 12px;
    padding: 5px 10px;
}

.active{
	background-color: #CFB0B0;
	border-radius: 4px;
}

/* Hero-osio (Banneri) */
.header-bottom{
	width: 90%;
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: left;
}

.header-bottom p{
	font-size: 25px;
	margin-bottom: 20px;
}

.header-bottom h1{
	font-size: 80px;
	font-weight: bold;
	margin-bottom: 20px;
}

.header-bottom .butoni{
	background: transparent;
	border-radius: 3px;
	padding: 12px 34px;
	border: 1px solid #fff;
	color: #fff;
	cursor: pointer;
	font-size: 15px;
    transition: 1s;
}

.header-bottom .butoni:hover{
	border: 1px solid #C29D9D;
	background: #C29D9D;
}

/* Palvelut-osio */
main .container{
	background: #FCE0D2;
    padding-bottom: 50px;
}

.title{
	width: 80%;
	margin: auto;
	text-align: center;
	padding-top: 80px;
}

.title hr{
	width: 100px;
	border: 1px solid rgba(0,0,0,0.15);
	margin: 15px auto; /* Keskittää viivan */
}

.row{
	margin-top: 3%;
	display: flex;
	justify-content: space-around;
    padding: 0 5%;
}

.service-item{
	flex-basis: 30%;
	background: #C29D9D;
	border-radius: 4px;
	padding: 25px;
	border: 5px double #694C4C;
	text-align: center;
	transition: 0.5s;
    margin: 10px;
}

.service-item h2{
	padding-bottom: 12px;
}

.service-bottom{
	display: flex;
	justify-content: space-around;
	margin-top: 20px;
}

.service-item:hover{
	box-shadow: 0 0 20px rgba(0,0,0,0.2);
	background: #ecd2be;
}

/* Discover Your Beauty Heaven -teksti */
.secondary-header {
  padding: 50px 0;
  background: white;
  text-align: center;
}

.secondary-header h2 {
  color: black;
  text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.4);
  font-size: 40px;
  letter-spacing: 0.4px;
  font-family: "Raleway", sans-serif;
}

/* Footer */
footer {
    background-color: #473A32;
    padding: 50px 0;
    color: white;
}

footer .container {
    max-width: 1170px;
    margin: auto;
    padding: 0 15px;
}

.footer-col {
    width: 25%;
}

.footer-col h4 {
    font-size: 18px;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    width: 50px;
}

.footer-col ul li a {
    font-size: 16px;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #ffffff;
}
