
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
     font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f2f2f2; /* Light grey background for overall body for contrast */
}

header {
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header-desktop{
    display: flex;
    padding-right: 4em;
    padding-left: 4em;
    white-space: nowrap;
}

.header-desktop select{
    display: inline-flex;
    align-items: center;
    border: none;
    color: #143140;
    text-decoration: none;
    padding: 0.5em 0em 0.5em 2em;
    font-weight: 800;
    font-size: large;
    font-family: "League Spartan", sans-serif;
}


.header-mobile{
    display: none;
}


.content {
    display: flex;
    flex-wrap: wrap;
    padding: 1em 5em 1em 5em;
    justify-content: space-between;
    margin: 1em 18em 1em 18em;
    box-shadow: 0px 0px 2px -1px #1E2019;
    flex-direction: column;
    font-size: 20px;
}

.content p{
    padding-top: 20px;
}

.sisalto td{
        float: left;
        padding: 0px 10px 0px 0px;
}
.sisalto th {
    float: left;
}
.sisalto table{
    padding-top: 2em;
}
.otsikko h2{
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
@media screen and (max-width: 1000px){
    
    .header-desktop{
        display: none;
    }

    .header-mobile{
        display:flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: space-around;
        align-items: center;
        -webkit-box-shadow: 0 4px 6px -6px #1E2019;
        -moz-box-shadow: 0 4px 6px -6px #1E2019;
        box-shadow: 0 4px 6px -6px #1E2019;
    }

    .check-hamburger-btn{
        font-size: 1.5rem;
        color: #1E2019;
        cursor: pointer;
    }

    .header-mobile-content{
        display: none;
        flex-wrap: wrap;
        right: 0;
        background: #1E2019;
        z-index: 1;
        width: 100%;
        justify-content: center;
    }
    .header-mobile input{
        display: none;
    }

    .header-mobile-content select{
        display: inline-flex;
        align-items: center;
        border: none;
        background-color: #1E2019;
        text-decoration: none;
        padding: 0.5em 0em 0.5em 2em;
        font-weight: 800;
        font-size: large;
        font-family: "League Spartan", sans-serif;
        color: white;
    }

    .header-mobile-content a{
        color: #fff;
        padding: 1rem 1.5rem;
        display: block;
    }

    .content {
        flex-direction: column;
        padding: 15px;
        margin: 1em;
    }

    
    header {
        flex-direction: column;
        align-items: flex-start;
    }
}

header img {
    width: 150px;
    transition: opacity 0.3s ease;
}

header a {
    color: #143140;
    text-decoration: none;
    padding: 0.5em 2em;
    font-weight:800;
    font-size: large;
    transition: 0.3s;
}

header a:hover, header a:focus {
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 2px;
}

.header-linkit, .header-logo{
    padding-bottom: 0px;
}
