/*======= CSS =======*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Amiri', serif;
}

body{
    background: #0dc8d1;
    position: relative;
}

/*======= Navigaatio palkki =======*/
header{
    z-index: 999;
    position: fixed;
    width: 100%;
    background-color: #000116;
}

header .nav-bar{
    position: relative;
    background: #06cdd8;
    backdrop-filter: blur(20px);
    height: 4em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 150px;
    transition: 0.5s ease;
}

.nav-bar img{
    width:200px;
}
.nav-bar i{
    display: none;
}

.navigation .nav-items a{
    color: rgb(0, 0, 0);
    font-size: 18px;
    text-decoration: none;
}

.navigation .nav-items a:not(:last-child){
    margin-right: 50px;
}

.navigation .nav-items a i{
    display: none;
}

/*======= Koti=======*/
section{
    position: relative;
    font-size: 1em;
    padding: 30px 150px;
    transition: 0.5s ease;
    transition-property: padding;
}

.home{
    position: relative;
    min-height: 100vh;
    background: url(yhteystiedot.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    display: block;
    text-align: center;
    padding-top: 18%;
}

.home:before{
    z-index: 888;
    content: '';
    position: absolute;
    width: 100%;
    height: 50px;
    background: linear-gradient(transparent,#0dc8d1);
    bottom: 0;
    left: 0;
}
.home h1{
    color: rgba(255, 255, 255, 0.9);
    font-size: 150px;
    font-family: 'WindSong', cursive;
    margin-top: -60px;
}
.home h3{
    color: rgb(255, 255, 255,0.9);
    font-size: 70px;
    font-weight: 600;
    padding-top: 0px;
}

/*======= Sisältö (1) =======*/
.location{
    width:60%;
    padding:80px 0;
    text-align: center;
}
.location iframe{
    width:100%;
}

/*======= Sisältö (2) =======*/
.contact-us{
    width:100%;
    margin:auto;
}
.information{
    flex-basis:38%;
    margin-bottom:30px ;
    padding-left: 20px;
    text-align: center;
    margin-top: 30px;
}
.information div{
    display:inline-flex;
    margin-bottom: 40px;
    align-items: center;
	margin-left:130px;
}
.information div .fa{
    font-size: 28px;
    margin:10px;
    margin-right: 30px;
    color:#000
}
.information div p{
    padding:0;
    color:#000
}
.information div h5{
    font-size:20px;
    margin-bottom: 5px;
    font-weight: 400;
    color:#000
}



/*======= Sisältö (3) =======*/
.contact-form form{
    text-align: left; 
    margin-left: 5%;
}
.contact-form{
    display: flex;
}
.kartta{
    margin-left: 37%;
}
.contact-form input, .contact-form textarea{
    width:200%;
    padding: 15px;
    margin-bottom:17px;
    outline:none;
    border:1px solid #ccc;
     display:block;
    padding-right: 20px;
     
}
.contact-form button{
    width:50%;
    padding: 15px;
    margin-bottom:17px;
    outline:none;
    border:1px solid #ccc;
}
.linkki p{
    font-size: 22px;
}
.linkki{
    font-size: 22px;
    text-align: center;
}



/*======= Scrollaus palkki =======*/
::-webkit-scrollbar{
    background: #fff;
    width: 11px;
    border-radius: 2em;
}

::-webkit-scrollbar-thumb{
    background: #282f4e;
    width: 100%;
    border-radius: 2em;
}

::-webkit-scrollbar-thumb:hover{
    background: #454f6d;
}

/*======= Scrollaus palkki tunnistin =======*/
.scroll-indicator-container{
    width: 100%;
    height: 5px;
}

.scroll-indicator-bar{
    background: #199fff;
    width: 0%;
    height: 100%;
    box-shadow: 0 5px 25px #199fff,
                0 5px 50px #199fff;
}

.nav-close-btn, .nav-menu-btn{
    display: none;
}

/*======= Mobiiliversio (850px) =======*/
@media screen and (max-width: 850px) {
    header .nav-bar{
        padding: 0 50px;
    }
    .home h1{
        font-size: 70px;
        padding-top: 300px;
    }
    .home h3{
        font-size: 45px;
    }


    section{
        padding: 30px 50px;
        font-size: 0.9em;
    }
    .nav-bar i{
        display:contents;
        color: #fff;
    }
    .nav-items i{
        color:#000
    }
    .nav-items a{
        width:150px;
    }
    header .nav-bar {
        padding: 0 20px;
    }
    .contact-us{
        margin-left:-0px;
    }
    .contact-form{
        display: block;
    }
    .contact-form input, .contact-form textarea{
        width:95%;
    }
    .kartta{
        margin-left:10px;
        
    }
    .kartta iframe{
        width:90%;
    }
	.information div{
	margin-left:0px;
}
    /*======= Navigointi menu =======*/
    .nav-menu-btn{
        display: block;
        color: #fff;
        font-size: 1.5em;
        cursor: pointer;
    }

    .navigation{
        z-index: 99999;
        position: fixed;
        background: rgba(0, 0, 0, 0.5);
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
        transition: 0.3s ease;
    }

    .navigation.active{
        visibility: visible;
        opacity: 1;
    }

    .navigation .nav-items{
        position: relative;
        background: #fff;
        width: 400px;
        max-width: 400px;
        display: grid;
        place-content: center;
        margin: 20px;
        padding: 40px;
        border-radius: 20px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.8);
        transform: translateY(-200px);
        transition: 0.3s ease;
    }

    .navigation.active .nav-items{
        transform: translateY(0);
    }

    .navigation .nav-items a{
        color: #222;
        font-size: 22px;
        margin: 15px 50px;
    }

    .navigation .nav-items a i{
        display: inline-block;
        font-size: 1.2em;
        margin-right: 5px;
    }

    .nav-close-btn{
        display: block;
        color: hsl(0, 0%, 13%);
        position: absolute;
        top: 0;
        right: 0;
        font-size: 1.3em;
        margin: 10px;
        cursor: pointer;
    }
    .footer-are{
        position: absolute;
    }
    .footer-area{
		padding-bottom: 50px;
		flex-direction:column;
		position: sticky;
		text-align: center;
	}
    .footer-area img{
        position: sticky;
        text-align: center;
        width:50%;
    }
    .footer-area a{
        position: sticky;
        text-align: center;
    }
    .footer-area h3{
        position:sticky;
        text-align: center;
        margin-left: 20px;
    }
}
/*-------Footer---------*/

.footer{
	width: 100%;
	margin: 0 auto;
	text-align: center;
	padding: 0px;
	padding-bottom: 20px;
	border-top: 1px solid #000;
	margin-top: 0;
	background-color: #0000007b;
	color: #eee;
	text-shadow:1px 1px #000;
    position: absolute;
}
.footer-area{
	margin-left: 5%;
	margin-right:5%;
	margin-top: 2%;
    margin-bottom: 2%;
	display:flex ;
	justify-content: space-between;
}
.footer-area img{
	width: 350px;
	margin-top: 5%;
}
.footer span{
	font-size: 25;
	width:300px;
}
.footer a i{
	font-size: 25px;
	width: 45px;
	height: 45px;
	line-height: 39px;
	display:inline-block;
	border-radius: 50%;
	border: 2px solid #fdc3c3 ;
	box-shadow :0px 0px 0px 1px rgba(255,255,255, 0.4);
	margin:10px;
	color:#eee;
	opacity: 0.7;
	transition: 0.3s ease-in-out;
	text-align: center;
}
.footer a i:hover{
	opacity: 0.9;
	box-shadow: 0px 1px 3px 2px rgba(255, 255, 255,0.9);
}