﻿
body {
    width: 100vw;
    height: 100vh;
    margin: 0px;
    padding: 0px;
    background: var(--backgroundDeg);
    background: linear-gradient(var(--foregroundDeg), var(--foregroundFrom) 0%, var(--foregroundBy) 45%, var(--foregroundTo) 100%);
}

span, div, a, input {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1em;
    color: #ffffff;
}

.spanAlternative {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.50);
}







.Background {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 440px;
    height: 100%;
    border: solid 0px #ffff00;
    z-index: 500;
    background-color: var(--backgroundBy);
    background: linear-gradient(var(--backgroundDeg), var(--backgroundFrom) 0%, var(--backgroundBy) 45%, var(--backgroundTo) 100%);
}

    .Background div {
        width: 80%;
        height: 80%;
        transform: translate(10%, 10%);
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: center;
    }

    .Background img {
        width: 40%;
        height: auto;
    }

    .Background ul {
        width: 100%;
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        row-gap: 10px;
        margin-top: 40px;
    }

    .Background li {
        margin-left:-20px;
        margin-bottom:10px;
        height:35px;
        width:100%;
        border-bottom:solid 1px rgba(255, 255, 255, 0.3);
        cursor:pointer;
    }

    .Background li:active  {
        opacity:0.4;
    }





.Main {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 450px;
    height: 100%;
    transition: all 0.4s ease-out;
    z-index: 800;
    background: rgb(115,194,255);
    background: linear-gradient(var(--foregroundDeg), var(--foregroundFrom) 0%, var(--foregroundBy) 45%, var(--foregroundTo) 100%);
}

    .Main .Page {
        position: fixed;
        top:0px;
        left:0px;
        width:100%;
        height:100%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        background-color:transparent;
    }

    .Main .Toggle {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background-color: white;
        opacity: 0.3;
        transition: all 0.4s ease-out;
    }

.Open {
    top: 50%;
    left: 50%;
    transform: translate(20%, -50%);
    height: 95%;
    box-shadow: var(--mainShadow);
}






.RowHeader {
    flex-basis: auto;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border: solid 0px #ff0000;
}

    .RowHeader span {
        align-self: flex-end;
        flex-basis: auto;
        width: 50px;
        height: 50px;
        margin-left: 5px;
        margin-right: 5px;
        margin-top: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .RowHeader img {
        margin-left:0px;
    }
    .RowHeader img:active {
        opacity:0.5;
    }


.RowBody {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items:center;
    row-gap:10px;
    border: solid 0px #ff0000;
}
    .RowBody div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 120px;
        height: auto;
        padding: 10px;
    }

.RowFooter {
    width: 90%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    border: solid 0px #ff0000;
    padding-bottom:10px;
}

    .RowBody img {
        flex-basis: auto;
        align-self: center;
        margin-bottom: 0px;
    }



.Invisible {
    opacity: 0;
}


.OutOfScreen {
    position: fixed;
    transform: translate(-50%, 100vh);
}

.title {
    display: flex;
    justify-content: center;
    font-size:1.7em;
    margin-bottom:20px;
    align-self:center;
}

.label {
    color:#ededed;
}

.disabled {
    background:#dedede;
    opacity:0.5;
}


.Hide {
    opacity: 0;
    display: none;
    transition: all 0.9s ease-out;
}



::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--mainColor);
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background-color: var(--hoverColor);
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: var(--secondaryColor);
    }



.BoxLanguages {
    position: fixed;
    top: 45px;
    right: 10px;
    width: 30%;
    height: auto;
    background-color: var(--backgroundBy);
    background: linear-gradient(var(--backgroundDeg), var(--backgroundFrom) 0%, var(--backgroundBy) 45%, var(--backgroundTo) 100%);
    box-shadow: var(--cardShadow);
    border-radius: var(--cardRadius);
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    padding: 15px;
    row-gap: 10px;
}

.BoxLanguagesRow {
    width:100%;
    display:flex;
    flex-direction:row;
    align-content:center;
    align-items:center;
    justify-content:start;
    column-gap:5px;
    cursor:pointer;
}

.BoxLanguagesRow:hover {
    opacity:0.6;
}