.homePageWelcome {
  /* 2025_05_19 Add _variables.css in order to put in place variables for css */
  /* background-color: white; */
  background-color: var(--backgroundColorSite);
  padding: 5px;
}

.homePageWelcome h2 {
  font-weight: bold;
  font-size: 3em;
  /* 2025_05_19 Add _variables.css in order to put in place variables for css */
  /* color: #a5b4fc; */
  color: var(--H2colorUpdate);
  text-align: center;
  margin-bottom: 5px;
}

.homePageWelcome div {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: center;
  margin-bottom: 5px;
}

.homePageIntroduction {
  display: flex;
  flex-direction: row;
  max-width: 1000px;
  align-items: flex-start;
  margin: auto;
}

.homePageIntroduction h1 {
  margin-bottom: 15px;
}

.homePageIntroduction p {
  margin-bottom: 10px;
}

.homePageCarousel {
  margin-left: auto;
  margin-right: auto;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  /* 2026_02_03 suppress following line */
  /* height: 800px; */
  padding-top: 10px;
}

.homePageCarousel h3 {
  font-weight: bold;
  font-size: 1.5em;
  color: var(--H2colorUpdate);
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* 2024 06 14 Add squareImage  */
.squareImage {
  width: 300px;
  height: 300px;
  overflow: hidden;
  object-fit: cover;
  padding: 20px;
}

/* 2024 06 14 Add squareImage */

form {
  display: flex;
  flex-direction: column;
  max-width: 1500px;
  margin: auto;
  color: white;
}

input,
textarea {
  padding: 15px;
  border-radius: 3px;
  border: none;
}

label {
  margin-bottom: 10px;
}

/*  2025_04_13 update by replacing 30px to 15px in margin-top */
input[type='submit'] {
  /* 2025_06_15 change width to max-width */
  max-width: 150px;
  margin: auto;
  margin-top: 15px;
}

@media screen and (max-width: 996px) {
  .homePageIntroduction {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .homePageCarousel {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 2026_01_29 BEGIN for smartphone */
  .homePageCarousel div {
    width: 100%;
  }

  .homePageCarousel img {
    order: 1;
    width: 100%;
  }

  /* 2026_01_29 END for smartphone */

  .homePageIntroduction div {
    padding-right: 0;
    text-align: center;
    order: 2;
  }

  .homePageIntroduction img {
    order: 1;
    margin-bottom: 20px;
    width: 100%;
  }

  .homePageWelcome {
    /* 2024 07 01 */
    /* padding: 20px; */
    padding: 0px;
  }

  .homePageWelcome div {
    flex-direction: column;
  }
}

.box-input {
  font-size: 14px;
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 25px;
  padding-left: 10px;
  border-radius: 5px;
  width: 347px;
  height: 50px;
}

.box-input:focus {
  outline: none;
  border-color: #5c7186;
}

.field {
  height: 10px;
  width: 200px;
}

.fieldArea {
  text-align: justify;
  line-height: 20px;
}

/* 2025_05_30 add border-radius & box-shadow on homePageIntroduction */

.homePageIntroduction img {
  border-radius: 25%;
  box-shadow: 10px 10px 5px var(--H2colorUpdate) inset, 10px 10px 5px var(--H2colorUpdate);
}


/* 2025_05_30 add hover on picture */
.linkContainerPicture {
  position: relative;
}

.linkContainerPicture:hover .pictureHover {
  display: flex;
  border: none;
}

.pictureHover {
  position: absolute;
  top: 0;
  left: -100%;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
}

.pictureView {
  align-items: center;
}