.html{
  display: flex;
}

.body{
  display: flex;
  height: 100vh;
}

/*********************/
.login-container {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
}
.logIn{
  display: block;
  flex: column;
  width: 400px;
  height: 800px;
  margin: auto;margin-top: 20px;
  background: white;
  border-radius: 3px;
  justify-content: center;
}
.Dash{
  display: flex;
  align-items: center;
justify-content: center;
margin: auto;
}

.card{
  justify-content: center;
  border-radius: 5px;

}

.menuNav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #333;
  overflow: hidden;
}

.menuNav a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.menuNav a:hover {
  background-color: #ddd;
  color: black;
}



.footnavbar {
  background-color: black;
  overflow: hidden;
  position: fixed;
  bottom: 0;
  width: 100%;
  justify-content: center;
  margin-left: auto;
}
.freeStkDiv{
  background-color: blue;
  justify-content: center;
}
/* Style the links inside the navigation bar */
.footnavbar a {
  float: middle;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  margin: auto;
  text-decoration: none;
  font-size: 17px;
}
/* Change the color of links on hover */
.footnavbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.footnavbar a.active {
  background-color: blue;
  color: white;
}
/*********CSS DATA TABLE AND INPUT FORM*****************/

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: whitesmoke;
}


.form-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 600px;
  margin-bottom: 20px;
}
.label {
  margin-bottom: 5px;
  margin-top: 5px;
}

.table-container {
  background-color: black;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1000px;
  margin-bottom: 20px;
}
.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  background-color: black;
  color:white;
}
.table, th, td {
  border: 1px solid #ccc;
}
.th, td {
  padding: 8px;
  text-align: left;
}
.delete-button {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}
.delete-button:hover {
  background-color: #c82333;
}

@media (max-width: 600px) {
  th, td {
      padding: 5px;
      font-size: 14px;
  }

  .form-container, .table-container {
      width: 100%;
      padding: 10px;
  }

  input, button {
      max-width: 100%;
  }
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4CAF50; /* Green background */
  color: white; /* White text */
  text-align: center; /* Centered text */
  text-decoration: none; /* No underline */
  border-radius: 25px; /* Rounded corners */
  transition: background-color 0.3s; /* Smooth transition */
}

.btn:hover {
  background-color: #45a049; /* Darker green on hover */
}
/*********SlideShow CSS***********/
.slideshow-container {
  position: relative;
  background-color: black;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  height: 60vh;
  max-height: 500px;
}

.slideshow-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  border: 3px solid rgba(255,255,255,0.3);
}

.mySlides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  z-index: 2;
  text-align: center;
  min-width: 200px;
}

.mySlides {
  display: none;
}

.img{
    width: 80px;
  border-radius: 10px; /* Optional: for rounded corners */
}

.img1 {
  width: 80px;
  border-radius: 10px; /* Optional: for rounded corners */
}

.fade {
  animation: fade 2s;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.image-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
  flex-wrap: wrap;
}

.dealer-img {
  width: 250px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/*************Recent Arrivals********/

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Adjust based on images per slide */
  justify-items: center; /* Centers items horizontally */
  align-items: center; /* Centers items vertically */
  gap: 10px;
  width: 100%;
  flex-shrink: 0;
  text-align: center;
}

