.butt {
    display: inline-flex;
    align-items: center;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black);
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    background-color: var(--bg-turquoise);
    border: 10px solid var(--turquoise);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: all 0.5s;
}

.butt1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: clamp(200px, 19vw, 280px);
    height: 58px;
    background: var(--bg-turquoise);
    border-radius: 60px;
    margin: 35px auto 0 auto;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: var(--white);
    transition: all 0.5s;
    border: none;
}

/*.butt:disabled {
      pointer-events: none;
      opacity: 0.65;
    }*/

.captcha__image-reload,
.captcha__group,
.text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65%;
    margin: 0 auto 30px auto;
}

.captcha__image {
    border-radius: 0.25rem;
}

.captcha__refresh {
    margin-left: 0.5rem;
}

.captcha__refresh::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-arrow-repeat' viewBox='0 0 16 16'%3E%3Cpath d='M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.36a.25.25 0 0 1 .192-.41zm-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9z'/%3E%3Cpath fill-rule='evenodd' d='M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5.002 5.002 0 0 0 8 3zM3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9H3.1z'/%3E%3C/svg%3E");
}

.captcha__refresh:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-repeat' viewBox='0 0 16 16'%3E%3Cpath d='M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.36a.25.25 0 0 1 .192-.41zm-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9z'/%3E%3Cpath fill-rule='evenodd' d='M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5.002 5.002 0 0 0 8 3zM3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9H3.1z'/%3E%3C/svg%3E");
}

.captcha__group {
    width: 65%;
}

.d-none {
    display: none;
}

.form-result {
    background-color: #e8f5e9;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e8f5e9;
    border-radius: 0.25rem;
    color: #2e7d32;
}

.capt {
    display: none;
    position: absolute;
    z-index: 110;
    width: clamp(280px, 41vw, 600px);
    height: 455px;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--highlight);
    border-radius: 20px;
    padding: 20px;
}

/*
#form{
  padding: 50px;
}
*/

.text,
.err {
    color: var(--text-dark-turquoise);
    font-size: 18px;
    text-align: center;
}

.err {
    color: red;
}

.rejection {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.captcha {
    margin-top: 45px;
}

.captcha__group label {
    color: var(--text-dark-turquoise);
}

#captcha {
    width: 100%;
    border: 1px solid var(--turquoise);
    border-radius: 20px;
    height: 50px;
    font-size: 18px;
    padding-left: 20px;
}

#captcha:focus::placeholder {
    opacity: 0.2;
    transition: opacity 0.3s ease;
    color: var(--lighten-gray);
}

@media (hover: hover) and (pointer: fine) {
    .butt:hover,
    .butt1:hover {
        color: var(--white);
        background-color: var(--bg-turquoise);
        border-color: var(--text-turquoise);
        transition: all 0.5s;
    }
}

@media screen and (max-width: 1150px) {
    #captcha {
        font-size: 14px;
        padding-left: 10px;
    }
}

@media screen and (max-width: 955px) and (min-height: 500px) {
    .captcha .text {
        font-size: 16px;
    }
}

@media screen and (max-width: 850px) {
    #captcha {
        font-size: 11px;
        padding-left: 4px;
    }

    .captcha__image-reload,
    .captcha__group,
    .text {
        margin: 0 auto 15px auto;
    }

    .butt1 {
        margin: 20px auto 0 auto;
    }
}

@media screen and (max-height: 570px) {
    .capt {
        margin-top: -50px;
    }
}

@media screen and (max-height: 500px) {
    .capt {
        margin-top: -90px;
    }
}

@media screen and (max-height: 430px) {
    .text,
    .err {
        margin: 0 auto 20px auto;
        font-size: 14px;
    }
}

@media screen and (max-height: 500px) and (min-width: 500px) {
    .capt {
        height: 95vh;
        width: 70vw;
    }
}

@media screen and (max-height: 400px) and (min-width: 500px) {
    .captcha__image-reload,
    .captcha__group {
        margin: 0 auto 10px auto;
    }

    .text,
    .err {
        margin: 0 auto 15px auto;
    }

    .butt1 {
        margin: 15px auto 0 auto;
    }
}

@media screen and (max-height: 330px) and (min-width: 500px) {
    .captcha {
        margin-top: 15px;
    }
}

@media screen and (max-height: 330px) and (min-width: 500px) {
    .capt {
        padding: 10px;
    }
}

@media screen and (min-width: 1900px) {
    .capt {
        transform-origin: top;
        transform: translateX(-50%) scale(var(--scale));
    }
}
