body{
    padding: 0;
    margin: 0;
    background-color: rgb(235, 235, 235);
}

/* ================================================== */
/* header                                             */
/* ================================================== */

header{
    width: 100%;
    height: 600px;
    background-image: url('images/aventador-novitec.jpg');
    background-position: center;
}

/* ================================================== */
/* nav animation                                      */
/* ================================================== */
@keyframes zoom-in{
    0%{width: 0px; height: 0px; color: #BF1310}
    100%{display: inline-block; color: #BF1310; font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 800; text-decoration: none; text-align: center; width: 21%;}
}
/* nav */
nav{
    width: 80%;
    margin: auto;
    padding-top: 20px;
}
nav a{
    display: inline-block;
    color: #BF1310;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    width: 21%;
    letter-spacing: 0.1em;
    animation-name: zoom-in;
    animation-duration: 2s;
}
nav a.active{
    border-bottom: 1px solid #BF1310 ;
}
nav a:hover{
    color: #ffffff;
    border-bottom: 1px solid #ffffff ;
}


/* ================================================== */
/* auto4sale animation                                */
/* ================================================== */
@keyframes text-in{
    0%{font-size: 0px;}
    100%{font-size: 70px;}
}
/* auto4sale */
#auto4sale{
    position: absolute;
    top: 90px;
    color: #ffffff;
    padding-left: 20px;
}
#auto4sale h1{
    letter-spacing: 0.05em;
    font-size: 70px;
    font-family: 'Poppins', sans-serif;
    animation-name: text-in;
    animation-duration: 3s;
}


/* ================================================== */
/* brand animation                                    */
/* ================================================== */
@keyframes text2-in{
    0%{font-size: 0px;}
    100%{font-size: 30px;}
}
/* brand */
#brand-text{
    position: absolute;
    top: 250px;
    color: #ffffff;
    padding-left: 20px;
    font-family: 'Poppins', sans-serif;
}
#brand-text h3{
    font-size: 30px;
    animation-name: text2-in;
    animation-duration: 3s;
}

/* ================================================== */
/* store animation                                    */
/* ================================================== */
@keyframes border-in{
    0%{width: 0px; height: 0px; font-size: 0px;}
    100%{width: 300px; height: 50px; font-size: 25px;}
}
/* store */
#store{
    position: absolute;
    top: 510px;
    left: 150px;
    border: 3px solid #ffffff;
    width: 300px;
    height: 50px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-size: 25px;
    animation-name: border-in;
    animation-duration: 3s;
}
#store h3{
    margin-top: 5px;
}
#store:hover{
     background: #ffffff;
     color: black;
}

/* collection */
#collection{
    position: absolute;
    top: 510px;
    left: 500px;
    border: 3px solid #ffffff;
    width: 300px;
    height: 50px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-size: 25px;
    animation-name: border-in;
    animation-duration: 3s;
}
#collection h3{
    margin-top: 5px;
}
#collection:hover{
     background: #ffffff;
     color: black;
}




/* ================================================== */
/* brands                                             */
/* ================================================== */
#brand-partnership{
    width: 100%;
    padding-top: 50px;
    height: 350px;
}

#brand{
    width: 50%;
    float: left;
    border-right: 2px solid #BF1310;
}
#brand h2{
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 35px;
    color: #2F3944;
}
#brand img{
    padding: 20px;
}
#brand img:hover{
    transform: scale(2);
}

#partnership{
    width: 40%;
    float: right;
}
#partnership h2{
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 35px;
    color: #2F3944;
}
#partnership img{
    padding: 20px;
}
#partnership img:hover{
    transform: scale(2);
}

/* ================================================== */
/* featured vehicle                                   */
/* ================================================== */

#featured-vehicle{
    display: grid;
    width: 100%;
    height: 800px;
    clear: both;
    font-family: 'Poppins', sans-serif;
    grid-template-rows: 70px 700px;
    grid-template-columns: 32% 30% 32%;
    grid-template-areas: 'title-bar title-bar title-bar'
                         'vehicle1 vehicle2 vehicle2';
    grid-gap: 40px;
}

