.nissan-finance {
    background: #fff;
    padding-bottom: 50px;
}
.nissan-finance__wrapper {
    font-family: nissan300;
    max-width: 1520px;
    width: 100%;
    margin: 0 auto;
    font-family: nissan300;
    font-weight: normal;
}
.nissan-finance__wrapper h1 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    font-weight: bold;
}

.nissan-finance__image {
    position: relative;
}
.nissan-finance__image h1 {
    position: absolute;
    padding: 0 100px;
    top: 12%;
    left: 3%;
    font-size: 36px;
}
.nissan-finance__image img {
    width: 100%;
    max-height: calc(100vh - 50px);
}
.nissan-finance__image p {
    margin-top: 40px;
    width: 100%;
    font-size: 16px;
    max-width: 1500px;
    width: 100%;
    margin: 40px auto 0;
    padding: 0 15px;
}
.nissan-finance__loan-programs {
    margin-top: 80px;
    padding: 0 15px;
}
.nissan-finance__loan-programs h2 {
    font-size: 32px;
    font-weight: unset;
}
.nissan-finance__loan-programs p {
    font-size: 16px;
}
.nissan-finance__cars {
    padding: 0 15px;
    display: flex;
}
.nissan-finance__cars-item {
    text-align: center;
    margin: 10px;
    padding: 25px;
    border: solid 1px rgba(201, 200, 200, 0.541);
    transition: 0.3s;
}
.nissan-finance__cars-item:hover {
    box-shadow: 0 1px 11px 1px rgba(109, 106, 106, 0.514);
}
.nissan-finance__cars-item img {
    width: 100%;
}

.nissan-finance__tables {
    display: flex;
    justify-content: center;
    margin-top: 70px;
    padding: 0 5px;
}

.nissan-finance__tables-wrapper {
    flex-basis: 800px;
}

.nissan-finance__tables-item {
    border: solid 1px #000;
    margin-bottom: 30px;
}
.name-table {
    text-align: center;
    border-bottom: solid 1px #000;
}
.name-table p {
    font-weight: bold;
    font-family: nissan400;
    margin-bottom: 0;
    padding: 10px 0;
    font-size: 16px;
}
.row-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border-bottom: solid 1px #000;
}
.row-block:nth-child(2n + 2) {
    background-color: rgb(241, 241, 241);
}
.row:last-child {
    border-bottom: none;
}
.row-item:last-child {
    border-left: solid 1px #000;
    display: flex;
    justify-content: center;
}
.row-item:first-child {
    font-weight: bold;
    font-family: nissan400;
}
.row-item {
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0 15px;
}
.row-item ul {
    padding: 10px;
        flex-basis: 40%;
        margin-bottom: 0;
}
.row-item ul li {
    font-weight: 100;
    list-style-type: disc;
    margin-bottom: 6px;
}
.row-item ul li:last-child {
    margin-bottom: 0;
}
.nissan-finance__legal-information {
    padding: 0 15px;
    margin: 30px 0;
}
.nissan-finance__legal-information h3 {
    font-size: 32px;
    font-weight: unset;
}
.nissan-finance__legal-information p {
    font-size: 9px;
}
.row-block:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .nissan-finance__cars {
        justify-content: center;
        flex-wrap: wrap;
    }
    .nissan-finance__cars-item {
        max-width: 200px;
    }
    .nissan-finance__image h1 {
        font-size: 25px;
        top: 20%;
        left: 7%;
    }
    .nissan-finance__image {
        width: 100%;
    }
}

@media (max-width: 610px) {
    .nissan-finance__image h1 {
      padding: 0;
    }
}

@media (max-width: 478px) {
    .nissan-finance__cars {
        flex-wrap: wrap;
    }
    .nissan-finance__cars-item {
        max-width: 100%;
    }

    .nissan-finance__image h1{
            font-size: 18px;
            font-weight: bold;
    }
}


