body {
    background: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-style: normal;
    font-weight: 400;
}


/*---------------------------------------
    Typorgraphy              
-----------------------------------------*/
h1,h2,h3,h4,h5,h6 {
    font-weight: 600;
}

h3,h5 {
    margin-left: 20%;
    margin-right: 20%;
    text-align: left;
    font-weight: 500;
    font-size: 30px;
}

h1 {
    font-size: 80px;
    letter-spacing: 2px;
}

h2 {
    font-size: 4.25rem;
}

h3 {
    line-height: 48px;
}

h5 {
    letter-spacing: 1px;
    padding-top: 10px;
}

p {
    color: #383838;
    font-size: 16px;
    line-height: 24px;
}

#overview p{
    margin-left: 20%;
    margin-right: 20%;
    text-align: left;
}

a {
    text-decoration: none !important;
    outline: none;
}


.custom-nabbar .nav li a {
    background-color: transparent !important;
}

/*---------------------------------------
    General
-----------------------------------------*/
.section-title {
    margin-bottom: 32px;
}

#overview{
    padding-top: 16rem;
    padding-bottom: 16rem;
}


#overview .col-md-6 {
    width: 100% !important;
    text-align: center;
}

footer{
    padding-top: 2rem;
    padding-bottom: 2rem;
}

footer {
    text-align: center;
}

#overview h3
{
    padding-bottom: 12px;
}

.help-block {
    color: red;
}

.parallax-section {
    background-attachment: fixed !important;
    background-size: cover !important;
}

.cookie-banner {
    position: fixed;
    bottom: 40px;
    left: 50%;
    width: fit-content;
    padding: 5px 14px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    background-color: #eee;
    border-radius: 5px;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    transform: translateX(-50%);
}

.cookie-banner p {
    color: #3d3d3d;
    font-size: 1.7rem;
    margin: auto;
    text-align: center;
}

.close {
    height: 20px;
    background-color: #777;
    border: none;
    color: white;
    border-radius: 2px;
    cursor: pointer;
}

/*---------------------------------------
    Preloader section
-----------------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #ffffff;
}

.sk-rotating-plane {
    width: 50px;
    height: 50px;
    background-color: #222;
    -webkit-animation: sk-rotatePlane 1.2s infinite ease-in-out;
    animation: sk-rotatePlane 1.2s infinite ease-in-out; }

@-webkit-keyframes sk-rotatePlane {
    0% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
    50% {
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
    100% {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }

@keyframes sk-rotatePlane {
    0% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
    50% {
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
    100% {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }



/*---------------------------------------
    Navigation Links section
-----------------------------------------*/
.custom-navbar {
    margin-bottom: 0;
    background-color: #101010;
}

.custom-navbar{
    color: #ffffff;
    font-weight: 600;
    font-size: 3rem;
    line-height: 40px;
}

.navbar-brand {
    height: auto;
    font-family: 'Oswald', sans-serif;
    color: #ffffff;
    font-weight: 600;
    font-size: 40px;
    line-height: 40px;
    padding: 0px;
}

.custom-navbar .nav li a {
    color: white;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 40px;
    transition: all 0.4s ease-in-out;
    background-color: transparent !important;
}

.custom-navbar .nav li a:hover {
    background: transparent;
    color: #66ccff;
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
    background-color: transparent;
}

.custom-navbar .nav li.active > a {
    background-color: transparent;
    color: #66ccff;
}

.custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;
}

.custom-navbar .navbar-toggle {
    background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar {
    background: #ffffff;
    border-color: transparent;
}

@media(min-width:768px) {
    .custom-navbar {
        padding: 20px 0;
        border-bottom: 0;
    }
    .custom-navbar.top-nav-collapse {
        background: #101010;
        padding: 0;
    }

}

a:hover{
    color:#b8b8b8
}


/*---------------------------------------
   Overview  section
-----------------------------------------*/
#overview img {
    position: relative;
    padding-bottom: 32px;
}
#hinnasto img {
    position: relative;
    padding-bottom: 32px;
}



/*---------------------------------------
   Footer section
-----------------------------------------*/
footer {
    background-attachment: fixed;
}



/* Back top */
.go-top {
    background-color: #222;
    bottom: 2em;
    right: 2em;
    color: #ffffff;
    font-size: 32px;
    display: none;
    position: fixed;
    text-decoration: none;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    transition: all 0.4s ease-in-out;
}

.go-top:hover {
    background: #f2545f;
    color: #ffffff;
}


/*---------------------------------------
   Social icon
-----------------------------------------*/
.social-icon {
    position: relative;
    padding: 0;
    margin: 0;
}

.social-icon li {
    display: inline-block;
    list-style: none;
}

.social-icon li a {
    color: #666;
    border-radius: 100px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    vertical-align: middle;
}

.social-icon li a:hover {
    background: #f2545f;
    color: #ffffff;
}



/*---------------------------------------
   Responsive styles
-----------------------------------------*/
@media (max-width: 980px) {

    p {font-size: 13px;}

    .custom-navbar .navbar-brand {
        font-size: 2rem;
    }

    .custom-navbar .nav li a {
        font-size: 11px;
        line-height: 20px;
    }

    h3{

    }

    h2{
        font-size: 29px;
    }

    #overview{
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    #overview p{
        margin-left: 5%;
        margin-right: 5%;
        text-align: left;
    }

    .custom-nabbar .nav li a {
        background-color: transparent !important;
    }
}

@media (max-width: 768px) {

    h1 {
        font-size: 6rem;
    }

    #overview h3 {
        font-size: 2.2rem;
    }

    .h3, h3 {
        font-size: 2rem;
    }

    .navbar-brand {
        position: relative;
        font-family: 'Oswald', sans-serif;
        color: #ffffff;
        font-weight: 600;
        font-size: 40px;
        line-height: 40px;
    }

    .custom-navbar .navbar-brand {
        line-height: 20px;
    }

    .container {
        width: 36rem;
    }

    .custom-nabbar .nav li a {
        background-color: transparent !important;
    }
}

@media (min-width: 768px) {
    .custom-nabbar .nav li a {
        background-color: transparent !important;
    }
}