*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

.body{

    background-color: var(--main-color);
    font-family: "Playfair Display", serif;
    

}

:root{
    --main-color: rgba(255, 255, 255, 0.863);
    --secondary-color: #B6AD90;
    --third-color:#333D29;
    --text-color:  rgb(39, 39, 39);
    



}
/*HOME PAGE*/

.pre-header{

    

     background-color: #333D29;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 45px;
   
    
    


}
.pre-contact{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 55px;
    align-items: center;
    justify-content: center;
    margin-right: 50%;
    padding-left: 7% ;
    width: 40%;
    
}
.pre-header a{
    font-size: 15px;
    font-weight: 450;
    text-decoration: none;
    color: white;
    
    
}
.translate{
   
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 40px;
    margin-right: 50px;
    
}
#fb{
    font-size: 25px;
    text-decoration: none;
    color: #1877F2;
}

.header{
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      height: 100px;
      background-color: #d1c2a7;
      
    


}



.header a{
    text-decoration: none;
    color: var(--text-color);
    letter-spacing: 0.5px;
    
}

.nav-links a:hover{

   
    color: whitesmoke;
   



}
.nav-links a:active{
    color: whitesmoke;

}



#naslov{

    /*border: red dotted;*/
    font-size:40px;
    padding: 15px 50px;
    margin-left: 35px;   
    text-decoration: none; 
 


}
.nav{
    

margin-left: 25%;
       
    
  
}
.nav-links{
     
  
    /*border: red dotted;*/
    list-style: none;
    display: flex;

    
    

}

.nav-links li{
    
    margin: 0 40px;
    font-size: 19px;
    font-weight: 500;


}


footer{
    margin-top:10px;
    height: 40px;
    align-content: center;   
    background-color: #333D29;
}
.footer-content{
    display: flex;
    justify-content: center;
    color: whitesmoke;
}
.footer-content a{
    text-decoration: none;
    color:#EC90AF;
    transition: transform 0.3s ease;  
}
.footer-content a:hover{
    color: white;
}
.nav-links .menu-button{
    display: none;
}
.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(50px);
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    list-style: none;
    font-size: 21px;
    font-weight: 600;
    padding: 50px 20px;
    gap: 20px;
    cursor: pointer;
    }
    .sidebar li{
     width: 100%;
     margin-top: 10%;
    }
    .sidebar li:hover{
       color: #BB9457; 
    }
    
    .sidebar a{
        width: 100%;
    }
    .nav-links .menu-button{
        display: none;
    }

    @media  screen and (min-width:1920px) and (max-width:1979px) {
        .body{
            max-width:auto;
            overflow-x: hidden;
            margin: 0;
            padding: 0;
        }

        .nav{
            margin-left: 25%;
        }
        .nav-links li{
            font-size: 1.3rem;
            text-wrap: nowrap;
             margin: 0 25px;
            }
          
        .nav-links a:hover{
            color: whitesmoke;
        }
        .nav-links a:active{
            color: whitesmoke;
        
        }
        
      
        .pre-contact a{
            font-size: 17px;
            text-wrap: nowrap;
            
        }
        #fb{
            margin-left: 25%;
             font-size: 1.8rem;
         }
     
         .translate {
             gap: 25px;
         }
         
         #naslov{
         padding: 15px 30px;
         margin-left: 10%;    
         text-wrap: nowrap;
         font-size: 2.5rem;
          }
         
          .footer-content p{
     
             font-size: 18px;
    }
    }
    @media screen and (max-width:1440px) {
      
        .body{
            width: 100%;
            overflow-x: hidden;
            margin: 0;
            padding: 0;
        }

        .nav{
            margin-left: 15%;
        }
        .nav-links li{
            font-size: 20px;
            text-wrap: nowrap;
        margin: 0 25px;
            }
          
        .nav-links a:hover{
            color: whitesmoke;
        }
        .nav-links a:active{
            color: whitesmoke;
        
        }
        
        .pre-contact{
            gap: 5%;
            margin-right: 1px;
            margin-left: 5%;
            padding-left: 5% ;
            width: 100%;
        }
        .pre-contact a{
            font-size: 17px;
            text-wrap: nowrap;
            
        }
        #fb{
            margin-left: 25%;
             font-size: 1.8rem;
         }
     
         .translate {
             gap: 25px;
         }
         
         #naslov{
         padding: 15px 30px;
         margin-left: 10%;    
         text-wrap: nowrap;
         font-size: 40px;
          }
         
          .footer-content p{
     
             font-size: 18px;
          }
        
    }
    @media  screen and (max-width:1280px){
        .nav{
             margin-left: 10%;
        }
    }

    @media screen    and (max-width:1024px) {
                .body{
                
                    width: 100%;
                    overflow-x: hidden;
                    margin: 0;
                    padding: 0;
                    
                }
                
                .nav{
                
                margin-left: 4%;
                }
                .nav-links li{
                
                    margin: 0 20px;
                    font-size: 18px;
                    font-weight: 500;
                    text-wrap: nowrap;
                
                
                }
                .header a{
                    text-decoration: none;
                    color: var(--text-color);
                    letter-spacing: 0.5px;
                    
                }
                
                .nav-links a:hover{
                    color: whitesmoke;
                }
                .nav-links a:active{
                    color: whitesmoke;
                
                }

                .pre-contact{
                    gap: 5%;
                    margin-right: 1px;
                    margin-left: 5%;
                    padding-left: 2% ;
                    width: 100%;
                }
                .pre-contact a{
                    font-size: 15px;
                    text-wrap: nowrap;
                    
                }
                #fb{
                   margin-left: 25%;
                    font-size: 1.8rem;
                }
            
                .translate {
                    gap: 15px;
                }
                
                #naslov{
                padding: 15px 30px;
                margin-left: 5px;    
                text-wrap: nowrap;
                font-size: 33px;
                 }
                
                 .footer-content p{
            
                    font-size: 17px;
                 }
            
            }
            
        

