* {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

section {
    display: block;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: saturation;
    position: relative;
}

/*SECTION 1*/
section:first-child {
    background-image:linear-gradient(black, black), url('../../static/images/bg_picture_1.jpg');
}

/*Header logo and menu button*/
.header {
    position: absolute;
    top: 63px;
    right: 0;
    left: 0;
    z-index: 2;
}

.header-container {
    width: 80%;
    padding-right: 16px;
    padding-left: 16px;
    margin-right: 2%;
    margin-left: 2%;
    max-width: 1008px;
}

.logo-container > h1  {
    color: #fff;
    text-shadow: 0 0 3px #000;
}

/*Menu button*/
.menu-button {
    position: absolute;
    top: 80px;
    right: 0;
    transform: translate(-20%, -50%);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 7;
    width: 80px;
    height: 30px;
    display: block;
    cursor: pointer;
}

.menu-button::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 30px;
    display: block;
    transition: .5s ease-in;
}

.menu-button::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 60px;
    display: block;
    transition: .5s ease-in;
}

body.menu-button-active .menu-button::after,  body.menu-button-active .menu-button::before{
    width: 20px;
    height: 20px;
    background-color: #111;
    z-index: 7;
    display: block;
    position: absolute;
    top: 20%;
}

body.menu-button-active .menu-button::after {
    width: 40px;
    height: 10px;
    transform: translate(-50%, 50%) rotate(45deg);
}

body.menu-button-active .menu-button::before {
    width: 40px;
    height: 10px;
    transform: translate(25%, 50%) rotate(135deg);
}

body.menu-button-active span {
    transform: translateX(50%);
}

body:not(.menu-button-active) .menu-button::after, body:not(.menu-button-active) .menu-button::before, body:not(.menu-button-active) .menu-button span{
    width: 20px;
    height: 20px;
    background-color: #efbc31;
    z-index: 7;
    display: block;
    position: absolute;
    top: 20%;
    transition: .5s ease-in;
}

