body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-width: 340px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
p,
a,
a:hover {
  font-family: Ubuntu;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  color: #12516d;
}

.wrapper {
  align-items: center;
  background: url('../img/background.jpg') repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  margin: 0;
  padding: 10px 0 20px;
  flex: 1;
}

.show-box {
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  width: 750px;
  max-width: 90%;
  margin: 0 auto 85px;
  height: 500px;
  padding: 15px 80px 25px;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.show-box::after {
  border-top: 90px solid #fff;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -20px);
  transform-origin: 50% 10px;
  display: none;
  transition: 0.1s;
}

.show-box.first::after {
  display: block;
  transform: translate(-50%, -20px) rotate(55deg);
}
.show-box.second::after {
  display: block;
  transform: translate(-50%, -20px) rotate(30deg);
}
.show-box.third::after {
  display: block;
  transform: translate(-50%, -20px) rotate(0deg);
}
.show-box.fourth::after {
  display: block;
  transform: translate(-50%, -20px) rotate(-30deg);
}
.show-box.fifth::after {
  display: block;
  transform: translate(-50%, -20px) rotate(-55deg);
}

.tab-pane {
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  display: none;
  transition: 0.15s;
}

.tab-pane.active {
  display: block;
  opacity: 0;
}

.tab-pane.active.show {
  opacity: 1;
}

.tab-pane p {
  margin: 0;
}

.tab-pane img {
  max-width: 100%;
}

.button-wrapper {
  display: flex;
  justify-content: space-between;
  width: 450px;
  max-width: 90%;
  margin: 0 auto;
}

.button-wrapper a {
  background: url('../img/switch-bg.png');
  background-size: contain;
  height: 88px;
  width: 38px;
  position: relative;
}

.button-wrapper a::after {
  background: url('../img/switch.png') no-repeat;
  background-size: contain;
  content: '';
  position: absolute;
  width: 49px;
  height: calc(100% + 10px);
  right: 0;
  top: -5px;
}

.button-wrapper a.active::after {
  transform: scaleY(-1);
}

.wrapper .logo {
  margin-bottom: 40px;
}

.img-text img {
  max-height: 230px;
}

.imgcontent {
  display: block;
  max-height: 240px;
  margin: auto;
}

.adresse {
  font-size: 20px;
}

.adresse p {
  margin: auto;
}

.adresse span {
  color: #ef7f0f;
  font-weight: bold;
}

.footer {
  padding: 15px 0;
  display: flex;
  justify-content: center;
}

.footer > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer > div:not(:first-child) {
  border-left: 1px solid #ef7b0a;
  padding-left: 20px;
  margin-left: 20px;
}

.footer .logo {
  margin-bottom: 15px;
}

.footer .logo img {
  width: 150px;
}

.footer h4 {
  font-size: 1.1rem;
  color: #ef7f0f;
  margin: 0 0 5px;
}

.footer p {
  font-size: 16px;
  line-height: 23px;
  margin: 0 0 0.8rem;
}

.footer p:last-child {
  margin: 0;
}

.footer p.location {
  padding-left: 20px;
  position: relative;
}

.footer p.location::before {
  background: url('../img/lieu.png');
  content: '';
  height: 22px;
  left: 0;
  position: absolute;
  top: 3px;
  width: 14px;
}

.footer a {
  text-decoration: none;
  -webkit-text-decoration-skip: objects;
  font-size: 12px;
}

.mentionslegales {
  text-align: center;
}
.partners div {
  align-items: center;
  display: flex;
}
.partners div:not(:last-child) {
  margin-bottom: 15px;
}
.partners div p {
  margin-right: 20px;
}
.partners > p {
  margin-bottom: 50px;
}
.button {
  color: #fff;
  background-color: #ef7b0a;
  padding: 10px 20px;
  border-radius: 3px;
  text-decoration: none;
  text-transform: uppercase;
}
.button-link {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
@media (max-width: 679px) {
  .wrapper {
    overflow: hidden;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .show-box {
    height: 370px;
    padding: 30px 20px;
  }
  .intro {
    font-size: 16px;
  }
  .adresse {
    width: 330px;
    text-align: center;
    font-size: 18px;
  }
  .vousmetencontact {
    line-height: 18px;
    font-size: 14px;
  }
  .mentionslegales a {
    font-size: 14px;
  }

  .footer h4 {
    font-size: 14px;
  }
  h5 {
    font-size: 11px;
  }

  .footer {
    padding-top: 15px;
  }

  .footer p {
    font-size: 13px;
    line-height: 15px;
  }

  .footer .logo img {
    width: 130px;
  }
}

@media (max-width: 400px) {
  .button-wrapper a {
    transform: scale(0.8);
  }
}
