@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%;
	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;
}

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

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

.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;
	text-transform: uppercase;
	font-size: 12px;
}

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

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

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

/* Tarjouskortit - Flexbox takaa että ne pysyvät riveissä */
.small-container {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
}

.small-container .title {
    text-align: center;
    font-size: 40px;
    color: #694C4C;
    margin-bottom: 50px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-col {
    flex-basis: 30%;
    min-width: 300px;
    margin: 15px;
    background: #fff;
    padding: 20px;
    text-align: center;
}

.feature-col img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.feature-col h4 { font-size: 28px; color: brown; margin-top: 10px; }
.rating { color: #ffb400; margin-bottom: 10px; }

/* 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;
    }
}
