html,
body {
    margin: 0;
    box-sizing: border-box;
    background: #292929;
    color: white;
}

.dn {
    display: none !important;
}

.flex {
    display: flex;
}

.center-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Default button CSS */
.btn {
    outline: none;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-size: 1rem;
    background: orange;
    color: white;
    border: 3px solid transparent;
    transition: border-color 250ms ease;
    cursor: pointer;
}

.btn:hover {
    border-color: white;
}

.btn-center {
    display: block;
    margin: auto;
}

/* Custom Input CSS */
.input {
    width: 100%;
    position: relative;
    border-bottom: 2px solid white;
    margin: 2rem auto 1rem;
    -webkit-transition: 500ms;
    transition: 500ms;
}

.input::after {
    content: '';
    position: relative;
    display: block;
    height: 4px;
    width: 100%;
    background: -webkit-linear-gradient(90deg, white, orange);
    background: linear-gradient(90deg, white, orange);
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0%;
    -ms-transform-origin: 0%;
    transform-origin: 0%;
    -webkit-transition: -webkit-transform 500ms ease;
    transition: transform 500ms ease;
    top: 2px;
}

.input:focus-within {
    border-color: transparent;
}

.input:focus-within::after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
    opacity: 1;
}

.input input {
    outline: none;
    border: none;
    overflow: hidden;
    margin: 0;
    width: 100%;
    padding: 0.25rem 0;
    background: none;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    -webkit-transition: border 500ms;
    transition: border 500ms;
}

.input label {
    color: white;
    font-size: 1.2rem;
    position: absolute;
    -webkit-transform: translateY(-2rem);
    -ms-transform: translateY(-2rem);
    transform: translateY(-2rem);
    -webkit-transform-origin: 0%;
    -ms-transform-origin: 0%;
    transform-origin: 0%;
    -webkit-transition: -webkit-transform 400ms;
    transition: transform 400ms;
    left: 0;
    bottom: -90%;
}

.input:focus-within label,
.input input:not(:placeholder-shown) + label {
    -webkit-transform: scale(0.8) translateY(-5rem);
    -ms-transform: scale(0.8) translateY(-5rem);
    transform: scale(0.8) translateY(-5rem);
    opacity: 1;
}

/* Textarea */
.textarea {
    background: none;
    outline: none;
    border: none;
    resize: none;
    color: white;
}

/* Scrollbar */
.scrollbar {
    scrollbar-width: thin;
    scrollbar-color: orange transparent;
}

.scrollbar::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
}

.scrollbar::-webkit-scrollbar-thumb {
    background-color: orange;
    border-radius: 5px;
}
