*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Lato;
    font-size: 10px;
    text-align: center;
    position: relative;
}

.logo img{
    width: 100vw;
    margin-bottom: 20px;
    margin-top: 30px;
}

.menu{
    position: fixed;
    right: 5vw;
    top: 5vw;
    color: black; 
    font-size: 3em;
    z-index: 10;
}

.menu.active{
    color: white;
}

.block{
    display: none;
    position: fixed;
    top: 0;
    right: 0px;
    width: 100%;
    height: 75px;
    background-color: black;
    z-index: 9;
    line-height: 55px;
    opacity: 0; /* Start hidden */
    transform: translateX(100%); /* Start slightly above */
    transition: opacity 0.4s ease, transform 0.4s ease; /* Smooth transition */
}

.block.show {
    display: block;
    opacity: 1; /* Fully visible */
    transform: translateX(0); /* Move to final position */
}

.block a{
    display: inline-block;
    font-size: 1.8em;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px;
}

.block a:last-child {
    padding-right: 50px;
}



 h1{
    font-size: 2.1em;
    padding: 20px;
    color: #333;
    text-transform: uppercase;
    font-family: "Bodoni Moda SC", serif;
}

h2{
    font-family: Montserrat;
    font-weight: 300;
    padding: 0 20px;
    font-size: 2em;
    color: #555;
}



