:root {
    direction: rtl;
    --text-dark: #000;
    --text-light: #fff;
    --theme-main-color: #fff;
    --theme-main-color-dark: #36454F;
    --theme-main-color-light: #fff;
    --theme-secend-color: #1f5286;
    --theme-secend-color-dark: #133353;
    --theme-secend-color-light: #8BC34A;
    --font-famlily: 'Assistant', sans-serif;
}

main,
body,
html {
    max-width: 100vw !important;
    max-height: 100vh !important;
    overflow: hidden;
}

body {
    width: 100%;
    margin: auto;
    background-color: var(--theme-main-color);
    /* padding: 0.5rem;
    padding-top: 1rem; */
    font-family: var(--font-famlily);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    -webkit-text-size-adjust: 100%;
    max-height: 100vh;
    overflow: hidden;
}


section {
    margin-top: 2rem;
}

h1,
h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.footer {
    margin: auto;
    padding: 0.7rem;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-secend-color);
    color: var(--text-light);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    font-family: var(--font-famlily);
    font-size: 0.7rem;
    font-weight: 200;

}


.masthead {
    margin: auto;
    padding: 0.7rem;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-secend-color);
    color: var(--text-light);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    font-family: var(--font-famlily);
    font-size: 0.7rem;
    font-weight: 200;
    margin-bottom: 1rem;
    position: sticky;
}
.masthead .icons{
    height: 30px;
    width: auto;
    font-size: 1rem;
}


#qustionScreen{
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 0;
}
#qustionScreen ol li {
    margin: 0.5rem;
    font-size: 1rem;
    text-align: right;
    font-weight: 400;
    letter-spacing: normal;
    display: block !important;
}

#endScreen #mainText{
    padding: 1rem;
    text-align: right; 
}





/* כפתורים */
.castume-button {
    display: inline-block;
    padding: 0.5em 1.4em;
    /* margin: 0 0.3em 0.3em 0; */
    border-radius: 0.15em;
    box-sizing: border-box;
    text-decoration: none;
    font-family: var(--font-famlily);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-light) !important;
    letter-spacing: 0.2em;
    background-color: var(--theme-secend-color) !important;
    border: 1px solid var(--theme-secend-color-dark) !important;
    box-shadow: inset 0 -0.6em 0 -0.35em rgba(0, 0, 0, 0.17);
    text-align: center;
    position: relative;    
}


.castume-button:active {
    top: 0.1em;
    color: var(--text-light) !important;
    background-color: var(--theme-secend-color) !important;
    border: 1px solid var(--theme-secend-color-dark) !important;
}


.castume-secendery-button {
    background-color: transparent !important;
    border: 1px solid var(--theme-main-color-dark) !important;
    color: var(--text-dark) !important;
    letter-spacing: normal;
}

.castume-secendery-button:active {
    top: 0.1em;
    color: var(--text-dark) !important;
    background-color: transparent !important;
    border: 1px solid var(--theme-main-color-dark) !important;
}


.castume-button-selected {  
    background-color: var(--theme-secend-color-dark) !important;    
}


.castume-button-selected:active {   
    background-color: var(--theme-secend-color-dark) !important;
}

.castume-button-disable{
    background-color: #516d81 !important;  
    box-shadow: iinset 0 -0.6em 0 -0.55em rgba(0, 0, 0, 0.17);
    border: 1px solid #2c3a44 !important;
    cursor: default !important;
}
.castume-button-disable:active{
    background-color: #516d81 !important;  
    box-shadow: iinset 0 -0.6em 0 -0.55em rgba(0, 0, 0, 0.17);
    border: 1px solid #2c3a44 !important;
    top: 0em !important;
    cursor: default !important;
}


   





/* שונות */
.logo-img {
    width: 70%;
    height: auto;
    /* background-color: var(--theme-secend-color); */
    padding: 0.5rem;
    /* border-radius: 50%;
    margin-bottom: 0.5rem; */
    /* box-shadow: inset 0 -0.6em 0 -0.35em rgba(0, 0, 0, 0.17); */
}




/* תיקוים למסך מחשב קטן */
@media (min-hight:569px) {
    body{
        background-color: #065994 !important;
    }
    .logo-img{
        display: none !important;
    }
    
    #openScreen {
        width: 80%;
        margin: auto;
        font-size: 1.3rem;
    }

    h1,
    h2 {
        font-size: 3rem;
    }

    .logo-img {
        width: 15%;
        margin-bottom: 1rem;
        margin-top: 1rem;

    }
    .castume-button {        
        border: 1px solid var(--theme-secend-color-dark) !important;
        box-shadow: inset 0 -0.6em 0 -0.35em rgba(0, 0, 0, 0.17);      
    }
    

    .footer {        
        padding: 0.2rem;        
        font-size: 0.1rem; 
    
    }
    section {
        margin-top: 0.3rem;
    }


    .castume-button-disable{ 
        box-shadow: iinset 0 -0.6em 0 -0.55em rgba(0, 0, 0, 0.17);
        border: 1px solid #2c3a44 !important;
        cursor: default !important;
    }
    .castume-button-disable:active{
        box-shadow: iinset 0 -0.6em 0 -0.55em rgba(0, 0, 0, 0.17);
        border: 1px solid #2c3a44 !important;
        top: 0em !important;
        cursor: default !important;
    }
}

/* תיקוים למסך מחשב גדול */
@media only screen and (min-width: 1920px) {
    #openScreen {
        width: 60%;
        margin: auto;
        font-size: 1.3rem;
    }
    section {
        margin-top: 2rem;
    }

    h1,
    h2 {
        font-size: 2rem;
    }

    .logo-img {
        width: 25%;
        margin-bottom: 1.3rem;
        margin-top: 1.5rem;

    }

    
    .castume-button {        
        border: 1px solid var(--theme-secend-color-dark) !important;
        box-shadow: inset 0 -0.6em 0 -0.35em rgba(0, 0, 0, 0.17);        
    }
    
    .castume-button-disable{
        box-shadow: iinset 0 -0.6em 0 -0.55em rgba(0, 0, 0, 0.17);
        border: 1px solid #2c3a44 !important;
        cursor: default !important;
    }
    .castume-button-disable:active{
        box-shadow: iinset 0 -0.6em 0 -0.55em rgba(0, 0, 0, 0.17);
        border: 1px solid #2c3a44 !important;
        top: 0em !important;
        cursor: default !important;
    }
    
  
}

