* {
  margin: 0px;
  padding: 0px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  overflow: auto;
  scrollbar-width: none; 
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #323232;
}

ul li:hover
{
    transform: scale(1.1);
}

nav
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000000;
  z-index: 1000; 
  max-height: 10vh;
}

nav ul
{
  display: flex;
  justify-content: space-between;
  justify-self: center;
  width: 75%;
}

.logo
{
  align-self: center;
  margin-top: 20px;
  object-fit: contain;
}

#logo
{
  width: 60vw;
  
}

a
{
  text-decoration: none;
  color: #a39a9a;
  font-weight: 400;
}  


nav ul li
{
  color: #ffffff;
  padding-top: 20px;
  padding-bottom: 23px;
  list-style: none;
}

header {
  background-image: url("merc.jpg"); 
  background-size: cover; /* Ensures the image covers the entire header */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  height: 95vh;
  width: 100%; 
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 50vh;
  padding: 0px;
  top: 0px;
}

#para-one {
  width: 70%;
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  background-color: #0000005f;
  border-radius: 7px;
  padding: 10px;
}

h1 {
  margin: 20px;
  margin-top: 0px;
  font-weight: 300;
}

#divone {
  margin: 0px;
  padding: 0px;
  top: 0px;
}
#para-two {
  color: #ffffff;
  font-size: 16px;
  margin: 25px;
  max-width: 60%;
  max-height: 90%;
  height: min-content;
  text-align: left;
  margin: 20px;
  padding: 0px;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  background-color: #000000a0;
  scrollbar-width: none; 
  border-radius: 7px;
}
.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  background-size: cover; /* Ensures the image covers the entire header */
  background-position: center;
  z-index: 2; 
}

#background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video covers the area */
  transform: translate(-50%, -50%);
  z-index: -1; /* Ensures the video is behind other content */
}

/* Optional: Styles for the content inside the div */
.video-background > * {
  position: relative;
  z-index: 1; /* Ensure content is above the video */
}
footer {
  background-color: #272727;
  height: 100vh;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  top: -1px;
}

.whatsapp-button {
  align-self: center;
  width: 150px; 
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #25d366; /* WhatsApp color */
  color: white;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.whatsapp-button:hover
{
    transform: scale(1.02);
}

.whatsapp-button img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}
.instagram-button {
  align-self: center;
  width: 150px; 
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #c13584; /* Instagram color */
  color: white;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.instagram-button:hover
{
    transform: scale(1.02);
}

.instagram-button img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.olx-button {
  align-self: center;
  width: 150px; 
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 15px;
  margin: 10px;
  background-color: #F8F8F8; /* Background color */
  border: 1px solid #E1E1E1; /* Border color */
  border-radius: 5px; /* Rounded corners */
  text-decoration: none;
  color: #333; /* Text color */
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 80px; 
}

.olx-button:hover
{
    transform: scale(1.02);
}

.olx-button img {
  width: 20px; /* Logo size */
  height: 20px; /* Logo size */
  margin-right: 8px; /* Space between logo and text */
}

#callon
{
  text-align: center;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 150%;
  font-weight: 200;
}

.catalogue
{
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
    grid-template-rows:1fr 1fr;
    width: 80vw;
    height: auto;
    justify-self: center;
    margin-top: 10px;
}

hr {
  border: none;
  border-top: 1px solid rgb(255, 255, 255);
  width: 90%;
  align-self: center;
}


.card
{
    display: flex;
    flex-direction: column;
    gap: 7px;
    height: 60vh;
    width: 80%;
    background-color: rgb(16, 16, 16);
    margin: 20px;
    border-radius: 10px;
    justify-self: center;
    color: #ffffff;
}

.card:hover
{
    transform: scale(1.02);
}

.img
{
    height: 70%;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
}

.name
{
    text-align: center;
    margin-top: 5px;
}    

.specs
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 75%;
    align-self: center;
    text-align: center;
}

.price
{
    text-align: center;
}

@media screen and (max-width: 768px) 
{
    .catalogue 
    {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .specs 
    {
        width: 85%;
        align-self: center;
    }

    li
    {
      font-size: 14px;
    }
}    

@media (max-width: 600px) 
{

  nav ul li {
    padding: 15px;
    font-size: 12px;
    align-self: center;
  }

  nav ul
  {
    padding-right: 40px;
    padding-left: 40px;
  };

  #headone
  {
    font-size: 16px !important;
    letter-spacing: 5px;
    font-weight: 400;
  }

  #para-one 
  {
    width: 90%;
    font-size: 16px;
    margin: 10px auto;
  }
  #para-two 
  {
    max-width: 90vw;
    font-size: 12px;
    margin: 10px auto;
    margin-top: 30px;
  }

  .video-background 
  {
    height: 60vh;
  }

  header
  {
    margin-top: 50px;
  }

  footer 
  {
    height: auto;
    padding: 20px 0;
  }
}
