::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: darkorange;
    border-radius: 5px;
}

*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    scrollbar-color: darkorange transparent;
}

html{
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
    height: 100%;
}

body{
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.short_contact, .telephone, .mail, .jobs_bg, .address{
    display: flex;
}

.telephone p, .mail p, .jobs_bg p, .address p{
    margin-left: 5px;
}

.mail svg, .jobs_bg i, .address i{
    margin-top: 5px;
}

.telephone svg{
    margin-top: 2px;
}

.short_contact{
    background-color: darkorange;
    justify-content: space-around;
    padding-top: 10px;
}


.jobs_bg a{
    text-decoration: none;
    color: black;
    transition: 0.5s;
}

.jobs_bg a:hover{
    color: white;
    transition: 0.5s;
}

.nav{
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.logo{
    height: 100px;
    width: 220px;
}

.nav .nav_links a{
    margin: 20px;
    text-decoration: none;
    color:darkorange;
    transition: 0.5s;
    text-align: center;
}

.nav .nav_links a:hover{
    color: darkblue;
    transition: 0.5s;
    background: none;
}

section{
    padding: 5rem 5%;
}

.mobile_nav{
    display: flex;
    justify-content: space-between;
}

.menu_icon{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu_icon i{
    color: darkorange;
    font-size: 30px;
    transition: 0.5s;
}

.menu_icon i:hover{
    color: darkblue;
    transition: 0.5s;
}

footer{
    margin-top: auto;
    background-color: darkorange;
}

.footer_main{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

.footer_main a img{
    height: 200px;
    width: 420px;
}

.footer_info{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer_contact p{
    font-size: 1rem;
}

.footer_info a{
    transition: 0.5s;
}

.footer_info a:hover{
    color: white;
    transition: 0.5s;
}

.dropdown-menu a:hover{
    color: darkorange;
    background: none;
}

.about_us_content{
    padding: 1rem 15%;
}

.about_us_content p{
    font-size: 1.5rem;
}

.dlujnosti_contend{
    margin-top: 5rem;
    padding: 1rem 15%;
}

.dlujnosti_contend h2{
    margin-top: 3rem;
}

.dlujnosti_contend p{
    font-size: 1.5rem;
}

.serveces{
    background-color: darkorange;
    border-radius: 2rem;
    margin: 1rem 10%;
}

.serveces_content{
    padding-top: 2rem;
}

.serveces_content p{
    font-size: 1.3rem;
    margin-left: 8px;
}

.serveces_content span{
    font-size: 1.3rem;
}

.obekti_section{
    background-image: url('./logo/nachalna_snimka.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px;
    color: white;
    height: 40rem;
    border-radius: 2rem;
    justify-content: center;
    flex-direction: column;
}

.href_a{
    background-color: darkorange;
    border-radius: 2rem;
    font-size: 3rem;
    transition: 0.5s;
    width: 50%;
    transform: translateX(50%);
}

.href_a a{
    color: white;
    transition: 0.5s;
}

.href_a a:hover{
    animation: glow 1s infinite alternate;
}

.href_a:hover{
    background-color: black;
    animation: glow 1s infinite alternate;
}

.glow-text {
    font-size: 3rem;
    color: #fff;
    animation: glow 1s infinite alternate;
}

.snimka{
    height: 800px;
}

.nadpis{
    font-size: 5rem;
}

@keyframes glow {
    0% { text-shadow: 0 0 10px #ff0, 0 0 20px #ff0, 0 0 30px #ff0; }
    50% { text-shadow: 0 0 20px #ff0, 0 0 30px #ff0, 0 0 40px #ff0; }
    100% { text-shadow: 0 0 10px #ff0, 0 0 20px #ff0, 0 0 30px #ff0; }
}

@media (max-width: 1600px) {
    .snimka{
        height: 600px;
    }
}

@media (max-width: 1300px) {
    .snimka{
        height: 500px;
    }

    .nadpis{
        font-size: 4rem;
    }
}


@media (max-width: 1200px){
    .nav{
        display: flex;
        flex-direction:column;
        align-items: center;
    }

    .dlujnosti_contend{
        padding: 1rem 10%;
    }

    .about_us_content{
        padding: 1rem 10%;
    }
}

@media (max-width: 1000px) {
    .nav{
        display: flex;
        flex-direction:column;
        align-items: center;
    }
    .nav .nav_links a{
        margin: 0;
    }

    .dlujnosti_contend{
        padding: 1rem 5%;
    }

    .about_us_content{
        padding: 1rem 5%;
    }

    .glow-text {
        font-size: 2rem;
    }

    .href_a{
        font-size: 2rem;
    }

    .footer_main{
        flex-direction: column;
    }

    .short_contact svg, .short_contact i{
        display: none;
    }

    .snimka{
        height: 400px;
    }

    .nadpis{
        font-size: 2rem;
    }
}

@media (max-width: 700px) {
    .telephone, .mail, .jobs_bg{
        flex-direction: column;
        justify-content: center;
    }

    .short_contact{
        font-size: small;
    }

    nav .nav_links{
        position: absolute;
        top: 10.5rem;
        left: 0;
        right: 0;
        flex-direction: column;
        text-align: center;
        background-color: white;
        gap: 0;
        overflow: hidden;
        z-index: 1;
    }

    .mobile_nav{
        flex-direction: row;
        justify-content: space-between;
    }

    .menu_icon{
        display: grid;
        margin-left: 9rem;
        margin-top: 2rem;
    }

    #menuList{
        transition: all 0.5s;
    }

    .footer_main{
        flex-direction: column;
    }

    .footer_main a img{
        height: 100px;
        width: 220px;
    }

    .footer_contact p{
        font-size: 1.3rem;
    }

    section{
        padding: 2.5rem 0;
    }

    .images{
        z-index: 0;
    }

    .dlujnosti_contend{
        padding: 0.1rem 3%;
    }

    .about_us_content{
        padding: 0.1rem 3%;
    }

    .serveces{
        padding: 0.1rem 3%;
    }

    .obekti_section{
        height: 30rem;
    }

    .nashi_obekti{
        padding: 0.1rem 3%;
    }

    .snimka{
        height: 350px;
    }

    .href_a a{
        font-size: 1.4rem;
    }
    
}

@media (max-width: 600px) {

    .menu_icon{
        margin-left: 5rem;
    }

    .snimka{
        height: 300px;
    }
}

@media (max-width: 500px) {
    .snimka{
        height: 250px;
    }
}