*{
    padding: 0px;
    text-decoration: none;
    box-sizing: border-box;
}
body{
    background-color:white;
    
}
nav{
    background: linear-gradient(to right,goldenrod, gold);
    height: 100px;
    width: 100%;
    margin-top: 20px;
    border: 2px solid black;
    border-radius: 15px;
}
label.logo{
    font-size: 35px;
    line-height: 80px;
    padding: 0 100px;
    font-weight: bold;
   
}
nav ul{
    float: right;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
    padding-right: 20px;
}
nav ul li a{
    color: black;
    font-size: 20px;
    border-radius: 5px;
    padding : 7px 7px;
    text-decoration: none;

}
a.a1:hover{
    border: 2px solid black;
    background-color: white;
    transition: 2s;
}
a.a2:hover{
    border: 2px solid black;
    background-color: white;
    transition: 2s;
}
a.a3:hover{
    border: 2px solid black;
    background-color: white;
    transition: 2s;
}
a.a4:hover{
    border: 2px solid black;
    background-color: white;
    transition: 2s;
}
a.a5:hover{
    border: 2px solid black;
    background-color: white;
    transition: 2s;
}
.check{
    font-size: 30px;
    float: right;
    line-height: 80px;
    margin-right: 50px;
    cursor: pointer;
    display: none;
}
#ck{
    display: none;
}
#logo{
    margin-top: 50px;
    height: 380px;
    width: 80%;
}
div.slogan{
    background-color: burlywood;
    width: 80%;
    height: auto;
    border: 2px solid black;
    border-radius: 15px;
    margin-top: 10px;
    padding: 30px;
    font-size: 30px;
}
#images{
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 20px;
    padding: 20px;
}
#img1 h1, #img2 h1{
    font-size: 30px;
}
#about{
    margin-top: 40px;
    padding: 10px;
    font-size: 30px;
    border: 20px;
    text-align: center;
}
#b1, #b2, #b3{
    color: darkgoldenrod;
    font-size: 40px;
}
#services{
    width: 100%;
}
#svr1{
    height: 80px;
    width: 100%;
    background-color: rgb(221, 162, 11);
    padding: 30px;
    text-align: center;
    border: 2px solid black;
    border-radius: 15px;
    padding: 5px;
}
#heading{
    height: 120px;
    width: 100%;
    text-align: center;
}
#svr2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 equal columns */
    align-items: start;
    text-align: center;
    height: auto;
}
.column img {
    width: 100%;
    max-width: 300px;
    height: 250px;
    margin: 10px auto;
    display: block;
}
#center-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    height: auto;
    
}
#center-column li {
    font-size: 26px;
    margin: 12px 0;
    text-align: left;
    line-height: 1.4;
}
#center-column
{
    background-color: rgb(253, 235, 213);
    padding: 20px;
}
#warrenty{
    text-align: center;
    height: auto;
    width: auto;
    background-color: red;
    border: 2px solid black;
    border-radius: 20px;
    color: white;
    margin: 20px;
    padding: 10px;
}
#brands img{
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}
#parts img{
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.carousel-inner img {
  height: 400px;
  object-fit: cover;
  border-radius: 40px;
  width: 70%;       
  margin: 0 auto;   
  display: block;  
}


#navigation{
    text-align: right;
    font-size: 20px;
}
#navigation button{
    background-color: navajowhite;
    height: auto;
    width: auto;
    border-radius: 5px;
    border-color: black;
    font-size: 20px;
}
#contact{
    height: auto;
    width: 100%;
    background-color: goldenrod;
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 20px;
    border: 2px solid black;
    border-radius: 20px;
    box-sizing: border-box;
}

@media screen and (max-width: 1155px)
{
    label.logo{
        font-size: 30px;
        padding-left: 50px;
    }
    nav ul li a{
        font-size: 17px;
    }
    #svr2{
        font-size: 20;
    }
    .column img {
        width: 100%;
        max-width: 300px;
        height: 300px;
        margin: 10px auto;
        display: block;
    }
    #center-column ul {
        list-style: none;
        text-align: left;
        height: 600px;
    }
    #center-column li{
        font-size: 22px;
    }
}

@media (max-width: 1005px) 
{
  #contact {
    grid-template-columns: 1fr;  /* stack vertically */
    text-align: center;
  }
}

@media screen and (max-width: 1002px)
{
    .check{
        display: block;
        font-size: 20px;
    }   
    label.logo{
        font-size: 30px;
    }
    nav ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background-color: rgb(200, 146, 7);
        top: 120px;
        left: -100%;
        text-align: center;
        transition:  1s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    a.a1:hover{
    border: 2px solid black;
    background-color: white;
    transition: 2s;
    }
    a.a2:hover{
        border: 2px solid black;
        background-color: white;
        transition: 2s;
    }
    a.a3:hover{
        border: 2px solid black;
        background-color: white;
        transition: 2s;
    }
    a.a4:hover{
        border: 2px solid black;
        background-color: white;
        transition: 2s;
    }
    a.a5:hover{
        border: 2px solid black;
        background-color: white;
        transition: 2s;
    }
    #ck:checked~ul{
        left: 0;
    }
    div.slogan{
        font-size: 20px;
    }
    #warrenty{
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 850px)
{
    #logo{
        font-size: 20px;
    }
    #img1 h1, #img2 h1
    {
    font-size: 25px;
    }
    #svr2{
        font-size: 25px;
    }   
    .column img {
        width: 100%;
        max-width: 300px;
        height: 250px;
        margin: 10px auto;
        display: block;
    }
    #center-column ul {
        list-style: none;
        text-align: left;
        height: 500px;
    }
    #center-column li{
        font-size: 20px;
    }
}


