@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@500&display=swap');

@font-face {
    font-family: 'Sansation';
    src: url('Sansation_Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'Sansation Light';
    src: url('Sansation_Light.ttf');
    font-weight: 300;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {height: 100%;}
body {height: 100%; background-color: white; overflow-y: scroll; user-select: none;/*background-image: url('80.png');*/}

.error_background{background-color: rgba(254, 102, 102, 0.5);}

.static-modal{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    /*background-color: #F9F9F9;*/

    width: 30rem;
    padding: 0 2rem;

    height: fit-content;
}
.static-modal .logo{
    width: 100%;
    height: 12rem;

    background-image: url('icons/rentspb_logo.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 2rem;
}
.static-modal .logo img{
    height: 10rem;
}

.static-modal .static-modal-header{
    /*height: 5.625rem;*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top:2rem;
    margin-bottom: 2rem;
}

.static-modal .static-modal-header span{
    font-family: Sansation;
    font-style: normal;
    font-weight: normal;
    font-size: 1.625rem;

    letter-spacing: 0.025em;

    color: #2D2D2D;
}

.static-modal span{
    font-family: Sansation Light;
    font-style: normal;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.25rem;
    letter-spacing: 0.025em;

    color: #020828;
}
.static-modal .static-modal-datarow{
    display: flex;
    flex-direction: row;
    /*justify-content: space-around;*/
    margin-bottom: 2rem;
}

.static-modal .static-modal-datarow a{
    font-family: Sansation Light;
    font-style: normal;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.25rem;

    /* or 27px */
    display: flex;
    align-items: center;
    letter-spacing: 0.025em;
    text-decoration-line: underline;

    color: #2D2D2D;
    margin-left: 0.5rem;
}

.static-modal .static-modal-body{
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.static-modal .static-modal-body input{
    height: 3.125rem;/*50px*/
    width: 100%;
    border: 1px solid rgba(45, 45, 45, 0.5);
    padding: 0 0.54rem;

    font-family: Sansation Light;
    font-style: normal;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.125rem;/*18px;*/
    text-align: left;
    color: rgba(45, 45, 45, 0.5);
    color: #2D2D2D;
    outline: none;

    margin-bottom: 0.625rem;
}

.static-modal .static-modal-body input::placeholder{
    font-family: Sansation Light;
    font-style: normal;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.125rem;/*18px;*/

    color: rgba(45, 45, 45, 0.5);
}

.static-modal .static-modal-body button{
    height: 3.125rem;/*50px*/
    width: 100%;

    outline: none;
    
    border-radius: 0;
    display:block;    

    font-family: Sansation;
    font-style: normal;
    font-weight: bold;
    font-size: 1.125rem;/*18px;*/
    line-height: 1.25rem;

    letter-spacing: 0.025em;

    color: #2D2D2D;

    background: #6BFF7A;
    border: 1px solid rgba(45, 45, 45, 0.5);

    /*margin-top: 1.25rem;*/
}

.static-modal .static-modal-body button:hover{
    outline: 1px solid rgba(45, 45, 45, 0.5);
    cursor:pointer;
}
.static-modal .static-modal-body button[disabled="disabled"]{
    color: rgba(45, 45, 45, 0.5);
}
.static-modal .static-modal-body button:hover[disabled="disabled"]{
    outline: none;
    cursor: not-allowed;
}

.error_notification{
    position: absolute;
    color: red;
    padding: 0 2rem;
}

.error_notification a{
    font-family: Sansation Light;
    font-style: normal;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.25rem;
    text-decoration-line: underline;
}

.static-modal  .static-modal-header .smartphone{display: none;}

@media screen and (max-width: 650px)/*, screen and (max-height: 650px)*/{
    .static-modal{
        width: 100%;
        padding: 0 1.5rem;
    }

    .static-modal .static-modal-header span:not([class='smartphone']){
        display: none;
    }

    .static-modal  .static-modal-header .smartphone{
        font-size: 1.5rem;
        display: block;
    }

    .static-modal .static-modal-body input{
        height: 2.5rem;/*40px*/
        width: 100%;
        border: 1px solid rgba(45, 45, 45, 0.5);
        padding: 0 0.54rem;
    
        font-family: Sansation Light;
        font-style: normal;
        font-weight: 300;
        font-size: 0.875rem;/*14px;*/
        line-height: 1rem;
    
        color: rgba(45, 45, 45, 0.5);
        outline: none;
    }

    .static-modal .static-modal-body input::placeholder{
        font-family: Sansation Light;
        font-style: normal;
        font-weight: 300;
        font-size: 0.875rem;/*14px;*/
        line-height: 1rem;
    
        color: rgba(45, 45, 45, 0.5);
    }

    .static-modal .static-modal-body button{
        height: 2.5rem;/*40px*/
        font-size: 1rem;
    }

    .static-modal .static-modal-header,
    .static-modal .static-modal-body{
        margin-bottom: 1.5rem;
    }

    .static-modal .static-modal-datarow span{display: none;}

    .static-modal .static-modal-datarow a{margin-left: 0; font-size: 0.875rem;}

    .static-modal .static-modal-datarow {justify-content: center;}

    .static-modal .error_notification {font-size: 0.875rem;padding: 0 1.5rem;}

    .static-modal .logo {
        height: 10rem;
    }
}