@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,400;0,600;0,700;0,800;1,900&display=swap');


* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

:root{
  --main-color: #1f3ac4;
  --second-color: #919ee3;
  --accent: #6679de;
}

body {
  background-image: url(../assets/imgs/background.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/* fundo ficar escuro no body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* escurece o fundo */
  z-index: -1;
}

main {
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

nav {
  width: 100%;
  height: 90px;
  padding: 6px 40px;
  display: flex;
  justify-content: start;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 10000;
  background-color: rgba(255, 255, 255, 0.654);
  backdrop-filter: blur(10px);
}

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li {
  cursor: pointer;
  font-weight: 600;
  transition: .4s;
  font-size: 1.2rem;
}

nav ul li a{
  color: rgb(0, 0, 0);
  text-decoration: none;
}

nav ul li::after {
  content: '';
  display: block;
  width: 10%;
  height: 2px;
  background-color: rgb(126, 158, 199);
  transition: .4s;
}

nav ul li:hover::after {
  width: 80%;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  width: 1200px;
}

#first {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  margin-top: 150px;
  width: 100%;
}

#first h1{
  color: var(--main-color);
  width: 350px;
  text-align: center;
}

button{
  width: 200px;
  height: 50px;
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: .4s;
  text-align: center;
}

.stationsManager {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 40px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.stationCard {
  background: rgba(255, 255, 255, 0.479);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 200px;
  border-radius: 20px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.stationCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.stationCard p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stationCard .stationId {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-top: 4px;
  word-break: break-all;
}

