.deal-box
{
    height: 100vh;
    width: 100vw;
    z-index: 30;
    position: fixed;
    display: none;
    -webkit-backdrop-filter: blur(75px);
    backdrop-filter: blur(75px);
    top: 0;
    left: 0;
}
.deal-box-fullscreen
{
    display: block;
}
.deal-box-container
{
    background: hsl(0deg 0.22% 13%);
    height: 100%;
    width: 100%;
    transform: scale(0);
    transition: .5s;
    transform-origin: 90% 100%;
    box-shadow: 0 0 10px black;
    overflow-y: scroll;
    color: aliceblue;
    font-family: sans-serif;
    padding: 1px;
    margin: 50px 0;
    padding-bottom: 150px;
    box-sizing: border-box;
}
.deal-box-container-active
{
    transform: scale(1);
}
.deal-cap
{
    position: absolute;
    left: 0;
    top: 0;
    filter: invert(0.9);
    height: 100%;
    width: 100%;
    background: hsl(0, 0%, 100%);
    z-index: 12;
    align-items: center;
    display: flex;
    justify-content: center;
    -webkit-user-select: none;
    user-select: none;
}
.deal-block 
{
    display: flex;
    justify-content: space-around;
    margin: 33px;
}
.deal-delivery
{
    padding: 33px;
    margin: 33px 0;
    text-align: center;
}
a.deal-block-button 
{
    height: 50px;
    width: 50px;
    filter: contrast(0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: hsl(0deg 0.43% 29.01%);
    margin: 20px;
    font-size: 14px;
    white-space: nowrap;
}
.deal-map-navigation 
{
    display: flex;
    justify-content: center;
}
.deal-map-navigation-button 
{
    background: hsl(0deg 0% 21%);
    padding: 5px 10px;
    border-radius: 20px;
    margin: 5px 5px 30px 5px;
}
textarea#message-form-input-txt 
{
    background: hsl(0deg 0.44% 17%);
    border: 2px solid hsl(0deg 0% 23.53%);
    width: 70%;
    padding: 15px;
    border-radius: 10px 10px 0 10px;
    font-family: inherit;
    margin: 15px auto;
    color: aliceblue;
    height: 40px;
}
input.deal-message-form-input
{
    background: hsl(0deg 0.44% 17%);
    border: 2px solid hsl(0deg 0% 23.53%);
    width: 70%;
    padding: 12px 15px;
    border-radius: 5px;
    margin: 3px 0;
    text-align: left;
    font-size: 12px;
}
input.msg-input-disabled
{
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    border: none;
    color: hsl(0deg 0% 45%);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Roboto';
}
.deal-message-form-title 
{
    margin: 30px;
    text-transform: capitalize;
    opacity: 0.8;
    font-size: 19px;
}
button#deal-box-close
{
    display: none;
}
.deal-address
{
    align-items: center;
    justify-content: center;
    background: hsl(0, 0%, 20%);
    padding: 13px 17px;
    border-radius: 5px;
    width: 70%;
    margin: 30px auto;
}
.deal-address span
{
    height: 30px;
    filter: invert(1);
    aspect-ratio: 1 / 1;
    margin-right: 30px;
    opacity: 0.3;
}
.deal-message-form
{
    text-align: center;
    padding: 0 0 80px;
}

@keyframes buttonShrink 
{
    0% 
    {
        max-width: 100px;
        padding: 10px 30px;
    }
    100%
    {
        max-width: 0;
        padding: 10px 20px;
    }
}
@keyframes buttonGrow
{
    0% 
    {
        max-width: 0;
        padding: 10px 20px;
        color: transparent;
    }
    100%
    {
        max-width: 100px;
        padding: 10px 30px;
        color: transparent;
    }
}
button#deal-message-form-send 
{
    background: black;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    margin: 10px auto;
    display: block;
    animation: buttonGrow 500ms;
}
.deal-message-prehidden
{
    color: transparent;
    animation: buttonShrink 500ms;
}
.deal-message-hidden
{
    display: none !important;
}
.deal-message-status
{
    background: black;
    padding: 10px 30px;
    border-radius: 50px;
    margin: 10px auto;
    display: none;
    width: max-content;
    white-space: nowrap;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}
.deal-message-status-active
{
    display: block;
    animation: buttonGrow 500ms;
}

@media screen and (min-width: 500px) 
{
    .deal-box
    {
        height: 100vh;
        overflow-y: scroll;
    }
    .deal-box::-webkit-scrollbar
    {
        background: transparent;
    }
    .deal-box::-webkit-scrollbar-thumb
    {
        background: hsl(0deg 0.87% 20%);
        border: 4px solid hsl(0deg 0.87% 10%);
        border-radius: 30px;
        cursor: pointer;
    }
    .deal-box::-webkit-scrollbar-thumb:hover
    {
        background: hsl(0deg 0.87% 30%);
    }
    .deal-box::-webkit-scrollbar-button
    {
        display: none;
    }
    .deal-cap
    {
        display: none;
    }
    .deal-box-container
    {
        width: 500px;
        margin: 100px auto;
        height: auto;
        border-radius: 5px;
        overflow: hidden;
        display: grid;
        grid-template-areas: 
            "cont"
            "map"
            "hr"
            "dlv";
        gap: 20px;
        padding-bottom: 0;
    }
    .deal-delivery
    {
        grid-area: dlv;
        margin: auto;
        margin-bottom: 100px;
    }
    .deal-map-container
    {
        grid-area: map;
        border-radius: 5px;
        overflow: hidden;
        position: relative;
        margin: 50px 0;
    }
    .deal-map-container img
    {
        display: block;
    }
    .deal-map-navigation
    {
        position: absolute;
        top: 0;
        right: 0;
        padding: 10px;
    }
    .deal-map-navigation-button
    {
        font-size: 14px;
        background: hsla(0, 0%, 0%, 0.4);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }
    .deal-contacts
    {
        background: hsl(0, 0%, 17%);
        border-radius: 5px;
        margin: 20px auto;
        padding: 20px 0;
        text-align: center;
        width: 450px;
        grid-area: cont;
        height: 100%;
        box-sizing: border-box;
    }
    button#deal-box-close
    {
        display: block;
        font-size: 22px;
        font-weight: lighter;
        margin-left: auto;
        margin-right: 40px;
        margin-top: 10px;
        opacity: 0.5;
    }
    a.deal-block-button
    {
        height: 40px;
        width: 40px;
        font-size: 13px;
    }
}
@media screen and (min-width: 1600px) 
{
    .deal-box-container
    {
        width: 90vw;
        grid-template-areas: 
            "map cont"
            "hr cont"
            "dlv cont";
    }
    .deal-contacts
    {
        margin: auto;
    }
    .deal-map-container
    {
        margin: unset;
    }
}