/*

Colors

#fbf7ff
#f6dcff
#e7b7f7
#9664A0
#7636a5
#5f1d80
#530064

*/

.popUpMainDIV
{
    position: fixed;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translateX(-50%);
    background-color: rgba(255,255,255,0.9);
}

.popUpWindowDIV .multiFieldDIV
{
    text-align: center;
}

.popUpWindowDIV
{
    transform: translate(-50%, -50%);
    background-color: #fbf7ff;
    border: solid thin #530064;
    position: relative;
    left: 50%;
    top: 50%;
    height: fit-content;
    box-shadow: 0 0 3em rgba(83,0,100,0.5);
}

.popUpTitleBarDIV
{
    text-align: center;
    background-color: #ccc;
    font-weight: bold;
}

.closeIcon
{
    position:absolute;
    background: url(images/xmark-solid.svg);
    background-repeat: no-repeat;
    cursor:pointer;
    pointer-events:all;
}

.popUpWindowDIV .button
{
    display: block;
    margin: 2em auto;
}

.popUpWindowDIV .multiFieldDIV div
{
    margin: 0.7vw;
}

.popUpWindowDIV .multiFieldDIV .field1DIV
{
    text-align: left;
    color: #555;
}



/*
------------------------------------ ASPECT RATIO DRIVEN RULES
----------------------
---------------------- PORTRAIT RULES
*/

.popUpWindowDIV
{
    width: 60vw;
}

.popUpTitleBarDIV
{
    height: 5vw;
    line-height: 5vw;
}

.popUpWindowDIV .closeIcon
{
    right: 1.5vw;
    top: 1vw;
    background-size: 1.9vw;
    width: 1.9vw;
    height: 4vw;
}

.popUpWindowDIV .button
{
    width: clamp(0.1em,  10.5vw, 8em);
    height: clamp(0.1em,  6.5vw, 5em);
    font-size: clamp(0.1em, 1.4vw, 1.1em);
    margin-bottom: clamp(0.5em, 3vw, 2em);
    display: flex;
    align-items: center;
}

.popUpWindowDIV .multiFieldDIV input
{
    width: 44vw;
    padding: 1vw;
}

.popUpWindowDIV .multiFieldDIV div
{
    margin: 1vw auto;
}

.popUpWindowDIV
{
    top: unset;
    margin-top: 50%;
}


/*
---------------------- LANDSCAPE RULES
*/

@media (min-aspect-ratio: 1)
{
    
    .popUpWindowDIV
    {
        top: 50%;
        margin-top: unset;
    }
    
}






/*
------------------------------------ MAXIMUMS/LIMITS
*/


@media screen and (min-width: 56em)
{

    .popUpTitleBarDIV
    {
        height: 2.5em;
        line-height: 2.5em;
    }

    .popUpWindowDIV .closeIcon
    {
        right: 0.8em;
        top: 0.5em;
        background-size: 1em;
        width: 1em;
        height: 2em;
    }

    .popUpWindowDIV .multiFieldDIV input
    {
        width: 22em;
        padding: 0.5em;
    }

    .popUpWindowDIV .multiFieldDIV div
    {
        margin: 0.5em auto;
    }
}

@media screen and (max-height: 32em)
{
    
}