/*Styling Seiten*/

#main {
    padding-top: 120px !important;
}


/*Styling Strom Formular  */

.radio-btn-section {
    padding: 15px;
    border-color: #010101;
}

.form-check-input {
    margin-top: 10px;
}

.form-check-input:checked {
    background-color: #374709 !important;

}

.radio-btn-section label {
    margin-top: 4px;
    margin-left: 5px;
}

body {
    font-family: Arial, sans-serif;
}

body {
    font-family: Arial, sans-serif;
}

.slider-container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    height: auto;
    border: 1px solid #010101;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1), 0 12px 24px 0 rgba(0, 0, 0, 0.09);
    border-radius: 15px;
    margin-top: 30px;
    padding: 60px 10px 10px 10px;
    background: #f8f8f8;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;

}

.slide {
    min-width: 100%;
    margin-top: 40px;
    box-sizing: border-box;
    padding: 20px;
    background: #f8f8f8;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

button.prev {
    margin-left: 20px;
    margin-top: 40px;
    margin-right: 15px;
}

button.next {
    margin-left: 20px;
    margin-top: 40px;
    margin-right: 15px;
}

button.submit {
    background-color: #28a745;
    margin-left: 20px;
    margin-top: 40px;
    margin-right: 15px;
}

button.submit:hover {
    background-color: #759242;
}
button.next:hover {
    background-color: #759242;
}
button.prev:hover {
    background-color: #759242;
}

.slider-container .row {
    justify-content: space-between;
}

.strom-form {
    position: relative;
    background-image: url('/images/windrad_2.jpg'); /* Check path and file name */
    background-size: cover; /* Adjust as needed */
    background-position: center; /* Adjust as needed */
}

.gas-form {
    position: relative;
    background-image: url('/images/windraeder.jpg'); /* Check path and file name */
    background-size: cover; /* Adjust as needed */
    background-position: center; /* Adjust as needed */
}

.overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Adjust overlay color and opacity */
    backdrop-filter: blur(10px); /* Increase blur radius for stronger effect */
}

.form-section label {
    font-size: 22px;
}

.form div.success  {
    background: #0c4128 !important;
}
/*Media Queries*/

/*iPad Pro*/

@media (min-width: 820px) and (max-width: 1366px) {
    .page-section #home .container {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .page-section #home .home-content {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .page-section #home .home-content .row {
        display: flex;
        flex-wrap: nowrap;
    }

    .page-section #home .home-content .row .col-lg-8,
    .page-section #home .home-content .row .col-lg-5 {
        flex: 1;
    }

    .page-section #home .home-content .row .col-lg-8 {
        order: 1;
    }

    .page-section #home .home-content .row .col-lg-5 {
        order: 2;
    }

    .page-section #home .home-content .row .col-lg-8 h1 {
        margin-right: 0;
    }
}

/*styling index "heute noch wechseln link"*/




/*styling mobile menu*/
.mobile-on .desktop-nav ul {
    background: #f8f8f8 !important;
}
.mobile-on .desktop-nav ul li a {
    color: #0b0b0b !important;
    border: 1px solid lightgray;
}


/*iPad Air*/

@media (min-width: 820px) and (max-width: 1180px) {
    #home .row {
        flex-wrap: nowrap !important;
        width: 80%;
    }

    .page-section #home .container {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .page-section #home .home-content {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .page-section #home .home-content .row {
        display: flex;

    }

    .page-section #home .home-content .row .col-lg-7,
    .page-section #home .home-content .row .col-lg-4 {
        flex: 1;
    }

    .page-section #home .home-content .row .col-lg-6 {
        order: 1;
    }

    .page-section #home .home-content .row .col-lg-4 {
        order: 2;
    }

    .page-section #home .home-content .row .col-lg-8 h1 {
        margin-right: 0;
    }
}

/*iPhone*/

@media (min-width: 430px) {
    .page-section #home .container {
        display: flex;
        justify-content: center;
    }

    .page-section #home .home-content .row {
        justify-content: center;
    }

    .page-section #home .col-lg-8.col-xl-5.offset-1 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .page-section #home .col-lg-8.col-xl-5.offset-1 .w-100 {
        width: auto;
    }

    .page-section #home .col-lg-8.col-xl-5.offset-1 h1 {
        margin-right: 0; /* Remove the negative margin */
    }

    .page-section #home .col-lg-8.col-xl-5.offset-1 .d-flex {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .page-section #home .col-lg-8.col-xl-5.offset-1 .d-flex .features-list-icon,
    .page-section #home .col-lg-8.col-xl-5.offset-1 .d-flex .features-list-text {
        justify-content: center !important;
    }
}

@media (min-width: 375px) and (max-width: 946px) {
    #gas-sparen-link {
        margin-left: 0;
        margin-top: 20px;
        padding: 30px;
    }
    #strom-sparen-link {
        padding: 30px;
    }
}

/*Strom und Gas Formular*/

/* Media Query for iPad mini and Smaller Screens */
@media (max-width: 768px) {
    .slider-container {
        margin-left: -9%;
        margin-top: 0;
        height: 75%;
        padding-top: 50px;
    }
    .btn {
        width: auto;
    }
    .slider {
        height: 65%;
        padding-top: 60%;
    }
    #strom-formular,
    #gas-formular {
        height: 1150px;
    }
    #strom-formular label,
    #gas-formular label,
    #strom-formular p,
    #gas-formular p {
        font-size: 16px;
    }
    #strom-formular h2,
    #gas-formular h2 {
        font-size: 24px;
    }
    #strom-formular h3,
    #gas-formular h3 {
        font-size: 30px !important;
    }
}

@media (max-width: 375px) {
    #gas-formular,
    #strom-formular {
        height: 1225px;
    }
}
