@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Regular.ttf') format('truetype');
} 

:root {
    --primaryColor: rgb(255, 255, 255);
    --secondaryColor: rgb(8, 88, 151);
    --tertiaryColor:rgb(129, 212, 250);
}

body {
    background-color: var(--primaryColor);
    font-size: 16px;
    font-family: 'Open Sans', Arial, sans-serif;
}

.navbar {
    height: 100px;
}


.top-header {
    background-color: var(--primaryColor);
    backdrop-filter: blur(100px);
    border-bottom: 2px solid rgba(225, 255, 255, 0.2);
}

.top-header::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    left: -100%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(133, 154, 163, 0.1), transparent);
    transition: 0.5s;
}

.top-header:hover:before {
    left: 100%;
}

.collapse {
    background-color: var(--primaryColor);
}


left-header a {
    margin-left: 20px;
}

menu-icon {
    border-radius: 3px !important;
    box-shadow: none !important;
}

.navbar-toggler {
    width: 40px;
    height: 20px;
    position: relative;
    transition: 0.5s ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: 0;
}

.navbar-toggler span {
    margin: 0;
    padding: 0;
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--secondaryColor);
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.2s ease-in-out;
}

.middle-bar {
    margin-top: 0px;
}

/* when navigation is clicked */
.navbar-toggler .top-bar {
    margin-top: 0px;
    transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    margin-top: 0px;
    transform: rotate(-135deg);
}

/* state when the navbar is collapsed */
.navbar-toggler.collapsed .top-bar {
    margin-top: -20px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    margin-top: 20px;
    transform: rotate(0deg);
}


ul li ul.dropdown-menu li {
    display: block;
    margin: 5px 10px;
}

ul li ul.dropdown-menu {
    background-color: var(--primaryColor);
    width: 350px;
    border-radius: 0;
    border-top: 3px solid rgb(133, 194, 227);
    position: absolute;
    z-index: 999;
    padding: 20px 0;
    display: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    top: 52;
}


@media (max-width:768px) {
    ul li ul.dropdown-menu {
        width: 95%;
    }
}

.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 768px) and (orientation: landscape) {
    .dropdown-menu {
        max-height: 200px;
    }
}


ul li:hover ul.dropdown-menu {
    display: block;
}


ul li ul.dropdown-menu li a {
    padding: 8px;
    text-align: start;
}

ul li ul.dropdown-menu li a:hover,
ul li ul.dropdown-menu li a:visited {
    color: #ff6900;
    background-color: rgba(224, 224, 224, 0.8);
}

.navbar-brand {
    font-size: 500;
    color: var(--tertiaryColor);
    font-size: 34px;
    font-family: Tahoma;
    animation: shadow 5s ease-in-out infinite;
    transition: 0.3s background-color;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus,
.btn-close:focus {
    box-shadow: none;
    outline: none;
}

.nav-link {
    font-weight: 500;
    font-size: 20px;
    margin: 5px;
    position: relative;
    color: var(--secondaryColor);
}


@media (min-width:991px) {
    .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: var(--secondaryColor);
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }

    .nav-link:hover:before,
    .nav-link.active::before {
        width: 100%;
        visibility: visible;
    }
}

.nav-link:hover,
.nav-link.active {
    color: #131313;
}

.hero {
    height: calc(100vh - 100px);
    padding-top: 100px;
    margin-bottom: 35%;
}


.myCover {
    width: 100%;
    object-fit: cover;
}

.hero .card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(225, 255, 255, 0));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 250px;
    width: 700px;
    position: absolute;
    display: block;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -100%);
    background: none;
    animation-name: card;
    animation-duration: 5s;
}


@media (max-width:1000px) {
    .hero .card {
        display: none;
    }
}

@keyframes card {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}

.card-text {
    color: #ff6900;
}

