@font-face {
    font-family: "mainFont";
    src: url("../font/MusticaPro-SemiBold.otf");
    font-weight: 700;
}
body{
    display: grid;
    place-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    position: relative;
  
}

:root{
--button-color:blue;
--back-blue:aliceblue;
}
*{
    font-family: mainFont;
    font-weight: 200;
    box-sizing: border-box;
}
.top-content-admin{
    display: grid;
    position: sticky;
    top: 10px;
    place-items: center;
    /* grid-template-columns: 80% 20%; */
    grid-template-areas: "menuText menuText menuOut"
    "menuParts menuParts menuParts";
    width: 95%;
    max-width: 800px;
    padding: 10px 0px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 2px 0 5px rgb(138, 138, 138);
    background-color: white;
    background-image: url(./../image/back.png);
    background-size: 200px;
    z-index: 20;
}

.menu-text{
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-right: 1px solid black;
    grid-area: menuText;
}

.log-outblock{
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    user-select: none;
    cursor: pointer;
    padding: 5px;
    grid-area: menuOut;
}

.menuScrollparts{
    position: relative;
    margin-top: 5px;
    padding-top: 5px;
    width: 100%;
    border-top: 1px solid black;
    display: grid;
    grid-area: menuParts;
}
.scrollMenu{
    display: flex;
    flex: 1;
    overflow-x: auto;
    width: 100%;
    padding: 10px 0;
}
.menuLink{
    display: grid;
    place-items: center;
    font-size: 14px;
    background-color: rgb(248, 248, 248);
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgb(202, 202, 202);
    text-align: center;
    margin: 0 10px;
    text-decoration: none;
    color: black;
    padding: 5px 15px ;
    white-space:nowrap;
}
.rightFader{
    position: absolute;
    width: 25px;
    height: 100%;
    background-color: white;
    right: 0;
    z-index: 5;
    background: linear-gradient(to right,rgb(255,255,255,0),  rgb(255,255,255,1) 70%);
}

form{
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 60px;
}

.langBlock{
 display: grid;
 place-items: center;
 width: 95%;
 max-width: 1000px;
 padding: 10px;
 /* border: 1px solid black; */
 box-shadow: 3px 3px 10px rgb(197, 197, 197);
 border-radius: 10px;
 margin: 20px 0;
 background-color: rgb(250, 250, 250);
}
.postName{
    padding: 10px;
    border-radius: 10px;
    border: none;
    box-shadow: inset 2px 2px 5px rgb(185, 185, 185);
    width: 90%;
    margin: 15px 0;
}
.priceBox,.mainInfoBox{
    display: grid;
    place-items: center;
    width: 95%;
    max-width: 800px;
    padding: 10px;
    /* border: 1px solid black; */
    box-shadow: 3px 3px 10px rgb(197, 197, 197);
    border-radius: 10px;
    margin: 20px 0;
    background-color: rgb(250, 250, 250);
}
.inPrice,.donateIn{
    padding: 10px;
    border-radius: 10px;
    border: none;
    box-shadow: inset 2px 2px 5px rgb(185, 185, 185);
    width: 90%;
    margin: 15px 0;
}

.labelPriceBox{
    margin: 20px 0 0 0;
    font-size: 14px;
    color: rgb(161, 161, 161);
}
.postImage{
    width: 90%;
    max-width: 500px;
}
.submitEditorBtn,.login-submit{
    padding: 15px;
    background-color: green;
    color: white;
    border-radius: 10px;
    border: none;
    box-shadow: 2px 2px 5px rgb(185, 185, 185);
    margin: 20px 0;
    cursor: pointer;
}
.removeImageBlock{
    display: flex;
    margin: 10px 0;
}
.photoPostList{
    max-width: 150px;
    max-height: 95%;
    width: 95%;
}

.postPlaceList{
    width: 90%;
    display: grid;
    place-items: center;
    grid-template-columns: 100%;
    margin: 20px 0;
    padding: 5px;
    border-radius: 10px;
    border:1px solid black;
    text-align: center;
    text-decoration: none;
    color: black;
}
.isPostActive{
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    margin:5px;
    font-size: 70%;
}
.postContainerList,.phrasePlace{
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 800px;
    position: relative;
}
.pharaseText{
    width: 100%;
    resize: none;
    height: 70px;
    border: none;
    padding: 10px;
    border-radius: 10px;
    outline: none;
    box-shadow: inset 2px 2px 5px rgb(185, 185, 185);
    margin: 10px 0;
}
.phraseBox{
    width: 90%;
    display: grid;
    place-items: center;
    max-width: 500px;
    margin: 20px 0;
    padding: 5px;
    border-radius: 10px;
    border:1px solid black;
    text-align: center;
    text-decoration: none;
    color: rgb(94, 94, 94);
    position: relative;
}
.boxLabel{
    position: absolute;
    left: 13px;
    background-color: white;
    top: 0;
    transform: translateY(-50%);
    font-size: 75%;
    padding: 0 5px;
}
.login-form{
    max-width: 500px;
}

@media screen and (min-width:1000px)  {
    .postPlaceList{
        grid-template-columns: 25% 50% 25%;
    }

    .isPostActive{
        border-left: 1px solid black;
    }
}