/* Basic HTML elements */
html {
  height: 100%;
}

body {
  font-family: Sans-serif;
  background: #e8ebed;
  padding: 0;
  margin: 0;
  height: 100%;
}

h3,
p {
  margin: 0;
  text-align: center;
  margin-top: 16px;
}

/* Background elements */
#main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 35%;
  background-color: #DFDCDB;
}

#presentation {
  background: #fff;
  background-image: url("images/motif_gris_idelink.png");
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 0px 40px;
  position: absolute;
  left: 0;
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#main,
#presentation {
  margin: 0;
  height: 100%;
}

#logoMobile {
  display: none;
}

#title{
  font-size: 16px;
  font-weight: 700;
  line-height: 18.75px;
  text-align: center;
  color: #000;
}

/* Panel and its content */
#panel {
  width: 636px;
  height: 209;
  margin: auto;
  background: #fff;
  z-index: 1;
  padding: 16px;
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

#mainContainer {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.deviceContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

#iosContainer {
  margin-left: 5%;
}

#androidContainer {
  margin-right: 5%;
}

.deviceIcon {
  height: 25px;
}

.buttonContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 95%;
  background-color: #000;
  color: #fff;
  font-size: 16px;
  border-radius: 5px;
  margin-top: 8px;
  margin-bottom: 8px;
  margin: 8px;
  height: 50px;
  transition: all 0.2s ease-in-out;
  border: 2px solid #000;
}

.buttonContent {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
}

.buttonContainer:hover {
  background-color: #fff;
  color: #000;
  cursor: pointer;
}

.osPanel {
  width: 100%;
}

.downloadButton {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 5%;
  height: 50px;
  font-size: 18px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
}

.otherOsLink {
  font-style: italic;
  color: #9ba2aa;
  font-size: 14px;
  text-align: center;
  text-decoration: underline;
  display: none;
}

.requirement {
  color: #A4A4A4;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 18.75px;
  text-align: center;
}

#presentationSignature {
  font-style: italic;
  margin-top: 8px;
}

#logo {
  width: 300px;
  margin-bottom: 20px;
}

/* Medium size */
@media screen and (max-width: 1120px) {
  #logo {
    width: 500px;
    margin: 0px 50px;
    position: absolute;
    top: 0px;
  }

  #main {
    display: none;
    padding: 0;
  }

  #presentation {
    padding: 0;
    width: 100%;
  }

  .presentationText {
    display: none;
  }
}

/* Small size */
@media screen and (max-width: 640px) {
  #logo {
    width: 150px;
    margin: 25px;
    display: none;
  }

  #logoMobile {
    display: block;
    width: 184px;
    margin: 25px;
  }

  #panel {
    margin: 0 25px;
    margin-bottom: 25px;
    width: auto;
  }

  #logoMobileContainer {
    display: flex;
    justify-content: center;
  }

  #presentation {
    display: flex;
    justify-content: center;
  }

  #mainContainer {
    margin-top: 16px;
    flex-direction: column;
    justify-content: center;
  }

  #iosContainer {
    margin-left: 0;
  }
  
  #androidContainer {
    margin-right: 0;
  }

  .buttonContainer {
    width: 90%;
  }

  .deviceContainer {
    margin-bottom: 16px;
    width: auto;
  }

  .osPanel {
    width: auto;
  }
}
