@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

* {
    margin: 0;
    padding: 0;
    color: #2e2e2e;
    font-family: 'Barlow', sans-serif;
}

/* NAVIGATION BAR */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    height: 90px;
    color: black;
    background-image: linear-gradient(45deg, #00a0e6 250pt, #FFFFFF 250pt);
    box-shadow: 0 0 10px 0 #888888;
    z-index: 100;
}
nav * {    
    display: inline-block;
    vertical-align: middle;
}
.nav-left{
    padding: 20px;
    padding-left: 40px;
    float: left;
}
.nav-right{
    float: right;
    margin-right: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: 'Barlow';
    font-weight: 400;
    font-style: normal;
    font-size: 14pt;
}
.nav-right p{
    margin-right: 40px;
}
/*nav button {
    height: 50px;
    width: 50px;
    background-color: #00000000;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
}*/
.nav-phone ul li {
    display: list-item;
    list-style: none;
}
.nav-logo {
    max-height: 50px;
    height: auto;
}
.nav-phone img{
    height: 35px;
    padding-right: 10px;
}

/* HEADER || COVER */
header {
    /*width: 100%;
    height: 50vh;*/
    /*background-image: url("images/cover_image_2414x850.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;*/
    padding-top: 90px;
    color: white;
    margin: auto;
    position: relative;
    font-family: 'Barlow';
    font-weight: 600;
    font-style: italic;
    font-size: 16pt;
}
header img {
    width: 100%;
    margin: auto;
    color: white;
}
header h1 {
    /*margin: auto;
    text-align: center;
    padding-top: 25vh;*/
    width: 70%;
    text-align: center;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* SECTIONS */
section {
    width:100%;
    /*padding-left: 5vw;
    padding-right: 5vw;*/
}
section p {
    padding-bottom: 16px;
    font-family: 'Barlow';
    font-weight: 400;
    font-style: normal;
    font-size: 14pt;
}

#section-about {
    background-color: #FFFFFF;
}
#section-contact {
    background-color: #2e2e2e;
}
#section-contact * {
    color: white;
}
#section-services {
    background-color: #dfdfdf;
}
#section-services h2 {
    padding-top: 40px;
    padding-bottom: 50px;
}
#section-partners {
    background-color: #FFFFFF;
}

section h2 {
    text-align: center;
    padding-bottom: 30px;
    font-family: 'Barlow';
    font-weight: 600;
    font-style: normal;
    font-size: 20pt;
}
section h3 {
    font-family: 'Barlow';
    font-weight: 700;
    font-style: normal;
    font-size: 14pt;
}
.section-container {
    min-width: 800px;
    width: 60%;
    height: auto;
    margin: auto;
    padding: 40px;
    padding-top: 50px;
}
.flex-content{
    display: flex;
    justify-content: center;
    align-items: center;
}
#section-about .flex-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-text {
    width: 50%;
}
/*#section-about .container-text {
    width: 50%;
}*/
#section-about .section-container {
    padding-bottom: 80px;
}
#section-about .partners {
    margin-left: 20px;
    width: 20%;
    list-style: none;
}
#section-about .partners img {
    width: 100pt;
}
#section-contact .section-container {
    padding-top: 80px;
    padding-bottom: 80px;
}
#section-contact .container-text {
    margin-right: 20px;
}
.container-text * {
    text-align: left;
}




.section-container ul {
    list-style: none;
}

.section-list {
    /*display: inline-block;*/
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    /*margin-left: 10vw;
    margin-right: 10vw;*/
}

.section-list li{
    background-color: white;
    background-repeat: no-repeat;
    background-size: contain;
    /*overflow: hidden;*/

    width: 100%;
    /*height: 25vw;*/
    min-height: 20vw;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
}

.section-li-right {
    background-position: left center;
}
.section-li-right div{
    width: 35%;
    height: auto;
    padding: 15pt;
    padding-right: 70pt;
    margin: auto;
    margin-right: 0;
}
.section-li-left {
    background-position: right center;
}
.section-li-left div{
    width: 35%;
    height: auto;
    padding: 15pt;
    padding-left: 70pt;
    margin: auto;
    margin-left: 0;
}

#korjaus {
    background-image: url('images/serviceimage_1_1033x674.png');
    /*images/serviceimage_1_mobile_1033x674.png*/
}
#katsastus {
    background-image: url('images/serviceimage_2_1033x674.png');
    /*images/serviceimage_2_mobile_1033x674.png*/
}
#hinaus {
    background-image: url('images/serviceimage_3_1033x674.png');
    /*images/serviceimage_3_mobile_1033x674.png*/
}

.section-list h3 {
    font-family: 'Barlow';
    font-weight: 600;
    font-style: normal;
    font-size: 18pt;
    padding-bottom: 20px;
}




#section-contact li {
    margin-bottom: 10px;
}
#section-contact iframe {
    border-style: solid;
    border-radius: 4px;
    border-color: white;
    
}


/* FOOTER */
footer {
    padding-bottom: 80px;
    background-color: #2e2e2e;
    color: #FFFFFF;
}
footer * {
    color: #FFFFFF;
}
.footer-contact p {
    width: 100%;
    text-align: center;
    font-family: 'Barlow';
    font-weight: 400;
    font-style: normal;
    font-size: 14pt;
}

