@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body, html {
    overflow-x: hidden;
}
body {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
    line-height: 1.4em;
    color: #010101;
    background-color: #fff;
}
a, button {
    color: #fff;
    transition: all 0.2s ease;
    text-decoration: none;
}
a:hover,
a:focus{
    color: #010101;
}

header {
    background-image: url(../img/top.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    display: block;
    position: relative;
    width: 100%;
    height: 549px;
    margin-bottom: 70px;
    padding-top: 40px;
}

header .addresses {
    color: #fff;
    display: flex;
    gap: 88px;
    position: relative;
    margin-top: 19px;
}
header .addresses:before {
    content: '';
    width: 2px;
    height: 100%;
    left: 220px;
    top: 0;
    background: #7e1416;
    display: block;
    position: absolute;
}
header .addresses .address-box {
    background-image: url(../img/place.png);
    background-position: top left;
    background-repeat: no-repeat;
    padding-left: 50px;
}
header .addresses .address-box h3 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}
header .addresses .address-box a {
    position: relative;
    font-weight: 500;
    padding: 0 2px;
    margin-top: 4px;
    font-size: 16px;
    display: inline-block;
}
header .addresses .address-box a:before {
    content: '';
    width: 100%;
    height: 9px;
    background: #7e1617;
    position: absolute;
    bottom: 0px;
    left: 0;
}
header .addresses .address-box a span {
    position: relative;
    z-index: 10;
}

header .addresses .address-box a:hover {
    color: #fff;
}
header .addresses .address-box a:hover:before {
    height: 16px;
}

