* {
    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*/
a {
    text-decoration: none !important;
}

#header {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    z-index: 1;
}

.logo-container > h1  {
    color: #fff;
    text-shadow: 0 0 3px #000;
}

/*Menu button*/
.menu-button {
    position: absolute;
    top: 80px;
    right: 0;
    transform: translate(-150%, -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: 15%;
    min-width: 950px;
    max-width: 950px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -8px;
    margin-left: -8px;
}

/*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: 80px;
    line-height: 1.2em;
}

/*Small text heslo*/
.mini-heslo {
    flex: 0 0 35%;
    max-width: 35%;
    margin-left: 9%;
}

.mini-heslo-text {
    color: #fff;
    line-height: 1.5em;
    font-size: 18px;
    text-shadow: 0 0 1px #000;
}

/*STATS INFORMATION*/
.stats {
    background-color: rgb(8, 8, 8);
    width: 50vw;
    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) {
    background-image:linear-gradient(black, black), url('../../static/images/bg_picture_3.jpg');
}

.section2-projects-steps-container {
    width: 70%;
    height: auto;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -70%);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.project-steps {
    background-color: rgb(23, 23, 23);
    color: #fff;
    width: 20%;
    height: auto;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.section2-projects-steps-big-text {
    font-family: 'Azo Sans', Helvetica, sans-serif;
    font-size: 90px;
    width: 40%;
    color: #111;
    text-shadow: 0 0 1px #fff;
    position: relative;
    top: 35%;
    left: 35%;
    transform: translate(-35%, -40%);
}

.section2-project-steps-numeration {
    font-family: 'Poiret One', cursive;
    font-weight: lighter;
    font-size: 50px;
    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(3) {
    background-image:linear-gradient(black, black), url('../../static/images/bg_picture_4.jpg');
}

.contacts-container {
    background-color: #111;
    width: 20%;
    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;
}

/*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;
}

/*ENDING CONTAINER*/
.ending {
    background-color: #000;
    width: 100vw;
    height: auto;
    max-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative !important;
}

.privacy {
    color: #fff;
    width: 100%;
    height: auto;
    margin-top: 2%;
    margin-bottom: 10px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
}

.privacy p {
    font-family: sans-serif;
    font-size: 15px;
    height: 20px;
    padding-left: 5px;
}

.ending-info {
    max-width: 60%;
    font-family: 'Azo Sans', Helvetica, sans-serif;
    font-size: 19px;
    color: #ccc;
    margin-top: 10px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.ending-info a {
    color: #ccc;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 25px;
}

.icho-number {
    color: #eee;
    position: absolute;
    bottom: 3%;
    left: 1%;
}

/*Screen's width smaller than 1470px*/
@media screen and (min-width: 1470px) and (max-width: 1573px) {
    .section2-projects-steps-big-text {
        font-size: 70px;
        width: 40%;
    }

    .contacts-container h1{
        font-size: 50px;
        width: 90%;
    }

    .section2-projects-steps-container {
        width: 80%;
    }

    .contacts-container {
        width: 25%;
    }
}

/*Screen's width smaller than 1220px*/
@media screen and (min-width: 1220px) and (max-width: 1469px) {
    .section2-projects-steps-big-text {
        font-size: 70px;
        width: 50%;
    }

    .project-steps {
        width: 30%;
    }

    .contacts-container {
        width: 27%;
    }
}

/*Screen's width smaller than 980px*/
@media screen and (min-width: 900px) and (max-width: 1219px) {
    .section2-projects-steps-big-text {
        font-size: 60px;
        width: 50%;
    }

    .project-steps {
        width: 30%;
        height: auto;
        padding: 10px;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .contacts-container {
        width: 35%;
    }
}