:root {
  --text-blue: #075498;
  --text-orange: #E86618;
  --button-blue: #243D8F;
  --button-orange: #E86618;
  --background-dark-blue: #273A98;
  --background-purple: #6F479D;
  --card-blue: #114E9F;
  --card-gray: #889DBA;
}

html {
  scroll-padding-top: 70px;
  /* height of sticky header */
}

body {
  box-sizing: border-box;
  margin: 0;
  padding-top: 60px;
}

.contact-link {
  text-decoration: none;
  color: black;
}

.contact-link:hover {
  color: blue !important;
}

.footer-link {
  text-decoration: none;
  color: black;
}

.footer-link:hover {
  color: blue;
}

.parent-content {
  position: relative;
  width: 100%;
  height: 450px;
}

.content {
  position: absolute;
  top: 80px;
  left: 0;
  opacity: 100%;
  width: 100%;
  text-align: center;
}

.main-banner {
  background-image: url('../banner/Risk_Home_Banner.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
}

.risk-banner {
  background-image: url('../banner/Risk_Banner.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
}

.decision-banner {
  background-image: url('../banner/DecisionTools_banner.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
}

.background-content {
  background-image: url('../image/Blue-banner.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.img-product {
  width: 100%;
  /* aspect-ratio: 16/9; */
  object-fit: contain;
}

.background-orange {
  background-color: var(--text-orange);
}

.background-purple {
  background-color: var(--background-purple);
}

.background-dark-blue {
  background-color: var(--background-dark-blue);
}

.background-card-blue {
  background-color: var(--card-blue);
}

.background-card-gray {
  background-color: var(--card-gray);
}

.text-blue {
  color: var(--text-blue);
}

.text-orange {
  color: var(--text-orange);
}

.btn-img {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.5s ease;
  justify-content: space-around;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-img:hover {
  transform: scale(1.1);
}

.btn-trans {
  background-color: var(--button-blue);
  color: aliceblue;
  padding: 10px;
  width: 100%;
  transition: all 0.5s ease;
}

.btn-orange {
  background-color: var(--button-orange);
  color: aliceblue;
  padding: 10px;
  width: 60%;
  transition: all 0.5s ease;
  font-weight: 600;
}

.btn-orange:hover {
  transform: scale(1.06);
  background-color: var(--button-orange);
  color: whitesmoke;
}

.btn-trans:hover {
  transform: scale(1.06);
  background-color: var(--button-blue);
  color: aliceblue;
}

@media screen and (max-width:900px) {
  .btn-orange {
    background-color: var(--button-orange);
    color: aliceblue;
    padding: 10px;
    width: 100%;
    transition: all 0.5s ease;
  }
}

@media screen and (max-width:770px) {
  .btn-img {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.1s ease;
    justify-content: space-around;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
  }

  .btn-trans {
    background-color: var(--button-blue);
    color: aliceblue;
    padding: 10px;
    width: 100%;
    transition: all 0.5s ease;
  }

  .btn-orange {
    background-color: var(--button-orange);
    color: aliceblue;
    padding: 10px;
    width: 100%;
    transition: all 0.5s ease;
  }

  .img-product {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
  }
}

@media screen and (max-width:500px) {
  .parent-content {
    position: relative;
    width: 100%;
    height: 450px;
    top: 40px;
  }

  .content {
    position: absolute;
    top: 70px;
    left: 0;
    opacity: 100%;
    width: 100%;
    text-align: center;
  }

  .back {
    background: rgba(204, 204, 204, 0.8);
    padding: 10px;
  }

  .btn-img {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.1s ease;
    justify-content: space-around;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
  }

  .btn-trans {
    background-color: var(--button-blue);
    color: aliceblue;
    padding: 10px;
    width: 100%;
    transition: all 0.5s ease;
  }

  .btn-orange {
    background-color: var(--button-orange);
    color: aliceblue;
    padding: 10px;
    width: 100%;
    transition: all 0.5s ease;
  }

  .img-product {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
  }

}


@media all and (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: none;
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: block;
  }

  .navbar .nav-item .dropdown-menu {
    margin-top: 0;
  }
}