@charset "utf-8";
/* CSS Document*/

html {
    min-height:100vh;
}

body {
    margin:0;
    padding:0;
    display:flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: black;
    background-image: url('kuvat/tausta2.webp');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

#tarinat {
    background-image: url('kuvat/tk2.webp');
}

#runot {
    background-image: url('kuvat/tausta2.webp');
}

#opus {
    background-image:none;
    background-color:#F2F2F2;
}

/*------------ Valikko -------------*/
    .valikko {
        text-align: center;
        background-color: white;
    }
    .valikko a {
        text-align: center;
        display: inline-block;
        font-size: 150%;
        transition: transform 0.3s ease;
        text-decoration: none;
        padding: 1%;
        color:black;
        margin-left:1%;
        margin-right:1%;
        margin-bottom:0.5%;
    }
    .valikko a:hover {
        transform: scale(1.05);
        color:#0000EE;
    }

    .valikko p {
        text-align: center;
        display: inline-block;
        font-size: 150%;
        text-decoration: none;
        padding: 1%;;
        color:gray;
        margin-left:1%;
        margin-right:1%;
        margin-bottom:0.5%;
    }
/*---------------------------------*/


/*------------ Palsta -------------*/
.palsta {
    text-align:center;
    height: 100%;
    background-color: white;
    margin-left:auto;
    margin-right:auto;
    margin-top:2%;
    margin-bottom:1%;
    padding:5%;
    max-width:30%;
    border-radius:3px;
}
.palsta a{
    transition: transform 0.3s ease;
    color: black;
    text-decoration: none;
    padding-bottom: 2%;
    display: block;
    margin-bottom:5%; }
.palsta a:hover {
    color: #0000EE; }
.palsta h1 {
    text-align: center;
	font-weight: 100;
	color: black;
	margin-bottom: 3%;
    margin-top:0%;
    padding-top:0%; }
.palsta p {
    margin:1%; }
.palsta img {
    width:100%; }    

#koti {
  margin:auto; 
 }
 

/*---------------------------------*/

/*------------ SIVU -------------*/
.sivu {
    text-align:center;
    background-color:white;
    margin-right:22%;
    margin-left:22%;
    margin-top:2%;
    margin-bottom:2%;
    }

.sivu img {
    max-width:100%;
    max-height:auto;
    text-align:center;
}
/*---------------------------------*/


/*------------ PROOSA -------------*/
.proosa {
    margin-left: 2%;
    margin-right:2%;
    margin-bottom:5%; }
.proosa p {
    font-size: 1.2rem;
    line-height: 1.6; 
    color:black; 
    text-align: justify;
    margin: 0;
    text-indent: 3%;
    hyphens: auto;
    text-justify: inter-word;
    margin-left: 2%;
    margin-right: 2%; }
/*---------------------------------*/


/*------------ RUNO -------------*/
.runo {
    margin-left: 2%;
    margin-right:2%;
    margin-bottom:5%;}
.runo p {
    font-size: 1.2rem;
    line-height: 1.6; 
    color:black; 
    text-align: center;
    margin-bottom: 2%;
    margin-left: 2%;
    margin-right: 2%;}
/*---------------------------------*/


/*------------ OTSIKOINTI -------------*/
.otsikointi h1 {
    text-align: center;
	font-weight: 100;
	color: black;
	margin-bottom: 3%;
    padding-top:0%; }
.otsikointi {
    margin-top:15%;
    text-align:center; }
/*--------------------------------------*/


/*------------ PALUU NAPPI -------------*/
.paluuNappi {
		float: left;
		position:absolute;
		margin-top: 0.5%;
		margin-left: 0.5%; }
.paluuNappi img {
		float: left;
		width:5%;
		transition: transform 0.3s ease; }
.paluuNappi img:hover {
		transform: scale(1.1); }
/*--------------------------------------*/


/*------------ KESKITYS -------------*/
.keskitys {}
.keskitys p{
    text-align:center;}
/*--------------------------------------*/


/*------------ POHJA -------------*/
.pohja {
    margin-top:auto;
    width: 100%;
    background-color: #3A6DCC;
    text-align: center;}
.pohja p {
    color:white;
    text-align:center;
    padding:1%;
    margin:0%;
}
/*--------------------------------------*/

/*------------ MOBIILI -----------------*/
	@media (max-width:600px){
        .palsta {
            min-width: 80%;
        }
        .sivu {
                margin-right:5%;
                margin-left:5%;
        }
        .proosa p {
            text-indent: 8%;
            font-size: 1.1rem;
        }
        .valikko img {
         display: none; 
        }

        }
/*--------------------------------------*/