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

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

/* Navigointi korjattu (li sisältää a) */
.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: #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-teksti */
.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;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

/* Yhteystiedot -osio */
main{
	display: flex;
    min-height: 600px;
    background: #fff;
    padding: 50px 0;
}

.contact{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
    max-width: 1200px;
    margin: auto;
}

.contact-item{
	flex: 1;
	line-height: 65px;
	padding-left: 50px;
	font-size: 18px;
}

.contact-item i{
	margin-right: 20px;
	font-size: 25px;
    color: #694C4C;
}

.contact-form{
	flex: 1;
	margin-right: 50px;
}

.contact-form h2{
	text-align: center;
	font-size: 35px;
	text-transform: uppercase;
	margin-bottom: 30px;
    color: #473A32;
}

/* Lomakekentät */
.contact-form .text-box, .contact-form textarea{
	background: #f4e4e4; /* Vaaleampi tausta parantaa tekstin luettavuutta (Accessibility) */
	color: #000;
	border: 1px solid #C29D9D;
	padding: 12px;
	font-size: 15px;
	border-radius: 5px;
	margin-bottom: 20px;
    width: 100%;
}

.contact-form .text-box{
	height: 50px;
}

.contact-form .send-btn{
	float: right;
	background: #694C4C;
	color: #fff;
	border: none;
	width: 150px;
	height: 45px;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
}

.contact-form .send-btn:hover{
	background: #C29D9D;
}

/* Footer (Yhdistetty ja siivottu) */
footer {
    background-color: #473A32;
    padding: 50px 0;
    color: white;
}

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

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: 700px){
    .contact {
        flex-direction: column;
        padding: 20px;
    }
    .contact-item, .contact-form {
        margin: 0;
        width: 100%;
        padding: 20px;
    }
}
