body {
    background-color: white;
    font-family: 'Lato';
    margin: 0;
    padding: 0;
    backface-visibility: hidden;
    position: relative;
    overflow-x: hidden;
}

html {
    margin: 0;
    padding: 0;
}

main {
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Sisältö */

a {
    text-decoration: none;
}

/* UNIVERSAL STYLES */

.welcomeWrapper {
    background-color: black;
    position: relative;
    width: 100%;
}

#fp_welcomePicture {
    background-image: url("../IMG/banneri.jpeg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-size: cover;
    width: 100%;
    opacity: 60%;
}

.fp_welcomeHeader {
    position: absolute;
    top: 5%;
    text-align: right;
    color: white;
    transition: 0.5s;
}

.fp_welcomeText {
    position: absolute;
    color: white;
    transition: 0.5s;
}

.fp_welcomeButton1 {
    position: absolute;
    border: none;
    cursor: pointer;
    color: white;
    background-color: rgba(143, 188, 143, 0.8);
    transition: 0.5s;
}

.fp_welcomeButton2 {
    position: absolute;
    border: none;
    cursor: pointer;
    color: white;
    background-color: rgba(143, 188, 143, 0.8);
    transition: 0.5s;
}

.fp_welcomeButton1:hover {
    color: darkseagreen;
    background-color: white;
}

.fp_welcomeButton2:hover {
    color: darkseagreen;
    background-color: white;
}

.infoButton {
    display: flex;
    border: none;
    margin-top: auto;
    cursor: pointer;
    background-color: rgba(143, 188, 143, 0.8);
    justify-content: center;
    transition: 0.5s;
}

.infoButton:hover {
    color: darkseagreen;
    background-color: white;
}

.contentContainer {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.rowContentWrapper {
    display: flex;
    align-content: space-around;
    flex-grow: 1;
}

.rowContentContainer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: auto;
    margin-bottom: auto;
}

.rowImage_puutoikealta {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background-image: url(../IMG/puunhankinta.JPG);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0px 0px 50px gray;
}

.rowImage_lol {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background-image: url(../IMG/tuotanto1.JPG);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0px 0px 50px gray;
}

.rowCertWrapper {
    display: flex;
    align-content: space-around;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
    flex-grow: 1;
}

.rowCertContainer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-left: 2.5%;
    padding-right: 2.5%;
    margin-top: auto;
    margin-bottom: auto;
    padding-bottom: 4%;
}

.rowImage_Certificate {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-image: url(../IMG/PEFC-FIN.jpg);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 5px 5px 50px gray;
}

.rowImage_SuomenVahvimmat {
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
}

.certWrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}

.certContainer {
    width: 30%;
    padding: 2%;
    /* border-radius: 3px;
    box-shadow: 1px 1px 20px gray;
    background-color: rgba(249, 249, 249, 0.7); */
    justify-content: center;
    align-content: center;

    text-align: center;

    h2 {
        text-align: center;
    }
}

.imgPEFC {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.contactCard {
    justify-content: center;
    text-align: center;
    min-width: 40%;
    background-color: rgb(252, 241, 225);
    margin-top: 2.5%;
    padding-bottom: 2.5%;
    box-shadow: 0px 0px 10px gray;
    text-shadow: 1px 1px 1px lightgrey;
}

.contactWrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
}

