input, button {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -300%);
    display: block;
    width: 70vw;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0.25, 0.8, 0.3);
}
input {
    padding: 0.25rem 0;
    border: 0;
    border-bottom: 1px solid #179898;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 3rem;
    line-height: 4rem;
    letter-spacing: 0.125rem;
    transition: all 0.5s cubic-bezier(0.4, 0.25, 0.8, 0.3);
}
input::selection {
    background: rgba(23, 152, 152, 0.25);
}
button, .signup-button {
    padding: 0.25em 0;
    border: 0;
    outline: 0;
    background: #179898;
    color: rgba(255, 255, 255, 0.85);
    font-size: 2rem;
    line-height: 3.6rem;
    letter-spacing: 0.0625rem;
    box-shadow: 0 3px 5px 1px rgba(0, 0, 0, 0.25);
    text-shadow: 0 -2px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.2);
}
input:focus, button:focus {
    opacity: 1;
    transform: translate(-50%, -100%);
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.1, 0.45, 0.1, 0.85) 0.5s;
    z-index: 10;
}
input:focus ~ input, input:focus ~ button {
    transform: translate(-50%, 500%);
    transition: all 0.5s ease-in;
}
input:focus ~ label .label-text {
    transform: translate(-50%, 300%);
    transition: all 0.5s ease-in;
}
input:focus ~ .tip {
    opacity: 1;
}
input:focus ~ .signup-button, button:focus ~ .signup-button {
    opacity: 0;
}
input:focus + label .label-text {
    opacity: 1;
    transform: translate(-50%, -100%);
    transition: all 0.3s cubic-bezier(0.1, 0.45, 0.1, 0.85) 0.4s;
}
input:focus + label .nav-dot:before {
    background: #148282;
    box-shadow: 0 0 0 0.15rem #111, 0 0 0.05rem 0.26rem #179898;
}
.tip {
    position: fixed;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    opacity: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    text-align: right;
    transition: opacity 0.25s 0.5s;
}
.signup-button, .signup-button-trigger {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 70vw;
    padding: 0.25rem 0;
    line-height: 3.6rem;
    text-align: center;
    pointer-events: none;
    cursor: pointer;
    transition: opacity 0.4s 0.3s;
}
.signup-button-trigger {
    opacity: 0;
    pointer-events: auto;
}
.label-text {
    position: fixed;
    top: calc(50% - 4rem);
    left: 50%;
    transform: translate(-50%, -300%);
    width: 70vw;
    padding: 3.125rem 0 1.5rem;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.125rem;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0.25, 0.8, 0.3) 0.05s;
}
.nav-dot {
    cursor: pointer;
    position: fixed;
    padding: 0.625rem 1.25rem 0.625rem 0.625rem;
    top: 52%;
    right: 1.25rem;
}
.nav-dot:before {
    content: '';
    display: inline-block;
    border-radius: 50%;
    width: 0.375rem;
    height: 0.375rem;
    margin-right: 0.625rem;
    position: fixed;
    background-color: #16272f;
    border: 0;
    transition: all 0.25s;
}
.nav-dot:hover:before {
    width: 0.625rem;
    height: 0.625rem;
    margin-top: -0.125rem;
    margin-left: -0.125rem;
    background-color: #148282;
}
label[for="input-1"] .nav-dot {
    margin-top: -125px;
}
label[for="input-2"] .nav-dot {
    margin-top: -100px;
}
label[for="input-3"] .nav-dot {
    margin-top: -75px;
}
label[for="input-4"] .nav-dot {
    margin-top: -50px;
}
label[for="input-5"] .nav-dot {
    margin-top: -25px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
