@import url('https://fonts.googleapis.com/css2?family=Italiana&display=swap');

body {
  background-color: #282828;
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

.formgroup label {
  font-weight: bold;
}

#cart {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 85%;
  top: 0;
  background: tan;
  overflow: auto;
}

#table{
  display: grid;
  column-gap: 20px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

#cartModal {
  top: 0;
  display: none;
  position: fixed;
  align-items: center;
  flex-direction: column;
  z-index: 10000;
  width: 100%;  
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}

.cart__column, .cart__column__image{
  font-size: 25px;
}

.cart__column :not(:first-child){
  display: flex;
  flex-direction: column;
  height: 100px;
  justify-content: center;
}

.cart__column__image :not(:first-child){
  display: flex;
  flex-direction: column;
  height: 100px;
  justify-content: center;
}

.cart__element__button{
  padding-bottom: 15px;
}

@media (max-width: 745px) {
  #table{
    column-gap: 0px;
  }
  .cart__column__image img{
    width: 142.5px!important;
    height: 75px!important;
  }
  .cart__column, .cart__column__image{
    font-size: 20px;
  }
  .cart__element__button{
    padding-bottom: 10px;
  }
  .remove-item{
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .cart__column__image img{
    width: 95px!important;
    height: 50px!important;
  }
  .cart__column, .cart__column__image{
    font-size: 15px;
  }
  .cart__element__button{
    padding-bottom: 10px;
  }
  .remove-item{
    font-size: 15px;
  }
}

@media (max-width: 500px) {
  .cart__column__image img{
    width: 95px!important;
    height: 50px!important;
  }
  .cart__column, .cart__column__image{
    font-size: 10px;
  }
  .cart__element__button{
    padding-bottom: 10px;
  }
  .remove-item{
    font-size: 10px;
  }
}

@media (max-width: 370px) {
  .cart__column__image img{
    width: 66.5px!important;
    height: 35px!important;
  }
  .cart__column, .cart__column__image{
    font-weight: bold;
    font-size: 9px;
  }
  .remove-item{
    font-size: 7px;
  }
}

.myFrame {
  position: relative;
  text-align: center;
  height: 100%;
  width: 100%;
  margin: 30px;
}

.modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.container2 {
  top: 500px;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}

