body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    display: block;
    font-family: 'Poppins', sans-serif;
    line-height: 1.25;
    color: #A0A0A6;
    background-color: #101010;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
}

div {
    display: block;
}

::selection {
    background-color: #FF645D; /* Change background color */
    color: #fff; /* Change text color (optional) */
}

.poppins-extralight {
    font-family: "Poppins", system-ui;
    font-weight: 200;
    font-style: normal;
  }
  
  .poppins-light {
    font-family: "Poppins", system-ui;
    font-weight: 300;
    font-style: normal;
  }
  
  .poppins-regular {
    font-family: "Poppins", system-ui;
    font-weight: 400;
    font-style: normal;
  }
  
  .poppins-medium {
    font-family: "Poppins", system-ui;
    font-weight: 500;
    font-style: normal;
  }
  
  .poppins-semibold {
    font-family: "Poppins", system-ui;
    font-weight: 600;
    font-style: normal;
  }
  
  .poppins-bold {
    font-family: "Poppins", system-ui;
    font-weight: 700;
    font-style: normal;
  }
  
  .poppins-extrabold {
    font-family: "Poppins", system-ui;
    font-weight: 800;
    font-style: normal;
  }
  
  .poppins-black {
    font-family: "Poppins", system-ui;
    font-weight: 900;
    font-style: normal;
  }
  
  .poppins-thin-italic {
    font-family: "Poppins", system-ui;
    font-weight: 100;
    font-style: italic;
  }
  
  .poppins-extralight-italic {
    font-family: "Poppins", system-ui;
    font-weight: 200;
    font-style: italic;
  }
  
  .poppins-light-italic {
    font-family: "Poppins", system-ui;
    font-weight: 300;
    font-style: italic;
  }
  
  .poppins-regular-italic {
    font-family: "Poppins", system-ui;
    font-weight: 400;
    font-style: italic;
  }
  
  .poppins-medium-italic {
    font-family: "Poppins", system-ui;
    font-weight: 500;
    font-style: italic;
  }
  
  .poppins-semibold-italic {
    font-family: "Poppins", system-ui;
    font-weight: 600;
    font-style: italic;
  }
  
  .poppins-bold-italic {
    font-family: "Poppins", system-ui;
    font-weight: 700;
    font-style: italic;
  }
  
  .poppins-extrabold-italic {
    font-family: "Poppins", system-ui;
    font-weight: 800;
    font-style: italic;
  }
  
  .poppins-black-italic {
    font-family: "Poppins", system-ui;
    font-weight: 900;
    font-style: italic;
  }

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
#demo,
.gradient-curtain {
    width: 100vw;
    height: 100vh;
    display: block;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
}
#demo {
    animation: fadeIn 3s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.gradient-curtain {
    background-color: #101010;
    opacity: 0.6;
    z-index: 10;
}
.password-window {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: max(20px,calc(env(safe-area-inset-left)));
    margin-right: max(20px,calc(env(safe-area-inset-right)));
    padding: 70px 40px 60px 40px;
    position: relative;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(to bottom, rgba(36, 36, 36, 0) 0%, rgba(36, 36, 36, 1) 100%);
    -webkit-backdrop-filter: saturate(50%) blur(20px);
    backdrop-filter: saturate(50%) blur(20px);
}
.password-form {
    position: relative;
    animation: slideUp 2s cubic-bezier(0.3, 0, 0.4, 1) forwards;
    z-index: 20;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
.lock {
    width: 110px;
    height: 110px;
    display: block;
    margin-top: -143px;
    background-image: url('../img/lock.png');
    background-size: contain;
    background-repeat: no-repeat;
}
.title-text {
    max-width: 500px;
    font-size: 40px;
    line-height: 1.25;
    margin: 40px 0 0 0;
    text-align: center;
}
.title-text em {
    font-style: italic;
    color: #fff;
}
.password-wrapper {
    max-width: 380px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #3C3C3E;
    margin-top: 40px;
    position: relative;
}
.password-wrapper.shake {
    animation: shake 0.75s ease;
}
@keyframes shake {
    0% { transform: translateX(0); }
    15% { transform: translateX(-30px); }
    30% { transform: translateX(30px); }
    45% { transform: translateX(-12.5px); }
    60% { transform: translateX(5px); }
    75% { transform: translateX(-2px); }
    90% { transform: translateX(1px); }
    100% { transform: translateX(0); }
}

#password {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0 10px 0 20px;
    color: #fff;
    font-size: 20px;
    outline: none;
}
#password:focus {
    outline: none;
}
.password-button {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}
.button-icon {
    width: 40px;
    height: 40px;
    display: block;
    background-image: url('../img/ui-elements/square-arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.reponseWrapper {
    height: 20px;
    display: block;
    margin: 20px 0 0 0;
}
#response {
    margin: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}
#response.visible {
    opacity: 1;
}
@media only screen and (max-width:768px),
only screen and (max-width:900px) and (orientation:landscape) {
  .password-window {
    padding: 30px 20px 20px 20px;
  }
  .title-text {
    font-size: 25px;
    line-height: 35px
  }
  .paragraph-text,
  #password {
    font-size: 16px;
    line-height: 26px;
  }
  .lock {
    width: 60px;
    height: 60px;
    margin-top: -70px;
  }
  .title-text {
    margin-top: 30px;
  }
  .password-wrapper {
    height: 40px;
  }
  #password {
    padding: 0 10px 0 10px;
  }
  .password-button {
    width: 40px;
    height: 40px;
  }
  .button-icon {
    width: 30px;
    height: 30px;
  }
  #response {
    font-size: 14px;
    line-height: 20px;
  }
}