*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-Bold.otf);
  font-weight: bold;
}

@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-BoldItalic.otf);
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-ExtraBold.otf);
  font-weight: bolder;
}

@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-ExtraBoldItalic.otf);
  font-weight: bolder;
  font-style: italic;
}

@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-ExtraLight.otf);
  font-weight: lighter;
}

@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-ExtraLightItalic.otf);
  font-weight: lighter;
  font-style: italic;
}

@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-Regular.otf);
  font-weight: normal;
}
@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-Light.otf);
  font-weight: 200;
}

@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-LightItalic.otf);
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-Medium.otf);
  font-weight: 300;
}

@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-RegularItalic.otf);
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: mtn_brighter_sans;
  src: url(../fonts/MTNBrighterSans-MediumItalic.otf);
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-Bold.eot);
  font-weight: bold;
}

@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-BoldItalic.eot);
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-ExtraBold.eot);
  font-weight: bolder;
}

@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-ExtraBoldItalic.eot);
  font-weight: bolder;
  font-style: italic;
}

@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-ExtraLight.eot);
  font-weight: lighter;
}

@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-ExtraLightItalic.eot);
  font-weight: lighter;
  font-style: italic;
}

@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-Regular.eot);
  font-weight: normal;
}
@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-Light.eot);
  font-weight: 200;
}

@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-LightItalic.eot);
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-Medium.eot);
  font-weight: 300;
}

@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-RegularItalic.eot);
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: mtn_brighter_sans_ie;
  src: url(../fonts/MTNBrighterSans-MediumItalic.);
  font-weight: 300;
  font-style: italic;
}
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: mtn_brighter_sans, mtn_brighter_sans_ie, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
}

.navbar {
  width: 100%;
  height: 70px;
  background-color: #ffcc00;
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.navbar .logo img {
  width: 40px;
  height: auto;
}

.banner img {
  width: 100%;
  height: auto;
}

.banner {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.banner_curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  fill: white;
  z-index: 2;
}

.banner .carousel-slide {
  height: 360px;
  min-height: 230px;
}

.banner .carousel-slide {
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  color: white;
  background: transparent;
  background: linear-gradient(
    180deg,
    rgba(250, 250, 250, 0) 0%,
    rgba(6, 6, 6, 0.6337885495995272) 74%
  );
  padding: 40px;
  flex-direction: column;
  justify-content: space-evenly;
  z-index: 2;
}
img.tgif-logo {
  width: 12rem;
  height: auto;
}
.carousel-overlay p {
  font-size: 2rem;
}
.content {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
}
.page-text,
.card-row {
  padding: 40px;
}
p a {
  text-decoration: none;
  color: #00678f;
}
p a:hover {
  text-decoration: underline;
}
p {
  line-height: 1.6rem;
  letter-spacing: 0.04rem;
  text-align: justify;
}
.card-row {
  width: 100%;
  /* margin-bottom: 20px; */
  /* display: grid;
  grid-template-rows: auto auto auto; */
}
.product-cards {
  padding-bottom: 20px;
}
.product-card {
  box-sizing: border-box;
  background-color: white;
  height: 380px;
  min-width: 250px;
  margin-right: 30px;
  border-radius: 30px;
  position: relative;
  margin-top: 35px;
  background-size: 50% auto;
  background-position: top center;
  background-repeat: no-repeat;
  cursor: pointer;
  -webkit-box-shadow: -1px -1px 8px 0px rgba(0, 0, 0, 0.31);
  -moz-box-shadow: -1px -1px 8px 0px rgba(0, 0, 0, 0.31);
  box-shadow: -1px -1px 8px 0px rgba(0, 0, 0, 0.31);
}

.product-card .discount {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background-color: #fc0;
  color: black;
  height: 50px;
  /* width: 50px; */
  padding: 5px 7px;
  transform: translate(15px, -15px);
  font-weight: bold;
  z-index: 3;
  transition-property: transform;
  transition-duration: 0.5s;
  transition-delay: 0.3s;
}
.product-card:hover .discount,
.card-overlay:hover .discount {
  transform: scale(1.2);
}
.product-card .discount > span {
  animation-name: blink;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.comp-logo {
  height: 50%;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}
.comp-logo img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  display: flex;
  color: white;
  background: #00678f;
  padding: 10px 20px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
  border-radius: 0 0 30px 30px;
  transition-property: height background-color border-radius;
  transition-duration: 0.5s;
  box-sizing: border-box;
}
.card-overlay h5 {
  margin: 0;
}
.longer.product-cards .card-overlay {
  height: 60%;
}
.longer.product-cards .comp-logo {
  height: 40%;
}
.product-card:hover .card-overlay,
.card-overlay:hover {
  height: 100%;
  background-color: #00678f;
  border-radius: 30px;
  /* justify-content: space-evenly; */
}
.card-overlay h5 {
  font-size: 1.2rem;
}
.fill-grey {
  fill: #f2f2f2 !important;
}
.fill-white {
  fill: #ffffff !important;
}
.bg_grey {
  background-color: #f2f2f2 !important;
}
h3 {
  margin: 0;
}
.curve {
  width: 100%;
}
.card-row {
  position: relative;
}
.top-curve {
  transform: translateY(-25px);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.bottom-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
footer {
  background-color: black;
  min-height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.product-card p {
  text-align: left;
  display: flex;
  flex-direction: row;
  gap: 10px;
}
p.location img,
p.telephone img {
  height: 20px;
  width: 20px !important;
  display: inline !important;
}

@media only screen and (min-width: 992px) {
  .banner .carousel-slide {
    min-height: 500px !important;
  }
  html,
  body {
    font-size: 16px;
  }
}

@media only screen and (min-width: 500px) {
  .longer.product-cards .product-card {
    box-sizing: border-box;
    min-height: 500px !important;
  }
}
@media only screen and (max-width: 500px) {
  html,
  body {
    font-size: 14px;
  }
  .card-overlay {
    font-size: 0.7rem;
    height: 65%;
  }
  img.tgif-logo {
    width: 4rem;
    height: auto;
  }
  .carousel-overlay p {
    font-size: 1.2rem;
  }
  .comp-logo {
    height: 35%;
    background-color: #00678f;
  }
  .product-card {
    height: 300px;
  }
  .product-card.longer {
    height: 395px;
  }
  footer {
    padding: 20px;
    font-size: 0.7rem;
  }
}
.slide-nav {
  width: 1.5rem;
  height: 1.5rem;
  top: 40%;
  position: absolute;
  display: block !important;
}
.slide-nav:first-of-type {
  margin-left: -25px;
}
.slide-nav-right {
  transform: rotateY(180deg);
  right: -25px;
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
html,
body {
  font-size: 16px;
}