.responsive-iframe {
  position: absolute;
  top: 100px;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.modal {
  display: none;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px;
}

.modal-signup-container{
  left: 0;
  top: 0;
  position: fixed;
  z-index: 10000;
  display: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.modal-login-container{
  left: 0;
  top: 0;
  position: relative;
  z-index: 10000;
  display: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fefefe;
  border: 1px solid #888;
  height: 80%;
}

#navbarMain {
  display: flex; 
  justify-content: space-between;
  z-index: 2;
  position: fixed;
  animation: navbaranim 2.5s ease;
  animation-delay: 1.5s;
  width: 100%; 
  list-style: none; 
  align-items: baseline; 
  padding-top: 10px;
}

.footer{
  display: flex;
  position: relative;
  flex-direction: column;
  row-gap: 5px;
  bottom: 0;
  width: 100%;
  height: fit-content;
  justify-content: center;
  align-items: center;
  background-color: rgb(245, 245, 219, 0.85);
  border-top: 5px solid black;
}

.footer__container{
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  padding: 30px 0px;
}

.footer__author__container{
  font-size: 25px;
}

.footer__copyright__container{
  display: flex;
  flex-direction: row;
  column-gap: 20px;
  font-size: 25px;
  text-transform: capitalize;
}

.footer__img{
  width: 40px;
  height: 40px;
}

.menu__button{
  text-decoration: none;
  padding: 4px 9px;
  border: 2px solid #198754; 
  color: whitesmoke;
  background-color: transparent;
  transition: background-color 0.3s;
  border-radius: 7px;
}

.menu__button:hover{
  background-color: #147246;
}

.menu{
  display: flex; 
  flex-direction: row-reverse;
  column-gap: 15px;
  padding-right: 15px;
  align-items: center;
}

.burger-menu{
  display: none;
  flex-direction: column;
  gap: 6px;
}

.burger-menu input,
.burger-menu::before,
.burger-menu::after{
  content: "";
  width: 30px;
  height: 5px;
  background-color: whitesmoke;
  border-radius: 999px;
  transition: all 0.4s ease-in-out;
}

.burger-menu input{
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  pointer-events: none;
}

.burger-menu input:checked{
  opacity: 0;
}

.burger-menu:has(input:checked)::before{
  transform: rotate(-45deg) translate(-5.5px, 12px);
  z-index: 2;
}

.burger-menu:has(input:checked)::after{
  transform: rotate(45deg) translate(-3.5px, -10px);
  z-index: 2;
}

.menu-for-burger{
  display: none;
  flex-direction: column;
  position: fixed;
  margin-bottom: 20vh;
  list-style: none;
  animation: fadeIn 0.7s;
  row-gap: 20px;
  align-items: center;
}

.menu-for-burger-container{
  position: fixed;
  display: none;
  width: 100%;
  height: 100vh;
  z-index: 2;
  justify-content: center;
  align-items: center;
  margin-top: 10vh;
}

.menu-for-burger-container-open{
  position: fixed;
  display: flex;
  width: 100%;
  height: 100vh;
  z-index: 2;
  justify-content: center;
  align-items: center;
  margin-top: 10vh;
}

@keyframes fadeIn {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .nav__logo{
    padding: 0px 0px 0px 10px!important;
    align-items: center;
    text-align: center;
  }

  #navbarMain{
    position: fixed;
    z-index: 2;
    width: 100%;
    justify-content: space-between;
    padding: 10px 0px;
    gap: 10px;
    align-items: flex-start;
  }

  .menu {
    display: none;
  }

  .menu-container{
    display: flex; 
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .menu-container-open{
    display: flex; 
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .open{
    display: flex;
    row-gap: 20px;
    flex-direction: column;
    align-items: center;
  }

  .burger-menu{
    display: flex;
    padding-right: 10px;
  }

  .burger-menu-bg{
    overflow: auto;
    transition: all 0.7s;
    opacity: 1;
    top: 0;
    left: -100%;
    justify-content: center;
    display: flex;
    width: 100%;
    align-items: center;
    height: 100vh;
    background: #282828;
    position: fixed;
  }
  
  .burger-menu input[type="checkbox"]:checked + .burger-menu-bg{
    left: 0;
  }
}

.line {
  width: 30px;
  height: 2.5px;
  background-color: #fff;
  margin: 7px 0;
  transition: 0.4s;
}

.line:nth-child(1){
  transform: rotate(90);
  transition: 0.3s;
}

.nav__logo{
  display: flex; 
  flex-direction: row-reverse; 
  z-index: 2;
  color: whitesmoke;
  padding-left: 15px;
  align-items: baseline;
}

.nav__logo-open{
  display: flex; 
  flex-direction: row-reverse; 
  z-index: 2;
  color: whitesmoke;
  padding-left: 10px;
  align-items: baseline;
}

.load-wrap {
  float: left;  
  width: 200px;
  height: 200px;
  margin: 0 10px 10px 0;
  border-radius: 5px;
  text-align: center;
  background-color: #282828;
}

@media (max-width:768px) {
  .load-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.load .ring {
  animation: loadingRing 1.5s 0.3s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
}

.ring {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  padding: 10px;
  border: 6px dashed #ffffff;
  border-radius: 100%;
}

#loader {
  top: 0;
  left: 0;
  justify-content: center;
  display: flex;
  width: 100%;
  align-items: center;
  z-index: 999999;
  height: 100%;
  background: #282828;
  position: fixed;
}

.headerMain {
  text-transform: capitalize;
  text-align: center;
  font-family: 'Italiana';
  color: whitesmoke!important;
  opacity: 0;
  font-size: 75px!important;
  font-weight: 500;
  animation: headeranim 2.5s ease;
  animation-delay: 1.5s;
}

@media (max-width: 768px) {
  .headerMain{
    font-size: 55px !important;
  }
}

.heading {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.heading h1 {
  font-size: 5rem;
  color: #fff;
}
@import url("https://fonts.googleapis.com/css?family=Roboto");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100%;
  opacity: 0;
  animation: carouselcaranim 3s ease;
  animation-delay: 1.5s;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.slide.current {
  opacity: 1;
}

.slide.current .content {
  opacity: 1;
  transform: translateX(600px);
  transition: all 0.7s ease-in-out 0.3s;
}

.buttons button#next {
  position: absolute;
  top: 40%;
  right: 15px;
  opacity: 0;
  animation: buttonanim 2.5s ease;
  animation-delay: 1.5s;
}

.buttons button#prev {
  position: absolute;
  top: 40%;
  left: 15px;
  opacity: 0;
  animation: headeranim 2.5s ease;
  animation-delay: 1.5s;
}

.buttons button {
  z-index: 1;
  border: 2px solid #fff;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  padding: 13px 15px;
  border-radius: 50%;
  outline: none;
}

.buttons button:hover {
  background-color: #fff;
  color: #333;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 400px) {
  .slide .content {
    bottom: -300px;
    left: 0;
    width: 100%;
  }

  .slide.current .content {
    transform: translateY(-300px);
  }
}

.slide:first-child {
  background: url(images/car1.jpg) no-repeat center top/cover;
}
.slide:nth-child(2) {
  background: url(images/car2.jpg) no-repeat center top/cover;
}
.slide:nth-child(3) {
  background: url(images/car4.jpg) no-repeat center top/cover;
}

#cars{
  display: flex;
  width: 100%;
  padding: 20px 0px;
  justify-content: center;
}

