/*
Theme Name: alkio
Text Domain: alkio
Author: Ilmari Alkio
Version: 1.2
Tested up to: -
Requires PHP: 7.4
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Description: This is my first theme. It's simple, yet beautiful. It's also 100% responsive!
Tags: Blog

*/

body {
    background-color: lightgray;  
}

header {
    background: white;
    width: 100%;
    /*height: 100px;*/
}

footer {
    background: white;
    width: 100%;
   /* height: 100px;*/
   margin-top: 19%;
}

header img{
    width: 70%;
    height: 70%;
}

.header-kuva{
    position: relative;
    text-align: center;
    color: white;
    height: 0%;
}

.tagline{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 50%;
    width: 100%;
   /* width: 200px;*/
}

.tagline .h2{

    word-break: break-all;
}

header .container-fluid {
    display: flex;
    height: 100%;
    margin: 0%;
    align-items: center;
   
}

header .container-fluid :first-child {

    padding-right: 10%;

}

header .container-fluid :last-child{

    padding-left: 10%;
    padding-right: 10%;

}

footer .container {
    display: flex;
   /* height: 100%;
    margin: 0%;
    align-items: center;*/
}

header .container-fluid h1 {
   /*padding-inline: 10%;*/
    word-break: break-all;
   /* word-wrap: break-word;*/
    max-width: 600px;

   
}

/*navigaatio menun tyyli */

header .navigation {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: left;
    align-items: center;
    /*width: 900px;*/
    word-break: keep-all;
}

header .navigation li a {
    padding: .25rem 1rem;
    color: #000;
    width: 100%;
}

header .navigation li:first-child a {
    padding-left: 0;
}

/*navigaatio menun tyyli päättyy */

/*submenu alkaa*/

header .navigation li{
    position: relative;
}

header .navigation li .sub-menu{
    display: none;
    position: absolute;
    z-index: 999;
    top: 100%;
    left: 0;
    background-color: lightgray;
    box-shadow: 1px 1px 10px rgba(0,0,0,0.1);
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 200px;
    border-radius: .5rem;
}

header .navigation li .sub-menu a{
    display: block;
    padding: .25rem;
    text-align: center;
    text-decoration: none;
}

header .navigation li .sub-menu a:hover{
    color: white;
}

header .navigation > .menu-item-has-children:hover > .sub-menu {
    display: block;
}

header .navigation > .menu-item-has-children > .sub-menu > .menu-item-has-children:hover > .sub-menu{
    display: block;
}

header .navigation .sub-menu li .sub-menu{
    top: 0;
    left: 100%;
}
/*submenu päättyy*/

/*sivupalkkiin liittyvät asetukset alkaa*/

/*.etusivu*/ .container {
   display: flex;   
}

/*.etusivu*/ .card {
    width: 80%;   
}

.sidebar .card {
width: 200px;
margin-left: 5%;
}
/*
.archive .container{
    display: block;
}


/*sivupalkkiin liittyvät asetukset päättyy */

img.img-fluid {

    align-items: center;
}

