.offerModal{
    position: fixed;
    
    top: 0;
    left: 0;
    z-index: 1;


    min-height: 100%;
    width: 100%;

    display: none;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    margin: 0px;

    background-color: rgba(0, 0, 0, 0.9);

    overflow-y: scroll;
    inset: 0;
}

.offerModal button:hover{
    cursor: pointer;
    animation: hoverup;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
}
@keyframes hoverup {
    from{
        transform: translateY(0px);
    }
    to{
        transform: translateY(-2px);
        background: rgba(255,255,255,.3)
    }
}

.closeOfferModalButton{
    position: absolute;
    padding: 10px;
    
    right: 10px;
    top: 10px;

    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .12s ease; 
    display: inline-flex;
    gap: 10px;
    align-items: center;

    font-weight: bold;

    color: white;
}
#offerReset{
    background-color: rgba(247, 48, 48, 0.5);

    margin: 10px;

    border: 1px solid rgba(255,255,255,.14);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .12s ease; 
    display: inline-flex;
    gap: 10px;
    align-items: center;

    font-weight: bold;

    color: white;
}

#offer-create{
    background-color: rgb(144, 243, 210, 0.5);

    justify-content: center;
    align-items: center;
    width: 50%;
    height: 50px;
}

.field input[type="file"]{
    display: none;
}


#offerlogoInputButton{
    color: white;
    min-width: 150px;
    height: 45px;

    font-size: 16px;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;

}
#offerlogoInputButton:hover{
    cursor: pointer;
}


.offerimageDisplay {
    visibility: hidden;

    display: flex;
    flex-direction: column;

    align-items: center;
    
    margin: 0px;
    padding: 0px;

    border: none;

    gap: 5px;

    color: white;
}

.offerimageDisplay p{
    margin: 0px;
    padding: 0px;
}

.offerimageDisplay #offerimage{
    width: 80px;
    height: 80px;

    object-fit: cover;
    object-position: center;
}

.offerDialog{
    align-items: center;

    color: white;

    font-family: 'Times New Roman', Times, serif;

    border-radius: 16px;
    border-width: 1px;


    background: linear-gradient(225deg, #000040 0.000%, #001154 25.000%, #002671 50.000%, #003f96 75.000%, #005dc3 100.000%);
    animation-name: slowAppear;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
}

.offerDialog button{
    padding: 10px;

    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .12s ease; 
    display: inline-flex;
    gap: 10px;
    align-items: center;

    font-weight: bold;

    color: white;

}

.offerDialog button:hover{
    animation: hoverup;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
}

#offerfilename{
    display: block;

    margin-bottom: 5px;
    margin-top: 5px;

    padding-left: 7px;
    padding-right: 5px;

    caret-color: white;

    color: white;

    height: 30px;
    min-width: 300px;

    font-size: 16px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
}

@media screen and (max-width: 600px) {
    .offerDialog{
        width: 80%;
    }

    .offerDialog h1{
        font-size: 20px;
    }

    #offerfilename{

        margin-bottom: 7px;
        margin-top: 7px;

        min-width: 95%;
        width: fit-content;

    } 
}