* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.4;
}

.main-wrapper {
  background-color: #040412;
  display: flex;
  justify-content: center;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  mix-blend-mode: lighten;
  overflow: hidden;
  position: relative;
  min-height: calc(816px * 0.7); /* reduced height by 30% */
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: calc(75px * 0.7) calc(60px * 0.7); /* reduced padding by 30% */
}
@media (max-width: 991px) {
  .content-wrapper {
    max-width: 100%;
    padding: 0 calc(20px * 0.7); /* reduced padding by 30% */
  }
}
.background-image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.text-wrapper {
  position: relative;
  display: flex;
  margin-bottom: calc(37px * 0.7); /* reduced margin by 30% */
  width: 100%;
  flex-direction: column;
  padding: 80px;
}
@media (max-width: 991px) {
  .text-wrapper {
    max-width: 100%;
    padding: 20px;
  }
}
@media (max-width: 1920px) {
  .text-wrapper {
    max-width: 100%;
    padding: 20px;
  }
}
.main-title {
  padding-top: 20px;
  padding-left: 20px;
  color: #f8e6ff;
  text-align: right;
  align-self: flex-end;
  width: calc(838px * 0.7); /* Default width */
  font: 400 calc(28px * 0.7) Kanit, sans-serif; /* Default font size */
}



/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .main-title {
    width: calc(838px * 0.7); /* Adjust as needed */
    font-size: calc(28px * 0.7); /* Adjust as needed */
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199px) {
  .main-title {
    width: calc(838px * 0.6); /* Adjust as needed */
    font-size: calc(28px * 0.6); /* Adjust as needed */
  }
}

@media (min-width: 320px) and (max-width: 576px) {
  .plagship-title {
    text-align: center;
    
    font-size: calc(28px * 0.5); /* Adjust as needed */
  }
}

/* Small devices (large phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  .main-title {
    text-align: center;
    width: calc(838px * 0.5); /* Adjust as needed */
    font-size: calc(28px * 0.5); /* Adjust as needed */
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
  
  .main-title {
    
    width: calc(838px * 0.8); /* Adjust as needed */
  }
}

.sub-container {
  margin-top: calc(57px * 0.7); /* reduced margin by 30% */
}
@media (max-width: 991px) {
  .sub-container {
    max-width: 100%;
    padding-right: calc(20px * 0.7); /* reduced padding by 30% */
    margin-top: calc(40px * 0.7); /* reduced margin by 30% */
  }
}
.image-columns {
  justify-content: center;
  display: flex;
  gap: calc(90px); /* reduced gap by 30% */
}
@media (max-width: 991px) {
  .image-columns {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
}
@media (max-width: 19201px) {
  .image-columns {
    gap: 80px;
    align-items: flex-start;
  }
}
.column {
  display: flex;
  flex-direction: column;
  width: calc(33% * 0.7); /* reduced width by 30% */
  margin-left: 0;
}
@media (max-width: 991px) {
  .column {
    width: 100%;
  }
}
.image-column {
  justify-content: center;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  font-size: calc(28px * 0.7); /* reduced font size by 30% */
  color: #ffedd8;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  line-height: 120%;
  border: none !important;
}
@media (max-width: 991px) {
  .image-column {
    margin-top: calc(40px * 0.7); /* reduced margin by 30% */
  }
}
.image {
  aspect-ratio: 1;
  object-fit: auto;
  object-position: center;
  width: 100%;
  box-shadow: 0 calc(12px * 0.7) calc(4px * 0.7) rgba(0, 0, 0, 0.25);
}
.image-title {
  font-family: Kanit, sans-serif;
  align-self: center;
  margin-top: calc(20px * 0.7); /* reduced margin by 30% */
}
.image-titles {
  font-family: Kanit, sans-serif;
  font-size:large;
  align-self: center;
  margin-top: calc(20px * 0.7); /* reduced margin by 30% */
}

.description-content p {
  font-family: Kanit, sans-serif;
  font-size: calc(
    20px * 0.6
  ); /* Adjusted font size to be smaller than image-title */
  margin-top: calc(20px * 0.6); /* Adjusted margin to match the smaller size */
}

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .description-content p {
    font-size: calc(28px * 0.6); /* Adjust as needed */
    margin-top: calc(20px * 0.6); /* Adjust as needed */
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199px) {
  .description-content p {
    font-size: calc(28px * 0.5); /* Adjust as needed */
    margin-top: calc(20px * 0.5); /* Adjust as needed */
  }
}

/* Small devices (large phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  .description-content p {
    font-size: calc(28px * 0.4); /* Adjust as needed */
    margin-top: calc(20px * 0.4); /* Adjust as needed */
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
  .description-content p {
    font-size: calc(28px * 0.4); /* Adjust as needed */
    line-height: 1.3;
  }
}
