@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html
{
scroll-behavior: smooth;
}

body
{
    min-height: 1000px;
}



.gallerycontainer
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-image
{
    position: relative;
    margin: 5px;
    display: flex;
    justify-content: space-evenly;
}

.gallery-image img{
    max-width: 350px;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
}


header
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 100px;
    z-index: 1000;
    transition: 0.6s;
}

header.sticky
{
 padding: 5px 100px;
 background: #fff;
 border-bottom: 1px solid rgba(0,0,0,.1);
}


header ul
{
position: relative;
display: flex;
justify-content: center;
align-items: center;
}

header ul li
{
position: relative;
list-style: none;
}

header ul li a
{
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 300;
    transition: 0.6s;
}

header.sticky .logo,
header.sticky ul li a
{
    color: #000;
}
.banner
{
    position: relative;
    width: 100%;
    min-height: 50vh;
    background: url(./images/panoraama_tausta2.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;

}

.banner h2
{
    color: #bfff00; /*otsikon väri*/
    font-size: 90px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1rem;
}

.sec
{
    background: #fff;
    padding: 100px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec .content
{
    position: relative;
    text-align: center;
    width: 100%;
}

.mxw800p
{
    max-width: 800px;
    margin: 0 auto;
}

h3
{
 font-size: 40px;
 font-weight: 200;
 margin-bottom: 10px;
}

p
{
    position: relative;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 1px;
}



.toggle
{
    display: none;
}

@media only screen and (max-width: 992px)
{
    .toggle
        {
        display: block;
        position: relative;
        width: 30px;
        height: 30px;
        cursor: pointer;
        }
        .toggle:before
        {
            content: '';
            position: absolute;
            top: 4px;
            width: 100%;
            height: 2px;
            background: #000;
            z-index: 1;
            box-shadow: 0 10px 0 #000;
            transition: 0.5s;
        }
        .toggle:after
        {
            content: '';
            position: absolute;
            bottom: 4px;
            width: 100%;
            height: 2px;
            background: #000;
            z-index: 1;

            transition: 0.5s;
        }


    header,
    header.sticky
    {
        padding: 5px 50px;
        background: #fff;
    }
    header ul
    {
        position: absolute;
        top: 59px;
        left: 0;
        width: 100%;
        height: 100vh;
        text-align: center;
        overflow: auto;
        background: #fff;
        visibility: hidden;
        opacity: 0;
    }

    header.active ul
    {
        visibility: visible;
        opacity: 1;
        display: block;
        padding-top: 20px;

    }

    header.active ul li a
    {
        display: inline-block;
        margin: 10px 0;
        font-size: 20px;
    }

    header .logo,
    header ul li a
    {
        color: #000;
    }

    .banner
    {
        background-position: center;
    }
    .banner h2
    {
        font-size: 60px;
        padding: 0 50px;
        text-align: center;
    }

    .sec
    {
        padding: 100px 50px 50px 50px;
    }
    .services .box
    {
        width: 100%;
    }

    .stats
    {
        padding-top: 250px;
    }
    .row100
    {
        flex-direction: column;
    }
    .contactForm .row100 .inputBx50,
    .contactForm .row100 .inputBx100
    {
        width: 100%;
        margin: 0;
    }

    .sci
    {
        margin: 20px;
    }

    .sci ul li a img
    {
        font-size: 24px;
    }

    h3
    {
        font-size: 36px;
    }

}



@media only screen and (max-width: 600px)
{

    header,
    header.sticky
        {
    padding: 5px 50px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.1);
    width: 600px;

        }
html
    {
    width: 100%;
    }

.banner
    {
    width: 100%;

    }
.banner h2
    {
    font-size: 2rem;
    }
h3
    {
    font-size: 2rem;
    padding: 1px;
    text-align: center;
    }

p {
    text-align: center;
    font-size: 1rem;
}
h2 {
    text-align: center;
}
}

@media only screen and (max-width: 425px)
{

    html {
        width: 100%;
    }

    .banner
    {
        width: 100%;
    }
    header,
    header.sticky
    {
    padding: 5px 50px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.1);
    width: 425px;
    }

    .banner h2
    {
        font-size: 2rem;
    }
    h3
    {
        font-size: 2rem;
        padding: 1px;
        text-align: center;
    }

    p {
        text-align: center;
        font-size: 1rem;
    }
    h2 {
        text-align: center;
    }
}


@media only screen and (max-width: 360px)
{

    html {
        width: 100%;
    }

    .banner
    {
        width: 100%;
    }
    header,
    header.sticky
    {
    padding: 5px 50px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.1);
    width: 360px;
    }
    .banner h2
    {
        font-size: 2rem;
    }
    h3
    {
        font-size: 2rem;
        padding: 1px;
        text-align: center;
    }

    p
    {
        text-align: center;
        font-size: 1rem;
    }
    h2
    {
        text-align: center;
    }
    }

@media only screen and (max-width: 375px)
{

    html {
        width: 100%;
    }

    .banner
    {
        width: 100%;
    }
    header,
    header.sticky
    {
    padding: 5px 50px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.1);
    width: 375px;

    }
    .banner h2
    {
        font-size: 2rem;
    }

    .sci ul li a img
    {

    max-width: 20px;
    }

    h3
    {
        font-size: 2rem;
        padding: 1px;
        text-align: center;
    }

    p {
        text-align: center;
        font-size: 1rem;
    }
    h2
    {
        text-align: center;
    }
}

@media only screen and (max-width: 320px)
{

    html
    {
        width: 100%;
    }

    .banner
    {
        width: 100%;
    }
    header,
    header.sticky
    {
    padding: 2.5px 45px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.1);
    width: 320px;

    }
    .banner h2
    {
        font-size: 2rem;
    }

    .sci ul li a img
    {

    max-width: 20px;
    }

    h3
    {
        font-size: 2rem;
        padding: 1px;
        text-align: center;
    }

    p
    {
        text-align: center;
        font-size: 1rem;
    }
    h2
    {
        text-align: center;
    }
}
