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

body {
  font-family: Sans-serif;
  background-color: #14315f;
  background: url("./assets/auth-left.png");
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

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

.deviceContainer,
button {
  cursor: pointer;
}

#presentation {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#logo {
  width: 150px;
  margin: 25px;
}

/* Background elements */
#main {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Panel and its content */
#panel {
  width: 636px;
  height: 390px;
  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;
  padding: 0 35px;
  margin-top: 32px;
}

.deviceContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 4px;
  border: 1px solid #9ba2aa;
  padding: 16px;
  transition: all 0.2s ease-in-out;
}

.osPanel {
  width: 40%;
}

.deviceContainer:hover {
  border: 2px solid #3a62c7;
  background-color: #dae4f7;
  transform: scale(1.1);
}

.deviceIcon {
  height: 100px;
}

.downloadButton {
  width: 80%;
  background-color: #3a62c7;
  color: #fff;
  font-size: 16px;
  border-radius: 5px;
  margin-top: 8px;
  margin-bottom: 8px;
  height: 50px;
  /* font-weight: 100; */
}

.downloadButton:hover {
  background-color: #133897;
}

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

.requirement {
  color: #9ba2aa;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  /* font-weight: 100; */
}

/* Presentation content */

.presentationText {
  font-size: 16px;
  background-color: #003b5f;
  margin-top: 180px;
  padding: 46px 10px;
  text-align: center;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  color: white;
  display: none;
}

.presentationText > strong {
  font-size: 18px;
  display: block;
  padding-bottom: 1em;
}

@media screen and (min-width: 640px) {
  #logo {
    width: 200px;
    margin: 50px;
  }

  .presentationText {
    display: block;
  }
}

@media screen and (min-width: 1120px) {
  body {
    height: 100%;
    flex-direction: row;
    align-items: center;
    background: #e8ebed;
  }

  #logo-container {
    display: flex;
    align-items: center;
  }
  #logo {
    margin-bottom: 20px;
  }

  #presentation {
    max-width: 480px;
    height: 100%;
    background-color: #14315f;
    background: url("./assets/auth-left.png");
    display: flex;
    justify-content: center;
  }

  #main {
    flex-grow: 1;
    padding: 15px;
  }
}

/* Medium size */
@media screen and (max-width: 1120px) {
  #logo {
    width: 200px;
    margin: 50px;
  }

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

  #presentation {
    padding: 0;
    width: 100%;
    justify-content: center;
  }

  .presentationText {
    display: none;
  }
}

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

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

  #presentation {
    justify-content: start;
  }

  #mainContainer {
    flex-direction: column;
    justify-content: center;
  }

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

  .osPanel {
    width: auto;
  }
}