.card-body{
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: capitalize;
  gap: 10px;
}

#card{
  background-color: whitesmoke;
}

.cars-div{
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr; 
  padding: 20px 20px; 
  column-gap:20px; 
  row-gap:20px
}

.card-button{
  display: flex;  
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
  column-gap: 20px;
}

.cars-div__button{
  text-decoration: none;
  padding: 4px 9px;
  border: 3px solid #198754;
  color: white;
  background-color: #198754;
  transition: background-color 0.3s;
  border-radius: 7px;
}

.cars-div__button:hover{
  color: white;
  background-color: #147246;
}

.cars-div__anker{
  text-decoration: none;
  padding: 4px 9px;
  border: 3px solid #198754;
  color: white;
  background-color: #198754;
  transition: background-color 0.3s;
  border-radius: 7px;
}

.cars-div__anker:hover{
  color: white;
  background-color: #147246;
}

#Video{
  width: 100%; 
  display: flex; 
  align-items: center; 
  padding: 20px 20px 100px 20px; 
  color: whitesmoke;
  flex-direction: column;
  row-gap: 25px;
  text-align: center;
}

@media (max-width: 1200px) {
  .cars-div {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    padding: 20px 0px;
    column-gap:10px; 
    row-gap:10px;
    justify-content: center;
  }
  #Video{
    padding: 20px 20px 50px 20px; 
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap; 
  } 
}

@media (max-width: 768px) {
  .cars-div {
    display: flex; 
    flex-direction: column;
    align-items: center;
    padding: 30px; 
    row-gap:5px;  
  } 
  #Video{
    flex-direction: row;
    justify-content: center; 
    flex-wrap: wrap; 
    width: 100%;
    padding: 20px 20px 30px 20px; 
  } 
  video{
    height: 100%;
    width: 100%;
  }
  .footer__copyright__container{
    flex-direction: column;
    align-items: center;
    column-gap: 0px;
    row-gap: 5px;
  }
}

@media (max-width: 410px) {
  .cars-div {
    display: grid; 
    grid-template-columns: 90%; 
    padding: 10px; 
    row-gap:5px;
  } 
  .fixed3{
    width: 295px!important;
    height: calc(295px * 0.7)!important;
  }
  .footer__copyright__container{
    font-size: 20px;
  }
  .footer__author__container{
    font-size: 20px;
  }
}

@media (max-width: 315px) {
  .cars-div {
    display: grid; 
    grid-template-columns: 60%; 
    padding: 5px; 
    row-gap:5px;
  } 
  .fixed3{
    width: 130px!important;
    height: calc(130px * 0.7)!important;
  }
  .card-body{
    display: flex;
    justify-items: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-transform: capitalize;
    gap: 5px;
  }
  .footer__copyright__container{
    font-size: 17px;
  }
  .footer__author__container{
    font-size: 17px;
  }
  .card-button{
    flex-direction: column;
    row-gap: 10px;
  }
}


#scrollUp {
  display: none;
  padding: 8px;
  background-color: whitesmoke;
  color: rgb(153, 0, 255);
  position: fixed;
  right: 80px;
  bottom: 80px;
  text-decoration: none;
  font-size: 25px;
  width: 55px;
  height: 55px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 50%;
  opacity: 0;
  transition: all 1s;
}
#scrollUp.fade {
  opacity: 0;
}

#chatbot {
  opacity: 0;
  position: fixed;
  bottom: 20px;
  width: 260px;
  height: 300px;
  background-color: lightblue;
  padding: 5px 25px;
  left: calc(100% - 25px);
  overflow-y: auto;
  border-radius: 10px;
  transition: 0.5s;
}
#form_chatbot {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 100%;
  min-height: 100%;
}
#form_chatbot input {
  align-self: flex-start;
  margin: 5px;
}

.show {
  left: calc(100% - 260px) !important;
}
.bot_answ,
.human_answ {
  line-break: loose;
  max-width: 200px;
  text-align: start;
  display: table;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 10px;
}
.human_answ {
  background-color: #ffffff;
  color: #000000;
}
.bot_answ {
  background-color: #000000;
  color: #ffffff;
}
@keyframes headeranim {
  0% {
    opacity: 0;
    transform: translateX(-220%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}
@keyframes buttonanim {
  0% {
    opacity: 0;
    transform: translateX(220%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@keyframes navbaranim {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes loadingRing {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes carouselcaranim {
  0% {
    opacity: 0;
    transform: translateY(220%);
  }

  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}
