@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins&display=swap');
@import url("base.css");

.search {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-radius: 28px;
  background-color: var(--branco-claro);
  transition: box-shadow 0.25s;
  height: 52px;
  border: solid var(--marrom-escuro);
  max-width: 90%;
  width: 800px;
  margin: 30px auto;
  position: relative;
  gap: var(--gap-padrao);
}

.search-input {
  font-size: 16px;
  color: var(--marrom-escuro);
  outline: none;
  border: none;
  background: transparent;
  width: 100%;
}

.search i {
  font-size: 22px;
  color: var(--marrom-escuro);
  position: static;
}


.BigGrande {
  font-family: "DM Serif Display", serif;
  position: relative;
  font-weight: bold;
  font-style: normal;
  color: var(--cor-marrom);
  font-size: 32pt;
}

.containerBolas {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 2vw;
  padding: 0 2vw;
  margin-top: 0;
}

.bolinha-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 120px;
  max-width: 180px;
  max-width: 180px;
}

.link-bolinha {
  width: 160px;
  width: 160px;
  height: 160px;
  display: inline-block;
}

.link-bolinha img {
  width: 160px;
  height: 160px;
  display: block;
}


.bolinha-wrapper:first-child .link-bolinha img {
  height: 112%;
  width: 105%;
}

.bolinha-label {
  font-family: "DM Serif Display", serif;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: var(--cor-verde-medio);
  margin-top: 4px;
  line-height: 1.2;
}


.containerBolas .bolinha-wrapper:first-child .bolinha-label {
  margin-top: 4px;
}

.Chat {
  position: fixed;
  bottom: 65px;
  right: 2vw;
  width: clamp(40px, 8vw, 100px);
  z-index: 9999;
  width: 70px;
}


.Chat:hover {
  width: 80px;
  height: 65px;
}

.containerPD {
  border-radius: 16px;
  overflow: hidden;
  max-height: 400px;
  width: 700px;
  height: 200px;
  display: flex;
  justify-content: space-around;
}

.containerPraga {
  background: linear-gradient(to left, var(--cor-verde-claro), #271b00);


}

.containerDoenca {
  background: linear-gradient(to left, var(--cor-verde-escuro), #013a10);
}

.txtAntHiper {
  display: block;
  /* width: fit-content; */
  text-decoration: none;
}

.contImg {
  width: 160px;
  display: flex;
  align-items: center;
}


.txtPraga {
  font-family: "DM Serif Display", serif;
  font-weight: bold;
  font-style: normal;
  color: var(--cor-branco-quase);
  font-size: 30px;
  margin-top: 50px;
  margin-left: 35px;
  text-decoration: none;
}

.Containers {
  max-width: 500px;
  margin: 0;
  display: block;
  position: relative;
  width: 390px;
}

.containerCenter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.button {
  display: block;
  width: 260px;
  height: auto;
  margin-left: 5px;
}

.btnTxt {
  font-family: "DM Serif Display", serif;
  font-weight: bold;
  font-style: normal;
  font-size: 32px;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
  background-color: var(--cor-branco-quase);
  margin: 20px;
  width: 250px;
  border-radius: 30px;
  border: solid #000 4px;
  border: solid #000 4px;
  display: flex;
  justify-content: space-around;
}

.btnTxtMarrom {
  color: var(--cor-marrom);
}

.btnTxtVerde {
  color: var(--cor-verde-escuro);
}

.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btnAgronomo {
  background-color: #3f7021;
  color: white;
}



.btnAgronomo:hover {
  background-color: #38611f;
  color: #fff;
}

.foto-agronomo-cadastro {
  width: 130px;
  height: 130px;
  border-radius: 8px;
  border: 2px solid #ccc;
  width: 130px;
  height: 130px;
  border-radius: 8px;
  border: 2px solid #ccc;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 1000px;
}

.video-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 30px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 45px 40px;
}

.video-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 30px;
}

.videos {
  padding: 20px;
}

.video-item {
  flex: 0 0 95%;
  max-width: 950px;
  height: 540px;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
  background: #000;
}


.video-item iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #000;
}

.avisos {
  margin-bottom: 30px;
}

.aviso-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  width: calc(100vh / 3);
  height: auto;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.3s ease;
  background: rgb(243, 243, 243);
  padding: 0 0 15px;
}

.avisos .carousel-item {
  padding: 30px 0;
}

.aviso-card .cabecalho-aviso {
  padding-top: 5px;
  font-size: 16px;
  height: 30px;
  font-weight: bold;
  text-align: center;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.aviso-card .intensidade-aviso {
  margin: 0;
  padding-top: 5px;
} 

.aviso-card .imagem-aviso {
  height: 40px;
  width: 40px;
}

.aviso-card hr {
  width: 90%;
}

.aviso-card .descricao-aviso {
  padding: 0 10px 0 20px;
  font-size: 15px;
}

.aviso-card .aviso-botao {
  border-radius: 50px;
  width: 150px;
  height: 38px;
  background-color: rgb(0, 0, 0);
  color: var(--branco-claro);
  border: none;
  font-size: 16px;
  font-family: "DM Serif Display", serif;
  margin-top: auto;
}

.aviso-card .aviso-botao:hover {
  background-color: rgb(39, 196, 0);
}
.carousel-item .row {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.carousel-btn {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 30px;
  cursor: pointer;
  padding: 0px 15px;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 2;
  margin-top: 100px;
  display: block !important;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.left {
  position: absolute;
  left: 0;
}

.carousel-btn.right {
  position: absolute;
  right: 0;
}


.grafico-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
}


#graficoCotacao {
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 8 / 6;
  margin: 0 auto;
}

@media (max-width: 700px) {
  #graficoCotacao {
    aspect-ratio: 4 / 3;
  }
}


