/* Kaikki fontit yhdessä importissa (suorituskyky) */
@import url('https://googleapis.com');

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

.container .border{
	width: 100%; /* Lisätty puuttuva puolipiste */
	height: 5px;
	background: #C29D9D;
}

/* Navigointi - Korjattu rakenne */
.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;
}

.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;
}

.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;
}

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

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

.header-bottom h1{
	font-size: 60px;
	font-weight: bold;
	color: #694C4C;
	font-family: 'Cormorant Garamond', serif;
}

/* Uutisten sisältö */
main .container{
	width: 85%;
	margin: auto;
	padding: 80px 0;
	display: flex;
    align-items: center;
}

.service-top{
    flex: 1;
}

.tour {
    flex: 1;
}

.tour img{
	width: 100%;
    max-width: 600px;
	display: block;
    border-radius: 8px;
    margin-left: auto;
}

.container .service-top h1{
	padding-bottom: 20px;
	font-size: 32px;
	font-family: 'Cormorant Garamond', serif;
}

.container .service-top p{
	font-size: 20px;
	margin-bottom: 30px;
	font-family: 'Cormorant Garamond', serif;
	color: #555;
}

.container .service-top .btn{
	padding: 12px 40px;
	background: #694C4C;
	color: white;
	border-radius: 20px;
	transition: 0.3s;
	font-size: 14px;
    border: none;
    cursor: pointer;
}

.container .service-top .btn:hover{
	background: #C29D9D;
}

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

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

footer .row {
    display: flex;
    flex-wrap: wrap;
}

.footer-col {
    width: 25%;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 35px;
    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 {
    color: #bbbbbb;
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}

.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-right: 10px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: 0.5s;
}

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

/* Mobiilioptimointi */
@media(max-width: 800px){
    main .container {
        flex-direction: column;
        text-align: center;
    }
    .tour img {
        margin: 40px auto 0 auto;
    }
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}
