* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --background-main-color: #242424;
    --background-main-color-transparent: rgba(24, 24, 24, 0.8);
    --letters-main-color: rgb(244, 244, 244);
    --footer-background-color: #242424;
    --button-main-color: #2b527e;
}

.fn-grid {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-rows: 1fr;
}

.fn-grid-direction-row-to-column { /*το έσπσασα από το fn-grid*/
    grid-auto-flow: column;
}

.fn-flex {
    display: flex;
    flex-direction: row;
}

.fn-flex-column {
    display: flex;
    flex-direction: column;
}

.fn-flex-row-to-column {
    display: flex;
    flex-direction: row;
}

.fn-center{
    justify-content: center;
    align-items: center;
}

.fn-space-between{
    justify-content: space-between;
    align-items: center;
}

.fn-space-around{
    justify-content: space-around;
    align-items: center;
}

.fn-space-evenly{
    justify-content: space-evenly;
    align-items: center;
}

.fn-start{
    justify-content: start;
    align-items: center;
}

.fn-end{
    justify-content: end;
    align-items: center;
}

.fn-wrap{
    flex-wrap: wrap;
}

/* Containers */

.full-screen-container {
    margin: 0;
    height: 100vh;
    width: 100%;
}

.full-width-container, .full-witdth-to-50-height-container {
    margin: 0;
    height: auto;
    width: 100%;
}



body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-main-color);
    color: var(--letters-main-color);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.5px;
    overflow-x: hidden;
}

.selectButton, .main-button, input[type="text"], input[type="email"], input[type="password"], textarea{
    background-color: transparent;
    color: var(--letters-main-color);
    border: 0.1em solid var(--letters-main-color);
    border-radius: 0.5em;
    padding: 1em 2em;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5em;
    text-align: center;
    text-decoration: none;
    max-width: 100%;
}

.selectButton {
    border: 1px solid var(--button-main-color);
}

.selectButton.active {
    background-color: var(--button-main-color);
}

input[type="text"], input[type="email"], input[type="password"], textarea{
    width: 100%;
}

.fn-50-to-80-width-container {
    width: 50%;
}

.leave-space {
    height: 10vh;
    width: 100%;
}

.keno{
    width: 10%;
}

.grid-two{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
    grid-auto-flow: row;
    align-items: center;
    width: 100%;
}

.grid-min3-max5{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%/3, max(105px , 100%/6)), 1fr));
    grid-gap: 1em;
    grid-auto-flow: row;
    align-items: center;
    width: 80%;
}

.right-text{
    text-align: right;
}

@media (hover: hover) {
    .selectButton:hover{
        background-color: var(--button-main-color);
    }
    .main-button:hover{
        background-color: var(--letters-main-color);
        color: var(--background-main-color);
    }
}


/* for mobile and tables */
@media screen and (max-width: 768px) {
    .fn-50-to-80-width-container{
        width: 80%;
    }
}

.remove-hover-effect-to-button{
    background-color: transparent;
}

.remove-hover-effect-to-button:hover{
    background-color: transparent;
}


.overlay {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    display: none;
    background: var(--background-main-color-transparent);
    z-index: 999;
}

.overlay__inner {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

.overlay__content {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 75px;
    height: 75px;
    display: inline-block;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.05);
    border-top-color: #fff;
    animation: spin 1s infinite linear;
    border-radius: 100%;
    border-style: solid;
}

@keyframes spin {
    100% {
    transform: rotate(360deg);
    }
}