.header {  
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: transform 400ms cubic-bezier(.25,.37,.17,.96); 
    z-index: 10;
    box-shadow: inset 0 -0.2rem 0 #ff7f09;
  }
  
  /* .container{
    
  } */
  
  .links{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
  }
  .link::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 5px;
    background-color: red;
    border-radius: 2px;
    transition: width 0.35s;
  }
  .link:hover::before{
    width: 100%;
  }
  
  .link{
    margin: 0 20px;
  }
  
  /* .link__main{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  } */
  
  .link__main img{
    width: 60px;
    /* animation: wink 3.25s linear infinite; */
    animation: maga 1s linear infinite;
    animation-delay: 0.2s;
  }
  /* @keyframes maga {
    from {
      box-shadow: 0 0 10px rgb(255, 106, 106),
                  0 0 10px rgb(255, 78, 78);
    }
    to {
      background: black;
      box-shadow: none;
    }
  } */
  .footer__contact{
    padding-left: 2em;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }
  .name__adres{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-right: 2em;
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 15px;
    text-shadow: -1px 1px 1px rgb(0, 0, 0);
  }
  .title__name{
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: -1px 1px 1px rgb(0, 0, 0);
    padding: 0 20px;
  }
  
  .link__side{
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 10px 1rem 10px 0;
  
  }
  
  .buttons__call__write{
    /* display: flex; */
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 10px;
    background-color:   #43c854;
    margin-right: 1em; 
    text-shadow: -1px 1px 1px rgb(0, 0, 0);
  }
  .buttons__call__write:nth-child(5n+2){
    background-color: rgb(32, 90, 190);
    margin-left: 1em;
  }
  .buttons__call__write a{
    color: white;
    text-decoration: none;
  }
  .link__side i{
    margin-right: 10px;
  }
  /* When header is not in viewport we hide it */
  .header[data-scroll="out"] {
    transform: translatey(-100%);
  }
  
  /* When moving up and header we show it */
  [data-scroll-dir-y="-1"] .header {
    transform: translatey(0);
  }
  
  .header {
    
    padding: .5em 2em;
    /* color: #ffffff; */
    /* background-color: #515151; */
      /* font-size: 30px; */
      background: #000000;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #000000, #434343);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #000000, #434343); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  }
  
  .logo{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 0 20px 0 0;
  }
  
  
  
  /* .logo__v {   img
    width: 40%;
  } */
  
  @media (max-width: 1250px){
    .link__main{
      /* width: 7%; */
    }
  }
  
  @media (max-width: 1000px){
    .header {
        padding: .5em 0;
    }
    
    .content {
      margin-top: 2rem;
    }
    
    .links a{
      font-size: 20px;
    }
  
    .links{
        margin: 0;
        font-size: 0.5rem;
    }
    
    .link__main{
      /* width: 50%; */
      /* display: none; */
      margin-left: 4%;
    }
    
    .link__side{
        flex-direction: row;
    }
    
    .buttons__call__write{
        margin: 0.5em 0.5em 0.5em 0;
    }
    
    .buttons__call__write:nth-child(5n+2){
    margin-left: 0;
    }
    
    .buttons__call__write p{
        display: none;
    }
    
    .name__adres {
        margin-right: 0.5em;
    }
    
    .name__adres .logo{
        /* display: none; */
    }
    .name__adres .adres{
        margin: 1em 0;
        /* display: none; */
    }
    
    .name__adres .adres p{
        font-size: smaller;
    }
    
    .title__name {
        padding: 0;
    }
    
     .title__name h1{
        font-size: small;
     }
    
    .adres .hide{
        display: none;
    }
  }