body{
    padding: 0;
    margin: 0;
    background: linear-gradient(to bottom, black, #5d5d5d);
}

.section01ADetails{
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: 16px;
    font-weight: normal;
    width: 80%;
    padding-left: 1%;
}

.pageImage{
    padding: 0;
    margin: 0;
    z-index: 0;
    width: 100%;
    height: 550px;
    background-image:url(https://journeymotors.co.za/media/images/finance.png);
    background-repeat:no-repeat;
    background-size:cover;
    background-attachment:fixed;
    background-position: top;
}

.finance {
    width: 100%;
    font-family: verdana;
    font-size: 50px;
    font-weight: bold;
    color: #04b4ec;
    display: flex;
    justify-content: center;
    height: 550px;
    align-items: center;
    position: absolute;
    z-index: 2;
}

.imageOverlay{
    height: 550px;
    width: 100%;
    background-color: #000;
    opacity: 50%;
    position: absolute;
    z-index: 1;

}
.section01{
    display: flex;
    justify-content: center;
    align-items: start;
    background: linear-gradient(to bottom, #5d5d5d, #000);
}

.section01A{
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 1%;
}

.section01B{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 35%;
    font-family: verdana;
    color: #000;
    font-weight: bold;
    font-size: 32px;
    margin-top: 5%;
}

.line{
    height: 2.5px;
    background-color: #04b4ec;
    margin: 20px 0;
    width: 100%;
}

.buttonContainer{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    margin: 4% 0;
}

button{
    background-color: #000;
    border: 2px solid #04b4ec;
    font-family: verdana;
    font-weight: bold;
    font-size: 18px;
    padding: 1% 2%;
    border-radius: 10px;
}

button a{
    color: #fff;
    text-decoration: none;
}

.contact:hover, .sellYourCar:hover{
    border-color: #FFF;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2); /* increase size */
    }
    100% {
      transform: scale(1);
    }
}

button:hover a{
    color: #04b4ec;
}

.elize{
    border: 2px solid #04b4ec;
    border-radius: 10px;
    width: 100%;
}

.section01ADetails a{
    margin: 10px 0;
    margin-left: 2%;
    text-decoration: none;
    color: #000;
}

.section01ADetails a:hover{
    color: #04b4ec;
}

@media (max-width: 767px) {
    /* CSS rules for mobile devices */
    .section01{
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }

    .section01A{
        width: 94%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding: 1%;
        margin: 0;
    }
    
    .section01B{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        width: 94%;
        font-family: verdana;
        color: #000;
        font-weight: bold;
        font-size: 26px;
        margin: 0;
        margin-top: 5%;
    }
    .elize{
        width: 80%;
    }

    button{
        font-size: 18px;
        padding: 2% 2%;
        border-radius: 10px;
    }
  }

  @media (min-width: 768px) and (max-width: 991px) {
    /* CSS rules for tablets and small laptops */
    .elize{
        width: 100%;
    }
    .section01{
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }

    .section01A{
        width: 94%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding: 1%;
        margin: 0;
    }
    
    .section01B{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        width: 94%;
        font-family: verdana;
        color: #000;
        font-weight: bold;
        font-size: 26px;
        margin: 0;
        margin-top: 5%;
    }

    button{
        font-size: 18px;
        padding: 2% 2%;
        border-radius: 10px;
    }
  }

  @media (min-width: 992px) and (max-width: 1199px) {
    /* CSS rules for medium-sized laptops and desktops */
    .elize{
        width: 100%;
    }

    .buttonContainer{
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        margin: 4% 0;
    }
    
    button{
        font-size: 18px;
        padding: 1% 2%;
        border-radius: 10px;
    }
    
    
  }
  @media (min-width: 1200px) {
    /* CSS rules for large desktops and high-resolution displays */
    
  }