#featured-vehicle h1{
    color: #2F3944;
    text-align: center;
    padding-top: 0px;
    grid-area: title-bar;
    width: 100%;
}

#vehicle1{
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.5); 
    padding: 10px;
    margin-left: 40px;
}
#vehicle1 h2{
    text-align: center;
}
.nature{
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    height: 320px;
}
#vehicle1 h3{
    font-size: 23px;
    color:#910806;
}

#vehicle2{
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.5); 
    padding: 10px;
}
#vehicle2 h2{
    text-align: center;
}
.nature2{
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    height: 320px;
}
#vehicle2 h3{
    font-size: 23px;
    color:#910806;
}

#vehicle3{
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.5); 
    padding: 10px;
    margin-left: 40px;
}
#vehicle3 h2{
    text-align: center;
}
.nature3{
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    height: 320px;
}
#vehicle3 h3{
    font-size: 23px;
    color:#910806;
}

/* ================================================== */
/* instore vehicle                                   */
/* ================================================== */

#instore-vehicle{
    display: grid;
    width: 100%;
    height: 1500px;
    clear: both;
    font-family: 'Poppins', sans-serif;
    grid-template-rows: 70px 700px 700px;
    grid-template-columns: 32% 32% 32%;
    grid-template-areas: 'title-bar title-bar title-bar'
                         'vehicle1 vehicle2 vehicle2';
    grid-gap: 20px;
}

#instore-vehicle h1{
    color: #2F3944;
    text-align: center;
    padding-top: 0px;
    grid-area: title-bar;
    width: 100%;
}
.vehicles h3{
    font-size: 23px;
    color:#910806;
}
.vehicles h2{
    text-align: center;
}

.vehicles{
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.9), 0 6px 20px 0 rgba(0, 0, 0, 0.9); 
    padding: 10px;
    margin-left: 40px;
}

.nature{
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    height: 320px;
}

.nature2{
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    height: 320px;
}

.nature3{
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    height: 320px;
}

.nature4{
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    height: 320px;
}

.nature5{
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    height: 320px;
}

.nature6{
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    height: 320px;
}

#instore-vehicle table{
    font-size: 13px;
}


/* ================================================== */
/* footer                                             */
/* ================================================== */

#footer{
    background-color: #1e1b1a;
    width: 100%;
    height: 155px;
    margin-top: 60px;
}
#box{
    float: right;
    width: 30%;
    padding-left: 20px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

#copyright{
    width: 60%;
    float: left;
    text-align: center;
    padding-top: 55px;
    clear: both;
    font-family: 'Poppins', sans-serif;
}

#copyright p{
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
}




