body {
    background-color: #2D3436;
    background-image: url("./assets/background.png");
    margin: 0;
    margin-top: 4rem;
    font-family: Helvetica, sans-serif;
    overflow: visible;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-container {
    position: absolute !important;
}

.footer-blurb-container {
    position: relative !important;
}

h1 {
    font-weight: normal;
}

.find-details-container {
    display: flex;
    /* width: 100%; */
    height: max-content;
    justify-content: center;
    /* margin-top: 14.6rem;
    margin-bottom: 12rem; */
    /* margin-top: 17rem;
    margin-bottom: 18.2rem; */
}

.find-details-box {
    display: flex;
    background: #DDDDDD;
    padding: 1.5rem;
    height: fit-content;
    width: 20rem;
    border: none;
    border-radius: 10px;
    flex-direction: column;
    align-items: center;
    box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.493);

}

@media only screen and (max-width: 376px) {
    .find-details-box {
        width: 18rem;
    }
}

@media only screen and (max-height: 668px) {
    /* .find-details-container {
        margin-top: 10rem;
        margin-bottom: 8rem;
    } */
}

@media only screen and (max-height: 412px) {
    .find-details-container {
        margin-top: .5rem;
        margin-bottom: .5rem;
    }

    body {
        height: fit-content;
    }
}

@media only screen and (max-height: 361px) {
    .find-details-container {
        margin-top: .5rem;
        margin-bottom: 5rem;
    }

    body {
        height: fit-content;
    }
}

@media only screen and (max-height: 668px) {
    .footer-container {
        position: static; 
    }

    .footer-blurb-container {
        position: static;
    }
}

.find-details-header {
    margin-bottom: 1rem;
    border-bottom: 1px solid black;
    padding-bottom: 0.5rem;
    font-size: x-large;
}

.find-details-instructions {
    text-align: center;
    margin-bottom: 1rem;
}

.find-details-instructions span {
    font-weight: bold;
}

.form-item {
    margin-bottom: 1rem;
}

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

.form-item input {
    padding: 15px 15px;
    outline: none;
    width: 20rem;
    border-radius: 30px;
    border: none;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

.form-item input:focus {
    /* background-color: #9ccef759; */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.493);
    transform: scale(1.01, 1.01);
}

.find-details-btn {
    background-color: #2196F3;
    outline: none;
    border-radius: 25px;
    border: none;
    color: white;
    font-size: large;
    padding: 12px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.find-details-btn:hover {
    background-color: #1b7bca;
}

.instructions {
    margin-bottom: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: center;
}

.instructions span {
    font-weight: bold;
}

.forgot-details {
    display: flex;
    margin-bottom: 1rem;
}

.forgot-details a{
    margin-left: 5px;
    color: #2196F3;
    font-weight: bold;
}

.forgot-details a:hover{
    color: #1b7bca;
}

/* no email in database */

.no-email {
    color: red;
    font-size: small;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 1rem;
}

/* find details success */

.find-details-success-container {
    width: 100%;
    min-height: 100vh;
    z-index: 2;
    display: flex;
    background: #5d6e72af;
    overflow-y: hidden;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    animation-name: success;
    animation-duration: .5s;
    animation-delay: .2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    transform: translateY(-100%);
}

@keyframes success {
    from {
        transform: translateY(-100%);
        transition: all .4s ease-in-out;
    }

    to {
        transform: translateY(0);
        transition: all .4s ease-in-out;
    }
}

.find-details-success-container.close {
    animation: backwards;
}



.find-details-success-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #DDDDDD;
    border-radius: 10px;
    padding: 2rem;
    box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.493);
}

.find-details-success-box h1 {
    border-bottom: 2px solid black;
    padding-bottom: 1rem;
}

.find-details-success-box h2 {
    font-weight: normal;
}

.find-details-success-box a {
    color: white;
    text-decoration: none;
    background: #2196F3;
    border-radius: 30px;
    padding: 1rem;
    transition: all .3s ease-in-out;
}

.find-details-success-box a:hover {
    background: #1b7bca;
    cursor: pointer;

}

/* scrollbar styling */

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #DDDDDD;
}

::-webkit-scrollbar-thumb {
    background: #5d6e72;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #56676d;
}