footer h3 {
    font-family: 'Barlow';
    font-weight: 600;
    font-style: normal;
    font-size: 16pt;
    padding-bottom: 20px;
}
footer p {
    width: 100%;
    text-align: center;
    font-family: 'Barlow';
    font-weight: 400;
    font-style: italic;
    font-size: 11pt;
    padding-top: 10px;
}
.footer-content {
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    justify-content: space-evenly;
    align-items: inherit;
    /*flex-direction: column;  MOBILE*/
}
.footer-logo-holder {
    max-width: 300px;
    width:30%;
    height: 100%;
}
.footer-content img {
    max-width: 300px;
    width:100%;
}
.footer-contact ul {
    list-style: none;
    padding-bottom: 10px;
    font-family: 'Barlow';
    font-weight: 400;
    font-style: normal;
    font-size: 14pt;
}
.footer-contact p {
    text-align: left;
}

/* GENERAL */
.section-container * {
    /*display: inline-block;*/
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #efefef;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #9c9c9c;
    border-radius: 10px;
}

  ::-webkit-scrollbar-thumb:hover {
    background: #808080;
}

/*@media only screen and (max-width: 1550px) {

    .section-container {
        width: 70%;
    }
}*/

@media only screen and (max-width: 1510px) {

    .section-container {
        width: 70%;
    }

    /*.section-list li{
        min-height: 10vw;
    }*/
    /*.section-li-right div{
        width: 60%;
        height: auto;
        padding: 15pt;
        padding-right: 30pt;
        margin: auto;
        margin-right: 0;
    }
    .section-li-left div{
        width: 35%;
        height: auto;
        padding: 15pt;
        padding-left: 60pt;
        margin: auto;
        margin-left: 0;
    }*/
    .section-li-right div{
        width: 50%;
        height: auto;
        padding: 10pt;
        padding-right: 20pt;
        margin: auto;
        margin-right: 0;
    }
    .section-li-left div{
        width: 50%;
        height: auto;
        padding: 10pt;
        padding-left: 20pt;
        margin: auto;
        margin-left: 0;
    }

}


@media only screen and (max-width: 900px) {
    nav {
        height: 90px;
        background-image: linear-gradient(45deg, #00a0e6 50%, #FFFFFF 50%);
    }
    .nav-right{
        float: right;
        margin-right: 40px;
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: right;
    }
    .nav-right p{
        margin-right: 0;
        display: block;
    }
    .nav-phone ul li {
        display: list-item;
        list-style: none;
    }
    .nav-logo {
        max-height: 50px;
        height: auto;
    }
    .nav-phone img{
        height: 35px;
        padding-right: 10px;
    }



    .section-container {
        min-width: 0;
        width: 60%;
    }
    .section-li-right {
        background-position: center top;
    }
    .section-li-right div{
        width: auto;
        height: auto;
        margin-top: 30vw;
        padding: 30pt;
        padding-top: 70pt;
        padding-bottom: 20pt;
        /*margin: auto;
        margin-right: 0;*/
    }
    .section-li-left {
        background-position: center top;
    }
    .section-li-left div{
        width: 100%;
        height: auto;
        margin-top: 30vw;
        padding: 30pt;
        padding-top: 70pt;
        padding-bottom: 20pt;
    }
    
    #korjaus {
        background-image: url('images/serviceimage_1_mobile_1033x674.png');
        /*images/serviceimage_1_mobile_1033x674.png*/
    }
    #katsastus {
        background-image: url('images/serviceimage_2_mobile_1033x674.png');
        /*images/serviceimage_2_mobile_1033x674.png*/
    }
    #hinaus {
        background-image: url('images/serviceimage_3_mobile_1033x674.png');
        /*images/serviceimage_3_mobile_1033x674.png*/
    }


    #section-about .flex-content{
        display: block;
    }

    #section-about .partners {
        margin-left: 0;
        width: 100%;
        list-style: none;
        display: inline-flex;
        justify-content: space-between;
        align-items: center;
    }
    #section-about .partners li {
        width: auto;
        display: inline-block;
        width: 20%;
    }
    #section-about .partners img {
        width: 100%;
    }


    .flex-content{
        display: block;
    }
    .container-text {
        width: 100%;
    }
    #section-contact iframe {
        position: relative;
        border-style: solid;
        border-radius: 4px;
        border-color: white;
        width: 100%;
        height: 60vw;
    }


    .footer-content {
        padding-top: 50px;
        padding-bottom: 50px;
        display: flex;
        justify-content: space-evenly;
        align-items: inherit;
        flex-direction: column;
        /*flex-direction: column;  MOBILE*/
    }
    .footer-logo-holder {
        margin: auto;
        margin-bottom: 30pt;
        width: 80%;
    }
    .footer-contact {
        margin: auto;
        /*text-align: center;*/
    }
  }

  @media only screen and (max-width: 670px) {

    /*nav & header*/
    nav {
        /*position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: white;
        height: 90px;
        color: black;*/
        /*height: 60px;*/
        background-image: linear-gradient(45deg, #00a0e6 75%, #FFFFFF 75%);
        /*box-shadow: 0 0 10px 0 #888888;
        z-index: 100;*/
    }
    .nav-right{
        display: none;
    }

	header h1 {
		width: 90%;
        max-width: 470px;
        font-size: 24pt;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
	}

}

  @media only screen and (max-width: 450px) {

    .section-container {
        width: 80%;
    }

}