﻿@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700;800&display=swap');

body {
    font-family: 'Assistant', sans-serif;
}

a {
    color: black;
    text-decoration: none;
}
#gameArea {
    overflow: hidden;
    position: relative;
    height: 90vh;
    width: 90vw;
    margin: 0 auto;
}

.hide {
    display: none;
    cursor: pointer;
}

/*.main_container {
    max-width: 1280px;
    margin: 0 auto;
}

header div, header nav {
   min-width: 1280px;
    margin: 0 auto;
}*/
#hitlogo {
    background: url(../Site_images/hitlogo.png) center center;
    height: 136px;
    margin: 0 auto;
    transform: scale(0.8);
    background-size: contain;
    background-repeat: no-repeat;
}

header {
    background-color: #a6e3ed;
    width: 100%;
    height: 50px;
    font-weight:600;
    font-size:1.2rem;
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    padding: 0 3rem;
}


    header  div {
        display: flex;
        align-items: center;
    }

    header div:first-child{
        cursor:pointer;
    }
    /*כותרת משחק*/
    header > a > p {
        font-family: 'Assistant', sans-serif;
        font-size: 12pt;
        font-weight: 600;
        position: relative;
        top: -10px;
        color: white;
        display: inline-block;
        direction: rtl;
    }

/*לוגו*/
#logo {
    height: 45px;
    padding: 5px 15px;
    direction: rtl;

}

nav {

    direction: rtl;
}

    nav > a {
        margin-left: 1rem;

    }

    nav ul {
        list-style: none;
        direction: rtl;
    }

        nav ul li {
            display: inline-block;
            direction: rtl;
        }


#container li a:hover {
    background-color: white;
    color: #67462F;
}


/* להסביר איך לשחק */
#howToPlayDiv {

    font-size: 140%;
    height:60%;

}

.green {
    color: green;
    font-weight: bold;
}

.red {
    color: red;
    font-weight: bold;
}

ul {
    margin-left: 1rem;
}
header nav ul li a {
    display: block;
    text-align: center;
    font-weight: 400;
    font-size: 12pt;
    font-family: 'Assistant', sans-serif;
    border-bottom: 2px solid transparent;
    padding-bottom: .25rem;
    cursor: pointer;
    transition: border-color 0.5s ease-in-out;
}

    header nav ul li a:hover {
        border-color: #23BCD5;

    }

header ul li:nth-child(2) {
    margin: 0 1rem;
}

#aboutDiv, #aboutDiv a {
    color: white;
}

    #aboutDiv a{
        text-decoration:underline;
    }

    #aboutDiv a:hover{
        color:black;
    }
    #aboutDiv ul {
        list-style: none;
        display: grid;
        grid-gap: 0.5rem;
        margin: 1rem 0
    }
    #aboutDiv ul li {
        font-size: 1rem;
    }
    .popUp {
        background-color: #23BCD5;
        width: 400px;
        position: fixed;
        top: 60px;
        z-index: 4;
        text-align: center;
        width: 700px;
        border-radius: 25px;
        padding: 10px;
        padding-bottom: 25px;
        right: 0;
        left: 0;
        margin-right: auto;
        margin-left: auto;
        direction: rtl;
        border: 1px solid white;
        font-size: 20px;
    }

.closeHowToPlay, #aboutDiv .closeAbout {
    color: black;
    display: inline-block;
    justify-self: center;
    align-self: center;
    background-color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease-out;
    text-decoration: none;
}

    .closeHowToPlay:hover, #aboutDiv .closeAbout:hover {
        background-color: black;
        color: white;
    }
.bounceInDown {
    -webkit-animation-name: bounceInDown;
    animation-name: bounceInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}


@-webkit-keyframes bounceInDown {

    0%, 60%, 75%, 90%, 100% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -3000px, 0);
        transform: translate3d(0, -3000px, 0);
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(0, 25px, 0);
        transform: translate3d(0, 25px, 0);
    }

    75% {
        -webkit-transform: translate3d(0, -10px, 0);
        transform: translate3d(0, -10px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, 5px, 0);
        transform: translate3d(0, 5px, 0);
    }

    100% {
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes bounceInDown {

    0%, 60%, 75%, 90%, 100% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -3000px, 0);
        transform: translate3d(0, -3000px, 0);
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(0, 25px, 0);
        transform: translate3d(0, 25px, 0);
    }

    75% {
        -webkit-transform: translate3d(0, -10px, 0);
        transform: translate3d(0, -10px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, 5px, 0);
        transform: translate3d(0, 5px, 0);
    }

    100% {
        -webkit-transform: none;
        transform: none;
    }
}


@media (max-width:506px) {
    header {
        height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem 0;
    }
}