:root {
    --font: 'Lato', sans-serif;
}

.main-div {
    display: flex;
    position: relative;
}

.container {
    border-radius: 5px;
    background: rgb(107, 3, 125);
    background: linear-gradient(90deg, rgba(107, 3, 125, 1) 0%, rgba(54, 1, 63, 1) 100%);
    padding: 20px;
    color: white;
}

input[type=text], input[type=number], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-family: var(--font);
}

input[type=submit] {
    background-color: white;
    color: #36013F;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #36013F;
    color: white;
    transition: 0.5s;
}

.main-div-2 {
    display: flex;
}

#statement{
    text-align: center;
}

.sub-div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.sub-div>p {
    margin-top: 0px;
}

#address-div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub-div-2 h1 {
    background: rgb(107, 3, 125);
    background: linear-gradient(90deg, rgba(107, 3, 125, 1) 0%, rgba(54, 1, 63, 1) 100%);
    color: white;
    width: 170px;
    padding: 10px 5px;
    text-align: center;
    margin-bottom: 10px;
}

.sub-div-2 {
    text-align: center;
}

.sub-div-2>i {
    color: white;
}

.container h1 {
    text-align: center;
}

.stars {
    margin-top: 10px;
}

#s1, #s2, #s3, #s4, #s5 {
    transition: 0.5s;
    cursor: pointer;
}

.ratings > button{
    background-color: inherit !important;
    border: 0 !important;
    color:white;
}

.button-b{
    width:100px !important;
}

label[for="id_captcha"] {
    margin-bottom: 10px;
}

@media screen and (min-width: 1024px) {

    .main-div {
        flex-direction: column;
        align-items: center;
        padding: 50px;
    }

    #statement {
        width: 100%;
        margin-bottom: 30px;
    }

    #statement2 {
        font-size: 1.3rem;
    }
    
    .main-div-2 {
        width: 100%;
        flex-direction: row;
        justify-content: space-evenly;
        margin: 50px 0;
    }

    #address-div{
        width:20%;
    }
    
    #address {
        width: 400px;
    }

    .sub-div p {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .container {
        width: 80%;
        margin: 0 30px;
    }

    .stars>i {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 820px) {

    .main-div {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 30px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .main-div-2 {
        width: 100%;
        justify-content: space-evenly;
        margin: 50px 0;
    }

    #statement {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
        font-size: 1.2rem;
    }

    #address {
        width: 250px;
    }

    .container {
        width: 80%;
        margin:0 10px 30px;
    }

    .sub-div{
       
        justify-content: center;
        align-items: center;
    }

    .sub-div>h1 {
        font-size: 1.5rem;
    }

    .sub-div p {
        font-size: 1.2rem;
        line-height: 1.3;
        width: 400px;
    }
}

@media screen and (max-width: 480px) {

    .main-div {
        margin-top: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    #statement {
        width: 300px;
        margin: 30px 0;
        font-size: 1.2rem;
        text-align: center;
    }

    #statement2 {
        font-size: 1rem;
    }


    .main-div-2 {
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin: 20px 0;
    }

    .main-div-2>.sub-div-2 {
        width: 300px;
        text-align: center;
        margin: 0;
    }


    .sub-div{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sub-div-2{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sub-div-2 h1 {
        font-size: 1.5rem;
    }

    #address {
        width: 300px;
        text-align: center;
    }

    #address, #phone, #email{
        font-size: 0.9rem;
    }

    .sub-div p {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .container {
        width: 95%;
        margin-bottom: 40px;
    }

    .g-recaptcha {
        transform: scale(0.8); /* Further reduce size for very small screens */
        transform-origin: 0 0;
    }
}
