/* ----------- iPad 1, 2, Mini and Air ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
  /* Home */
  .logo-header img {
    width: 20%;
  }

  .header-content div:last-child img {
    width: 80%;
  }

  .home-footer div:first-child {
    width: 115%;
    left: 50%;
    bottom: -52%;
  }

  .home-footer div:last-child {
    width: 40%;
  }

  .home-text {
    font-size: 1.25rem;
  }

  .step-content img {
    width: 80%;
  }

  .gender-wrapper div {
    width: 45%;
  }

  .checkbox-wrapper-10 .tgl + .tgl-btn {
    width: 5.75em;
    height: 2.5em;
  }

  .checkbox-wrapper-10 span {
    font-size: 1.25em;
  }

  .checkbox-wrapper-10 .tgl-flip + .tgl-btn:before,
  .checkbox-wrapper-10 .tgl-flip + .tgl-btn:after {
    font-size: 1.3em;
  }

  .logo-home .logo-left,
  .logo-home .logo-right {
    width: 15%;
  }

  /* StepTwo */
  .footer-logo div {
    width: 15%;
  }

  .footer-logo div:nth-child(2) img {
    width: 45%;
  }

  .step-two .step-content {
    width: 25%;
  }

  .gender-header div {
    width: 75%;
  }

  .gender-container .example-item {
    max-width: 30%;
  }

  .footer-logo {
    width: 80%;
  }

  /* StepThree */
  .camera-content div:nth-child(1) {
    width: 25%;
  }

  .camera-content div:nth-child(2) {
    width: 60%;
    margin-bottom: 0.5rem;
  }

  .camera-content {
    font-size: 1.25rem;
    line-height: 1.75rem;
    width: 70%;
  }

  .camera-container {
    width: 75%;
  }

  #controls button {
    width: 30%;
  }

  #controls-next button {
    width: 40%;
  }

  .capture-image {
    width: 40%;
  }

  .name-drawer {
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    padding: 3rem;
  }

  .name-drawer input {
    padding: 1.75rem 2rem;
    font-size: 1.25rem;
    margin: 3rem;
  }

  /* StepFinal */
  .step-final .step-content div:first-child {
    width: 25%;
  }

  .step-final .step-content div:last-child {
    width: 80%;
  }

  .image-final {
    width: 60%;
  }

  .step-final .final-button button {
    width: 35%;
  }

  /* Another */
  .overlay-banner .banner-container {
    width: 545px;
    height: 872px;
    margin-bottom: 7rem;
  }

  .drawer-container {
    gap: 3rem;
    height: 20vh;
  }

  .drawer-container div {
    width: 18%;
  }

  .lds-ring div,
  .lds-ring {
    width: 100px;
    height: 100px;
  }

  #loading-text {
    font-size: 3.6rem;
  }

  .overlay p {
    font-size: 1.25rem;
  }

  .overlay .loader-gif {
    width: 30%;
    margin-bottom: 3rem;
  }

  .name-wrapper {
    top: 91%;
    left: 43.5%;
    width: 60%;
    max-width: 60%;
    position: absolute;
    height: 5%;
  }
}

/* Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
}

/* Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
}

/* ----------- iPad 3, 4 and Pro 9.7" ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
}

/* Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
}

/* Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
}

/* ----------- iPad Pro 10.5" ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 834px) and (max-device-width: 1112px) and (-webkit-min-device-pixel-ratio: 2) {
  /* Home */
  .logo-header img {
    width: 20%;
  }

  .header-content div:last-child img {
    width: 80%;
  }

  .home-footer div:first-child {
    width: 115%;
    left: 50%;
    bottom: -52%;
  }

  .home-footer div:last-child {
    width: 40%;
  }

  .home-text {
    font-size: 1.25rem;
  }

  .step-content img {
    width: 80%;
  }

  .gender-wrapper div {
    width: 45%;
  }

  .checkbox-wrapper-10 .tgl + .tgl-btn {
    width: 5.75em;
    height: 2.5em;
  }

  .checkbox-wrapper-10 span {
    font-size: 1.25em;
  }

  .checkbox-wrapper-10 .tgl-flip + .tgl-btn:before,
  .checkbox-wrapper-10 .tgl-flip + .tgl-btn:after {
    font-size: 1.3em;
  }

  .logo-home .logo-left,
  .logo-home .logo-right {
    width: 15%;
  }

  /* StepTwo */
  .footer-logo div {
    width: 15%;
  }

  .footer-logo div:nth-child(2) img {
    width: 45%;
  }

  .step-two .step-content {
    width: 25%;
  }

  .gender-header div {
    width: 75%;
  }

  .gender-container .example-item {
    max-width: 30%;
  }

  .footer-logo {
    width: 80%;
  }

  /* StepThree */
  .camera-content div:nth-child(1) {
    width: 25%;
  }

  .camera-content div:nth-child(2) {
    width: 60%;
    margin-bottom: 0.5rem;
  }

  .camera-content {
    font-size: 1.25rem;
    line-height: 1.75rem;
    width: 70%;
  }

  .camera-container {
    width: 75%;
  }

  #controls button {
    width: 30%;
  }

  #controls-next button {
    width: 40%;
  }

  .capture-image {
    width: 40%;
  }

  .name-drawer {
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    padding: 3rem;
  }

  .name-drawer input {
    padding: 1.75rem 2rem;
    font-size: 1.25rem;
    margin: 3rem;
  }

  /* StepFinal */
  .step-final .step-content div:first-child {
    width: 25%;
  }

  .step-final .step-content div:last-child {
    width: 80%;
  }

  .image-final {
    width: 60%;
  }

  .step-final .final-button button {
    width: 35%;
  }

  /* Another */
  .overlay-banner .banner-container {
    width: 545px;
    height: 872px;
    margin-bottom: 7rem;
  }

  .drawer-container {
    gap: 3rem;
    height: 20vh;
  }

  .drawer-container div {
    width: 18%;
  }

  .lds-ring div,
  .lds-ring {
    width: 100px;
    height: 100px;
  }

  #loading-text {
    font-size: 3.6rem;
  }

  .overlay p {
    font-size: 1.25rem;
  }

  .overlay .loader-gif {
    width: 30%;
    margin-bottom: 3rem;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
}

/* Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
}

/* Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
}

/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (min-device-height: 800px) {
  .home-footer div:first-child {
    width: 120%;
    bottom: -25%;
  }
}

/* Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
}

/* Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
}

/* Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
}

/* Portrait */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
}

/* Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
}

/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {
}

/* Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
}

@media (min-width: 2100px) and (min-height: 3000px) {
  .home-content {
    margin-top: 6rem;
    /* margin-bottom: 6rem; */
  }

  #modal-notice {
    display: none;
  }

  .home-text {
    font-size: 3.75rem;
    margin-bottom: 3.5rem;
    margin-top: 3.5rem;
  }

  .step-content {
    margin-bottom: 3.5rem;
  }

  .gender-wrapper {
    margin-bottom: 3rem;
  }

  .checkbox-wrapper-10 {
    display: none;
  }

  .logo-home {
    width: 80%;
  }

  .logo-home .logo-left,
  .logo-home .logo-right {
    width: 20%;
  }

  .home-footer div:first-child {
    bottom: -30%;
  }

  .step-two {
    padding: 5.5rem 0;
  }

  .step-two .step-content {
    width: 45%;
  }

  .gender-header div {
    width: 90%;
    margin-bottom: 3.5rem;
  }

  .gender-container {
    gap: 3.5rem;
  }

  .gender-container .example-item .example-wrapper {
    margin-bottom: 4rem;
    padding: 2.25rem;
    border-radius: 1rem;
  }

  .camera-content {
    font-size: 3.5rem;
    line-height: 6rem;
  }

  #uploadImg {
    display: none;
  }

  #countdown {
    font-size: 18rem;
  }

  .capture-image {
    width: 70%;
  }

  .capture-image canvas {
    border: 1rem solid #fff;
  }

  #controls-next button {
    width: 120%;
  }

  .name-drawer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-top-left-radius: 8.25rem;
    border-top-right-radius: 8.25rem;
    padding: 10rem 0;
  }

  .name-drawer input {
    width: 75%;
    margin: 8rem 0;
    padding: 4.75rem 4rem;
    border-radius: 4rem;
    font-size: 5rem;
  }

  .step-final .step-content div:first-child {
    margin-bottom: 3.5rem;
  }

  .overlay .loader-gif {
    width: 50%;
    margin-bottom: 4rem;
  }

  .overlay p {
    width: 100%;
    font-size: 6rem;
    line-height: 10rem;
    margin-bottom: 3rem;
  }

  .name-wrapper {
    left: 39.5%;
  }

  .name-wrapper p {
    text-shadow: rgb(255, 255, 255) 5px 0px 0px, rgb(255, 255, 255) 4.90033px 0.993347px 0px, rgb(255, 255, 255) 4.60531px 1.94709px 0px, rgb(255, 255, 255) 4.12668px 2.82321px 0px, rgb(255, 255, 255) 3.48353px 3.58678px 0px, rgb(255, 255, 255) 2.70151px 4.20736px 0px, rgb(255, 255, 255) 1.81179px 4.6602px 0px, rgb(255, 255, 255) 0.849836px 4.92725px 0px, rgb(255, 255, 255) -0.145998px 4.99787px 0px, rgb(255, 255, 255) -1.13601px 4.86924px 0px, rgb(255, 255, 255) -2.08073px 4.54649px 0px, rgb(255, 255, 255) -2.94251px 4.04248px 0px, rgb(255, 255, 255) -3.68697px 3.37732px 0px, rgb(255, 255, 255) -4.28444px 2.57751px 0px, rgb(255, 255, 255) -4.71111px 1.67494px 0px, rgb(255, 255, 255) -4.94996px 0.7056px 0px, rgb(255, 255, 255) -4.99147px -0.291871px 0px, rgb(255, 255, 255) -4.83399px -1.27771px 0px, rgb(255, 255, 255) -4.48379px -2.2126px 0px, rgb(255, 255, 255) -3.95484px -3.05929px 0px, rgb(255, 255, 255) -3.26822px -3.78401px 0px, rgb(255, 255, 255) -2.4513px -4.35788px 0px, rgb(255, 255, 255) -1.53666px -4.75801px 0px, rgb(255, 255, 255) -0.560763px -4.96845px 0px, rgb(255, 255, 255) 0.437495px -4.98082px 0px, rgb(255, 255, 255) 1.41831px -4.79462px 0px, rgb(255, 255, 255) 2.34258px -4.41727px 0px, rgb(255, 255, 255) 3.17346px -3.86382px 0px, rgb(255, 255, 255) 3.87783px -3.15633px 0px, rgb(255, 255, 255) 4.4276px -2.32301px 0px, rgb(255, 255, 255) 4.80085px -1.39708px 0px, rgb(255, 255, 255) 4.98271px -0.415447px 0px;
  }

  .image-final img {
    border: 1rem solid #fff;
  }
}
