﻿


@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700;800&display=swap');

body {
    background-color: #23BCD5;
    font-family: 'Assistant', sans-serif;
    margin: 0;
}


iframe:first-child {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

a {
    color: black;
    text-decoration: none;
}

#gameArea {
    overflow: hidden;
    position: relative;
    height: 90vh;
    width: 90vw;
    margin: 0 auto;
}

.hide {
    display: none;
    cursor: pointer;
}


#hitlogo {
    background: url(../Site_images/hitlogo.png) center center;
    height: 136px;
    margin: 0 auto;
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
    background-size: contain;
    background-repeat: no-repeat;
}

header {
    background-color: #a6e3ed;
    height: 50px;
    position: relative;
    font-weight: 600;
    font-size: 1.2rem;
    direction: rtl;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    z-index: 3;
    padding: 0 3rem;
}

    header div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        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: 35px;
    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: 60vh;
}

.green {
    color: green;
    font-weight: bold;
}

.red {
    color: red;
    font-weight: bold;
}

ul {
    margin-left: 1rem;
}

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;
    cursor: pointer;
    padding-bottom: 0.25rem;
    transition: border-color 0.5s ease-in-out;
}


    nav ul li a:hover {
        border-color: #23BCD5;
    }

nav ul li:nth-child(2) {
    margin: 0 1rem;
}

#aboutDiv ul {
    list-style: none;
    display: -ms-grid;
    display: grid;
    grid-gap: 0.5rem;
    margin: 1rem 0
}

    #aboutDiv ul li {
        font-size: 1rem;
    }

#aboutDiv, #aboutDiv a {
    color: white;
}

    #aboutDiv a {
        text-decoration: underline;
    }



    #aboutDiv a:hover{
        color:black;
    }

.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;
    -ms-grid-column-align: center;
    justify-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    background-color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 50%;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    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);
        -o-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;
    }
}
