* {
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}
button:focus {outline:0;}
a {
    text-decoration: underline;
}
.btn {
    cursor: pointer;
}
main {
    overflow: hidden;
}
header {
    position: fixed;
    height: 15%;
    z-index: 1;
    width: 100%;
    background-color: #FFFFFF;
    transition: .3s;
}
#logo {
    margin-top: 22px;
    margin-left: 5%;
    width: 26%;
}

header div img {
    width: 100%;
    height: 100%;
}
header button {
    position: absolute;
    right: 34px;
    top: 31px;
    width: 45px;
    height: 30px;
    background-color: transparent;
    border: none;
}
header button span {
    transition: .2s;
    display: block;
    height: 5px;
    background-color: #E50028;
    width: 100%;
    margin-bottom: 11px;
}
header .on :nth-child(1) {
    background-color: white;
    transform-origin: left;
    transform: rotate(45deg);
}
header .on :nth-child(2) {
    transition: 0s;
    opacity: 0%;
}
header .on :nth-child(3) {
    background-color: white;
    transform-origin: left;
    transform: rotate(-45deg);
}
.mobile_menu {
    transform: translateY(-32%);
}
nav {
    transform: translateY(-140%);
    width: 100vw;
    background-color: #E50028;
    transition: .3s;
}
nav ul {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
}
nav ul li {
    white-space: nowrap;
    width: 12.5vw;
    width: 100%;
    list-style: none;
    padding: 20px;
    padding-left: 40px;
    font-size: 16px;
    font-weight: bold;
    transform: translateX(-200px);
    color: #FFFFFF;
    text-transform: uppercase;
    text-decoration: underline;
    height: 25%;
    cursor: pointer;
}

@keyframes anima {
    0% {
        transform: translateX(-200px);
        opacity: 0.2;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

.rel {
    position: relative;
}
#landing div p {
    width: 100%;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
}
.landing_section1 {
    background-color: #FFFFFF;
    height: 54vh;
}
.landing_section1 p {
    color: #E50028;
    position: absolute;
    font-weight: bold;
    bottom: 6%;
}
.landing_section2 {
    background-color: #E50028;
    height: 46vh;
}
.landing_section2 p {
    color: #FFFFFF;
    position: absolute;
    font-weight: normal;
    top: 6%;
}
.landing_section2 button {
    position: absolute;
    bottom: 24%;
    width: 70%;
    height: 60px;
    left: 15%;
    background-color: #FFFFFF;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: black;
}
#landing {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.heading {
    padding-top: 18vh;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 3px #E50028 solid;
    color: #E50028;
    text-transform: uppercase;
    width: 80%;
    margin: 0 auto;
}
.galery div {
    padding-top: 10px;
    width: 100%;
    height: 100%;
}
.galery div img {
    width: 100%;
    height: 100%;
    margin: 8px 0px;
    transition: 2s;
}
.footer h2 {
    width: 80%;
    margin: 0 auto;
    padding-top: 28px;
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    border-bottom: 1px #E50028 solid;
    text-align: center;
    color: #E50028;
    margin-bottom: 56px;
}
.galery_menu {
    margin-top: 90px;
}
.galery_menu ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    text-transform: uppercase;
}
.galery_menu ul li {
    padding: 6px;
}
.galery_menu ul a {
    color: #E50028;
    font-size: 16px;
    font-weight: bold;
    margin-left: 10%;
}
.galery {
    display: none;
    height: 100%;
}
.galery_app {
    position: relative;
}

.change_btn {
    background-color: transparent;
    border: none;
    position: absolute;
    top: 0%;
    height: 100%;
    width: 70px;
}
.fas {
    font-size: 50px;
    color: #FFFFFF;
    opacity: 0.8;
}
.picR {
    right: 0%;
}
.picL {
    left: 0%;
}

