@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --bg-color: #1f242d;
  --second-bg-color: #323946;
  --text-color: #fff;
  --main-color: #0ef;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
}

a {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

a:link,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 9%;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.header h1 {
  font-size: 2.4rem;
  color: var(--text-color);
  font-weight: 700;
}

.header h1 span {
  color: var(--main-color);
}

.back-link {
  font-size: 1.7rem;
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.back-link:hover {
  color: var(--main-color);
}

.hero-section {
  margin-top: 10rem;
  padding: 2rem 9%;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10rem 9% 2rem;
}

.flex-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

section.section {
  background: var(--second-bg-color);
  border: 0.2rem solid var(--bg-color);
  border-radius: 2rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: 0.5s ease;
}

section.section:hover {
  border-color: var(--main-color);
}

h2 {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}

h2 i {
  font-size: 2.2rem;
}

.plano-line {
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  background: var(--bg-color);
  border-left: 0.3rem solid transparent;
  transition: 0.3s ease;
}

.plano-line:hover {
  border-left-color: var(--main-color);
  transform: translateX(0.5rem);
}

.plano-line.today {
  background: linear-gradient(135deg, var(--main-color), #0cc);
  color: var(--bg-color);
  font-weight: 600;
  border-left-color: var(--main-color);
  box-shadow: 0 0 1.5rem rgba(0, 238, 255, 0.3);
}

#chamada-content,
#bancas-content {
  font-size: 1.4rem;
  line-height: 1.8;
}

#chamada-content iframe,
#bancas-content iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 1rem;
  margin-top: 1rem;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  border-left: 0.3rem solid var(--main-color);
  font-size: 1.4rem;
  transition: 0.3s ease;
}

li:hover {
  transform: translateX(0.5rem);
  box-shadow: 0 0 1rem rgba(0, 238, 255, 0.2);
}

li a {
  color: var(--text-color);
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: 0.3s;
}

li a:hover {
  color: var(--main-color);
}

li a::after {
  content: "\f35d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: auto;
  opacity: 0.5;
  transition: 0.3s;
}

li a:hover::after {
  opacity: 1;
  transform: translateX(0.5rem);
}

.atividade-card {
  background: var(--bg-color);
  border-left: 0.3rem solid var(--main-color);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: 0.5s ease;
}

.atividade-card:hover {
  transform: translateX(0.5rem);
  box-shadow: 0 0 1.5rem rgba(0, 238, 255, 0.2);
}

.atividade-card h3 {
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
  color: var(--main-color);
  font-weight: 600;
}

.atividade-card .data {
  font-size: 1.3rem;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.atividade-card .data::before {
  content: "\f073";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--main-color);
}

.atividade-card p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.9;
}

.empty {
  color: var(--text-color);
  opacity: 0.6;
  font-style: italic;
  text-align: center;
  padding: 3rem 0;
  font-size: 1.5rem;
}

/* PDF Section */
.pdf-container {
  width: 100%;
}

.pdf-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pdf-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 1rem;
  background: var(--bg-color);
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
}

.pdf-viewer {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 1rem;
  background: var(--bg-color);
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
}

.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: var(--main-color);
  color: var(--bg-color);
  border-radius: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: 0.3s ease;
  width: fit-content;
  margin: 0 auto;
}

.pdf-download-btn:hover {
  background: #0dd;
  transform: translateY(-0.3rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 238, 255, 0.4);
}

.pdf-download-btn i {
  font-size: 1.6rem;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 9%;
  background: var(--second-bg-color);
  margin-top: 4rem;
}

.footer-text p {
  font-size: 1.6rem;
  color: var(--text-color);
  opacity: 0.8;
}

@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 2rem 3%;
  }

  .container,
  .hero-section {
    padding: 2rem 3%;
  }

  .footer {
    padding: 2rem 3%;
  }
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 1.8rem;
  }

  .flex-container {
    grid-template-columns: 1fr;
  }

  section.section {
    padding: 2rem;
  }

  .pdf-wrapper iframe,
  .pdf-viewer {
    height: 500px;
  }

  .pdf-download-btn {
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .header h1 {
    font-size: 1.6rem;
  }

  section.section {
    padding: 1.5rem;
  }

  .pdf-wrapper iframe,
  .pdf-viewer {
    height: 400px;
  }

  .pdf-download-btn {
    padding: 0.8rem 1.2rem;
    font-size: 1.3rem;
    width: 100%;
  }
}

