@font-face {
  font-family: 'Handlee';
  src: url(../fonts/Handlee-Regular.ttf);
}

html {
  scroll-behavior: smooth;
}

input[type=file]::file-selector-button{
  cursor: pointer;
}

input[type=file]::file-selector-button:hover{
  background-color: #f2f2f2;
}

.main-container{
  background-image: url(../images/wall-bg.jpeg);
  background-size: cover;
  z-index: 0;
  background-repeat: no-repeat;
}

.background-img{
  position: absolute;
  z-index: -2;
  top: 7rem;
  right: 30px;
  height: 400px;
}

.motto{
  font-family: 'Handlee';
  color: #0d6641;
}

.product-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.banking-product-text{
  height: 415px !important;
}

.text-product {
  height: 250px;
}

.text-product-video{
  height: 180px;
}

.text-product-no-video{
  height: 340px;
}

.text-product ul{
  margin-left: 2rem;
  margin-top: 1rem;
}

.text-product a{
  color: #76c71a;
}

.modal {
  background-color: rgba(0, 0, 0, 0.58);
}

.h-30rem {
  height: 35rem;
}

.business-text{
  background-image: url(../images/illustration-pared.webp);
  background-size: cover;
  background-repeat: no-repeat;
}

.man-image{
  position: absolute;
  height: 16rem;
  right: 3rem;
  bottom: 2rem;
  z-index: -6;
}

.idea-image{
  position: absolute;
  height: 22rem;
  right: 1rem;
  bottom: 6rem;
  z-index: -7;
}

.video {
  width: 70%;
  height: 100%;
}

/* Media Queries */
@media only screen and (max-width: 768px) {
  .h-30rem {
    height: 15rem;
  }

  .mobile-text-stroke {
    text-shadow:
      -1px -1px 0 gray,
      1px -1px 0 gray,
      -1px 1px 0 gray,
      1px 1px 0 gray;
  }
}

@media only screen and (max-width: 820px) {
  .background-img {
    bottom: -0.5rem;
  }
}

@media only screen and (max-width: 920px) {
  .background-img {
    height: 300px;
    bottom: 20px;
    top: unset;
  }
}

@media only screen and (max-width: 715px) {
  .background-img {
    height: 270px;
    bottom: 20px;
    top: unset;
  }
}

@media only screen and (max-width: 640px) {
  .background-img {
    height: 250px;
    bottom: 10px;
    top: unset;
  }
}

@media only screen and (max-width: 640px) {
  .man-image {
    height: 8rem;
    right: 1rem;
    bottom: 0.6rem;
  }
}

@media only screen and (min-width: 640px) {
  .man-image {
    height: 12rem;
    right: 1rem;
    bottom: 0.6rem;
  }
}

@media only screen and (min-width: 1024px) {
  .man-image {
    height: 17rem;
    right: 1rem;
    bottom: 0.6rem;
  }
}

@media only screen and (max-width: 640px) {
  .business-text{
    background-position: bottom 20% right;
  }
}

@media only screen and (min-width: 640px) {
  .business-text{
    background-position: bottom 5% right;
  }
}

@media only screen and (max-width: 510px) {
  .business-text{
    background-position: bottom 5% right 40%;
  }
}