@media screen and (max-width: 750px)
{
    #logo{
        font-size: 20px;
    }
    #b1, #b2, #b3{
        font-size: 20px;
    }
    #about{
        font-size: 19px;
    }
    #img1 h1, #img2 h1
    {
    font-size: 25px;
    }
    #services{
        height: 900px;
    }
    #ais
    {
        height: 200px;
        width: 200px;
    }
    .column img {
        width: 100%;
        max-width: 300px;
        height: 200px;
        margin: 10px auto;
        display: block;
    }
    #center-column ul {
        list-style: none;
        text-align: left;
        height: 400px;
    }
    #center-column li{
        font-size: 17px;
        text-align: center; 
    }
    #contact {
    padding: 15px;
    border-radius: 15px;
  }
}

@media screen and (max-width: 650px)
{
    #logo{
        font-size: 20px;
    }
    #b1, #b2, #b3{
        font-size: 18px;
    }
    #about{
        font-size: 15px;
    }
    #img1 h1, #img2 h1
    {
        font-size: 25px;
    }
    #services{
        height: 950px;
    }
    #svr2{
        display: block;
    }
    .column img {
        width: 100%;
        max-width: 300px;
        height: 200px;
        margin: 10px auto;
        display: block;
    }
    #center-column ul {
        list-style: none;
        text-align: left;
        height: 400px;
    }
    #center-column li{
        font-size: 20px;
        text-align: center;
    }
    #navigation button{
        font-size: 15px;
    }
}
@media screen and (max-width: 617px)
{
    .check{
        display: block;
    }   
    label.logo{
        font-size: 20px;
    }
    nav ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background-color:darkgoldenrod;
        top: 120px;
        left: -100%;
        text-align: center;
        transition:  1s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 15px;
    }
    #b1, #b2, #b3{
    font-size: 16px;
    }
    #about{
        font-size: 15px;
    }
    div.slogan{
        font-size: 20px;
    }
    #svr2{
        font-size: 25px;
    } 
    #fix{
        height: 150px;
        width: 80%;
    }
    #img1,#img2
    {
        height: 200px;
        width: 300;
        padding: 5px;
    }
    #ais,#saint{
        height: 200px;
        width: 200px;
    }
    #img1 h1, #img2 h1
    {
    font-size: 20px;
    }
    #services{
        height: 880px;
    }
    #center-column li{
        text-align: center;
    }
    #navigation button{
        font-size: 15px;
    }
}

@media screen and (max-width: 520px)
{
    #logo{
        font-size: 20px;
    }
    #img1,#img2{
        height: 300px;
        width: 100%;
    }
    #b1, #b2, #b3{
    font-size: 18px;
    }
    #about{
        font-size: 15px;
    }
    #images{
        grid-template-columns: 100%;
    }
    #services{
        height: 900px;
    }
    #center-column li{
        text-align: center;
    }
    #warrenty{
        font-size: 10px;
    }
    .shop, .job{
    width: 400px;
    height: 300px;
    }
    #navigation button{
        font-size: 15px;
    }
    #contact{
        font-size: 14px;
    }
}

@media (max-width: 440px) {

    #center-column li{
        font-size: 18px;
    }
    #contact {
        grid-template-columns: 1fr;
        padding: 10px;
        border: none;
        border-radius: 0;
    }

    #contact * {
        font-size: 14px;
        word-wrap: break-word;
    }
}

@media screen and (max-width: 400px) {
    label.logo {
        font-size: 20px;
        padding: 0 10px;
    }
    #about{
        font-size: 15px;
    }
    div.slogan{
        font-size: 15px;
    }
    #services
    {
        height: 850px;
    }
    #svr2{
        font-size: 15px;
    } 
    #fix{
        height: 200px;
        width: 80%;
    }
    #img1,#img2{
        height: 250px;
        width: 100%;
        padding: 5px;
    }
    #images{
        grid-template-columns: 100%;
        
    }
    #ais, #saint{
        height: 150px;
        width: 150px;
    }
    #warrenty{
        font-size: 12px;
    }
    #center-column li{
        text-align: center;
    }
    #brands img{
        height: auto;
    }
    .shop, .job{
    width: 300px;
    height: 300px;
    }
    #contact{     
        display: block;
        height: auto;
        width: auto;
        font-size: 12px;
    }
}
@media screen and (max-width: 358px)
{
    label.logo{
        font-size: 20px;
    }
    div.slogan{
        font-size: 12px;
    }
    #about{
        font-size: 15px;
    }
    #services
    {
        height: 500px;
    }
    #svr1{
        font-size: 15px;
    }
    #svr2{
        font-size: 18px;
    } 
    #fix{
        margin-top: 100px;
        height: 150px;
        width: 80%;
    }
    #img1, #img2 {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    #images{
        grid-template-columns: 100%;
        width: 100%;
    }
    #warrenty{
        /*height: 190px;*/
        font-size: 12px;
    }
    #brands img{
        height: auto;
    }
    #contact{
        display: block;
        height: auto;
        width: auto;
    }
}