* {
  font-family: 'Heebo', sans-serif;
  list-style: none;
}

:root {
  --bg-main-color: #f9f9f9;
  --bg-second-color: #e2e2e2;
  --theme-main-color: #ceff00;
  --theme-second-color: #1c1c1c;
  --theme-third-color: #04c875;
}

body {
  width: 100%;
  display: flex;
  flex-direction: column;
}

header {
  background-color: var(--theme-second-color);
}

p {
  font-size: 16px;
}

.selo-nota-5 {
  max-width: 250px;
  margin: 0.2rem;
  margin-top: 2rem;
  background-color: #570809; 
  border-radius: 12px;      
  text-align: center;
  padding: 10px 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.selo-nota-5 a {
  color: #fff;             
  text-decoration: none;
  font-weight: bold;
  font-size: 0.8rem;
  display: block;
}

.selo-nota-5:hover {
  transform: scale(1.05);  
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
nav div .row a {
  color: white;
}

nav div .row a:hover {
  color: var(--theme-third-color);
}

hr {
  color: #B1B1B1;
  background-color: #B1B1B1;
}

.text-mobile {
  text-align: center;
  padding: 5px 10px;
  font-size: 1rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
  display: block;
  margin: 5px 0;
}

/* .lista_cursos a {
  font-weight: bold;
  color: #494949;
} */

.destaque {
  color: var(--theme-main-color);
}

.green-500 {
  color: #04C875;
}

.neon-green-500 {
  color: #CEFF00;
}

.fs-7 {
  font-size: .8rem !important;
}

.btn {
  border-radius: 0 !important;
}

.bg-light {
  background-color: #021a1a;
}

.main-section {
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.main-section .row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 1050px;

  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.main-section .row a {
  text-decoration: none;
}

.main-section .row .col-4 {
  width: 20%;
}

.bg-darker {
  background-color: #570809 !important;
}

.bg-dark {
  background-color: var(--theme-second-color) !important;
}

.p-3.d-flex {
  padding: 3rem !important;
}

.botao-inscricao {
  text-decoration: none;
  background: #E50932;
  background-size: 100% 300%;
  color: white;
  padding: 14px 60px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.botao-inscricao:hover {
  background-size: 100%;
  background-position: 10% 100%;
  background-repeat: no-repeat;
  transform: scale(1.1);
  color: white;
}

@keyframes glowing {
  0% {
    box-shadow: 0 0 10px #ED145B, 0 0 20px #880E4F, 0 0 30px #ED145B;
  }

  50% {
    box-shadow: 0 0 20px #ED145B, 0 0 30px #880E4F, 0 0 40px #ED145B;
  }

  100% {
    box-shadow: 0 0 10px #ED145B, 0 0 20px #880E4F, 0 0 30px #ED145B;
  }
}

.botao_campus-mobile {
  cursor: pointer;
  transition: all 0.3s ease;
}

.botao-inscricao-mobile {
  text-decoration: none;
  background: linear-gradient(45deg, #ED145B, #880E4F, #ED145B);
  background-size: 300% 300%;
  color: white;
  height: 50px;
  padding: 5px 30px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.4s ease;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
  border: none;
  /* Remover borda padrão */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.botao-inscricao-mobile:hover {
  background-position: 100% 0;
  box-shadow: 0 0 15px #ED145B, 0 0 25px #880E4F, 0 0 35px #ED145B;
  transform: scale(1.05);
  color: white;
}

.botao-inscricao-mobile:focus {
  animation: glowing 1.5s infinite alternate;
}

.inscreva {
  margin-bottom: -0rem;
}

.gif {
  width: 80px !important;
  height: 80px !important;
}

.cursos-container {
  /* background-color: var(--bg-second-color); */
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;

  @media (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.text-slug {
  color: white;
  font-weight: 500;
  font-size: 18px;
  margin: 0;
  text-align: left;
}

@keyframes glitch {
  0% {
    color: rgba(236, 34, 37, 0.2);
    text-shadow: 0.05em 0 0 #ec2225, -0.025em -0.05em 0 #313f97,
      0.025em 0.05em 0 #50c878;
  }

  14% {
    text-shadow: 0.05em 0 0 #ec2225, -0.025em -0.05em 0 #313f97,
      0.025em 0.05em 0 #50c878;
  }

  15% {
    color: #50c878;
    text-shadow: -0.05em -0.025em 0 #ec2225, 0.025em -0.025em 0 #313f97,
      -0.05em -0.05em 0 #50c878;
  }

  49% {
    text-shadow: -0.05em -0.025em 0 #ec2225, 0.025em -0.025em 0 #313f97,
      -0.05em -0.05em 0 #50c878;
  }

  50% {
    text-shadow: 0.025em 0.05em 0 #ec2225, -0.025em 0.05em 0 #313f97,
      0 -0.05em 0 #50c878;
  }

  99% {
    color: #313f97;
    text-shadow: 0.025em 0.05em 0 #ec2225, -0.025em 0.05em 0 #313f97,
      0 -0.05em 0 #50c878;
  }

  100% {
    text-shadow: -0.025em 0 0 #ec2225, -0.025em -0.025em 0 #313f97,
      -0.025em -0.05em 0 #50c878;
  }
}

@media (max-width: 768px) {
  .botao_campus {
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .botao_campus {
    display: none !important;
  }

  .botao_inscricao {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .navbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    overflow-y: auto;
    background-color: #343a40;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  .navbar-nav .nav-item .btn {
    display: block;
    width: 100%;
    margin-bottom: 8px;

  }

  .navbar-toggler {
    display: block;
  }
}

.navbar-nav .nav-item .btn {
  background-color: #343a40;
  border: none;
  color: white;
  margin-bottom: 8px;
  text-align: center;
  border-radius: 4px;
  display: block;
  width: 100%;
  margin: 8px 0;
}

.navbar-nav .nav-item .btn:hover {
  background-color: #50575d;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.lista-cursos-main {
  width: 80%;

  @media (max-width: 768px) {
    width: 100%;
    padding: 30px;
  }
}

.lista-cursos-container {
  width: 80%;

  @media (max-width: 768px) {
    width: 100%;
    padding: 30px;
  }
}

.lista-cursos-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  margin-bottom: 20px;

  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.lista-cursos-head .title {
  width: fit-content;
}

.lista-cursos-head h2 {
  font-size: 36px;
  font-weight: 400;
  color: #CEFF00;
  @media (max-width: 768px) {
    font-size: 30px;
  }
}

.lista-cursos-head h5 {
  font-size: 16px;
  font-weight: 400;
  color: #B1B1B1;
}

.lista_cursos {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.button {
  background-color: #e50932;
  padding: 12px 28px;
  margin: 0;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  color: white;
  font-weight: 600;
}

.button:hover {
  color: white;
}

.link {
  color: #bc463b;
}

.link:hover {
  color: #ee5f9c;
  text-decoration: underline !important;
}