@media (max-width: 1090px) {
  /* .btnTxt,
  .btnTxt2 {
    font-size: 3vw;
    margin-left: -120px
  } */
}

@media (max-width: 1300px) {

  .containerBolas {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0 2vw;
    margin-top: 0px;
  }

  .bolinha-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    max-width: 110px;
  }

  .link-bolinha {
    width: 60px !important;
    height: 80px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .link-bolinha img {
    width: 48px !important;
    height: 48px !important;
  }

  .bolinha-label {
    font-size: 10px !important;
    margin-top: 1px !important;
    text-align: center;
  }

  .bolinha-wrapper:first-child .link-bolinha img {
    width: 48px !important;
    height: 55px !important;
  }

  .search {
    width: 90%;
    padding: 10px 14px;
  }

  .search-input {
    font-size: 14px;
  }

  .search i {
    font-size: 18px;
    right: 10px;
  }

  .BigGrande {
    margin-top: 0px;
    font-size: 23px;
    margin-left: 10px;
  }

  .BigGrande:nth-of-type(2) {
    margin-top: 0px;
    font-size: 23px;
    margin-left: 10px;
  }

  .pfp {
    height: 35px;
    width: 45px;
  }

  /* .containerDoenca,
  .containerPraga {
    width: 80%;
    max-width: 700px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  } */

  /* .contImg1,
  .contImg2 {
    width: 30%;
    height: 30%;
    margin-right: 13px;
    margin-top: -10px;
  } */

  .contImg {
    width: 120px;
  }

  .txtPraga {
    font-size: 20pt;
  }

  .containerCenter {
    margin-left: auto;
    margin-top: 10px;
    margin-right: auto;
    padding: 0 10px;
  }

  .Containers {
    width: 80%;
    max-width: 200px;
  }

  .button {
    width: 62%;
    height: auto;
    margin-top: 10;
  }

  /* .btnTxt,
  .btnTxt2 {
    font-size: 3vw;
    margin-left: -64px
  } */

  .Chat {
    bottom: 50px;
    right: 2vw;
    width: clamp(45px, 7vw, 90px);
  }

  .Chat:hover {
    width: clamp(40px, 9vw, 70px);
    height: auto;
  }

  .custom-navbar .navbar-brand,
  .custom-navbar .nav-link {
    color: #622902 !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
  }

  .custom-navbar .navbar-nav .nav-link {
    margin-right: 14px;
  }
}

@media (max-width: 992px) {
  .containerCenter {
    flex-direction: column;
  }
}

@media (max-width: 530px) {
  .BigGrande {
    font-size: 18px;
  }

  .BigGrande:nth-of-type(2) {
    margin-top: 0px;
    font-size: 18px;
  }

  .containerPD {
    width: 100%;
    margin: 5px;
  }

  /* .containerDoenca,
  .containerPraga {
    width: 45%;
    max-width: 700px;
    height: 90px;
    margin-left: auto;
    margin-right: auto;
  } */

  .containerBolas {
    justify-content: center;
    gap: 0 !important;
    padding: 0 !important;
    margin-left: -8px;
    margin-top: 0px !important;
  }

  .bolinha-wrapper {
    max-width: 70px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* .contImg2 {
    width: 25%;
    margin-right: 0px;
    height: auto;
    margin-top: -40px;
  }

  .contImg1 {
    width: 23%;
    margin-right: 0px;
    margin-top: -40px;
    height: auto;
  } */

  /* .txtPraga {
    font-size: 3vw;
    margin-left: 8px;
  } */

  .Containers {
    width: 100%;
    max-width: 280px;
  }

  .button {
    width: 48%;
    height: auto;
    margin-top: -10px;
  }

  .btnTxt {
    font-size: 20pt;
    width: 180px;
  }

  .Chat {
    bottom: 40px;
    right: 4vw;
    width: clamp(40px, 9vw, 70px);
  }

  .Chat:hover {
    width: clamp(40px, 9vw, 70px);
    height: auto;
  }

  .custom-navbar .navbar-brand,
  .custom-navbar .nav-link {
    color: #622902 !important;
    font-weight: bold !important;
    font-size: 1.0rem !important;
  }

  .custom-navbar .navbar-nav .nav-link {
    margin-right: 14px;
  }
}
@media (max-width: 532px) {
  .video-item {
    height: 300px;
  }

  .video-item iframe {
    height: 300px;
  }
}