.firstSection {
  background: url('../images/home/section1_BG.jpg') no-repeat center center;
  background-size: cover;
  height: 80vh;
  margin-top: 72px;
  text-align: center;
  display: flex;
  position: relative;
}
.firstSection .imgScan {
  width: 22px;
  height: 22px;
  margin-right: 5px;
}

.firstSection img {
  width: 80%;
}

.firstSection .container {
  height: 100%;
  width: 100%;
  position: relative;
}

.firstSection .content {
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.firstSection .content img {
  width: 80%;
  max-width: 585px;
}

.firstSection .square {
  border: 1px solid #588fa3;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  width: 80%;
  padding: 15px 30px;
  text-align: center;
  margin: 0 auto;
  clear: both;
}

.firstSection .btnScanEnter {
  margin: 15px auto 0;
  position: relative;
  line-height: 60px;
  color: #ffffff;
  text-shadow: 0px 1px 2px #333333;
  font-weight: bold;
  background-image: url('../images/home/btnHomeGuest_Enter.png');
  background-position: 0 0;
  background-size: 100% 100%;
  background-color: transparent;
  border: 0;
  width: 80%;
  max-width: 338px;
  height: 71px;
  font-family: 'source_sans_probold';
  letter-spacing: 1px;
  outline: none;
}

.firstSection .btnScanEnter:hover {
  cursor: pointer;
  color: #cbdce3;
  background-position: 0 0;
}

.firstSection .square strong {
  color: #588fa3;
  font-size: 1.2em;
}

.firstSection .square p:first-child {
  margin: 20px 0;
}

.secondSection {
  border-top: 2px solid #588fa3;
  background-color: #f3f6fa;
  padding: 30px 0;
}

.secondSection .photo {
  text-align: center;
}

.secondSection .photo img {
  border-radius: 30px;
  box-shadow: 2px 6px 8px #b0b0b0;
  width: 60%;
  max-width: 227px;
  margin-bottom: 30px;
}


.secondSection .personnalLetter h1 {
  color: #588fa3;
  font-family: 'milkshakeregular';
  margin-top: 0;
}

.secondSection .personnalLetter  p {
  margin: 30px 0;
}


.secondSection .personnalLetter .signature {
  text-align: right;
  font-style: italic;
  color: #303030;
}

.secondSection .personnalLetter .signatureName {
  text-align: right;
  font-size: 18px;
  color: #588fa3;
  font-family: 'milkshakeregular';
}

.loginSection {
  height: 75vh;
}

@media only screen
and (max-width : 480px) {
  /* phone */
  .firstSection {
    height: 75vh;
  }

    .firstSection .tagline {
      color: #355763;
      font-size: 24px;
      font-weight: bold;
      border-bottom: 2px solid #355763;
      margin-bottom: 20px;
    }
  .firstSection .verticalCenter {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
  }
}


@media only screen
and (min-width: 481px)
and (max-width: 1023px) {
  /* tablet portrait */
  .firstSection {
    height: 80vh;
  }

  .firstSection .square {
    width: 80%;
  }

  .secondSection {
      padding: 30px 0;
  }

  .secondSection .photo {
    text-align: left;
  }
}


@media only screen
and (min-width: 1023px) {
  /* tablet portrait */

  .firstSection {
    height: 80vh;
  }

  .firstSection .content {
    width: 99%;
  }

  .firstSection .square {
    width: 50%;
  }


  .secondSection {
      padding: 100px 0;
  }

  .secondSection .photo {
    text-align: right;
  }
}
