/* --- style.css --- */

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding-bottom: 60px;
  background-color: #1e1e2f;
  color: #e0e0e0;
  min-height: 100vh;
  box-sizing: border-box;
}

header {
  background-color: #2a2a3b;
  color: white;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
}

main {
  padding: 40px 20px;
}

.slider {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #2a2a3b;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

.slider-title {
  font-size: 1.8rem;
  color: #00e676;
  margin: 0;
  text-align: center;
  flex-grow: 1;
}

.slider-button {
  background-color: #00aa58;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.slider-button:hover {
  background-color: #00e676;
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slider-container {
  display: flex;
  will-change: transform;
}

.slide {
  flex: 0 0 calc(100% / 3);
  box-sizing: border-box;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide .aula {
  display: block;
  width: 100%;
  padding: 25px 15px;
  text-align: center;
  background-color: #37474f;
  border: 1px solid #4f5b62;
  border-radius: 8px;
  text-decoration: none;
  color: #00e676;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s ease,
    color 0.3s ease;
  font-size: 1.1rem;
  word-wrap: break-word;
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide .aula:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background-color: #00e676;
  color: #1e1e2f;
}

footer {
  background-color: #2a2a3b;
  color: white;
  text-align: center;
  padding: 15px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 0.9rem;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

footer a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer a:hover {
  color: #00e676;
  text-shadow: 0 0 5px #00e676;
}
