

@font-face{
    font-family: yekan;
    src: url(../PictureGame/font/yekan.ttf);
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transition: 4ms;
    font-family: yekan;
}

body{
    background-image: url(../Res/img/back_img.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-blend-mode: overlay;
    background-color: #000000cb;
}

#share-btn-div
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding-top: 5px;
    position: sticky;
    top: 0;
    direction: rtl;
    z-index: 1;
}

#share-btn
{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 30px;
    background-color: rgb(38, 38, 209);
    color: white;
    cursor: pointer;
    -webkit-box-shadow: 0px 5px 15px 5px #000000; 
    box-shadow: 0px 5px 15px 5px #000000;
}

#share-icon-div
{
    height: 100%;
}

#share-icon-div img
{
    max-width: 30px;
    max-height: 30px;
    margin-left: 3px;
}

#share-btn:hover
{
    padding: 3px 60px;
    background-color: rgb(255, 187, 0);
    color: black;
    border: 1px solid black;
}

#share-btn:hover #share-icon-div img
{
    content:url("./img/shareB.png");
}

#share-apply-div
{
    display: none;
    justify-content: center;
    align-items: center;
}

.share-apply-inner-div
{
    padding: 5px 30px;
    background-color: rgb(3, 102, 3);
    cursor: pointer;
    -webkit-box-shadow: 0px 5px 15px 5px #000000; 
    box-shadow: 0px 5px 15px 5px #000000;
    min-width: 150px;
    text-align: center;
    vertical-align: middle;
    color: white;
}

.share-apply-inner-div:hover
{
    padding: 5px 50px;
    border: 1px solid black;
}

#share-cancel-btn
{
    background-color: rgb(243, 69, 39);
    margin-left: 20px;
}


#root{
    display: flex;
    flex-direction: column;
    padding: 5px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    overflow: auto;
    width: 65%;
    margin-right: auto;
    margin-left: auto;
}

.row{
    padding: 2px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-bottom: 10px;
    align-items: center;
    width: 100%;
    direction: rtl;
}

.sub-div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
    margin-left:30px;
    border: 3px solid rgb(236, 236, 236);  
    background-color: #131313d8; 
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 0px 10px 15px 5px rgba(0,0,0,0); 
    box-shadow: 0px 10px 13px -7px #000000, 0px 10px 15px 5px rgba(0,0,0,0); 
    padding-bottom: 5px;
    position: relative;
    z-index: 0;
}

.row > div:last-child
{
    margin-left:0px;
}

.select-indicator-div
{
    position: absolute;
    top: 2px;
    right: 2px;
    width: 25px;
    height: 25px;
    background-color: rgb(255, 255, 255);
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 0px 10px 15px 5px rgba(0,0,0,0); 
    box-shadow: 0px 10px 13px -7px #000000, 0px 10px 15px 5px rgba(0,0,0,0); 
    border: 2px solid black;
    border-radius: 50%;
    display: none;
}

.icon{
    width: 100%;
    height: auto;
    cursor: pointer;    
    margin-bottom: 8px;
}

.title{
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    font-family: yekan;
    color: white;
}

#board-div
{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.801);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

#board-div button
{
    background-color: rgb(4, 100, 4);
    padding: 5px 20px;
    border: 1px solid black;
    outline: none;
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 0px 10px 15px 5px rgba(0,0,0,0); 
    box-shadow: 0px 10px 13px -7px #000000, 0px 10px 15px 5px rgba(0,0,0,0); 
    color: white;
    cursor: pointer;
    display: none;
}

#board-div button:hover
{
    padding: 5px 30px;
    background-color: yellow;
    color: black;
}

#board-p
{
    color:black;
    padding: 10px ;
    background-color: rgb(248, 168, 63);
    margin-bottom: 10px;
    font-family: 'Courier New', Courier, monospace;
}

.copied
{
    background-color: crimson !important;
    border: 2px solid white;
}


@media only screen and (max-width: 885px) {
    #root{
      width: 80%;
    }
}

@media only screen and (max-width: 735px) {
    #root{
      width: 85%;
    }
}

@media only screen and (max-width: 680px) {
    #root{
      width: 90%;
    }
}


@media only screen and (max-width: 635px) {
    #root{
        width: 95%;
      }

    .row{
        flex-direction: column;
    }

    .sub-div{
        margin-left: 0;
    }

    .sub-div{
        width: 70%;
        margin-bottom: 10px;
    }

    .sub-div:last-child{
        margin-bottom: 0px;
    }
}


@media only screen and (max-width: 300px) {
    #share-apply-div
    {
        flex-direction: column;
    }

    #share-cancel-btn
    {
        margin-left: 0;
        margin-bottom: 10px;
    }
}