section#s6 {
  position: relative;
  margin-top: var(--mergPad);
  display: grid;
  grid-auto-rows: max-content;
  gap: var(--mergPad);
}
section#s6 > img{
  display: none;
}
/***** Success *****/
section#s6 #success {
  text-align: center;
  color: white;
  background: url(images/hifive.webp), #56555b;
  background-repeat: no-repeat, no-repeat;
  background-position: top 20px left 50%;
  font-size: var(--text_2);
  display: grid;
  grid-template-rows: repeat(auto-fill, max-content);
  gap: var(--titleGap);
  padding: var(--titleGap);
}
section#s6 div#success div#box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
  grid-gap: calc(var(--titleGap) * 2);
  justify-content: space-evenly;
}
@media screen and (min-width: 1020px) and (max-width: 1380px) {
  section#s6 div#success div#box {
    grid-template-columns: repeat(2, minmax(200px, 300px));
    grid-template-rows: repeat(2, min-content);
  }
}
section#s6 div#success div#box > div {
  display: grid;
  grid-template-rows: repeat(auto-fill, min-content);
  gap: var(--titleGap);
  background: #56555bc0;
  border-radius: 45px;
  padding: var(--titleGap);
}
section#s6 div#success div#box > div:nth-child(odd) {
  color: #ff7101;
}
section#s6 div#success div#box > div p:first-child {
  font-size: var(--text_big_1);
  font-weight: bold;
}
section#s6 div#success div#box > div p:last-child {
  color: white;
}

/***** Info *****/
section#s6 > div#contacts {
  padding: var(--padSide);
  display: grid;
  grid-auto-rows: min-content;
  justify-content: center;
  gap: var(--mergPad);
}
section#s6 > div#contacts > img {
  margin: auto;
  max-width: 100%;
}
section#s6 > div#contacts > div {
  display: grid;
  grid-auto-rows: min-content;
  grid-gap: var(--titleGap);
}
section#s6 > div#contacts > div > p {
  text-align: center;
}

section#s6 > div#contacts > div > div {
  display: grid;
  grid-gap: var(--titleGap);
}
section#s6 > div#contacts > div > div:nth-child(n + 2):nth-child(-n + 4) {
  grid-template-columns: 50px 1fr;
  align-items: center;
}
section#s6 > div#contacts > div > div:nth-child(4) > img {
  grid-row: 1/3;
}

section#s6 > div#contacts > div > div:nth-child(n + 5):nth-child(-n + 6) {
  grid-template-columns: 1fr max-content;
  align-items: center;
}
section#s6 > div#contacts > div > div:nth-child(n + 6):nth-child(-n + 6) > div {
  display: grid;
  grid-auto-columns: min-content;
  grid-auto-flow: column;
  gap: 5px;
}

/***** Message *****/
section#s6 > form#message_form {
  padding: var(--padSide);
  display: grid;
  grid-auto-rows: min-content;
  grid-gap: var(--mergPad);
  justify-content: center;
  justify-items: center;
  text-align: center;
}
section#s6 > form#message_form > div {
  position: relative;
  display: grid;
  grid-auto-rows: max-content;
  grid-template-columns: minmax(min-content, 600px);
  gap: var(--titleGap);
}
section#s6 > form#message_form > div input {
  font-size: var(--input_text_size);
  max-width: 300px;
  height: 30px;
  color: #888888;
  padding: 10px;
}
section#s6 > form#message_form > div > textarea {
  font-size: var(--input_text_size);
  max-width: 600px;
  height: 150px;
  color: #888888;
  padding: 10px;
}
section#s6 > form#message_form > div > a {
  justify-self: center;
}
/****** For Laptop *****/
@media screen and (min-width: 960px) {
  section#s6 > div#contacts {
    grid-template-columns: max-content minmax(min-content, max-content);
  }
  section#s6 > form#message_form > div:last-of-type:before {
    content: "";
    position: absolute;
    left: -161px;
    bottom: 72px;
    width: 111px;
    height: 144px;
    background: url(images/postal.webp);
  }
  section#s6 > img{
    display: initial;
    position: absolute;
  }
  section#s6 > img:nth-of-type(1){
    bottom: -100px;
    right: 25%;
  }
  section#s6 > img:nth-of-type(2){
    bottom: 250px;
    right: 15%;
  }
  section#s6 > img:nth-of-type(3){
    bottom: 300px;
    left: 8%;
  }
}
