.section-first {
  background: black;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 50vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("../assets/sifu.png");
}

.section-second {
  background-size: cover;
  min-height: 50vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}

/* .spinning {
  animation: rotate 25s linear infinite;
} */

/* .spinning:hover {
  animation: rotate-fast 1.5s linear infinite;
} */

.spinning:hover {
  animation: rotate 25s linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes rotate-fast {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.section-first h1,
.section-first h2 {
  text-align: center;
  color: white;
}

body {
  counter-reset: my-counter;
  background: #efedee;
}
img {
  max-width: 100%;
}

.filter-container {
  border: 1px solid #ededed;
  padding: 1rem;
}

.filter > .filter-options {
  display: none;
}

.filter {
  cursor: pointer;
}

.sect-title {
  letter-spacing: 2rem;
}

.sect-subtitle {
  color: #6d6455;
  padding: 0.5rem 0;
}

.sect-subtitle span {
  background: #e0d9c9;
  padding: 0.5rem 0;
}

.sect-subtitle:before {
  letter-spacing: 0px;
}

.footer p {
  color: #bdab89;
}

.navbar-brand img {
  max-height: 4rem;
}

.navbar-brand {
  padding: 0.5rem;
}

.contact-form {
  background: #fffffe;
  padding: 5rem;
  border-radius: 10px;
}

.bg-primary {
  background: #bcab89;
}

footer {
  margin-top: 4rem;
}

.navbar-default {
  background: transparent;
}

.input-group-addon {
  background: #b8a47f;
  color: white;
  font-size: 2rem;
  border: none;
}

@media (min-width: 1201px) {
  .bg-section {
    background-image: url("../assets/shaolin.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .nav > li {
    margin-left: 3rem !important;
  }
}
@media (min-width: 900px) and (max-width: 1200px) {
  .navbar-default .navbar-nav > li > .secundary-btn {
    margin-left: 3rem;
  }

  .navbar-nav {
    margin-left: 3rem;
  }
  .nav > li {
  }
}

@media (max-width: 767px) {
  .navbar,
  .navbar a {
    background: #bcab89;
    color: white !important;
  }
}
@media (min-width: 768px) and (max-width: 1299px) {
  .navbar-header {
    margin-left: 2rem !important;
  }
}

@media (min-width: 768px) {
  .sect-subtitle:before {
    content: "━━━━━━━━━━━━";
  }
  .sect-subtitle {
    margin-left: 17rem;
  }
  .sect-title {
    letter-spacing: 2rem;
    margin-left: -17rem;
  }
  .navbar-brand img {
    max-height: 6rem !important;
  }

  .nav > li > a {
    padding: 10px 10px;
    font-weight: bold;
  }
  .nav > li {
  }

  .navbar-default {
    box-shadow: none;
    border: none;
    padding: 0.5rem 0;
  }
  .main-section {
    padding-top: 4rem;
  }
}

/* Colors */

.secundary {
  color: #bcab89;
}

.primary {
  color: #bdab89;
}
.text {
  color: #848b87;
}

/* Custom elements */
.item-container {
  margin: 1rem 0;
  cursor: pointer;
}
.filter-c {
  padding-left: 6rem;
  border-right: 1px solid #d9d9d9;
}
.item-img,
.item-img img {
  text-align: center;
  max-height: 200px;
}
.item-body {
  text-align: center;
}
.item-body p {
  color: #bdab89;
  font-weight: bold;
  margin-bottom: 5px;
}
.item-body h6 {
  font-size: 1.6rem;
  margin: 0;
}
.item-body a {
  border: 1px solid #bdab89;
  border-radius: 25px;
  padding: 0.5rem 2rem;
  color: #bdab89;
  font-weight: bold;
  margin-top: 10px;
}
.item-body a:visited {
  text-decoration: none;
  color: #bdab89;
}

.product-container {
  margin: 1rem 0;
}
.product-container:hover {
  cursor: pointer;
  animation: pulse; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 2s; /* don't forget to set a duration! */
}
.product-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #383838;
  height: 27px;
}

.product-subtitle {
  color: #bcab89;
  font-size: 1.75rem;
  font-weight: bold;
}

.info-container {
  border-radius: 25px 25px;
  background-color: #ffffff;
  width: 95%;
  max-width: 280px;
  position: relative;
  padding: 1rem 0;
  min-height: 25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 1rem auto;
}

.info-header {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}

.info-body {
  text-align: center;
  color: #ced1cf;
}

.float-btn {
  border-radius: 100%;
  cursor: pointer;
  height: 37px;
  width: 37px;
  background-color: #93d014;
  color: white;
  font-size: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0px;
  bottom: 0px;
}

.know-more-btn {
  border: #74dabb 1px dashed;
  padding: 1rem 0;
  border-radius: 25px;
  text-align: center;
  cursor: pointer;
}

.top-icon {
  background: #49cb8a;
  border-radius: 100%;
  padding: 0.5rem;
}

.primary-btn {
  color: #f5f6f1;
  cursor: pointer;
  background: rgb(209, 235, 180);
  background: -moz-linear-gradient(
    180deg,
    rgba(209, 235, 180, 1) 0%,
    rgba(164, 226, 183, 1) 52%,
    rgba(114, 217, 188, 1) 100%
  );
  background: -webkit-linear-gradient(
    180deg,
    rgba(209, 235, 180, 1) 0%,
    rgba(164, 226, 183, 1) 52%,
    rgba(114, 217, 188, 1) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(209, 235, 180, 1) 0%,
    rgba(164, 226, 183, 1) 52%,
    rgba(114, 217, 188, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d1ebb4",endColorstr="#72d9bc",GradientType=1);
  text-align: center;
  border-radius: 25px;
  padding: 1rem 0;
  margin: 1rem 0;
}

.navbar-default .navbar-nav > li > .secundary-btn:hover {
  color: snow;
}
.navbar-default .navbar-nav > li > .secundary-btn {
  background: rgb(222, 237, 179);
  background: -moz-linear-gradient(
    180deg,
    rgba(222, 237, 179, 1) 0%,
    rgba(175, 228, 183, 1) 52%,
    rgba(121, 218, 188, 1) 100%
  );
  background: -webkit-linear-gradient(
    180deg,
    rgba(222, 237, 179, 1) 0%,
    rgba(175, 228, 183, 1) 52%,
    rgba(121, 218, 188, 1) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(222, 237, 179, 1) 0%,
    rgba(175, 228, 183, 1) 52%,
    rgba(121, 218, 188, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#deedb3",endColorstr="#79dabc",GradientType=1);
  text-align: center;
  border-radius: 25px;
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  color: white;
}

.item img {
  height: 75vh;
}

.navbar-default .navbar-nav > li > a {
  color: black;
}

h2 {
  font-family: system-ui;
  color: black;
}

.container-thumb {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  padding-bottom: 40px;
  font-family: Arial, Helvetica, sans-serif;
}
.gallery {
}
.gallery .previews,
.gallery .full,
.gallery .desc {
  float: left;
  margin-right: 10px;
}
.gallery .desc,
.gallery .full {
  font-size: 12px;
}
.gallery .desc h2 {
  margin-top: 0;
}
.gallery .previews a {
  display: block;
  margin-top: 10px;
  margin-right: 10px;
  width: 50px;
  float: left;
}
.gallery .full,
.gallery .full img {
}
.gallery .previews a,
.gallery .full {
  border: 1px solid #eee;
}
.gallery .previews a:hover,
.gallery .previews a.selected {
  border: 4px solid #777;
}
.gallery .full img:hover {
  cursor: pointer;
}
.clearfix:after {
  content: ".";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

.brand-icon {
  background: red;
  color: white;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  padding: 0.5rem;
  vertical-align: middle;
  text-align: center;
}

.contact-text {
  border: 1px solid darkred;
  padding: 1rem 3rem;
  border-radius: 50px;
}

.contact-whatsapp img {
  max-width: 50px;
  margin-left: -3rem;
  color: white;
}

.item-style {
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  padding: 2.5rem;
  background: white;
  margin-bottom: 20px;
  color: black;
  position: relative;
}

.item-style i {
  background: red;
  color: black;
  position: absolute;
  right: -5px;
  bottom: -5px;
  padding: 0.75rem;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.footer-logo {
  width: 80px;
}

.top-section {
  width: 30%;
  position: absolute;
  height: 95%;
  right: 10%;
  background: url("../assets/kungfu.jpg");
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: 75px;
  border-bottom-left-radius: 256px;
  border-bottom-right-radius: 256px;
}

.active-bullet {
  width: 25px;
  background: #d01202;
  height: 4px;
  border-radius: 5px;
}

.kanji {
  width: 10%;
  background: url("../assets/bg2.png");
  background-repeat: no-repeat;
  position: absolute;
  left: 30%;
  bottom: -15rem;
  background-size: contain;
  height: 21rem;
}

.m-b-0 {
  margin-bottom: 0;
}

.m-t-0 {
  margin-top: 0;
}

.header-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  height: 32vh;
}

.header-title h1 {
  font-size: 4rem;
  color: #f7df05;
  font-weight: 700;
}

.btn-comecar {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background-color: #2e7d32; /* Verde mais escuro */
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-comecar:hover {
  background-color: #388e3c; /* Um tom de verde um pouco mais claro */
  transform: scale(1.03);
}

.btn-comecar:active {
  background-color: #1b5e20; /* Verde escuro para o clique */
  transform: scale(0.98);
}

.card-kungfu-bg {
  background-image: url("../assets/kungfu-banner.png");
  background-size: cover;
  background-position: center;
}

.card-sanda-bg {
  background-image: url("../assets/sanda.png");
  background-size: cover;
  background-position: center;
}

.card-taichi-bg {
  background-image: url("../assets/taichi.png");
  background-size: cover;
  background-position: center;
}

.card-hover {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 570px;

  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* escurece a imagem */
  transition: background 0.3s ease;
  z-index: 1;
}

.card-content {
  position: absolute;
  inset: 0;
  padding: 20px;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.3s ease;
}

.card-title {
  font-size: 3.5rem;
  text-align: center;
  font-weight: bold;
  margin: 0;
}

.card-description {
  font-size: 1.5rem;
  margin-top: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.card-hover:hover {
  transform: scale(1.02);
}

.card-hover:hover::before {
  background: rgba(0, 0, 0, 0.7); /* escurece mais no hover */
}

.card-hover:hover .card-description {
  max-height: 200px;
  opacity: 1;
}

.carousel-item {
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.carousel-item .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.carousel-item:hover .overlay {
  transform: translateY(0);
}

.carousel-item h3 {
  margin: 0;
  font-size: 1.5rem;
}

.carousel-item p {
  margin-top: 5px;
  font-size: 1rem;
  opacity: 0.8;
}

.footer .social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  background-color: #333;
  color: #ccc;
  transition: all 0.3s ease;
}

.footer .social-icons a:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
}

.footer .social-icons i {
  font-size: 16px;
  vertical-align: middle;
}