.contact {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

/* Site bottom */

.bottomWrapper {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-around;
    background-color: darkseagreen;
    background-image: linear-gradient(to left,
            transparent,
            darkseagreen,
            linen);
    /* margin-top: 5%; */
}

.bottomRowContainer {
    display: flex;
    align-items: left;
    flex-direction: row;
    justify-content: left;
    position: relative;
    padding-top: 3%;
    padding-bottom: 3%;
}

.bottomContainer {
    display: flex;
    align-items: left;
    flex-direction: column;
    justify-content: left;
    position: relative;
    width: 25%;
    /* padding-left: 5%;
    padding-right: 5%;
    padding-top: 3%;
    padding-bottom: 3%; */
    flex: 1;
}

.havuContainer {
    display: flex;
    align-items: left;
    flex-direction: column;
    justify-content: left;
    position: relative;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    flex: 1;
    /*background-image: url("../IMG/havu.jpg");
    background-size: auto 120%;
    background-repeat: no-repeat;*/
    background-position: right center;
    background-color: darkseagreen;
    background-image: linear-gradient(to left, transparent, darkseagreen), url("../IMG/havu.jpg");
    background-repeat: no-repeat;
}

/* RESPONSIVE STYLES */

/* Mobile screens */
@media only screen and (max-width: 768px) {

    h2 {
        font-size: 16px;
    }

    #fp_welcomePicture {
        height: 300px;
    }

    .fp_welcomeHeader {
        right: 5%;
        font-size: 20px;
    }

    .fp_welcomeText {
        top: 50%;
        left: 20%;
        font-size: 18px;
        text-align: center;
        width: 60%;
    }

    .fp_welcomeButton1 {
        top: 80%;
        left: 10%;
        font-size: 14px;
        padding: 6px 6px;
        border-radius: 5px;
        background-color: transparent;
        font-weight: 500;
        text-shadow: 2px 2px 2px black;
    }

    .fp_welcomeButton1:hover {
        color: black;
        text-shadow: none;
        background-color: white;
    }

    .fp_welcomeButton2 {
        top: 80%;
        right: 10%;
        font-size: 14px;
        padding: 6px 6px;
        border-radius: 5px;
        background-color: transparent;
        font-weight: 500;
        text-shadow: 2px 2px 2px black;
    }

    .fp_welcomeButton2:hover {
        color: black;
        text-shadow: none;
        background-color: white;
    }

    .infoButton {
        font-size: 12px;
        padding: 8px 8px;
        border-radius: 5px;
    }

    .contentContainer {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 4%;
        padding-bottom: 5%;
        font-size: 12px;
    }

    #introduction {
        font-size: 12px;
        text-align: left;
    }

    .rowContentWrapper {
        flex-direction: column;
        padding-top: 5%;
        padding-bottom: 5%;
        padding-left: 5%;
        padding-right: 5%;
        height: 350px;
    }

    .rowContentContainer {
        width: 95%;
        padding-left: 2.5%;
        padding-right: 2.5%;
        padding-bottom: 4%;
        font-size: 12px;
    }

    .rowImage_puutoikealta {
        height: 100%;
    }

    .rowImage_lol {
        height: 100%;
    }

    .rowCertWrapper {
        flex-direction: column;
        padding-left: 5%;
        padding-right: 5%;
        min-height: 200px;
    }

    .rowCertContainer {
        width: 80%;
        font-size: 12px;
    }

    .rowImage_Certificate {
        width: 25%;
    }

    .rowImage_SuomenVahvimmat {
        height: 100px;
        align-items: left;
        background-image: url(../CRT/Vahvimmat/LOGO_PLATINUM_TEXTRIGHT_BLACK_FI_426626.svg);
        background-position: left center;
        background-size: 100% contain;
    }

    .contactCard {
        width: 60%;
    }

    .contactWrapper {
        flex-direction: column;
    }

    /* Site bottom */

    .bottomRowContainer {
        width: 60%;
        padding-left: 5%;
    }

    .bottom_a {
        margin-top: 2%;
        font-size: 10px;
    }

    .bottom_a2 {
        margin-top: 2%;
        font-size: 8px;
    }


    .svContainerHorizontal {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
        height: 50px;
        margin-top: 3%;
        background-position: left;
        background-size: contain;
        background-color: transparent;
        background-image: url("../CRT/Vahvimmat/LOGO_PLATINUM_TEXTRIGHT_BLACK_FI_426626.svg");
        background-repeat: no-repeat;
    }

    .havuContainer {
        background-size: cover;
    }

}

