@font-face {
    font-family: morabba;
    src: url("../fonts/Morabba.ttf");
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: morabba;
    user-select: none;
    scroll-behavior: smooth;
}
/* THOME START */

.thome{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0px 10px;
    margin: 100px 0px;
}
.thome-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 1200px;
    gap: 30px;
    background-color: white;
    padding: 30px;
    border-radius: 30px;
    border: 2px solid rgba(128, 128, 128, 0.2);
    box-shadow: 0 0 10px rgba(128, 128, 128, 0.2);
}

.thome-rast{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
    width: 500px;
}
.thome-rast h1{
    background: #FF4500;
    background: linear-gradient(to left, #FF4500 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 45px;
}
.thome-rast h3{
    color: rgba(0, 0, 0, 0.7);
    font-size: 25px;
}
.thome-rast p{
    text-align: justify;
    line-height: 35px;
}
.thome-rast a{
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background-color: orange;
    border: 2px solid orange;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all .5s;
}
.thome-rast a i{
    margin-right: 10px;
    transform: translateY(1px);
}
.thome-rast a:hover{
    background-color: white;
    color: orange;
}
.thome-chap{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
}
.thome-chap img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* THOME END */
/* TERMS START */

.terms{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0px 10px;
    margin: 100px 0px;
}
.terms-container{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    width: 1200px;
    gap: 30px;
}
.terms-title{
    display: flex;
    align-items: center;
    justify-content: center;
    color: orange;
    font-size: 24px;
}
.rules{
    display: grid;
    grid-template-columns: repeat(7,auto);
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}
.rules p{
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    background-color: rgba(255, 166, 0, 0.1);
    border: 2px solid rgba(255, 166, 0, 0.2);
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
    transition: all .5s;
    cursor: pointer;
}
.rules p.active {
    background-color: orange;
    color: black;
}
.rules p:hover{
    color: black;
}

.trules-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.trule-abri,
.trule-buy,
.trule-support,
.trule-pay,
.trule-service,
.trule-bug,
.trule-serverabri{
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}
.trule-abri.active,
.trule-buy.active,
.trule-support.active,
.trule-pay.active,
.trule-service.active,
.trule-bug.active,
.trule-serverabri.active {
  display: flex;
}
.trule-card{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    padding: 30px;
    border: 2px solid rgba(128, 128, 128, 0.2);
    border-radius: 20px;
}
.trule-card-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    gap: 15px;
}
.trule-card-title p{
    color: rgba(0, 0, 0, 0.8);
    font-weight: bold;
    font-size: 20px;
}
.trule-card-title i{
    font-weight: bold;
    font-size: 18px;
}

.trule-card-desc {
    display: none; /* hide the description initially */
    color: gray;
    font-size: 15px;
    text-align: justify;
}

/* TERMS END */




































/* RESPONSIVE START */

@media screen and (max-width:500px) {

    .thome-container{
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .thome-rast{
        width: 100%;
    }
    .thome-chap{
        width: 100%;
    }

    .terms-container{
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .terms-title{
        font-size: 18px;
    }

    .rules{
        grid-template-columns: repeat(2,auto);
        align-items: center;
        justify-content: center;
    }
    .rules p{
        font-size: 14px;
    }
    .trule-card-title p{
        font-size: 14px;
    }
    
}

@media screen and (min-width:501px) and (max-width:768px) {

    .thome-container{
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .thome-rast{
        width: 100%;
    }
    .thome-chap{
        width: 100%;
    }

    .terms-container{
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .terms-title{
        font-size: 18px;
    }

    .rules{
        grid-template-columns: repeat(3,auto);
        align-items: center;
        justify-content: center;
    }
    .rules p{
        font-size: 14px;
    }
    .trule-card-title p{
        font-size: 14px;
    }
    
}

@media screen and (min-width:769px) and (max-width:1000px) {

    .thome-container{
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .thome-rast{
        width: 100%;
    }
    .thome-chap{
        width: 100%;
    }

    .terms-container{
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .terms-title{
        font-size: 18px;
    }

    .rules{
        grid-template-columns: repeat(4,auto);
        align-items: center;
        justify-content: center;
    }
    .rules p{
        font-size: 14px;
    }
    .trule-card-title p{
        font-size: 14px;
    }
    
}

@media screen and (min-width:1001px) and (max-width:1250px) {

    .thome-container{
        width: 100%;
    }

    .terms-container{
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .terms-title{
        font-size: 18px;
    }

    .rules{
        grid-template-columns: repeat(6,auto);
        align-items: center;
        justify-content: center;
    }
    .rules p{
        font-size: 14px;
    }
    .trule-card-title p{
        font-size: 14px;
    }
    
}

/* RESPONSIVE END */