article {
    padding-top: 25px;
    height: 100%;
    width: 80%;
    margin: 0 auto;
}
article p {
    padding-bottom: 16px;
}
.circle {
    display: inline-block;
    min-height: 6px;
    min-width: 6px;
    max-width: 6px;
    max-height: 6px;
    border-radius: 50%;
    border: 5px #E50028 solid;
    margin-right: 8px;
    margin-top: 4px;
}
strong {
    color: #E50028;
    font-weight: bold;
}
article span {
    display: inline-block;
}
.p_container {
    padding: 6px 0px;
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    flex-wrap: nowrap;
    flex-direction: row;
}
.description {
    padding-top: 16px;
    display: block;
}
.description p {
    padding-left: 20px;
    text-align: justify;
    border-left: 3px solid #E50028;
}
.more {
    display: none;
}
.read_more {
    background-color: #E50028;
    color: #FFFFFF;
    text-transform: uppercase;
    border: none;
    width: 140px;
    height: 60px;
    position: absolute;
    font-size: 16px;
    padding: 8px;
    border-radius: 4px;
    left: calc(50% - 70px);
    transition: .1s;
}
.read_more:hover {
    width: 130px;
    height: 54px;
    font-size: 16px;
    left: calc(50% - 66px);
}
article div {
    width: 100%;
    height: 100%;
}
article div img {
    margin: 24px 0px;
    width: 100%;
    height: 100%;
}
.img_container div:nth-of-type(2),.img_container div:nth-of-type(3) {
    display: none;
}
.product_info {
    display: none;
}
.contact {
    display: none;
}
.contact_container {
    width: 90%;
    margin: 0 auto;
    margin-top: 132px;
}
.contact_info h2 {
    font-size: 22px;
    text-transform: uppercase;
    color: #E50028;
    text-align: center;
    font-weight: bold;
    margin-bottom: 24px;
}
.contact_info div {
    font-size: 22px;
    text-align: center;
    padding: 8px 14px;
    font-weight: bold;
}
.contact_info i {
    color: #E50028;
    font-size: 22px;
    margin: 0px 10px;
}
.contact_info :nth-child(4) {
    text-align: center;
}
.contact_info :nth-child(5) {
    color: #E50028;
    font-weight: bold;
    margin-top: 20px;
    font-size: 22px;
    text-align: center;
}
.contact .footer {
    margin-top: 100px;
}
.contact_img {
    display: none;
}
/* animacja zmiany strony */
@keyframes page_change {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0%);
    }
}
@keyframes page_changeV2 {
    0% {
        opacity: 1;
        transform: translateX(0%);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@media (min-width: 720px) {
    #menu {
        height: 16%;
        background-color: transparent;
    }
    #logo {
        margin-top: 22px;
        margin-left: 5%;
        width: 20%;
        max-width: 156px;
    }
    nav {
        position: fixed;
        width: 100%;
        margin-top: 12px;
        background-color: transparent;
        transition: .3s;
    }
    nav ul {
        display: flex;
        float: right;
        width: 50%;
        min-width: 600px;
        height: 100%;
        background-color: #E50028;
        flex-direction: row;
    }
    nav ul li {
        text-decoration: none;
        transition: .2s;
        text-align: center;
        transform: translateX(0px);
    }
    /* MENU */
    .menu_btn {
        display: none;
    }
    .projekt_btn {
        transition: .3s;
    }
    .projekt_btn:nth-of-type(1):hover {
        transform: translateY(4%);
        box-shadow: none;
    }
    /* STRONA STARTOWA */
    #landing {
        flex-direction: row;
    }
    #landing div p {
        font-size: 50px;
        font-weight: bold;
    }
    .landing_section1 {
        width: 50vw;
        height: 100vh;
    }
    .landing_section1 p {
        top: 42%;
    }
    .landing_section2 {
        width: 50vw;
        height: 100vh;
    }
    .landing_section2 p {
        top: 42%;
    }
    .landing_section2 button {
        bottom: 114px;
        width: 256px;
        height: 108px;
        left: calc(0% - 128px);
        box-shadow: 3px 3px 6px #00000026;
        border: 2px solid #E50028;
        border-radius: 4px;
        opacity: 1;
        font: Bold 20px/27px Open Sans;
    }
    .product_info .row_container {
        display: flex;
        flex-direction: row;
    }
    article{
        padding-top: 0px;
    }
    .img_container div:nth-of-type(2),.img_container div:nth-of-type(3) {
        display: block;
    }
    .img_container {
        display: flex;
        flex-direction: row;
    }
    .img_container div {
        padding: 12px;
    }
    .description_container {
        display: flex;
        flex-direction: row;
    }
    .description {
        margin-right: 10px;
    }
    .description p {
        font-size: 16px;
        border-left: none;
    }
    /* GALERIA */
    .galery_app {
        position: relative;
        height: 100%;
        width: 100%;
    }
    .galery div {
        min-width: 600px;
        width: 72%;
        margin: 0 auto;
    }
    .galery .footer {
    }
    .galery .footer h2 {
        bottom: 0px;
        margin: 0 auto;
        width: 80%;
    }
    .galery div img {
        transition: 0s;
        width: 100%;
        height: 100%;
    }
    .change_btn i {
        font-size: 80px;
    }
    .picL {
        left: 18%;
    }
    .picR {
        right: 18%;
    }
    .contact_container {
        max-width: 80%;
        /* width: 90%; */
        height: 90%;
        margin-top: 10%;
        display: flex;
        justify-content: center;
        justify-items: center;
        align-items: center;
        align-content: center;
    }
    .contact_img {
        flex-basis: 66%;
        width: 54%;
        height: 54%;
        display: block;
    }
    .contact_img img {
        padding-left: 16px;
        width: 100%;
        height: 100%;
    }
    .contact .footer {
        padding: 0;
        margin-top: 10px;
    }
    .contact .footer h2 {
        margin: 0 auto;
        width: 80%;
    }
    .contact_info {
        flex-basis: 34%;
        padding: 2%;
        box-shadow: 0px 3px 6px #00000029;
    }
    .contact_info div {
        font-size: 14px;
    }
    .contact_info :nth-child(5) {
        font-size: 16px;
    }
    .contact_info h2 {
        font-size: 18px;
    }
    #text_content {
        padding-top: 25px;
        box-shadow: 0px 3px 6px #00000029;
    }
}