@font-face {
    font-family: "Cairo";
    src: url('../fonts/Cairo.ttf') format('truetype');
}

@font-face {
    font-family: "Montserrat";
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}

@media only screen and (min-width: 901px) and (max-width: 1999px){
.start_overlay {
	position: absolute;
    top: 35%;
    left: 35%;
    width: 30%;
    height: 30%;
    background-color: rgba(0, 0, 0, 0.8); /* Anpassen der Transparenz der Überlagerung */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
}

@media only screen and (min-width: 901px){
body {
    margin: 0;
    padding: 0;
    font-family: "Cairo", "Montserrat", sans-serif;
	color: white;
	background-color: black;
}

a{
    color: white;
    text-decoration: none;
}


.hero {
    position: relative;
    min-height: 95vh;
    overflow: hidden;
    top: 5vh;
    display: block;
    margin-bottom: 10px;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-image: url("../images/background.jpg");
	background-color: #cccccc;
	background-position: center;
	background-repeat: no-repeat;
    background-size: cover;
}

.background {
    width: 100%;
    height: auto;
	background-color: #000000;
	background-position: center;
	background-repeat: no-repeat;
    background-size: cover;
}


.start_content {
    padding: 20px;
}

.start_content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.scroll-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f5f5f5;
    color: black;
	border: 1px solid #f5f5f5;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.scroll-button:hover {
    background-color: #050505;
	color: white;
}

.start_contact {
    padding: 0px 0;
    text-align: center;
}

.contact_section {
    margin: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact_info {
    display: flex;
    width: 70%;
	height: 40%;
    margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	align-items: center;
    justify-content: center;
}

.contact_left {
	margin: auto;
    flex: 1;
    padding: 20px;
    text-decoration: none;
}


.contact_right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact_right img {
    width: 200%;
    height: auto;
}

.contact_map img {
    max-width: 70%;
    height: auto;
}

.contact_map a {
    display: block;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
}

.contact_map a:hover {
    text-decoration: underline;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
    margin-top: 10%;
    margin-bottom: 30px;
}

.headline {
    font-size: 40px;
    margin-bottom: 10px;
    color: white;
}

.separator {
    width: 5%;
    height: 1px;
    background-color: white;
    margin: 10px 0;
    margin-bottom: 40px;
}

.text{
    color: white;
    font-size: 20px;
    width: auto;
    max-width: 60%;
    text-align: center;
    padding-bottom: 60px;
}

.picture-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
}

.picture-boxes {
    background-color: #323232;
}

.picture-boxes a{
    padding:10px;
    padding-left:1px;
    padding-right:1px;
    background-color: black;
    text-decoration: none;
}

.picture-boxe{
    background-color: #323232;
}

.picture-box {
    position: relative;
    margin: 10px;
    text-align: center;
    overflow: hidden;
}

.picture {
    height: auto;
    max-height: 350px;
    object-fit: cover;
}

.picture-text{
    color: white;
    font-size: 20px;
    text-align: left;
}

.anwealte_picture-box {
    margin: 0 70px;
    text-align: center;
    background-color: black;
    position: relative;
}

.anwealte_picture {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.anwealte_name-box {
    position: absolute;
    bottom: 0px;
    right: -10px;
    width: calc(80%);
    background-color:#323232;
    color: #fff;
    padding: 10px 15px; /* Adjust the padding */
    border-radius: 5px 5px 5px 5px;
    margin: 0;
    font-size: 20px; /* Adjust the font size */
    line-height: 1.2;
}

.anwalt_box {
    display: flex;
    width: 60%;
	height: auto;
    margin-left: auto;
	margin-right: auto;
	margin-top: 3%;
	align-items: center;
    justify-content: center;
}

.anwalt_text-box {
    margin: auto;
    flex: 1;
    padding: 20px;
}

.anwalt_image {
    flex: 1;
    display: contents;
    justify-content: center;
    align-items: center;
}

.anwalt_image img {
    width: auto;
    height: 100%;
}

.content_box {
    width: 50%;
	height: auto;
    margin-left: 25%;
	margin-right: 25%;
	margin-top: 10%;
	align-items: center;
    justify-content: center;
} 

.content_text {
    padding: 20px;
	align-items: center;
    justify-content: center;
}

.content_button {
    font-size: 32px;
    display: flex;
    padding: 10px 20px;
    background-color: #f5f5f5;
    color: black;
	border: 1px solid #f5f5f5;
    text-decoration: none;
    transition: background-color 0.3s ease;
	align-items: center;
    justify-content: center;
    margin-left: auto;
	margin-right: auto;
    margin-top: 10%;
    max-width: 250px;
}

.content_button:hover {
    background-color: #050505;
	color: white;
}
}

@media only screen and (max-width: 900px){
    .anwalt_box{    
        display: flex;
        flex-direction: column;
        width: 90%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        margin-top: 3%;
        align-items: center;
        justify-content: center;
    }
    
    .content_box {
        width: 100%;
        height: auto;
        margin-right: 25%;
        align-items: center;
        justify-content: center;
    }
     
    .contact_right {
        display:none;
    }
    
    body {
        margin: 0;
        padding: 0;
        font-family: "Cairo", "Montserrat", sans-serif;
        color: white;
        background-color: black;
    }
    
    a{
        color: white;
        text-decoration: none;
    }
    
    
    .hero {
        padding-top: 3vh;
        position: relative;
        min-height: 95vh;
        overflow: hidden;
        top: 5vh;
        display: block;
        margin-bottom: 10px;
        padding-bottom: 8vh;
    }
    
    .background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("../images/background.jpg");
        background-color: #cccccc;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    .background {
        width: 100%;
        height: auto;
        background-color: #000000;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    .start_overlay {
        position: absolute;
        top: 35%;
        left: 35%;
        width: 30%;
        height: 30%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-align: center;
        padding-bottom: 4%;
        padding-top: 1%;
    }
    
    .start_content {
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.8);
    }
    
    .start_content h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .scroll-button {
        display: inline-block;
        padding: 10px 20px;
        background-color: #f5f5f5;
        color: black;
        border: 1px solid #f5f5f5;
        text-decoration: none;
        transition: background-color 0.3s ease;
        margin-top: 10px;
    }
    
    .scroll-button:hover {
        background-color: #050505;
        color: white;
    }
    
    .start_contact {
        padding: 0px 0;
        text-align: center;
    }
    
    .contact_section {
        margin: 100px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact_info {
        display: flex;
        width: 70%;
        height: 40%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        align-items: center;
        justify-content: center;
    }
    
    .contact_left {
        margin: auto;
        flex: 1;
        padding: 20px;
        text-decoration: none;
    }
    
    .contact_right img {
        width: 200%;
        height: auto;
    }
    
    .contact_map img {
        max-width: 70%;
        height: auto;
    }
    
    .contact_map a {
        display: block;
        text-align: center;
        margin-top: 20px;
        text-decoration: none;
        color: #3498db;
        font-weight: bold;
    }
    
    .contact_map a:hover {
        text-decoration: underline;
    }
    
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: black;
        margin-top: 10%;
        margin-bottom: 30px;
    }
    
    .headline {
        font-size: 40px;
        margin-bottom: 10px;
        color: white;
    }
    
    .separator {
        width: 5%;
        height: 1px;
        background-color: white;
        margin: 10px 0;
        margin-bottom: 40px;
    }
    
    .text{
        color: white;
        font-size: 20px;
        width: auto;
        max-width: 60%;
        text-align: center;
        padding-bottom: 60px;
    }
    
    .picture-boxes {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .picture-boxes {
        background-color: #323232;
    }
    
    .picture-boxes a{
        padding:10px;
        padding-left:1px;
        padding-right:1px;
        background-color: black;
        text-decoration: none;
    }
    
    .picture-boxe{
        background-color: #323232;
    }
    
    .picture-box {
        position: relative;
        margin: 10px;
        text-align: center;
        overflow: hidden;
    }
    
    .picture {
        height: auto;
        max-height: 350px;
        object-fit: cover;
    }
    
    .picture-text{
        color: white;
        font-size: 20px;
        text-align: left;
    }
    
    .anwealte_picture-box {
        margin: 0 70px;
        text-align: center;
        background-color: black;
        position: relative;
    }
    
    .anwealte_picture {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .anwealte_name-box {
        position: absolute;
        bottom: 0px;
        right: -10px;
        width: calc(80%);
        background-color:#323232;
        color: #fff;
        padding: 10px 15px; /* Adjust the padding */
        border-radius: 5px 5px 5px 5px;
        margin: 0;
        font-size: 20px; /* Adjust the font size */
        line-height: 1.2;
    }
        
    .anwalt_text-box {
        padding-left: 0px;
        flex: 1;
        padding: top 20px;
    }
    
    .anwalt_image {
        flex: 1;
        display: contents;
        justify-content: center;
        align-items: center;
    }
    
    .anwalt_image img {
        width: auto;
        height: 100%;
    }
    
    .content_text {
        padding: 20px;
        align-items: center;
        justify-content: center;
    }
    
    .content_button {
        font-size: 32px;
        display: flex;
        padding: 10px 20px;
        background-color: #f5f5f5;
        color: black;
        border: 1px solid #f5f5f5;
        text-decoration: none;
        transition: background-color 0.3s ease;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10%;
        max-width: 250px;
    }
    
    .content_button:hover {
        background-color: #050505;
        color: white;
    }
   
    .faul{
        font-size: 20px;
    }
    }

@media only screen and (min-width: 2000px){
    .start_overlay {
        position: absolute;
        top: 35%;
        left: 35%;
        width: 30%;
        height: 30%;
        background-color: rgba(0, 0, 0, 0.8); /* Anpassen der Transparenz der Überlagerung */
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-align: center;
        padding-bottom: 4%;
        padding-top: 1%;
    }    
}

@media only screen and (max-width: 900px){
    #start{
        padding-top: 0;
        top: 0;
    }
}