﻿body, h1, h2, h3, h4, h5, h6 {
    font-family: "Lato", sans-serif;
}

body, html {
    height: 100%;
    color: #777;
    line-height: 1.8;
}

.bgimg-1, .bgimg-2, .bgimg-3 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* First image (Logo. Full height) */
.bgimg-1 {
    background-image: url('../img/background2.webp');
    width: 100vw !important;
    height: 100vh;
    padding-bottom: 60px;
    background-size: cover;
    overflow-y: auto;
}

/* Second image (Portfolio) */
.bgimg-2 {
    background-image: url('../img/background1.webp');
    min-height: 400px;
}

/* Third image (Contact) */
.bgimg-3 {
    background-image: url('../img/background3.webp');
    min-height: 400px;
}

.w3-wide {
    letter-spacing: 10px;
}

.w3-hover-opacity {
    cursor: pointer;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

a {
    text-decoration: none;
}

    a:hover {
        color: #ffffff;
    }

img {
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.flags {
    width: 130px;
    height: 16px;
    float: right;
}

    .flags ul {
        list-style-type: none;
        padding: 0;
        margin: 8px 0 0 0;
    }

        .flags ul li {
            margin: 1px;
            display: inline;
        }

footer {
    padding: 0 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

@media only screen and (max-device-width: 1600px) {
    .bgimg-1, .bgimg-2, .bgimg-3 {
        background-attachment: scroll;
        min-height: 400px;
    }
}

@media only screen and (max-device-width: 767px) {
    .w3-padding-64 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    footer {
        text-align: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .w3-large {
        font-size: 16px !important;
    }
}
