* {
    margin: 0;
    padding: 0;
}

.test_rate {
    width: 50%;
}

.p2 {
    margin: 0 0 0 25%;
}

.p3 {
    margin: 0 0 0 23%;
}

.main {
    box-shadow: rgba(0, 0, 0, 0.1) 0 5px 40px, rgba(0, 0, 0, 0.1) 0 5px 10px;
    border-radius: 10px;
    width: 50%;
}

.rate {
    margin: 0px 26% 0px 0px;
    height: 46px;
    /* padding: 0 10px; */
}

.rate:not(:checked)>input {
    position: absolute;
    top: -9999px;
}

.rate:not(:checked)>label {
    float: right;
    width: 1em;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    font-size: 50px;
    color: #ccc;
}

.rate:not(:checked)>label:before {
    content: '★ ';
}

.rate>input:checked~label {
    color: #ffc700;
}

.rate:not(:checked)>label:hover,
.rate:not(:checked)>label:hover~label {
    color: #deb217;
}

.rate>input:checked+label:hover,
.rate>input:checked+label:hover~label,
.rate>input:checked~label:hover,
.rate>input:checked~label:hover~label,
.rate>label:hover~input:checked~label {
    color: #c59b08;
}

/* Thank You  */

.ladure-head {
    float: left;
    width: 100%;
    text-align: center;
    background-color: #2e8aff;
    /* background-color: #4caf50; */
  }
  .ladure-head h4 {
    font-size: 25px;
    margin: 15px 0px 10px 0px;
    color: white;
  }
  
  .leavs {
    
    margin-top: 20px;
    
  }
  
  .leavs h6 {
    color: white;
    font-size:2rem;
  
  }

  /* End Thank You */

/* diffrent srars */


@media screen and (max-width:1024px) {
    .main {
        width: 100%;
    }

    .rate {
        margin: 0px 34% 0px 0px;
    }

    .test_rate {
        width: 53%;
        /* background-color: red; */
    }

    .test_rate .p2 {
        margin: 0 0 0 25%;
    }

    .test_rate .p3 {
        margin: 0 0 0 18%;
    }
}

@media screen and (max-width:768px) {
    .main {
        width: 100%;
    }

    .rate {
        margin: 0px 30% 0px 0px;
    }

    .test_rate {
        width: 45%;
        /* background-color: red; */
    }

    /* .test_rate .p1 { margin: 0 0 0 10%; } */

    .test_rate .p2 {
        margin: 0 0 0 25%;
    }

    .test_rate .p3 {
        margin: 0 0 0 18%;
    }
}

@media screen and (max-width:425px) {
    .main {
        width: 100%;
    }

    .test_rate {
        width: 60%;
    }


    .rate:not(:checked)>label {
        font-size: 35px;
    }

    .rate {
        margin: 0px 20% 0px 0px;
    }

    /* .test_rate .p1 { margin: none; } */

    .test_rate {
        width:100%;
    }
    .test_rate p {
        
    width: 33%;
    text-align: center;
    margin: 0 0 10px 0 !important;
    }
}

@media screen and (max-width:340px) {
    .main {
        width: 100%;
    }




    .rate:not(:checked)>label {
        font-size: 35px;
    }

    .rate {
        width: 100%;
        margin: 0px 21% 0px 0px;
    }
}