/*Main section middle text*/
.heslo-container {
    position: absolute;
    top: 50%;
    left: 10%;
    min-width: 55%;
    max-width: 55%;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

/*Big text heslo*/
.heslo {
    flex: 0 0 50%;
    max-width: 50%;
}

.heslo-text {
    font-family: 'Azo Sans', Helvetica, sans-serif;
    color: #fff;
    text-shadow: 0 0 1px #000;
    font-size: 50px;
    line-height: 1.2em;
}

/*Small text heslo*/
.mini-heslo {
    flex: 0 0 80%;
    max-width: 100%;
    margin-left: 10.6666666667%;
}

.mini-heslo-text {
    color: #fff;
    line-height: 2em;
    font-size: 12px;
    text-shadow: 0 0 1px #000;
}

/*STATS INFORMATION*/
.stats {
    background-color: rgb(8, 8, 8);
    width: 85vw;
    height: 20vh;
    z-index: 4;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.stats-info {
    color: #fff;
    width: 33%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
}

.stats-info h1 {
    font-family: sans-serif;
    font-weight: normal;
    font-size: 40px;
}

.stats-info h2 {
    font-family: 'PT Sans', sans-serif;
    font-weight: bolder;
    color: #efbc31;
}

.stats-info p {
    font-family: sans-serif;
    font-size: 15px;
    width: 70%;
    height: auto;
    text-align: center;
}

/*SECTION 2*/
section:nth-child(2) {
    z-index: 1000;
    min-height: 130vh !important;
}
section:nth-child(3) {
    background-image: linear-gradient(black, black), url('../../static/images/bg_picture_3.jpg');
}

.section2-projects-steps-container {
    width: 95%;
    height: auto;
    position: absolute;
    top: 75%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.project-steps {
    background-color: rgb(23, 23, 23);
    color: #fff;
    width: 100%;
    height: auto;
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.section2-projects-steps-big-text {
    font-family: 'Azo Sans', Helvetica, sans-serif;
    font-size: 50px;
    width: 85%;
    color: #111;
    text-shadow: 0 0 1px #fff;
    position: relative;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.section2-project-steps-numeration {
    font-family: 'Poiret One', cursive;
    font-weight: lighter;
    font-size: 30px;
    color: #ccc;
}

.section2-project-steps-name {
    font-family: Arial, Helvetica, sans-serif;
    padding: 3px;
    color: #efbc31;
}

.section2-project-steps-describing {
    font-family: arial;
}

/*SECTION 3*/
section:nth-child(4) {
    background-image: url('../../static/images/bg_picture_4.jpg');
}

.contacts-container {
    background-color: #111;
    width: 70%;
    height: 60%;
    border-radius: 3px;
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-20%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding-left: 20px;
}

.contacts-container, h1 {
    font-size: 20px;
}

/*COMPANY's ADDRESS*/
.contacts-container h1{
    font-family: 'Azo Sans', Helvetica, sans-serif;
    color: #eee;
    font-size: 50px;
    width: 80%;
}

.contacts-address {
    font-family: sans-serif;
    color: #eee;
}

/*PHONE AND MAIL INFO*/
.contacts-info {
    display: flex;
    flex-direction: column;
}

.contacts-info a {
    text-decoration: none;
    font-family: sans-serif;
    color: #efbc31;
}

/*SOCIAL MEDIA LINKS*/
.contacts-links {
    display: flex;
    flex-direction: column;
    position: relative;
}

.contacts-links a {
    text-decoration: none;
    font-family: sans-serif;
    color: #efbc31;
    margin: 10px;
}

.contacts-links a::after {
    background-color: #efbc31;
    content: '';
    display: block;
    width: 70px;
    height: 2px;
    float: left;
    transform: translate(-5px, 8px);
    transition: .5s ease;
}

.contacts-links a:hover::after {
    width: 0;
}

@media screen and (max-width: 480px) {
    .logo-container > h1  {
        font-size: 28px !important;
    }
}

@media screen and (max-width: 400px) {
    .logo-container > h1  {
        font-size: 28px !important;
    }

    .heslo-container {
        position: absolute;
        top: 40%;
        left: 10%;
        min-width: 55%;
        max-width: 55%;
    }

    .mini-heslo {
        flex: 0 0 90%;
        max-width: 100%;
        margin-left: 10.6666666667%;
    }

    .mini-heslo-text {
        color: #fff;
        line-height: 2em;
        font-size: 15px;
        text-shadow: 0 0 2px #000;
    }

    .section2-projects-steps-container {
        width: 95%;
        height: auto;
        position: absolute;
        top: 80%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    .contacts-container h1 {
        font-size: 35px;
    }
}

@media screen and (max-width: 360px) {

    /*COMPANY's NAME*/
    .logo-container > h1  {
        font-size: 26px !important;
    }

    .header-container {
        width: 60%;
        padding-right: 16px;
        padding-left: 16px;
        margin-right: -2%;
        margin-left: -2%;
        max-width: 1008px;
    }

    /*HESLO CONTAINER*/
    .heslo-container {
        position: absolute;
        top: 30%;
        left: 10%;
        min-width: 55%;
        max-width: 55%;
    }

    .mini-heslo {
        flex: 0 0 90%;
        max-width: 100%;
        margin-left: 10.6666666667%;
    }

    .mini-heslo-text {
        color: #fff;
        line-height: 2em;
        font-size: 15px;
        text-shadow: 0 0 1px #000;
    }

    /*STATS BETWEEN TWO SECTIONS*/
    .stats {
        background-color: rgb(8, 8, 8);
        width: 95vw;
        height: 23vh;
        z-index: 4;
        position: absolute;
        top: 90%;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: space-between;
        flex-direction: row;
    }
    
    .stats-info {
        color: #fff;
        width: 33%;
        height: 100%;
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        align-items: center;
    }
    
    .stats-info h1 {
        font-family: sans-serif;
        font-weight: normal;
        font-size: 30px;
    }
    
    .stats-info h2 {
        font-family: 'PT Sans', sans-serif;
        font-weight: bolder;
        color: #efbc31;
    }
    
    .stats-info p {
        font-family: sans-serif;
        font-size: 15px;
        width: 70%;
        height: auto;
        text-align: center;
    }

    /*STEPS IN SECOND SECTION*/
    .section2-projects-steps-container {
        width: 95%;
        height: auto;
        position: absolute;
        top: 80%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .project-steps {
        background-color: rgb(23, 23, 23);
        color: #fff;
        width: 100%;
        height: auto;
        padding: 5px;
        margin: 5px;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }
    
    .section2-projects-steps-big-text {
        font-family: 'Azo Sans', Helvetica, sans-serif;
        font-size: 40px;
        width: 85%;
        color: #111;
        text-shadow: 0 0 1px #fff;
        position: absolute;
        top: 25%;
        left: 35%;
        transform: translate(-35%, -95%);
    }
    
    .section2-project-steps-numeration {
        font-family: 'Poiret One', cursive;
        font-weight: lighter;
        font-size: 25px;
        color: #ccc;
    }
    
    .section2-project-steps-name {
        font-family: Arial, Helvetica, sans-serif;
        padding: 3px;
        color: #efbc31;
    }
    
    .section2-project-steps-describing {
        font-family: arial;
        font-size: 14px;
    }

    /*CONTACTS CONTAINER*/
    .contacts-container h1{
        font-family: 'Azo Sans', Helvetica, sans-serif;
        color: #eee;
        font-size: 20px;
        width: 80%;
    }
    
}

@media screen and (max-width: 300px) {

    /*COMPANY's NAME*/
    .logo-container > h1  {
        font-size: 24px !important;
    }

    .header-container {
        width: 75%;
        padding-right: 16px;
        padding-left: 16px;
        margin-right: -2%;
        margin-left: -2%;
        max-width: 1008px;
    }

    .logo-container > h1  {
        font-size: 26px !important;
    }

    /*HESLO CONTAINER*/
    
    .heslo-container {
        position: absolute;
        top: 30%;
        left: 10%;
        min-width: 70%;
        max-width: 70%;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    /*Big text heslo*/
    .heslo {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .heslo-text {
        font-family: 'Azo Sans', Helvetica, sans-serif;
        color: #fff;
        text-shadow: 0 0 1px #000;
        font-size: 40px;
        line-height: 1.2em;
    }

    .mini-heslo {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 10.6666666667%;
    }

    .mini-heslo-text {
        color: #fff;
        line-height: 2em;
        font-size: 12px !important;
        text-shadow: 0 0 1px #000;
    }

    /*STATS BETWEEN TWO SECTIONS*/
    .stats {
        background-color: rgb(8, 8, 8);
        width: 100vw;
        height: auto;
        z-index: 4;
        position: relative;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .stats-info {
        color: #fff;
        width: 95%;
        height: 100%;
        margin: 10px;
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        align-items: center;
    }
    
    .stats-info h1 {
        font-family: sans-serif;
        font-weight: normal;
        font-size: 30px;
    }
    
    .stats-info h2 {
        font-family: 'PT Sans', sans-serif;
        font-weight: bolder;
        color: #efbc31;
    }
    
    .stats-info p {
        font-family: sans-serif;
        font-size: 15px;
        width: 70%;
        height: auto;
        text-align: center;
    }

    /*STEPS IN SECOND SECTION*/
    .section2-projects-steps-container {
        width: 95%;
        height: auto;
        position: absolute;
        top: 75%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .project-steps {
        background-color: rgb(23, 23, 23);
        color: #fff;
        width: 100%;
        height: auto;
        padding: 5px;
        margin: 5px;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }
    
    .section2-projects-steps-big-text {
        font-family: 'Azo Sans', Helvetica, sans-serif;
        font-size: 35px;
        width: 85%;
        color: #111;
        text-shadow: 0 0 1px #fff;
        position: absolute;
        top: 20%;
        left: 35%;
        transform: translate(-35%, -95%);
    }
    
    .section2-project-steps-numeration {
        font-family: 'Poiret One', cursive;
        font-weight: lighter;
        font-size: 25px;
        color: #ccc;
    }
    
    .section2-project-steps-name {
        font-family: Arial, Helvetica, sans-serif;
        padding: 3px;
        color: #efbc31;
    }
    
    .section2-project-steps-describing {
        font-family: arial;
        font-size: 14px;
    }

    /*CONTACTS CONTAINER*/
    .contacts-container {
        width: 80%;
    }

    .contacts-container h1{
        font-family: 'Azo Sans', Helvetica, sans-serif;
        color: #eee;
        font-size: 30px;
        width: 80%;
    }
}

@media screen and (max-width: 280px){
    .logo-container > h1  {
        font-size: 24px !important;
    }
}

@media screen and (max-height: 670px) {

    section:nth-child(2) {
        z-index: 1000;
        min-height: 150vh !important;
    }

    /*COMPANY's NAME*/
    .header-container {
        width: 80%;
        padding-right: 16px;
        padding-left: 16px;
        margin-right: -2%;
        margin-left: -2%;
        max-width: 1008px;
    }

    /*HESLO CONTAINER*/
    
    .heslo-container {
        position: absolute;
        top: 30%;
        left: 10%;
        min-width: 55%;
        max-width: 55%;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    /*Big text heslo*/
    .heslo {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .heslo-text {
        font-family: 'Azo Sans', Helvetica, sans-serif;
        color: #fff;
        text-shadow: 0 0 1px #000;
        font-size: 40px;
        line-height: 1.2em;
    }

    .mini-heslo {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 10.6666666667%;
    }

    .mini-heslo-text {
        color: #fff;
        line-height: 2em;
        font-size: 15px;
        text-shadow: 0 0 1px #000;
    }

    /*STATS BETWEEN TWO SECTIONS*/
    .stats {
        background-color: rgb(8, 8, 8);
        width: 100vw;
        height: auto;
        z-index: 4;
        position: relative;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .stats-info {
        color: #fff;
        width: 95%;
        height: 100%;
        margin: 10px;
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        align-items: center;
    }
    
    .stats-info h1 {
        font-family: sans-serif;
        font-weight: normal;
        font-size: 30px;
    }
    
    .stats-info h2 {
        font-family: 'PT Sans', sans-serif;
        font-weight: bolder;
        color: #efbc31;
    }
    
    .stats-info p {
        font-family: sans-serif;
        font-size: 15px;
        width: 70%;
        height: auto;
        text-align: center;
    }

    /*STEPS IN SECOND SECTION*/
    .section2-projects-steps-container {
        width: 95%;
        height: auto;
        position: absolute;
        top: 75%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .project-steps {
        background-color: rgb(23, 23, 23);
        color: #fff;
        width: 100%;
        height: auto;
        padding: 5px;
        margin: 5px;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }
    
    .section2-projects-steps-big-text {
        font-family: 'Azo Sans', Helvetica, sans-serif;
        font-size: 35px;
        width: 85%;
        color: #111;
        text-shadow: 0 0 1px #fff;
        position: absolute;
        top: 20%;
        left: 35%;
        transform: translate(-35%, -95%);
    }
    
    .section2-project-steps-numeration {
        font-family: 'Poiret One', cursive;
        font-weight: lighter;
        font-size: 25px;
        color: #ccc;
    }
    
    .section2-project-steps-name {
        font-family: Arial, Helvetica, sans-serif;
        padding: 3px;
        color: #efbc31;
    }
    
    .section2-project-steps-describing {
        font-family: arial;
        font-size: 14px;
    }

    /*CONTACTS CONTAINER*/
    .contacts-container h1{
        font-family: 'Azo Sans', Helvetica, sans-serif;
        color: #eee;
        font-size: 30px;
        width: 80%;
    }
}