.btn-card {
    padding: 10px 30px;
    background-color: white;
    color: var(--secondaryColor);
    border: 0;
    border-radius: 100px;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 100;
    font-size: 1.5em;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-card:hover {
    animation: btn-card 0.8s ease-in-out;
    background: linear-gradient(135deg, rgba(8, 88, 151, 0.9), rgba(255, 255, 255, 0.9));
}


@keyframes btn-card {
    0% {
        transform: scale(1);
    }

    10%,
    20% {
        transform: scale(0.9) rotate(-3deg);
    }

    30%,
    50%,
    70% {
        transform: scale(1.1) rotate(3deg);
    }

    40%,
    60% {
        transform: scale(1.1) rotate(-3deg);
    }

    80% {
        transform: scale(1) rotate(0);
    }

    100% {
        transform: scale(1);
    }
}

.Reinigungsdienste {
    color: var(--secondaryColor);
}


.sec-title {
    color: var(--secondaryColor);
    font-weight: bold;
    padding-top: 30px;
    padding-bottom: 10px;
}

.sec-desc {
    font-size: medium;
}

@media (max-width: 768px) {
    .hero .container .card {
        display: none;

    }
}


.portfolio {
    padding: 70px 0;
}

.portfolio-container {
    margin: 20px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.box {
    text-align: center;
    border: 1px solid #131313;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.portfolio-container .box .info {
    background-color: rgba(5, 1, 1, 0.383);
    padding: 15px 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: -312px;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    transition: 0.5s;
}

.portfolio-container .box:hover .info {
    left: 0;
}

.portfolio-container .box .info h3 {
    font-size: 24px;
    color: #ff6900;
}

.sec-end {
    padding: 10px;
    margin: 10px;
    margin-top: 50px;
}

.sec-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sec-item.show {
    opacity: 1;
    transform: translateY(0);
}


footer {
    background: linear-gradient(180deg, rgba(2, 119, 189, 0.9), rgba(129, 212, 250, 0.9));
    padding-top: 50px;
    margin-top: 100px;
}


.footer-bottom {
    margin-top: 20px;
}

.Kontakt {
    align-items: start;
}

.Informationen {
    align-items: center;
}

.mybtn {
    width: 150px;
    height: 50px;
    padding: 2 10px;
    margin: 10px;
    background-color: white;
    color: var(--secondaryColor);
    border: 0;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 100;
    font-size: 1.5em;
    cursor: pointer;
    transition: 0.3s ease;
}

.mybtn:hover {
    animation: mybtn 0.8s ease-in-out;
    background: linear-gradient(135deg, rgba(8, 88, 151, 0.9), rgba(255, 255, 255, 0.9));
}

@keyframes mybtn {
    0% {
        transform: scale(1);
    }

    10%,
    20% {
        transform: scale(0.9) rotate(-3deg);
    }

    30%,
    50%,
    70% {
        transform: scale(1.1) rotate(3deg);
    }

    40%,
    60% {
        transform: scale(1.1) rotate(-3deg);
    }

    80% {
        transform: scale(1) rotate(0);
    }

    100% {
        transform: scale(1);
    }
}


.hero-kontakt {
    padding: 10px;
    margin: 20px;
    margin-top: 200px;
}

.style-kontakt {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px;
}

.style-kontakt a {
    margin-bottom: 20px;
}


footer .container .mybtn {
    display: flex;
    justify-content: start;
    flex-direction: column;
}

.linkwss {
    color: var(--secondaryColor);
}

.linkwss li{
    text-align: start;
}

.img-uns {
    height: 300px;
    width: 100%;
    object-fit: cover;
    margin-top: 100px;
    position: relative;
}

.uns-title {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    color: white;
    font-weight: bold;
    font-size: 64px;
}

.txt-kontakt {
    text-align: start;
    color: white;
}

.img-cntr {
    transition: transform 0.3s ease-in-out;
}

.info-wss {
    text-decoration: none;
    /* إزالة التسطير */
    color: inherit;
    /* استخدام لون النص العادي */
    font-weight: normal;
    /* التأكد من الوزن العادي للنص */
}

.info-wss:hover {
    text-decoration: none;
    color: inherit;
}

.sec-ttl {
    margin: 10px;
    margin-top: 180px;
}

.stl-ttl {
    color: var(--secondaryColor);
}

.sec-all {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    padding: 10px;
}

.sec-all img {
    width: 350px;
    height: auto;
}

.sec-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 600px) and (max-width: 991px) {
    .ordr-itm {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .itm:nth-child(2) {
        order: -1;
    }
}

.back2top {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 60px;
    height: 60px;
    display: none;
}

.back2top.show {
    display: block;
}

.back2top img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.4);
}
