.sr-only{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/* help-class for contact page */


a:hover {
font-weight: 600;
color: #008000;
}

.row {
    margin-top: 16px;}
.d-f-center {
display: flex;
justify-content: center;
align-items: center;
margin: 32px;
}

main {
margin-top: 15vh;
margin-bottom: 64px;
}

section {
padding: 0;
display: flex;
}


/* all contact page */

.all-contact-page {
    display: flex;
    
}

/* contact-form-section */
.contact-form-section {
flex: 1;

}
.contact-headline {
margin-bottom: 0;
position: relative;
text-align: center;
}
.contact-headline-effekt::after {
    content: ''; /* Leeres Pseudo-Element */
    position: absolute;
    left: 4%;
    bottom: -2px; /* Position der Linie */
    width: 0%; /* Startet mit 0% Breite */
    height: 2px; /* Höhe der Linie */
    background-color: rgba(0, 0, 0, 0.2); /* Farbe der Linie */
    transition: width 1s ease; /* Übergangseffekt für die Breite */
}
form:hover .contact-headline-effekt::after {
    width: 90%;
}

form {
    
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 8px gray;
    width: 100%;
    

    
}
.dserklärung {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    padding-top:16px;
}

.dserklärung:hover {
cursor: default;
}

.dserklärung a {
padding-left: 2px;
}
.fullname {
    display: flex;
    margin-top: 16px;
    gap: 4px;

}

.fullname input{
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}
    

input, select, textarea, button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

input:hover,select:hover,textarea:hover{
    border: 1px solid #008000;
}

input:focus,select:focus,textarea:focus{
    box-shadow:0px 2px 10px #00800019;
    border: 1px solid #008000;
}

textarea {
    resize: none;
    height: 20vh;
    position: relative;
}

.word-counter-box {
   display: flex;
   justify-content: end;
   cursor: default;
}

.imghelp {
width: 14px;
padding: 0 4px;
}
.ds-checkbox {
    margin-left: 4px;
}

/* Information box */

.main-boxstyle {
    display: flex;
    padding-left: 4px;
    flex-direction: column;
    
}

.boxstyle {
display: flex;
flex-direction: column;
border-radius: 8px;
padding: 24px;
box-shadow: 0 0 8px gray;
flex: 1;
}

.callme {
    display: flex;
    justify-content: center;
    width: 30%;
    color: white;
    background-color: #008000;
    padding: 8px 16px;
    margin: 8px;
    text-decoration: none;
    border-radius: 4px;
}

.callme:hover {
color: white !important;
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-offset: 5px; 
box-shadow: 1px 1px 10px black;
}

.copyright, .warningtext {
    color: #3c3939;
    font-weight: bold;
    font-size: 8px;
    cursor: default;
}

.onlytext {
text-align: center;
}

.support_box {
    background:  url('../img/support_background.jpg') no-repeat center center;
    background-size: cover;
}

.help_bg{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
border-radius: 32px;;
width: 100%;
background-color: rgba(255, 255, 255, 0.741);
}



/* for js */
.disabel {
    cursor: not-allowed !important;
    background-color: gray;

}
.disabel:hover {
        cursor: not-allowed !important;
        text-decoration: none;
        font-weight: 100;
        box-shadow: none;
      
}


.error { color: rgb(126, 15, 15); }
.valid { color: green; }

.error-text{
    font-size: 12px;
    color: red;
    padding-left: 10px;
}


@media (max-width: 1086px) {
.boxstyle {
 flex: 1;
}
.contact-form-section {
flex: none;
}
}

@media (max-width: 1060px){
    .main-boxstyle {
        height: auto;
    }
main {
    flex-direction: column;
}
.contact-form-section {
    margin-bottom: 16px;
}

.boxstyle {
    margin-bottom: 16px;
}

}

@media (max-width: 900px){
main {
margin-left: 64px;
margin-right: 64px;
}
}

@media (max-width: 710px){
    main {
    margin-left: 32px;
    margin-right: 32px;
    }
    }

    @media (max-width: 504px) {
    h2 {
        font-size:20px;
    }
    .dserklärung div {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
            }
    }

    @media (max-width: 415px){
    .dserklärung {
    font-size: 14.5px;
    }
    
    }