/* ================================================== */
/* responsive                                         */
/* ================================================== */
@media screen and (max-width: 1500px) {
    #featured-vehicle{
        height: 700px;
    }
    #vehicle1, #vehicle2, #vehicle3{
        height: 550px;
    }
    #vehicle1 table, #vehicle2 table, #vehicle3 table{
        font-size: 10px;
    }
    #vehicle1 h2, #vehicle2 h2, #vehicle3 h3{
        font-size: 25px;
    }
    #vehicle1 img, #vehicle2 img, #vehicle3 img{
        height: 230px;
    }
    
  }

  @media screen and (max-width: 1200px){
    #vehicle1, #vehicle2, #vehicle3{
        height: 500px;
    }
    #vehicle1 table, #vehicle2 table, #vehicle3 table{
        font-size: 10px;
    }
    #vehicle1 h2, #vehicle2 h2, #vehicle3 h2{
        font-size: 20px;
    }
    #vehicle1 h3, #vehicle2 h3, #vehicle3 h3{
        font-size: 17px;
    }

    #vehicle1 img, #vehicle2 img, #vehicle3 img{
        height: 200px;
    }
  }

  @media screen and (max-width: 800px){
    header{
        width: 100%;
        height: 250px;
        background-image: url('images/aventador-novitec.jpg');
        background-position: center;
    }
/* ================================================== */
/* nav animation                                      */
/* ================================================== */
@keyframes zoom-in{
    0%{width: 0px; height: 0px; color: #BF1310}
    100%{display: inline-block; color: #BF1310; font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 500; text-decoration: none; text-align: center; width: 19%;}
}
      /* nav */
nav{
    width: 100%;
    margin: auto;
    padding-top: 20px;
}
nav a{
    display: inline-block;
    color: #BF1310;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    width: 19%;
    animation-name: zoom-in;
    animation-duration: 2s;
}
nav a.active{
    border-bottom: 1px solid #BF1310 ;
}

/* ================================================== */
/* auto4sale animation                                */
/* ================================================== */
@keyframes text-in{
    0%{font-size: 0px;}
    100%{font-size: 30px;}
}
/* auto4sale */
#auto4sale{
    position: absolute;
    top: 30px;
    color: #ffffff;
    padding-left: 20px;
}
#auto4sale h1{
    font-size: 30px;
    font-family: 'Poppins', sans-serif;
    animation-name: text-in;
    animation-duration: 3s;
}

/* ================================================== */
/* brand animation                                    */
/* ================================================== */
@keyframes text2-in{
    0%{font-size: 0px;}
    100%{font-size: 15px;}
}
/* brand */
#brand-text{
    position: absolute;
    top: 90px;
    color: #ffffff;
    padding-left: 20px;
    font-family: 'Poppins', sans-serif;
}
#brand-text h3{
    font-size: 15px;
    animation-name: text2-in;
    animation-duration: 3s;
}

/* ================================================== */
/* store animation                                    */
/* ================================================== */
@keyframes border-in{
    0%{width: 0px; height: 0px; font-size: 0px;}
    100%{width: 80px; height: 20px; font-size: 10px;}
}
/* store */
#store{
    position: absolute;
    top: 210px;
    left: 10px;
    border: 3px solid #ffffff;
    width: 80px;
    height: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-size: 10px;
    animation-name: border-in;
    animation-duration: 3s;
}
#store h3{
    margin-top: 1px;
}
#store:hover{
     background: #ffffff;
     color: black;
}

/* collection */
#collection{
    position: absolute;
    top: 210px;
    left: 100px;
    border: 3px solid #ffffff;
    width: 80px;
    height: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-size: 10px;
    animation-name: border-in;
    animation-duration: 3s;
}
#collection h3{
    margin-top: 1px;
}
#collection:hover{
     background: #ffffff;
     color: black;
}




    #featured-vehicle{
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 40px 580px 580px 580px;
        grid-template-areas: 'featured-text'
                          'vehicle1'
                          'vehicle2'
                          'vehicle3';
        height: 1850px;
        width: 100%;
    }
    #featured-vehicle h1{
        grid-area: featured-text;
        width: 90%;
        margin: auto;
        text-align: center;
    }
   #vehicle1{
       grid-area: vehicle1;
       width: 90%;
       margin: auto;
   }
   #vehicle2{
       grid-area: vehicle2;
       width: 90%;
       margin: auto;
   }
   #vehicle3{
       grid-area: vehicle3;
       width: 90%;
       margin: auto;
   }

    #vehicle1 table, #vehicle2 table, #vehicle3 table{
        font-size: 10px;
    }
    #vehicle1 h2, #vehicle2 h2, #vehicle3 h2{
        font-size: 20px;
    }
    #vehicle1 h3, #vehicle2 h3, #vehicle3 h3{
        font-size: 17px;
    }

    #vehicle1 img, #vehicle2 img, #vehicle3 img{
        height: 200px;
    }

    
/* ================================================== */
/* footer                                             */
/* ================================================== */

#footer{
    background-color: #1e1b1a;
    width: 100%;
    height: 155px;
    margin-top: 60px;
}
#box{
    float: right;
    width: 30%;
    padding-left: 20px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
}

#copyright{
    width: 60%;
    float: left;
    padding-top: 55px;
    clear: both;
    font-family: 'Poppins', sans-serif;
}

#copyright p{
    font-size: 7px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
}
  }
