/* Start Global Rules */

*{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* Start Variables */

:root{
    --main-yellow-color:#FFCF49;
    --main-blue-color:#1F2A3E;
    --main-transition:0.5s;
    --p-color:#ccc;
    --padding-tp:50px;
    --padding-btm:50px;
}

/* End Variables */


html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Roboto', sans-serif;
}

/* Start cont */

.cont{
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px){
    .cont{
        width: 750px;
    }
}

@media (min-width: 992px){
    .cont{
        width: 970px;
    }
}

@media (min-width: 1200px){
    .cont{
        width: 1170px;
    }
}

/* End cont */

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

img{
    width: 50px;
    height: 50px;
}

.main-title{
    margin: 0 auto 80px;
    border: 2px solid black;
    padding: 10px 20px;
    width: fit-content;
    font-size: 30px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    transition: var(--main-transition);
}

@media (max-width: 768px){
    .main-title{
        font-size: 20px;
    }
}

.main-title a{
    color: black;
}

.main-title:hover{
    color: white;
    border: 2px solid white;
    transition-delay: 0.5s;
}


.main-title:hover a{
    color: white;
    transition-delay: 0.5s;
}

.main-title::before{
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--main-yellow-color);
    position: absolute;
    border-radius: 50%;
    left:-30px;
    top: 50%;
    transform: translateY(-50%);
}

.main-title::after{
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--main-yellow-color);
    position: absolute;
    border-radius: 50%;
    right:-30px;
    top: 50%;
    transform: translateY(-50%);
}

.main-title:hover::before {
    z-index: -1;
    animation-name: left-move;
    animation-duration: .5s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.main-title:hover::after {
    z-index: -1;
    animation-name: right-move;
    animation-duration: .5s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

/* Start Mage Menu */

.menu-icon{
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    /* position: fixed; */
    top: 10px;
    left: 10px;
    z-index: 2;
}

.close-icon{
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.close-icon{
    display: none;
}

.menu-items {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.menu-items ul {
    list-style: none;
    padding: 0;
    margin: 20% 0 0 0;
    text-align: center;
}

.menu-items ul li {
    margin-bottom: 20px;
}

.menu-items ul li a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    transition: color 0.3s ease-in-out;
}

.menu-items ul li a:hover {
    color: #00bcd4;
}

.close-icon{
    color: white;
}

/* End Mage Menu */

/* End Global Rules */


/* start chat */

.chat-pages{
    position: fixed;
    top: 50px;
    right: 35px;
    z-index: 250;
    display: none;
}

.comunity{
    background-color: var(--main-blue-color);
    color: white;
    width: 350px;
    border-radius: 15px;
    margin: 50px auto;
    height: 80vh;
    position: relative;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);

}
.comunity .cont .tp .icon {
    padding: 5px 15px;
}
.comunity .cont .tp .logo{
    padding: 1px 15px;
}

/* ################################ */
@media(max-width:767px){
    .comunity{
        width: 350px;
        min-height: 90vh;
    }
    .comunity .cont .tp .icon ul li img{
        width: 290px;
        height: 250px;
    }
    .comunity .cont .content .image img{
        width: 100%;
        max-height:150px;
    }
    .comunity .cont .btm .list ul li i{
        font-size: 20px !important;
    }
    .comunity .cont .btm .list ul li {
        font-size: 1rem;
    }
}

/* ########################################## */
.comunity .cont {
    width: 100%;
    padding: 0;
}


.comunity .cont .tp{
    display: flex;
    gap: 5px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
}

.comunity .cont .tp .logo{
    width: 50px;
    height: 50px;
}

.comunity .cont .tp .icon ul{
    display: flex;
    align-items: center;
}

.comunity .cont .tp .icon ul li{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comunity .cont .tp .icon ul li img{
    width: 50px;
    height: 45px;
    border-radius: 50%;

}
.comunity .cont .tp .icon ul li  .img1{
    position: relative;
    right: -40px;
    z-index: 4;
}
.comunity .cont .tp .icon ul li  .img2{
    position: relative;
    right: -20px;
}
.comunity .cont .tp .icon ul li img
.comunity .cont .content{
    padding: 10px 20px;
}


/*############################################### */
.comunity .cont .content .txt{
    margin-top: 10px ;
    text-align: center;
}

.comunity .cont .content .txt .title{
    font-size: 27px;
    font-weight: bold;
}


.comunity .cont .content .image img{
    width: 100%;
    height:200px;
}

/*############################################### */

.comunity .cont .btm .list{
    margin-bottom: 30px;
    background-color: var(--main-blue-color);
    opacity: 1;
    height: 70px;
    border-radius: 0px 0px 15px 15px;
    position: absolute;
    bottom: 0;
}

.comunity .cont .btm .list ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
}
.comunity .cont .btm .list ul li{
    text-align: center;
        padding: 5px;
    }

.comunity .cont  a{
    color: white;
    display: inline-block;
    margin-bottom: 10px;
}
.comunity .cont .btm .list ul li  i{
    margin-bottom: 5px;
    font-size: 25px;
}


li.active i ,
li.active a{
    color:var(--main-yellow-color) !important ;
}
/*start message page */
.comunity .cont .header {
    background-color: var(--main-yellow-color);
    color: #fff;
    text-align: center;
    padding: 20px 0px;
    width: 100%;
    font-size: 25px;
    font-weight: 600;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/*start message page */
.comunity .cont .messageContent{
    text-align: center;
    margin: 50% auto;
}
.comunity .cont .messageContent .messageIcon{
    color: var(--main-yellow-color);
    font-size: 30px;
}
.comunity .cont .messageContent p{
    font-size: 18px;
    line-height: 1.5;
}
    /*end message page */
    /* start help page */
    .comunity .cont .helpContent ul li{
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }
    .comunity .cont .helpContent ul li i{
        color: var(--main-yellow-color);
    }
    .helpContent .hidden {
        display: none;
    }
    #item-list1  {
        width: 250px;
        /* border: 1px solid #ccc; */
        margin-left: 75px;
        margin: 0;
        padding-bottom: 5px;
        
        
    }
    .helpContent #item-list li{
        padding-bottom: 7px;
        list-style-type: disc;
    }
    /* end help page */
  /* start join Group */
.comunity .logoGroup{
    padding: 10px 20px;
}
.comunity .content-join-group{
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    
}
.comunity .content-join-group p{
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}
.comunity .content-join-group .btn{
    padding: 15px 25px;
    background-color: var(--main-yellow-color);
    color: white;
    border-radius: 20px;
    outline: none;
    border: none;
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
}
/* end join Group */

.comunity-home {
    position: absolute;
    right: 30px;
    z-index: 50;
}

.comunity-message{
    position: absolute;
    right: 30px;
    z-index: 49;
}

.comunity-help{
    position: absolute;
    right: 30px;
    z-index: 48;
}

.comunity-join{
    position: absolute;
    right: 30px;
    z-index: 47;
}