

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

/* background */
body {
  position: relative; 
  min-height: 100vh; 

  background: url('../image/background.jpg') no-repeat center center fixed;
  background-size: cover; 
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;  
  opacity: 0.3;      
  z-index: -1;       
}

/* Banner */
.banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Teams grid 2x5 */
.teams {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 40px;
  justify-items: center;
}

.team-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.team-logo:hover {
  transform: scale(1.1);
}

/* Hover Modal */
.hover-modal {
  position: absolute;
  display: none;
  pointer-events: none;
  z-index: 1000;
}

.hover-content {
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
}

.hover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.hover-header h3 {
  font-size: 18px;
  color: #000;
  margin: 0;
}

.color-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #333;
}

.hover-car {
  width: 100%;
  border-radius: 6px;
  margin-top: 10px;
}