/* Small device */
@media only screen and (min-width: 769px) {

    #fp_welcomePicture {
        height: 400px;
    }

    .fp_welcomeHeader {
        right: 10%;
        font-size: 32px;
    }

    .fp_welcomeText {
        top: 60%;
        right: 10%;
        font-size: 18px;
        text-align: right;
        width: 40%;
    }

    .fp_welcomeButton1 {
        top: 37%;
        left: 10%;
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 5px;
    }

    .fp_welcomeButton2 {
        top: 53%;
        left: 10%;
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 5px;
    }

    .infoButton {
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 5px;
    }

    .contentContainer {
        width: 80%;
        padding-left: 10%;
        padding-right: 10%;
        padding-top: 4%;
        padding-bottom: 5%;
        font-size: 18px;
    }

    #introduction {
        font-size: 20px;
        text-align: center;
        width: 75%;
    }

    .rowContentWrapper {
        flex-direction: row;
        padding-top: 5%;
        padding-bottom: 5%;
        padding-left: 5%;
        padding-right: 5%;
        height: 500px;
    }

    .rowContentContainer {
        width: 80%;
        padding-left: 2.5%;
        padding-right: 2.5%;
        padding-bottom: 4%;
        font-size: 18px;
    }

    .rowCertWrapper {
        flex-direction: row;
        padding-left: 10%;
        padding-right: 10%;
        min-height: 400px;
    }

    .rowCertContainer {
        width: 70%;
        font-size: 18px;
    }

    .rowImage_Certificate {
        width: 30%;
        background-size: contain;
        background-color: white;
    }

    .rowImage_SuomenVahvimmat {
        width: 30%;
        align-items: stretch;
        background-image: url(../CRT/Vahvimmat/LOGO_PLATINUM_STANDING_BLACK_EN_426626.svg);
        background-position: center;
        background-size: 100% cover;
        box-shadow: 5px 5px 50px gray;
    }

    /* Site bottom */

    .bottomRowContainer {
        width: 25%;
        padding-left: 5%;
        padding-right: 5%;
        flex: 1;
    }

    .bottom_a {
        margin-top: 2%;
        font-size: 18px;
    }

    .bottom_a2 {
        margin-top: 10%;
    }

    .svContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        position: relative;
        width: 50%;
        height: auto;
        background-position: bottom;
        background-size: contain;
        background-color: transparent;
        background-image: url("../CRT/Vahvimmat/LOGO_PLATINUM_STANDING_BLACK_FI_426626.svg");
        background-repeat: no-repeat;

        margin-bottom: -3%;
    }

    .havuContainer {
        background-size: 100% auto;
    }

}

/* Normal 1080p Desktop */
@media only screen and (min-width: 1400px) {

    #fp_welcomePicture {
        height: 400px;
    }

    .fp_welcomeHeader {
        right: 20%;
        font-size: 32px;
    }

    .fp_welcomeText {
        top: 60%;
        right: 20%;
        font-size: 18px;
        text-align: right;
        width: 40%;
    }

    .fp_welcomeButton1 {
        top: 37%;
        left: 20%;
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 5px;
    }

    .fp_welcomeButton2 {
        top: 53%;
        left: 20%;
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 5px;
    }

    .infoButton {
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 5px;
    }

    .contentContainer {
        width: 60%;
        padding-left: 20%;
        padding-right: 20%;
        padding-top: 2.5%;
        padding-bottom: 2.5%;
        font-size: 18px;
    }

    #introduction {
        font-size: 20px;
        text-align: center;
        width: 75%;
    }

    .rowContentWrapper {
        flex-direction: row;
        padding-top: 2.5%;
        padding-bottom: 2.5%;
        padding-left: 20%;
        padding-right: 20%;
        height: 500px;
    }

    .rowContentContainer {
        width: 80%;
        padding-left: 2.5%;
        padding-right: 2.5%;
        padding-bottom: 4%;
        font-size: 18px;
    }

    .rowCertWrapper {
        flex-direction: row;
        padding-left: 15%;
        padding-right: 15%;
        min-height: 400px;
    }

    .rowCertContainer {
        width: 100%;
        font-size: 18px;
    }

    .rowImage_Certificate {
        width: 30%;
    }

    .rowImage_SuomenVahvimmat {
        width: 30%;
        align-items: stretch;
        background-image: url(../CRT/Vahvimmat/LOGO_PLATINUM_STANDING_BLACK_EN_426626.svg);
        background-position: center;
        background-size: 100% cover;
        box-shadow: 5px 5px 50px gray;
    }

    /* Site bottom */

    .bottomRowContainer {
        width: 25%;
        padding-left: 10%;
        padding-right: 5%;
        flex: 1;
    }

    .bottom_a {
        margin-top: 2%;
        font-size: 18px;
    }

    .bottom_a2 {
        margin-top: 10%;
    }

    .svContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        position: relative;
        width: 50%;
        height: auto;
        background-position: bottom;
        background-size: contain;
        background-color: transparent;
        background-image: url("../CRT/Vahvimmat/LOGO_PLATINUM_STANDING_BLACK_FI_426626.svg");
        background-repeat: no-repeat;

        margin-bottom: -3%;
    }

    .havuContainer {
        background-size: 100% auto;
    }

}

