.link-html {
  height: 100%;
}

.link-body {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 100%;
}

.link-video-background {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.link-body-backdrop {
  position: fixed;
  width: 100%;
  height: 100%;
}

.link-content {
  padding-top: 2rem;
}

.link-image {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

.link-verified {
  border: 2px solid #fff;
  border-radius: 50rem;
  padding: 0.35rem 0.55rem;
  background: #0086ff;
  color: #fff;
  font-weight: bold;
}

.link-verified-small {
  color: #0086ff;
  vertical-align: text-top;
}

.link-verified-small .fa-stack {
  font-size: 0.8rem;
}

.link-btn {
  position: relative;
  white-space: normal;
  word-wrap: break-word;
  padding: 1rem 4.5rem;
  font-size: 1.1rem;
  transition: opacity 0.3s, background 0.3s;
  border-radius: 0;
}

.link-btn:hover {
  animation: none;
}

.link-btn-straight {
  border-radius: 0;
}

.link-btn-round {
  border-radius: 50px;
}

.link-btn-rounded {
  border-radius: 0.4rem;
}

.link-avatar-straight {
  border-radius: 0;
}

.link-avatar-round {
  border-radius: 50rem;
}

.link-avatar-rounded {
  border-radius: 0.3rem;
}

.link-hover-animation-smooth {
  transition: transform 0.3s;
}

.link-hover-animation-smooth:hover,
.link-hover-animation-instant:hover {
  transform: scale(1.025);
}

.link-hover-animation-smooth:active,
.link-hover-animation-instant:active {
  transform: scale(0.975);
}

.link-btn-image-wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
  max-width: 45px;
  max-height: 45px;
  position: absolute;
  top: 50%;
  margin-top: -22.5px;
  margin-left: -4.1rem;
}

[dir="rtl"] .link-btn-image-wrapper {
  margin-left: initial;
  margin-right: -4.1rem;
}

/* Big link */
.link-big-btn {
  padding: 1rem;
}

.link-big-btn-image-wrapper {
  overflow: hidden;
  width: 25%;
  height: auto;
  max-height: 7rem;
}

.link-big-btn-image {
  width: 100%;
  height: auto;
  max-height: 7rem;
  object-fit: contain;
}

.link-big-content-wrapper {
  width: 100%;
}

.link-big-icon-wrapper {
  width: 10%;
}

.link-grid-image-wrapper {
  position: relative;
  width: 100%;
  background: transparent;
  border-radius: 0.25rem;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.link-grid-image-wrapper-columns-2 {
  height: 10rem;
}

.link-grid-image-wrapper-columns-3 {
  height: 6rem;
}

@media (min-width: 992px) {
  .link-grid-image-wrapper-columns-2 {
    height: 20rem;
  }

  .link-grid-image-wrapper-columns-3 {
    height: 10rem;
  }
}

.link-grid-image-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem 1rem;
}

.link-grid-image-overlay-text {
  color: white;
  font-size: 1.1rem;
}

.link-btn-image {
  width: 100%;
  height: auto;
}

.link-external-item-image {
  width: 100%;
  height: auto;
  max-height: 10rem;
  object-fit: cover;
}

.link-iframe-round {
  border-radius: 0.3rem;
  overflow: hidden;
  position: relative;
}

.link-round {
  border-radius: 0.3rem;
}

#links > .row > div:target {
  transform: scale(1.05);
}

