* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-top: 280px;
    background: #F4F7FA;
    color: #101D35;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
}

.banner-image {
    height: 180px;
    position: relative;
    background: #0878C9;
}

.banner-background {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#fjord-logo {
    width: 120px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -60px;
    margin-top: -45px;
    animation: logoMove 4s forwards;
}

@keyframes logoMove {
    0% {
        transform: translate(-25px, 20px) scale(.1);
    }

    25% {
        transform: translate(25px, 5px) scale(.35);
    }

    50% {
        transform: translate(-20px, 15px) scale(.6);
    }

    75% {
        transform: translate(15px, 8px) scale(.9);
    }

    100% {
        transform: translate(0, 10px) scale(1.25);
    }
}

.banner {
    height: 75px;
    background: #101D35;
    color: white;
    text-align: center;
    padding: 8px;
}

.banner h1 {
    margin: 0;
    font-size: 36px;
}

nav {
    background: #0878C9;
    text-align: center;
    padding: 10px;
}

nav a {
    display: inline-block;
    width: 120px;
    margin: 5px 4px;
    padding: 8px 5px;
    background: #F2A900;
    color: #101D35;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: .2s;
    text-align: center;
}

nav a:hover {
    background: #101D35;
    color: white;
    transform: scale(1.15);
}

main {
    width: 90%;
    max-width: 1150px;
    margin: 35px auto;
}

.container {
    background: white;
    padding: 22px;
    margin-bottom: 35px;
    overflow: hidden;
}

.section-title {
    background: #101D35;
    color: white;
    padding: 10px;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 25px;
}

.image {
    width: 35%;
    max-width: 390px;
    border-radius: 10px;
}

.left {
    float: left;
    margin-right: 25px;
    margin-bottom: 10px;
}

.right {
    float: right;
    margin-left: 25px;
    margin-bottom: 10px;
}

p {
    font-size: 19px;
    line-height: 1.6;
}

.clear {
    clear: both;
}

.vehicles {
    display: flex;
    justify-content: space-around;
    gap: 18px;
}

.vehicle {
    width: 31%;
    text-align: center;
}

.vehicle img {
    width: 82%;
    max-width: 240px;
    border-radius: 8px;
}

.vehicle h2 {
    font-size: 23px;
}

.price {
    color: #0878C9;
    font-size: 21px;
    font-weight: bold;
}

.vehicle p {
    font-size: 18px;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.deals {
    display: flex;
    gap: 25px;
}

.deal {
    width: 50%;
    text-align: center;
}

.deal img {
    width: 88%;
    border-radius: 9px;
}

.deal h2 {
    color: #0878C9;
    font-size: 27px;
}

.deal b {
    font-size: 18px;
}

.deal a {
    display: inline-block;
    width: 120px;
    padding: 8px 5px;
    background: #F2A900;
    color: #101D35;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: .2s;
    text-align: center;
}

.deal a:hover {
    background: #101D35;
    color: white;
    transform: scale(1.15);
}

.insurance {
    overflow: hidden;
}

.insurance img {
    width: 30%;
    max-width: 300px;
    border-radius: 8px;
    float: left;
    margin-right: 25px;
    margin-bottom: 10px;
}

.insurance h2 {
    margin-top: 0;
    color: #0878C9;
    font-size: 27px;
}

.insurance b {
    font-size: 18px;
}

.insurance-options {
    width: 96%;
    margin: auto;
}

.option {
    border: 2px solid #DCEEFF;
    padding: 16px;
    margin-bottom: 18px;
}

.option h2 {
    color: #0878C9;
}

.option .price {
    color: #0878C9;
    font-weight: bold;
}

strong {
    color: #0878C9;
}

.back-top {
    text-align: center;
    margin: 38px;
}

.back-top a {
    display: inline-block;
    width: 120px;
    padding: 8px 5px;
    background: #F2A900;
    color: #101D35;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: .2s;
    text-align: center;
}

.back-top a:hover {
    background: #101D35;
    color: white;
}

@media screen and (max-width: 850px) {
    body {
        padding-top: 330px;
    }

    main {
        width: 92%;
    }

    .vehicles {
        gap: 12px;
    }

    .deals {
        gap: 15px;
    }

    nav a {
        font-size: 16px;
    }

    .image {
        width: 35%;
        max-width: 330px;
    }

    p {
        font-size: 18px;
    }

    .section-title {
        font-size: 26px;
    }
}

@media screen and (max-width: 600px) {
    body {
        padding-top: 390px;
    }

    .banner-image {
        height: 160px;
    }

    nav a {
        font-size: 15px;
    }

    main {
        width: 94%;
    }

    .vehicles {
        display: block;
    }

    .vehicle {
        width: 100%;
        margin-bottom: 30px;
    }

    .deals {
        display: block;
    }

    .deal {
        width: 100%;
        margin-bottom: 30px;
    }

    .deal img {
        width: 100%;
    }

    .image {
        width: 100%;
        max-width: 400px;
        float: none;
        margin: 0 auto 15px auto;
        display: block;
    }

    .insurance img {
        width: 100%;
        max-width: 300px;
        float: none;
        margin: 0 auto 15px auto;
        display: block;
    }

    p {
        font-size: 17px;
    }

    .section-title {
        font-size: 24px;
    }

    .container {
        padding: 18px;
    }
}