/* Big Desktop */
@media only screen and (min-width: 2000px) {

    #fp_welcomePicture {
        height: 400px;
    }

    .fp_welcomeHeader {
        right: 25%;
        font-size: 32px;
    }

    .fp_welcomeText {
        top: 60%;
        right: 25%;
        font-size: 18px;
        text-align: right;
        width: 40%;
    }

    .fp_welcomeButton1 {
        top: 37%;
        left: 25%;
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 5px;
    }

    .fp_welcomeButton2 {
        top: 53%;
        left: 25%;
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 5px;
    }

    .infoButton {
        font-size: 18px;
        padding: 14px 14px;
        border-radius: 5px;
    }

    .contentContainer {
        width: 50%;
        padding-left: 25%;
        padding-right: 25%;
        padding-top: 2.5%;
        padding-bottom: 2.5%;
        font-size: 18px;
    }

    #introduction {
        font-size: 20px;
        text-align: center;
        width: 75%;
    }

    .rowContentWrapper {
        flex-direction: row;
        padding-top: 2.5%;
        padding-bottom: 2.5%;
        padding-left: 25%;
        padding-right: 25%;
        height: 500px;
    }

    .rowContentContainer {
        width: 80%;
        padding-left: 2.5%;
        padding-right: 2.5%;
        padding-bottom: 4%;
        font-size: 18px;
    }

    .rowCertWrapper {
        flex-direction: row;
        padding-left: 25%;
        padding-right: 25%;
        min-height: 400px;
    }

    .rowCertContainer {
        width: 100%;
        font-size: 18px;
    }

    .rowImage_Certificate {
        width: 30%;
    }

    .rowImage_SuomenVahvimmat {
        width: 30%;
        align-items: stretch;
        background-image: url(../CRT/Vahvimmat/LOGO_PLATINUM_STANDING_BLACK_EN_426626.svg);
        background-position: center;
        background-size: 100% cover;
        box-shadow: 5px 5px 50px gray;
    }

    /* Site bottom */

    .bottomRowContainer {
        width: 25%;
        padding-left: 20%;
        padding-right: 5%;
        flex: 1;
    }

    .bottom_a {
        margin-top: 2%;
        font-size: 18px;
    }

    .bottom_a2 {
        margin-top: 10%;
    }

    .svContainer {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        position: relative;
        width: 50%;
        height: auto;
        background-position: bottom;
        background-size: contain;
        background-color: transparent;
        background-image: url("../CRT/Vahvimmat/LOGO_PLATINUM_STANDING_BLACK_FI_426626.svg");
        background-repeat: no-repeat;

        margin-bottom: -3%;
    }

    .havuContainer {
        background-size: 100% auto;
    }

}