/* Banner */

#banner {
    position: fixed;
    display: block;
    background-color: white;
    width: 100vw;
    top: 0; 
    z-index: 3;
}
#logo {
    width: 100px;
    display: inline;
    float: left;
    position: absolute;
}
#logoImage {
    width: 100%;
}

#titleDiv {
    width: 40%;
    margin: auto;
    text-align: center;
    font-family: "Pinyon Script", cursive;
    display: inline;
}
#navBar {
    background-color: #282d69;
    height: 63px;
}
ul {
    padding-left: 0;
    margin-top: -1.5px;
    z-index: 1;
}
li {
    display: inline;
    font-size: 20px;
    margin: auto;
    float: left;
}
a {
    display: flex;
    padding: 20px;
    padding-right: 30px;
    transition: padding 0.4s;
    text-decoration: none;
    z-index: 2;
    color: #bbbdd9;

}
.regular:hover{
    background-image: url(https://cs.wheatoncollege.edu/~bradley/project3/images/fordExplorerMenu.png);
    animation: regularPosition 10s linear forwards;
    background-repeat: no-repeat;
    background-size: 60px;
    padding: 20px 30px 20px 70px;
    text-decoration: none;
    background-color: #4950b0;
    color: #acb2ff;
}
#mustang:hover{
    background-image: url(https://cs.wheatoncollege.edu/~bradley/project3/images/fordMustangMenu.png);
    animation: backgroundPosition 4s linear forwards;
    background-repeat: no-repeat;
    background-size: 60px;
    padding: 20px 30px 20px 70px;
    text-decoration: none;
    background-color: #4950b0;
    color: #acb2ff;
    
}
#truck:hover {
    background-image: url(https://cs.wheatoncollege.edu/~bradley/project3/images/fordTruck.png);
    animation: backgroundPosition 10s linear forwards;
    background-repeat: no-repeat;
    background-size: 60px;
    padding: 20px 30px 20px 70px;
    text-decoration: none;
    background-color: #4950b0;
    color: #acb2ff;
}
@keyframes regularPosition {
    from {
        background-position: -50px 30px;
    } 
    
    to {
        background-position: 1000px 42px;
    }
}
@keyframes backgroundPosition {
    from {
        background-position: -50px 42px;
    } 
    
    to {
        background-position: 1000px 42px;
    }
}

/* Body */

body {
    width: 98%;
    margin: auto;
}
.padding {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 3vw;
    margin: 0;
}
.main {
    height: 100%;
    margin-top: 140px;
    background-color: white;
}
.headingColor {
    background-color: #7a81e1;
}
.features {
    width: 45%;
    padding: 2%;
    font-size: 120%;
}
.steering {
    padding-right: 3%;
}
.leftText {
    float: left;
    display: inline;
}
.rightText {
    float: right;  
}
.central {
    width: 100%;
}
.textFloat {
    display: block;
    float: left;
    clear: both;
    width: 97%;
}
.darkHorse {
    float: right;
}
h2 {
    margin: 0;
}

/* Home Page Special */

#fjordSpin {
    width: 10%;
    animation: fjordSpin 6s forwards;
    top: 20px;
    left: 47%;
    position: relative;
    z-index: 2;
}
.homeCenter {
    width: 100%;
}
.block {
    display: grid;
}
.block > * {
    grid-area: 1 / 1;
}

@keyframes fjordSpin {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(365deg) scale(1.7);
    }
}
.home {
    background-color: white;
    height: 100%;
}
.homeFeatures {
    width: 95%;
    padding: 2%;
    font-size: 120%;
    
}

/*Find Deals */

.leftDeals {
    display: inline;
    float: left;
}
.rightDeals {
    display: inline;
    float: right;
}
.alignItems {
    align-items: center;
    display: flex;
}
.backTop {
    margin-left: 35%;
    width: 40%;
    text-align: center;
    padding: 20px;
    background-color: #282d69;
}