/* Review */
.link-review-image {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50rem;
  object-fit: cover;
  background: hsla(0, 0%, 0%, 0.1);
  color: hsla(0, 0%, 0%, 1);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image slider */
.link-image-slider-image {
  object-fit: cover;
}

/* Faq block */
.link-faq button {
  font-size: 1.1rem;
}

/* Footer */
.link-footer {
  margin: 3rem 0;
}

.link-footer-branding {
  font-size: 0.9rem;
}

/* Modals */
.modal-header {
  padding: 1rem;
  border-bottom: 0;
}

.modal-subheader {
  padding: 0 1rem;
  border-bottom: 0;
  margin: 0;
}

.modal-content {
  padding: 1rem;
  border: none;
  box-shadow: none;
  -webkit-box-shadow: none;
}

/* Other default overrides */
form .btn-primary {
  transition: all 0.3s ease-in-out;
}

form .btn-primary,
form .btn-primary:hover,
form .btn-primary:focus,
form .btn-primary:active {
  background: black !important;
  border-color: black !important;
  box-shadow: none !important;
}

form .btn-primary:hover,
form .btn-primary:focus {
  opacity: 0.85;
}

form .btn-primary:active {
  opacity: 0.75;
}

.btn:focus,
.btn:active {
  box-shadow: none !important;
}

/* Modal changes */
.modal-backdrop {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1 !important;
}

/* Share button */
.share-button-wrapper {
  z-index: 2;
  top: 1rem;
  right: 1rem;
}

.share-button {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background-color: #0003;
  color: white;
}

.share-button:hover {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
}

/* Container left-top Button */
.container-top-left {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Tree Gamify */
.modal[id^="modal_tree_gamify_"] .modal-content {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 2px solid #e8e8e8;
  background: linear-gradient(112deg, #93ebbb 0%, #93b9eb 100%);
}

.modal[id^="modal_tree_gamify_"] .modal-header {
  z-index: 3;
}

.modal[id^="modal_tree_gamify_"] .modal-title {
  z-index: 2;
  color: #075b56;
}

.treegamify-water {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  z-index: 1;
  align-items: center;
}

.watering-can {
  background-color: #f2f2f2;
  border: 2px solid #229c96;
  padding: 0 7px 0 11px;
  border-radius: 16px;
  vertical-align: middle;
}

.watering-can img {
  width: 12.5vw;
  max-width: 80px;
  height: auto;
  object-fit: contain;
}

.garden-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 200px;
  align-items: end;
  position: relative;
}

.treegamify-tree {
  position: absolute;
  bottom: calc(-6px - 1rem);
  right: 1rem;
  align-self: flex-end;
}

.treegamify-tree .tree {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.watering-can {
  width: 100px;
  height: 100px;
  cursor: grab;
  z-index: 10;
  transition: transform 0.3s ease;
}

.watering-can:active {
  cursor: grabbing;
}

.dropzone {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  z-index: 5;
}

.dropzone.highlight {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10%;
}

/* Animação de água */
.water-drop {
  position: absolute;
  background-color: #4da6ff;
  width: 8px;
  height: 15px;
  border-radius: 50%;
  opacity: 0;
  animation: falling 1s ease-in infinite;
}

@keyframes falling {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }

  80% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(80px) scale(0.5);
    opacity: 0;
  }
}

.watering-animation {
  animation: watering 2s ease-in-out;
  transform-origin: bottom center;
}

@keyframes watering {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(20deg);
  }

  50% {
    transform: rotate(15deg);
  }

  75% {
    transform: rotate(25deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.tree-growing {
  animation: grow 3s ease-out forwards;
}

@keyframes grow {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  60% {
    transform: scale(1.03);
  }

  70% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1.1);
  }
}

/* Sun and clouds */
.cloud {
  position: absolute;
}

.front {
  margin-left: 8%;
  margin-top: -2rem;
  display: inline;
  position: absolute;
  animation: clouds 8s infinite;
  animation-timing-function: ease-in-out;
}

.back {
  margin-top: -4.5rem;
  margin-left: 38%;
  animation: clouds 12s infinite;
  animation-timing-function: ease-in-out;
}

.right-front {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0%;
  background-color: #e8e8e8;
  display: inline-block;
  margin-left: -20px;
}

.left-front {
  width: 50px;
  height: 50px;
  border-radius: 50% 50% 0% 50%;
  background-color: #e8e8e8;
  display: inline-block;
}

.right-back {
  width: 65px;
  height: 65px;
  border-radius: 50% 50% 50% 0%;
  background-color: #e8e8e8;
  display: inline-block;
  margin-left: -25px;
}

.left-back {
  width: 45px;
  height: 45px;
  border-radius: 50% 50% 0% 50%;
  background-color: #e8e8e8;
  display: inline-block;
}

.sun {
  width: 50px;
  height: 50px;
  top: -20px;
  left: -20px;
  background: #efc745;
  z-index: 3;
  border-radius: 60px;
  display: inline;
  position: absolute;
}

.sun-layer-2 {
  width: 70px;
  height: 70px;
  top: -30px;
  left: -30px;
  background: #efa950;
  z-index: 2;
  border-radius: 60px;
  display: inline;
  position: absolute;
}

.sun-layer-3 {
  width: 90px;
  height: 90px;
  top: -40px;
  left: -40px;
  background: #ee885b;
  z-index: 1;
  border-radius: 60px;
  display: inline;
  position: absolute;
}

.sunshine {
  animation: sunshines 2s infinite;
}

@keyframes sunshines {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes clouds {
  0% {
    transform: translateX(15px);
  }

  50% {
    transform: translateX(0px);
  }

  100% {
    transform: translateX(15px);
  }
}

/* Wind */
.frame {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  pointer-events: none;
}

.center {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}

.line {
  fill: none;
  stroke-width: 0.5%;
  stroke-linecap: round;
  -webkit-animation: line 3s linear infinite;
  animation: line 3s linear infinite;
}

.circle {
  z-index: 1;
  position: absolute;
  border: 2px solid #e8e8e8;
  width: 10%;
  top: 42%;
  left: 24%;
  height: 10%;
  border-radius: 50%;
  -webkit-animation: circle 3.1s ease-out infinite both;
  animation: circle 3.1s ease-out infinite both;
}

@-webkit-keyframes line {
  from {
    stroke-dasharray: 25% 165%;
    stroke-dashoffset: 195%;
  }
  to {
    stroke-dasharray: 25% 165%;
    stroke-dashoffset: 18%;
  }
}
@keyframes line {
  from {
    stroke-dasharray: 25% 300%;
    stroke-dashoffset: 325%;
  }
  to {
    stroke-dasharray: 25% 300%;
    stroke-dashoffset: 3%;
  }
}

@-webkit-keyframes circle {
  0%,
  50% {
    opacity: 1;
    transform: scale(0);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(0.2);
  }
}
@keyframes circle {
  0%,
  50% {
    opacity: 1;
    transform: scale(0);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.dragging {
  opacity: 0.5;
  cursor: grabbing;
}

.drag-over {
  border: 2px dashed #4caf50;
  opacity: 0.8;
}

/* Carbon Footprint */
.carbon-footprint {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition-duration: 0.3s;
  font: 600 1rem/1.25 Poppins, sans-serif;
  border: none;
}

.carbon-footprint .sign svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.carbon-footprint .hidden {
  display: none;
}

.carbon-footprint .clicks {
  color: #fffffff7;
  pointer-events: none;
}

.carbon-footprint .text {
  color: #ffffffd7;
  font: 600 0.75rem/1.33 Poppins, sans-serif;
}

.carbon-footprint:hover {
  width: fit-content;
  padding: 0 1rem;
  gap: 0.5rem;
}

.carbon-footprint:hover .hidden {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.carbon-footprint:active {
  transform: translate(2px, 2px);
}
