body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    cursor: default;
    color: rgb(49, 49, 49);
    hyphens: none;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    padding: 0;
    margin: 0;
}

article {
    padding: 0;
    margin: 0;
}

h1 {
    font-weight: 400;
    font-size: 2em;
    padding: 15px 0;
    margin: 0;
    color: #1C2940
}

h2 {
    font-weight: 400;
    font-size: 1.2em;
    padding: 15px 0;
    margin: 0;
    color: rgb(0, 0, 0);
}

h3 {
    font-weight: 400;
    font-size: 1.2em;
    padding: 15px 0;
    margin: 0;
    color: #1C2940;
}

h4 {
    font-weight: 400;
    font-size: 1.3em;
    padding: 15px 0;
    margin: 0;
    color: #1C2940;
}

.lang {
    position: absolute;
    margin-top: 12px;
    margin-left: 20px;
    font-size: 1.3em;
    z-index: 5;
    color: #1C2940;
}

.lang a:hover  {
    color: rgb(189, 76, 76);
}

.background {
    background-position: 50% 0;
    background-repeat: no-repeat;
    height: 500px
}

.kariera{
    background-image: url(images/kariera.jpg);
}

.onas {
    background-image: url(images/onas.jpg);
}

.clouds {
    background-image: url(images/secondary.jpg);
}

.partners {
    background-image: url(images/partnerzy.jpg);
}

.products {
    background-image: url(images/produkty.jpg);
}

.offer {
    background-image: url(images/oferta.jpg);
}

#kontakt {
    background-color: rgb(255, 255, 255);
    display: flex;
    text-align: center;
    padding: 50px 0;
}

.flex-kontakt {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.flex-kontakt div {
    padding: 0px;
    flex: 1;
    min-width: 200px;
}

.endline {
    height: 50px;
}

/*navbar---------*/

.mobile-logo {
    display: none;
    position: absolute;
    top: 40px;
    left: 20px;
}

#mobile {
    display: none;
    position: fixed;
    width: 50px;
    height: 50px;
    top: 10px;
    right: 10px;    
}

#mobile-button {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: visible;
    border: rgb(247, 247, 247) solid 1px;
    cursor: pointer;
}

#mobile-menu {
    position: absolute;
    top: 63px;
    right:-250px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
    border-radius: 10px;
    transition: right 300ms;
    border: rgb(247, 247, 247) solid 1px;
}

#mobile-menu a{
    padding: 10px 100px 10px 20px;
}

#mobile-menu a:hover{
    background-color: rgb(247, 247, 247);
}

#mobile-menu a:first-child {
    padding-top: 15px;
}

#mobile-menu a:last-child {
    background-color:#1C2940;
    color: #ffffff;
    padding-bottom: 15px;
    transition: 200ms;
}

#mobile-menu a:last-child:hover{
    color: rgb(255, 255, 255);
    background-color: rgb(189, 76, 76);
}

#header {
    display: flex;
    background: rgb(255, 255, 255);
    position: fixed;
    width: 100%;
    z-index: 2;
}

.logo {
    padding-right: 20px;
}

.navbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1200px;
    padding: 10px 0;
    background-color: #ffffff;
}

.button {
    position: relative;
}

.button a {
    padding: 20px 20px 20px 0;
    transition: color 200ms;
    color: rgb(48, 48, 48);
}

.button a:hover {
    color: rgb(189, 76, 76);
}

.active a{
    color: rgb(189, 76, 76);
}

.kontakt a{
    background: #1C2940;
    padding: 15px;
    border-radius: 10px;
    color: #ffffff;
    transition: background-color 250ms;
}

.kontakt a:hover{
    background-color:  rgb(189, 76, 76);
}

.main-layout {
    display: flex;

}

.side {
    flex: 1;
}

.middle {
    width: 1000px;
}

.middle article {
    border-radius: 10px;
    margin: 20px;
    padding: 0 20px;
}

.middle p {
    padding-bottom: 20px;
}

/*oferta-------------------*/

.gxlogo {
    display: flex;
    margin-top: 25px;
    margin-left: 40px;
}

.border {
    height: 2px;
    background: #1C2940;
    margin: 20px;
}

.black {
    color: rgb(49, 49, 49);
}

.oferta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.oferta:nth-child(even){
    text-align: right;
}

.oferta article {
    flex: 1;
}

.produkty {
    display: flex;
}

.produkty article:first-child {
    margin-bottom: 0;
}

.wiecej {
    display: block;
    width: min-content;
    margin: 10px 0 0 10px;
    transition: 200ms;
    color: #1C2940;
}

.wiecej:hover {
    color: rgb(189, 76, 76);
}

.columns {
    column-count: 2;
    margin: 0 40px 50px 40px;
}

.columns li {
    padding: 5px 0;
}

.columns ul{
    padding-left: 15px;
}

.przyklad {
    font-size: 0.7em;
    font-weight: 700;
    text-align: center;
}

.przyklad img {
    height: auto;
    width: 100%;
}

.przyklad + .przyklad {
    margin-top: 25px;
}

.przyklad + p {
    margin-top: 30px;
}

p + .przyklad {
    margin-bottom: 30px;
}

.obr {
    text-align: center;
}

.obr img {
    margin: 50px;
}

.gxnet {
    margin: 0;
}

.responsive {
    height: auto;
    max-width: 100%;
}

@media only screen and (max-width:900px) {
    .lang {margin-top: 70px;z-index: 0;position: absolute;}
}

@media only screen and (max-width:800px) {
    #header {display: none;}
    #mobile {display: block;}
    .mobile-logo {display: inline-block}
    .oferta {flex-direction: column; }
    .oferta:nth-child(even) {text-align: left; flex-direction: column-reverse;}
    .oferta:last-child {margin-bottom: 50px;}
    .oferta img {margin: 50px 0;}
    .produkty {flex-direction: column;}
    .columns {column-count: 1;}
    .lang {position: absolute; margin-top: 6px; margin-left: 20px;z-index: 5;}
}