.btn1{
    font-size: 1.8em;
    font-family: Quicksand;
    border-radius: 20px;
    color: #666;
    background-color: #fff;
    margin: 30px;
    border: 1px solid #666;
    padding: 10px 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn1:hover{
    background-color: #444;
    cursor: pointer;
}



.gabinet{
    background-image: url('../images/gab2.jpg');
    height: 70vh;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 25px 40px;  
}

.gabinet:first-child{
   background-position: -100px -20px;
}
.gabinet:nth-child(2){
    background-image:url('../images/gab1.jpg');
}

.linkzabiegi{
    margin: 10px auto 20px auto;
    background-image: url('../images/MD1.jpg');
    height: 50vh;
    width: 85vw;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
    color: white;
    font-size: 4em;
    font-family: 'Lucida Sans Unicode';
    bottom: 10%;
    line-height: 200%;
    transition: transform 0.2s linear;
}

.linkzabiegi:hover{
    transform: scale(1.05);
}

.cover{
    position: absolute;
    background-color: black;
    width: 100%;
    height: 100%;
    opacity: .3;
    top: 0;
    left: 0;
}

a{
    color: white;
    display: block;
    text-decoration: none;
}

a:visited{
    color: white;
}

.linkzabiegi span{
    font-family: Quicksand;
    font-weight: 300;
    position: absolute;
    margin: 0;
    left: 0;
    right: 0;
    line-height: 333px;
    text-align: center;
    z-index: 4;
}

.data{
    color: white;
    background-color: black;
    font-size: 1.4em;
    font-family: Montserrat;
    margin: 0 20px 0 -15px;
    padding: 20px;
    border-radius: 20px;
    line-height: 130%;
}

.fa-solid{
    margin: 10px 5px;
}

.data .fa-solid:last-child{
    margin-right: 6px;
}

.fa-location-dot{
    font-size: 1.1em;
}


.mapka{
    width: 60%;
    padding: 15px 20px;
    border-radius: 20px;
    background-color: white;
    color: black;
    margin: 0 auto;
    transition: transform 0.2s linear;
}

.mapka:hover{
    transform: scale(1.03);
    cursor: pointer;
}


h3{
    margin: 20px auto 15px auto;
    letter-spacing: 1px;
    font-size: 1.3em;
     font-family: "Bodoni Moda SC", serif;
}

footer{
    position: absolute;
    width: 100%;
    margin-top: 10px;
    box-sizing: content-box;
    z-index: 3;   
    overflow: hidden;              
}

.foot img{
    width: 70%;
}

.foot h3{
    font-family: Quicksand;
}


.socials{
    display: flex;  
    justify-content: center;   
    
}

.socials i{
    color: black;
}

.media{
    font-size: 4em;   
    padding: 0 10px;
}

@media (min-width: 280px){

    h2{
        font-size: 1.6em;
    }

    .gabinet{
        background-size: cover;
       margin: 20px 30px;
    }

    h1{
        padding-top: 0;
    }

    .data {
        font-size: 1.25em;
        padding: 10px;
        line-height: 130%;
    }

    .foot h3{
        font-size: 1.2em;
        font-weight: 400;
    }
    
}

@media (min-width: 355px) {
    .gabinet{
        background-size: cover;
    }

    .data{
        font-size: 1.5em;
       padding: 30px;
       padding-bottom: 20px;

    }


}

@media (min-width: 410px){
    .linkzabiegi span{
        line-height: 414px;
    }

     h2{
        font-size: 2em;
    }


    .data p{
        font-size: 1.2em;
    }

    h3{
        font-size: 1.4em;
    }

    h1{
        font-size: 2.4em;
    }

    .foot h3{
        font-size: 1.8em;
    }

    .socials{
        margin: 5px 0;
    }
}

@media (min-width: 680px){
    
    .menu{
        font-size: 5em;
    }

     h1{
        font-size: 3.5em;
        padding: 30px;
    }

    h2{
        font-size: 3em;
    }

    .btn1{
        font-size: 3em;
    }


    .linkzabiegi{
        height: 70vh;
    }

    .linkzabiegi span{
        line-height: 652px;
        font-size: 2em;
    }

    .data{
        font-size: 2.4em;
        padding: 30px;
    }
   
    .socials {
        font-size: 1.2em;
    }

    .foot h3{
        font-size: 1.8em;
        padding: 25px;
        
    }

}

@media (min-width: 800px){
    h1{
        font-size: 3.5em;
        padding: 35px;
    }

    h2{
        font-size: 3em;
    }

    .btn1{
        font-size: 3em;
        padding: 10px 20px;
    }

    .linkzabiegi span{
        line-height: 800px;
    }

    .flex2:nth-child(1){
        display: flex;
        justify-content: center;
    }

    .gabinet{
        height: 60vh;
        margin: 15px;
        width: 45vw;
        transition: transform 0.2s linear;
    }

    .gabinet:hover{
        transform: scale(1.02);
    }

    .linkzabiegi span{
        line-height: 665px;
    }
}

@media (min-width: 1024px){

    h1{
        font-size: 2.6em;
        padding:35px 0 25px 0;
    }

    h2{
        font-size: 2.6em;
        
    }

    article h2{
        padding: 0 80px 0 80px;
    }
    .btn1{
        font-size: 2em;
        padding: 15px 25px;
        font-weight: 600;
    }

    .linkzabiegi{
       margin: 0 20px 0 0;
        width: 45vw;
        
    }
    .linkzabiegi span{
        line-height: 750px;
    }

    .linkzabiegi:hover{
        transform: scale(1.03);
    }

    .kontakt{
        width: 45vw;
        margin-left: 20px;
    }

    .data{
        margin: 0;
    }
    .data p {
        font-size: 1em;
        line-height: 130%;
        
    }

    .foot h3{
        font-size: 2em;
    }

    .socials a{
        margin: 5px 5px;
    }

    .menu{
        font-size: 4em;
        right: 1.5vw;
        top: 1.5vw;
    }

    .flex2:nth-child(2){
        display: flex;
        justify-content: center;
    }


 .logo img{
    width: 50vw;
 }

 .logo{
    text-align: left;
 }

    header{
        display: flex;
    }
    
    .flex{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-right: 30px;
    }

   .foot h3{
    padding-top: 0;
   }
   
   .socials{
    padding: 0;
   }

}

@media (min-width: 1200px){

.gabinet{
    margin: 50px 15px 30px 15px;
    height: 80vh;
}
}

@media (min-width: 1500px){
    .gabinet{
        margin: 70px 30px auto 30px;
        height: 90vh;
        width: 40vw;
    }

   header h1{
    font-size: 3em;
   }

   header h2{
    font-size: 2.5em;
    margin: 0 50px;
   }

   article h1{
    padding-top: 50px;
   }

   article h2{
    margin: 0 200px;
   }

   .foot img{
    width: 50%;
   }
}