
.container{
    max-width: unset !important;
  padding-right: unset !important;
  padding-left: unset !important;
    }

.tab-content {
  float: left;
  padding-bottom: 120px;
}

.country-images {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

.image-container {
  display: grid;
  overflow: hidden;
  position: relative;
}

.img-gradient {
  grid-column: 1/ -1;
  grid-row: 1 / -1;
  /*width: 480px;
  height: 360px;*/
  width: 100%;
  /*height: 100%;*/
  object-fit: cover;
  object-position: 25% 25%; 
}

.img-gradient::after  {
  content: '';
  position: absolute;
  top: unset;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.overlay {
  grid-column: 1/ -1;
  grid-row: 1/ -1;
  transition: 0.3s;
  transform: translateY(100%);
  display: flex;
  justify-content: center;
  background: radial-gradient(rgba(44, 48, 89, 0.8), rgba(221, 222, 236, 0)) !important;
}

.text {
  color: white;
  font-size: 28px;
  position: absolute;
  font-weight: 400;
  line-height: 42px;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -30%);
  top: -10px;
  font-family: 'Bellefair' !important;
    text-transform: uppercase;
}

.image-container:hover .overlay {
  transform: translateY(65%);
  height: 100%;
  background-color: #696969!important;
}
.countryName {
  opacity: 0;
}

.image-container:hover .text>span {
  display: none;
}

.image-container:hover .text>.countryName {
  opacity: 1;
  font-family: 'Bellefair' !important;
  margin-top: 30px !important;
}

.discoverButton {
  border-radius: 30px !important;
  background: var(--primary-surface-weak, #96949b) !important;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
  padding: 8px 24px !important;
  height: 50px;
  width: 153px;
  border-color: 1px solid #ffffff !important;
  font-size: 16px !important;
  line-height: 25.6px;
  font-weight: 700 !important;
  font-family: 'Inter' !important;
  color:#FFFFFF !important;
}
.discoverButton>a {
    text-decoration: none !important;
   color: #FFFFFF !important; 
}
.hoverButton {
  border-radius: 30px !important;
  background: var(--primary-surface-weak, #F5EFFF) !important;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
  padding: 3px 24px 5px 24px !important;
  height: 50px;
  width: 153px;
  border-color: 1px solid #FFFFFF !important;
  font-family: 'Inter' !important;
}

.hoverButton>span {
  color: var(--primary-text, #684B9B);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 25.6px;
}

.topright {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 16px !important;
  width: 150px;
  height: 40px;
  border-radius: 32px !important;
  padding: 6px 12px 8px 12px !important;
  background-color: #344054 !important;
  color: #FFFFFF !important;
  font-weight: 500 !important;
  line-height: 24px !important;
  font-family: 'Inter' !important;
}

.overlayButtons{
  width: 432px !important;
  height: 50px !important;
}

 .nopadding {
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
}


.inflightImage {
    width: 100%;
    height: 390px;
}

.InflightTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px 20px 16px;
    font-family: "Bellefair";
    font-weight: 400;
    font-size: 28px;
    line-height: 42px;
    letter-spacing: 0px;
    color: var(--gray-text-invert, #FFFFFF);
    position: absolute;
    /* bottom: 35%; */
    bottom: 0%;
    left: 10px;
    text-transform: uppercase;
}

@media (min-width: 350px) and (max-width: 768px) {

.text {
	    position: fixed;
        width: 90%;
}


.image-container:hover .overlay {
    transform: translateY(55%);
}
}


@media (min-width: 340px) and (max-width: 350px) {

.text {
	    position: fixed;
        width: 90%;
}


.image-container:hover .overlay {
    transform: translateY(50%);
}
}

@media (min-width: 1180px) {
	.image-container:hover .overlay {
        transform: translateY(150%);
        height: 40%;
}
}

@media (min-width: 768px) and (max-width: 885px) {

.image-container:hover .overlay {
        transform: translateY(40%);
        height: 75%;
}
}

@media (min-width: 886px) and (max-width: 1024px) {

.image-container:hover .overlay {
        height: 62%;
}
}
@media (min-width: 1025px) and (max-width: 1179px) {

.image-container:hover .overlay {
        height: 70%;
}
}

@media (min-width: 768px) {

.text {
	    position: fixed;
        width: 90%;
}


.discoverButton, .hoverButton {
    width: auto;
    }

    .hoverButton {
	padding-right: 10px !important;
}

    .InflightTitle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 16px 20px 16px;
        font-family: "Bellefair";
        font-weight: 400;
        font-size: 28px;
        line-height: 42px;
        letter-spacing: 0px;
        color: var(--gray-text-invert, #FFFFFF);
        position: absolute;
        bottom: 0%;
        left: 10px;
        text-transform: uppercase;
    }

    .inflightImage:hover {
        transform: scale(1.05);
    }

   	.inflightImage {
        width: 100%;
        height: 100%;
      }

    .country-images {
      grid-template-columns: repeat(3, 1fr);
    }
}

 @media (min-width: 1180px) {
.image{
    height: 345px;
}
  }

 @media (min-width: 1025px) and (max-width: 1179px) {
    .image{
    height: 255px;
}
  }

 @media (min-width: 866px) and (max-width: 1024px) {
    .image{
    height: 225px;
}
  }

 @media (min-width: 768px) and (max-width: 865px) {
    .image{
    height: 195px;
}
  }

 @media (max-width: 767px) {
   .image{
    height: 300px;
}
  }