@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');

.headerImageContainer {
    position: relative;
    background-image: url(../img/customer_story/backGirl.jpg);
    background-size: cover;
    background-position: 20% 13%; /* Adjust these values as needed */
    height: 34vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.7); /* Adjust the alpha value as needed */
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
}

.headerImageContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the alpha value as needed */
    z-index: 1; /* Ensure this value is lower than the z-index of #parent */
}

.headerImageContainer > * {
    position: relative;
    z-index: 2;
}

#parent {
    position: relative;
    z-index: 3; /* Ensure this value is higher than the z-index of headerImageContainer::before */
}

/*Cusstom Banner header*/
.headerText{
    margin-top: 2em;
    text-align:center;
    font-family: "Hina Mincho", serif;
    color: white;
    margin-bottom: 3em;
  }
  .headerText h1{
    font-size:10vw;
    opacity: 0.5;
    font-weight: 300; /* Add this line */
  }
  .headerText h4{
    margin-top: -14vw;
    font-size: 4vw;
    font-weight: 300; /* Add this line */
  }

/*Customer story*/
.customerStoryContainer{
  background-color: rgb(255, 255, 255);
  width: 90%; /* Adjust the width as needed */
  margin: 2em auto; /* Center the container horizontally */
  padding: 1em; /* Add some padding for better appearance */
}
.customerStoryImage{
  max-width: 40%;
  margin-left: 2em;
  margin-top: 2em;
  margin-right: 2em;
  height: auto;
  width: auto;
  object-fit: contain;
}
.bottomText{
  margin-left: 2em;
  margin-top: 1em;
  padding-bottom: 1em;
}

.customerStory{
  display: flex;
  align-items: center; /* Align items vertically centered */
  padding-bottom: 1em;
}

.customerStoryImage {
  margin-right: 20px; /* Adjust the margin as needed */
}

.customerStoryText{
  flex: 1;
}
/*Button to expand text*/
.watchTheChange{
  background-color: #DDABA7; /* Set the background color to pink */
  color: white; /* Set the text color to white */
  border: none; /* Remove the border */
  padding: 10px 20px; /* Add some padding */
  margin-top: 1em; /* Add some margin on top */
  cursor: pointer; /* Change the cursor to pointer */
  text-align: center; /* Center the text */
  display: inline-block; /* Make it an inline-block element */
}

.content_collaps {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  } 

.collaps_header {
  color: #ddaba7;
  font-weight: 500;
  text-shadow: 0.11419318em 0.05084208em 0.02125em rgba(221, 171, 167, 0.170000);
  font-size: 350%;
}

.collaps_comment {
  color: #cc5148;
  font-size: 200%;
  font-family: "Motoya Mincho Old", serif;
  margin-bottom: 2rem;
}
.collaps_comment p{
  margin-bottom: -0.7rem;
  margin-left: .5rem;
}

.introductionCustommer {
  background-color: #cc5148;
  color: white;
  display: inline-block;
  padding: 0 0.5em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.customer_change p{
  margin-bottom: 0rem;
}

@media only screen and (max-width: 900px) {
  .customerStory {
    flex-direction: column;
    align-items: center; /* Center items horizontally */
  }

  .customerStoryImage {
    margin-right: 0em; /* Reset the right margin */
    margin-bottom: 1em; /* Add some space below the image */
    margin-left: 0em; /* Reset the left margin */
    max-height: 65%;
    max-width: 65%;
  }

  .customerStoryText {
    margin-left: 1em;
    margin-right: 1em;
    text-align: center; /* Center the text */
  }

  /*Coplast comment*/
  .collaps_comment {
    font-size: 127%;
  }
  .introductionCustommer{
    font-size: 127%;
  }
}