/* General Styles */

body {

    font-family: Arial, sans-serif;

    margin: 0;

    padding: 0;

    line-height: 1.6;

}

/* Hero Section */

.hero {
    background: url('images/hero-background.jpg') no-repeat center center/cover; background-size: 100%;
    color: white;
   text-align: center;
   vertical-align: text-bottom;
  padding: 15rem 1rem;

}



.hero-content {

    max-width: 800px;

    margin: 0 auto;

}

/* Caro Section */

.Caro {
   background: url('images/Home.jpg') no-repeat center center/cover; background-size: 100%;
   color: white;
   text-align: center;
  vertical-align: text-bottom;
  padding: 15rem 1rem;
}

.Caroo-content {
    max-width: 800px;
    margin: 0 auto;
}




.btn {

    background: purple;

    color: white;

    padding: 0.5rem 1rem;

    border: none;

    cursor: pointer;

    font-size: 1rem;

    border-radius: 4px;

}



/* Events Section */

.events {

    padding: 2rem;

    background: #f4f4f4;

    text-align: center;

}



.events-list {

    display: flex;

    justify-content: space-around;

}



.event {

    max-width: 200px;

}



/* Birthdays Section */

.birthdays table {

    width: 80%;

    margin: 0 auto;

    border-collapse: collapse;

}



.birthdays th, .birthdays td {

    border: 1px solid #ddd;

    padding: 8px;

    text-align: left;

}



.birthdays th {

    background-color: #f2f2f2;

}



/* Homes Section */

.cards {
    display: flex;
    justify-content: space-around;
    padding: 2rem;
}

.card {
    max-width: 300px;
    text-align: center;
}

.card img {
    max-width: 100%;
    border-radius: 4px;
}



/* Cars Section */

.cars .car-list {
    display: flex;
    gap: 1rem;
    padding: 2rem;
}

/* About Section */

.about-grid {
    display: flex;
    justify-content: space-around;
    padding: 2rem;
}

.about-item {
    max-width: 200px;
    text-align: center;
}

/* Advertisement Section */

.adv .adv-list {

  width: 10px;
}

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

/* Style the tab content */
.carcontent {
  display: none;
  border-top: none;
}