@media  screen  and (max-width:768px) {


    .body{
        
        max-width: 100vh;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        
    }
    
    .nav-links li{
        display: none;
    }
    .nav-links .hideOnMobile{
        display:none;
    }
    .nav-links   .menu-button{
        display: block;

    }
    .nav{
    
    margin-left: 45%;
    }

    .sidebar{
        height: 100%;
        width: 330px;
        left: 60%;     
    }
    .sidebar li{
        width: 100%;
        margin-top: 7%;
    
       }
 
    .pre-contact{
        gap: 15px;
        margin-right: 1px;
        margin-left: 5%;
        padding-left: 2% ;
        width: 100%;
    }
    .pre-contact a{
        font-size: 14px;
        text-wrap: nowrap;
        
    }
    #fb{
       margin-left: 25%;
        font-size: 1.5rem;
    }

    .translate {
        gap: 15px;
      
    }
    
    #naslov{
    padding: 15px 30px;
    margin-left: 5px;    
    text-wrap: nowrap;
     }
    
     .footer-content p{

        font-size: 15px;
     }
   

}


@media screen and (max-width:480px) {
    .body{
        max-width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    
    }
    .ul ,.sl, .eng{
        display: list-item;
    }
    
    .nav-links li{
        display: none;
    }
    .nav-links .hideOnMobile{
        display:none;
    }
    .nav-links   .menu-button{
        display: block;

    }
    .nav{
        margin-left: 20%;
    

    }

    .sidebar{
        height: 100%;
        width: 100%;
        left: 50%;     
    }
    .sidebar li{
        width: 100%;
        margin-top: 7%;
    
       }
    .pre-contact{
        gap: 15px;
        margin-right: 1px;
        margin-left: 5%;
        padding-left: 2% ;
        width: 100%;
    }
    .pre-contact a{
        font-size: 14px;
        text-wrap: nowrap;
        
    }
    #fb{
       margin-left: 25%;
        font-size: 1.3rem;
    }

    .translate {
        display: none;
    }
    
    #naslov{
    padding: 15px 30px;
    margin-left: 5px;    
    text-wrap: nowrap;
     }
    
     .footer-content p{

        font-size: 15px;
     }
    
    
}


@media only screen and (min-device-width: 390px) and (max-device-width: 393px) and (orientation: portrait) {
   
    .body{
        max-width: 100%;
    }

    .ul ,.sl, .eng{
        display: list-item;
        
    }

    .nav-links li{
        display: none;
    }
    .nav-links .hideOnMobile{
        display:none;
    }
    .nav-links   .menu-button{
        display: block;

    }
    .nav{
        margin-left: 15%;

    }
    .sidebar{
        height: 100%;
        width: 100%;
        left: 50%;     
    }
    .sidebar li{
        width: 100%;
        margin-top: 5%;
    
       }
 
     
    .pre-contact{
        gap: 15px;
        margin-right: 1px;
        margin-left: auto;
        padding-left: auto ;
        width: 100%;
    }
    .pre-contact a{
        font-size: 14px;
        text-wrap: nowrap;
        
    }
    #fb{
       margin-left: 25%;
        font-size: 1.3rem;
    }

    .translate {
        display: none;
    }
    
    #naslov{
    padding: 15px 30px;
    margin-left: 5px;    
    text-wrap: nowrap;
     }
    
     .footer-content p{

        font-size: 15px;
     }
    
}