.chess-tournament {
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.chess-heading-text {
    margin-top: 1rem;

}

.chess-tournament h2 {
    color: #3c2059;
    font-size: 2.3rem;
}

.chess-heading-text h5 {
    margin-left: 3rem;
}

.chess-form-heading {
    position: relative;
}

.bottom-line {
    border-bottom: 10px solid #ffc107dd;
    width: 42%;
    position: absolute;
    top: 7%;
    z-index: 1;
}

.chess-heading-text h5 span {
    background-color: #ffc107;
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.chess-form-heading {
    margin-top: 2rem;
}

.chess-form-heading h3 {
    position: relative;
    z-index: 3;
    font-size: 2.5rem;
    color: white;
    text-shadow: -1px 2px 0 #4267B2,
        1px 2px 0 #4267B2,
        1px -1px 0 #4267B2,
        -1px -1px 0 #4267B2;

}

.chess-text {
    display: flex;
    gap: 0.2rem;
}

.chess-text p {
    font-size: 1.3rem;
    font-weight: 600;
}

.line-yellow img {
    position: absolute;
    top: 15%;
    left: -10%;
}

.chess-img {
    position: relative;
    z-index: 3;
}

.line-blue img {
    position: absolute;
    top: 30%;
    left: -5%;
}

.right-blue img {
    position: absolute;
    top:12%;
    right: -10%;
}

.right-yellow img {
    position: absolute;
    top: 30%;
    right: -5%;
}

.text1 {
    margin-left: 2.5rem;
}

.text2 {
    margin-left: 3rem;
}

.text3 {
    margin-left: 4rem;
}

.text4 {
    margin-left: 0.6rem;
}

.text5 {
    margin-left: 2rem;
}
.register-btn{
    font-weight: 600;
    background-color:  #ffc107;
    color: #3c2059;
}
.list-btn{
    font-weight: 600;
    background-color:  #3c2059;
    color:  #ffc107;
}

.list-btn:hover{
    color: white;
}

@media only screen and (max-width:1200px) {
    .chess-box1 {
        order: 2;
    }

    .chess-box2 {
        order: 1;
    }
}
@media only screen and (min-width:280px) and (max-width:329px) {
    .chess-tournament h2 {
        color: #3c2059;
        font-size: 0.9rem;
        text-align: center !important;
    }
    .chess-heading-text h5 span {
        background-color: #ffc107;
        padding: 0.5rem;
        border-radius: 10px;
        text-align: center;
        font-weight: 600;
        font-size: 1rem;
    }
    .chess-heading-text h5 {
        margin-left: auto;
        font-size: 0.5rem;
    }

    .chess-img img {
        width: 350px;
    }

    .chess-text p {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .chess-heading-text h5 span {
        background-color: #ffc107;
        padding: 0.5rem;

        border-radius: 10px;
        text-align: center;
        font-weight: 600;
    }

    .chess-icon-text img {
        width: 15px;
    }
    .chess-text {
        display: block;
        gap: 0.2rem;
    }
    .right-yellow img {
        position: absolute;
        top: 55%;
        right: -1%;
    }

    .bottom-line {
        border-bottom: 10px solid #ffc107dd;
        width: 80%;
        position: absolute;
        top: 8%;
        z-index: 1;
    }
    .line-yellow img {
        position: absolute;
        top: 20%;
        left: -10%;
    }

    .chess-img {
        position: relative;
        z-index: 3;
    }

    .line-blue img {
        position: absolute;
        top: 50%;
        left: -5%;
    }

    .right-blue img {
        position: absolute;
        top: 20%;
        right: -30%;
    }

    .right-yellow img {
        position: absolute;
        top: 50%;
        right: -30%;
    }


    .text1 {
        margin-left: 2rem;
    }

    .text2 {
        margin-left: 2rem;
    }

    .text3 {
        margin-left: 2rem;
    }

    .text4 {
        margin-left: 2rem;
    }

    .text5 {
        margin-left: 2rem;
    }
    .text8{
        margin-left: 4rem;
    }
}

@media only screen and (min-width:330px) and (max-width:400px) {
    .chess-tournament h2 {
        color: #3c2059;
        font-size: 1.3rem;
        text-align: center !important;
    }

    .chess-img img {
        width: 350px;
    }

    .chess-text p {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .chess-heading-text h5 span {
        background-color: #ffc107;
        padding: 0.5rem;
        font-size: 1.0rem;
        border-radius: 10px;
        text-align: center;
        font-weight: 600;
    }

    .chess-icon-text img {
        width: 15px;
    }
    .chess-text {
        display: block;
        gap: 0.2rem;
    }
    .right-yellow img {
        position: absolute;
        top: 55%;
        right: -1%;
    }

    .bottom-line {
        border-bottom: 10px solid #ffc107dd;
        width: 60%;
        position: absolute;
        top: 5%;
        z-index: 1;
    }

    .text1 {
        margin-left: 2rem;
    }

    .text2 {
        margin-left: 2rem;
    }

    .text3 {
        margin-left: 2rem;
    }

    .text4 {
        margin-left: 2rem;
    }

    .text5 {
        margin-left: 2rem;
    }
}
@media only screen and (min-width:401px) and (max-width:500px) {
    .chess-tournament h2 {
        color: #3c2059;
        font-size: 1.3rem;
        text-align: center !important;
    }

    .chess-img img {
        width: 350px;
    }

    .chess-text p {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .chess-heading-text h5 span {
        background-color: #ffc107;
        padding: 0.5rem;
        font-size: 15px;
        border-radius: 10px;
        text-align: center;
        font-weight: 600;
    }

    .chess-icon-text img {
        width: 15px;
    }
    .chess-text {
        display: block;
        gap: 0.2rem;
    }
    .line-blue img {
        position: absolute;
        top: 50%;
        left: -5%;
    }
    .right-yellow img {
        position: absolute;
        top: 55%;
        right: -1%;
    }
    .line-blue img {
        position: absolute;
        top: 55%;
        left: -5%;
    }

    .right-blue img {
        position: absolute;
        top: 5%;
        right: -30%;
    }


    .bottom-line {
        border-bottom: 10px solid #ffc107dd;
        width: 50%;
        position: absolute;
        top: 6%;
        z-index: 1;
    }

    .text1 {
        margin-left: 2rem;
    }

    .text2 {
        margin-left: 2rem;
    }

    .text3 {
        margin-left: 2rem;
    }

    .text4 {
        margin-left: 2rem;
    }

    .text5 {
        margin-left: 2rem;
    }
}
@media only screen and (min-width:501px) and (max-width:600px) {
    .chess-tournament h2 {
        color: #3c2059;
        font-size: 1.6rem;
        text-align: center !important;
    }
    .chess-heading-text h5 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    }

    .chess-img img {
        width: 350px;
    }

    .chess-text p {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .chess-heading-text h5 span {
        background-color: #ffc107;
        padding: 0.5rem;
        font-size: 1.2rem;
        border-radius: 10px;
        text-align: center;
        font-weight: 600;
    }

    .chess-icon-text img {
        width: 15px;
    }
    .chess-text {
        display: block;
        gap: 0.2rem;
    }
    .right-yellow img {
        position: absolute;
        top: 55%;
        right: -1%;
    }
    .line-blue img {
        position: absolute;
        top: 55%;
        left: -5%;
    }

    .right-blue img {
        position: absolute;
        top: 5%;
        right: -10%;
    }

    .bottom-line {
        border-bottom: 10px solid #ffc107dd;
        width: 40%;
        position: absolute;
        top: 6%;
        z-index: 1;
    }

    .text1 {
        margin-left: 2rem;
    }

    .text2 {
        margin-left: 2rem;
    }

    .text3 {
        margin-left: 2rem;
    }

    .text4 {
        margin-left: 2rem;
    }

    .text5 {
        margin-left: 2rem;
    }
}
@media only screen and (min-width:601px) and (max-width:768px) {
    .chess-tournament h2 {
        color: #3c2059;
        font-size: 1.6rem;
        text-align: center !important;
    }
    .chess-heading-text h5 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    }

    .chess-img img {
        width: 400px;
    }

    .chess-text p {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .chess-heading-text h5 span {
        background-color: #ffc107;
        padding: 0.5rem;
        font-size: 1.2rem;
        border-radius: 10px;
        text-align: center;
        font-weight: 600;
    }

    .chess-icon-text img {
        width: 15px;
    }
    .chess-text {
        display: block;
        gap: 0.2rem;
    }
    .right-yellow img {
        position: absolute;
        top: 55%;
        right: -1%;
    }
    .line-blue img {
        position: absolute;
        top: 55%;
        left: -5%;
    }

    .right-blue img {
        position: absolute;
        top: 5%;
        right: -10%;
    }

    .bottom-line {
        border-bottom: 10px solid #ffc107dd;
        width: 40%;
        position: absolute;
        top: 6%;
        z-index: 1;
    }

    .text1 {
        margin-left: 2rem;
    }

    .text2 {
        margin-left: 2rem;
    }

    .text3 {
        margin-left: 2rem;
    }

    .text4 {
        margin-left: 2rem;
    }

    .text5 {
        margin-left: 2rem;
    }
}
@media only screen and (min-width:769px) and (max-width:900px) {

    .chess-heading-text h5 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    }



    .chess-text p {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .chess-heading-text h5 span {
        background-color: #ffc107;
        padding: 0.5rem;
        font-size: 1.2rem;
        border-radius: 10px;
        text-align: center;
        font-weight: 600;
    }

    .chess-icon-text img {
        width: 15px;
    }
    .line-yellow{
        position: absolute;
        top: 30%;
        left: 1%;
    }

    .right-yellow img {
        position: absolute;
        top: 55%;
        right: -1%;
    }
    .line-blue img {
        position: absolute;
        top: 55%;
        left: -5%;
    }

    .right-blue img {
        position: absolute;
        top: 10%;
        right: -1%;
    }

    .bottom-line {
        width: 35%;

    }

    .text1 {
        margin-left: 4rem;
    }

    .text2 {
        margin-left: 4rem;
    }

    .text3 {
        margin-left: 4.5rem;
    }

    .text4 {
        margin-left: 2rem;
    }

    .text5 {
        margin-left: 5rem;
    }
}
@media only screen and (min-width:901px) and (max-width:1200px) {
    .chess-tournament h2 {
        color: #3c2059;
        font-size: 2.3rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .chess-heading-text h5 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    }



    .chess-text p {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .chess-heading-text h5 span {
        background-color: #ffc107;
        padding: 0.5rem;
        font-size: 1.2rem;
        border-radius: 10px;
        text-align: center;
        font-weight: 600;
    }

    .chess-icon-text img {
        width: 15px;
    }

    .right-yellow img {
        position: absolute;
        top: 55%;
        right: 10%;
    }
    .right-blue img {
        position: absolute;
        top: 10%;
        right: 8%;
    }
    .line-yellow img {
        position: absolute;
        top: 25%;
        left: 10%;
    }
    .line-blue{
        position: absolute;
        top:60%;
        left: 10%;
    }

    .bottom-line {
        width: 25%;

    }

    .text1 {
        margin-left: 2rem;
    }

    .text2 {
        margin-left: 2rem;
    }

    .text3 {
        margin-left: 2rem;
    }

    .text4 {
        margin-left: 2rem;
    }

    .text5 {
        margin-left: 2rem;
    }
}