header .slogan {
    color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -35px;
    left: 18%;
    font-size: 20px;
    letter-spacing: 1px;
}
header .slogan .text-1 {
    text-transform: uppercase;
    color: #c6c6c8; 
    background-image: -webkit-linear-gradient(90deg, #c6c6c8 0%, #fefefc 100%); 
    background-clip: text; 
    -webkit-background-clip: text; 
    text-fill-color: transparent; 
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

header .slogan .text-2 {
    position: relative;
    display: inline-block;
    padding: 0 5px;
    margin-left: 120px;
    margin-top: 7px;
}
header .slogan .text-2 span {
    position: relative;
    z-index: 10;
}
header .slogan .text-2:before {
    content: '';
    width: 100%;
    height: 13px;
    background: #7e1617;
    position: absolute;
    bottom: -5px;
    left: 0;
}


.boxes .box {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
}
.boxes .box .box--title {
    padding-top: 20px;
    font-size: 17px;
}
.boxes .box .box--title strong {
    font-weight: 500;
}

.right-car {    
    position: absolute;
    bottom: -70px;
    right: 0;
    max-width: 60%;
}

.main-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    font-size: 16px;
    line-height: 1.7em;
}
.main-text .img {
    flex: 0 0 504px;
}

.rent {
    position: relative;
}
.rent.row {
    position: relative;
    z-index: 10;
}
.rent-text {
    margin-top: 135px;
}
.rent-text h2 {
    font-size: 34px;
    font-weight: 800;
    color: #18171c;
    background-image: -webkit-linear-gradient(90deg, #18171c 0%, #717171 100%);
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
}
.rent-text h2, .rent-text li {
    text-transform: uppercase;
}
.rent-text .text-mark {
    color: #fff;
    background: #7e1617;
    padding: 12px 15px;
    line-height: 1em;
    font-weight: 300;
    font-size: 17px;
}
.rent ul {
    margin: 15px 0 0 0;
    padding: 0;
    list-style: none;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 1px;
}
.rent ul li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}
.rent ul li .price {
    position: relative;
    font-size: 22px;
    font-weight: 600;
}
.rent ul li .price:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 5px;
    background: #7e1617;
}
.rent ul li .price small {
    font-weight: 500;
    font-size: 17px;
}  
footer {
    background-image: url(../img/box-wynajem.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    height: 540px;
}
.copyrights {
    margin: -50px auto 30px auto;
}
.copyrights .logo {
    display: block;
    max-width: 190px;
    margin: 0 auto;
}
.rent ul li.promotion-row {
    position: relative;
    padding-top: 10px;
    align-items: start;
}
.rent ul li.promotion-row .period {
    font-size: 13px;
}
.promotion-label {
    position: absolute;
    padding: 2px 5px;
    line-height: 1em;
    font-size: 12px;
    color: #fff;
    background: #7e1617;
    top: -7px;
}

@media (max-width: 768px) {
    header {
        background-position: bottom center;
        background-size: cover;
        width: 100%;
        height: 300px;
        margin-bottom: 160px;
        padding-top: 40px;
    }
    header .header-logo img {
        max-width: 240px;
        margin: 0 auto;
    }
    header .slogan {
        top: 50%;
        margin-top: -35px;
        left: 15px;
        font-size: 13px;
        letter-spacing: 0px;
    }
    header .slogan .text-2 {
        padding: 0 3px;
        margin-left: 57px;
        margin-top: 0;
    }
    header .slogan .text-2:before {
        height: 8px;
        bottom: 1px;
    }
    header .addresses {
        display: flex;
        gap: 20px;
        justify-content: space-between;
        position: relative;
        margin-top: 0;
        bottom: -245px;
        color: #000;
    }
    header .addresses:before {
        display: none;
    }
    header .addresses .address-box {
        background-size: 23px auto;
        padding-left: 33px;
    }
    header .addresses .address-box h3 {
        font-size: 16px;
    }
    header .addresses .address-box a {
        color: #000;
    }
    header .addresses .address-box a:hover {
        color: #7e1617;
    }
    header .addresses .address-box a:before {
        display: none;
    }
    .right-car {
        position: absolute;
        bottom: -20px;
        right: 0;
        max-width: 73%;
    }
    .main-text {
        display: block;
        flex-wrap: wrap;
        margin-left: -15px;
        padding: 15px 25px;
        /* width: 100%; */
        width: calc(100% + 30px);
        background: #eee;
    }
    .main-text img {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    footer {
        background-image: url(../img/box-wynajem-xs.png);
        background-position: top left;
        background-repeat: no-repeat;
        background-size: 100%;
        height: auto;
        padding-top: 145px;
        margin-top: 25px;
    }
    footer .rent {
        /* background: #eee; */
        position: relative;
        left: -15px;
        width: calc(100% + 30px);
        background-size: auto center;
        margin-top: 30px;

        background: rgb(255,255,255);
        background: -moz-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 28%, rgba(238,238,238,1) 100%);
        background: -webkit-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 28%, rgba(238,238,238,1) 100%);
        background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 28%, rgba(238,238,238,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#eeeeee",GradientType=1);
    }
    .rent-text {
        margin-top: 0;
        padding: 15px;
    }
    .rent-text h2 {
        font-size: 26px;
    }
    .rent-text .text-mark {
        line-height: 1.4em;
        font-size: 16px;
    }
    .rent ul li .price small,
    .rent ul {
        font-size: 12px;
        letter-spacing: 0;
    }
    .rent ul li .price {
        font-size: 18px;
        white-space: nowrap;
    }
    .rent ul li .price:after {
        height: 3px;
        bottom: -1px;
    }
    .copyrights {
        margin: 40px auto 30px auto;
    }
    .rent ul li {
        flex-wrap: wrap;
        gap: 5px;
    }
    .rent ul li.promotion-row {
        margin-top: 25px;
        padding-top: 25px;
        border-top: 2px solid #b4b4b4;
    }
    .rent ul li .promotion-label {
        top: 6px;
    }
    .rent ul li.promotion-row .period {
        /* position: absolute;
        top: 35px; */
    }
    .mobile-footer-h2 {
        position: absolute;
        top: -140px;
        width: 50%;
        right: 13px;
        width: 175px;
        background-image: -webkit-linear-gradient(90deg, #18171c 0%, #18171c 100%)!important;
    }  
    .mobile-footer-h2 span {
        display: block;
        white-space: nowrap;
        text-align: center;
    }
    .mobile-footer-h2 span.text-1 {
        font-weight: 600;
        font-size: 31px;
        line-height: 1em;
    }
    .mobile-footer-h2 span.text-2 {
        font-size: 41px;
        font-weight: 600;
        line-height: 1em;
    }
    .mobile-footer-h2 span.text-3 {
        font-weight: 600;
        font-size: 20px;
    }
}