.slide img {
  width: 90%; /* Or adjust as needed */
  height: auto; /* Maintain aspect ratio */
  max-height: 100%; /* Prevent images from overflowing */
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



.logInImg{
  max-width: 100%;
  height: auto;
}

.InvNumbers{
  text-align: center;
  color: #c82333;
}
.PSHead{
  color: aquamarine;
}

.Flags{
  display: flex;
  background-color: black;
  align-items: center;
}
.Flags img{
  max-width: 50px;
  height: auto;

}

.Arrivals{
  background-color: black;
  justify-content: center;
  
}
.WDSbox{
  max-width: 100%;
}
.WDSText{
  color: white;
  
}
.WDSText1{
  color: greenyellow;
  font: 1em sans-serif;
  
}
.compName{
  font-size: clamp(12px, 5vw, 16px) !important;
  text-align: center;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.5rem;
}
.navbar{
  display:flex;
  flex-wrap: wrap;
  background-color:black;
  justify-content: space-between;
  align-items: center;
  color: aliceblue;
  font-size: clamp(16px, 4vw, 24px);
  width: 100%;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
  height: auto;
}

.navbar-brand {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.Main-logo{
  height: 95px;
}
.navbar-menu{
  list-style-type: none;
}
.navbar-menu .nav-item{
  display: inline-block;
  padding: 1px solid white;
}
.navbar a{
  color:white;
  text-decoration: none;
}
.navbar a:hover{
  color:aquamarine;
 
}
.menu{
  display: none;
}

.menu-line{
  width: 20px;
  height: 3px;
  background-color: white;
  margin-bottom: 4px;
}

@media all and (max-width:450px){
  .html{
    display: flex;
    max-width: 100%;
  }
  .navbar{
    flex-direction: column;
    position: relative;
    font-size: 14px !important;
    padding: 0.25rem;
  }
  .compName {
    font-size: clamp(10px, 6vw, 12px) !important;
    flex: none;
  }
  .navbar-brand {
    flex: none;
  }
  .navbar .container-icon{
    width: 100%;
  }
  .menu{
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
  }
  .navbar-menu{
    list-style-type: none;
    width:100%;
    text-align: center;
    padding-top: 10px;
    display: none;
  }
  .navbar-menu .nav-item{
    display: block;
    padding: 1px solid white;
  }

  .slideshow {
    position: relative;
    max-width: 100%;
    height: auto;
  }
}

.partsSection{
max-width: 100%;
}
.active{
  display: block;
}

.container-fluid{
  max-width: 100%;
}
.container-fluid img{
  max-width: 100%;
  height: auto;
  background-color: black;

}
.Discbanner{
  border-radius: 10px;
  background-color:yellow;
  max-width: 100%;
  text-align: center;
  height: auto;
  justify-content: center;
}
.bannerText2{
  color: red;
  font-size: 45px;
}

.Cars4SaleHeader{
  text-align: center;
  background-color:blue;
  color:aliceblue;
}

.card{
  background-color: black;
  margin-bottom: auto ;
  margin-left: auto;
  margin-right: auto;
}

.card-block{
  width: 22rem;
  background-color: black;
}
.card-header{
  color: green;
  text-align: center;
}
.card-text{
  color:white;
  text-align: center;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.row > div[class*='col-'] {
 display: flex;
}
.partsHeader{
  font-size: x-large;
  background-color: black;
}

  .button{
    border: none;
    font-size: 16px;
    color:beige;
    padding:8px 16px;
    background-color: blue;
    border-radius: 6px;
    margin: 14px;
  }



.infoBox{
  max-width: 100%;
  background-color: gold;
  padding: 5px;
  border: 5px solid blue;
  border-radius: 30px;
}

.infoBoxSt{
  background-color: yellow;
  padding: 5px 10px;
  border: 5px solid red;
  border-radius: 30px;
}
.info-section{
 
  align-items: center;
  background-color: black;
  color: aliceblue;
  text-align: center;
}

.headTextBox{
  background-color: greenyellow;
  padding: 5px 16px;
  border: 5px solid red;
  border-radius: 30px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}
.headTextBox1{
  background-color: black;
  padding: 5px 16px;
  border: 5px solid red;
  border-radius: 30px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}
.picsBox{
 
  background-color:black;
  padding: 5px;
  border: 5px solid blue;
  border-radius: 20px;
}
.infoTop{
    font-size:x-large;
    font: bold;
    color: white;
}

.header{
     padding: 10px 5%;
  font-size: clamp(18px, 4vw, 32px);
  height: auto;
}

.infoSection{
  display: inline-flex;
  text-align: center;
  position: relative;
  padding: 5px;
}

  .banner{
    border-radius: 10px;
    background-color:yellow;
    max-width: 100%;
    text-align: center;
    height: auto;
    justify-content: center;

  }

  .banner2{
    border-radius: 10px;
    background-color:blue;
    max-width: 100%;
    text-align: center;
    height: auto;
    justify-content: center;

  }

  .bannerText{
    color: red;
    font-size: 45px;
  }

  .infoParts{
    background-color: black;
    margin-bottom: auto;
  }

  .hours{
    background-color: black;
  justify-content: center;
  }
.footer{
  background-color: black;
  justify-content: center;

}
.footerContainer{
  width: 100%;
  padding: 70px 30px 20px;
}
.SocialIcons{
  display: flex;
  justify-content: center;
}

.SocialIcons a{
  text-decoration: none;
  padding: 10px;
  background-color: white;
  margin: 10px;
  border-radius: 60%;
}
.SocialIcons a i{
  font-size: 2em;
  opacity: 0.9;
}

.footNav{
  margin: 30px 0;
}

.footNav ul{
  display: flex;
  justify-content: center;
  list-style-type: none;
}

.footNav ul li a{
  color: white;
  margin: 20px;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
  transition: 0.5s;
}

.footerBottom{
  background-color: black;
  padding: 20px;
  text-align: center;
}
.footerBottom p{
  color: white;
}

/* Additional responsive media queries for header */
@media (max-width: 768px) {
  .navbar {
    font-size: 18px;
    padding: 0.75rem;
  }
  .compName {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .navbar {
    font-size: 14px;
    padding: 0.5rem;
  }
  .compName {
    font-size: 12px;
  }
}

* {
  box-sizing: border-box;
}
