
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
  background-image: url("images/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}



body{
  background-color: #c2c2c2;
  overflow-x: hidden;
}

header {
    position: fixed;
    width: 100vw;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    background-color: rgba(128, 128, 128, 0.50);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transform: translateY(0);
    transition: all 0.5s;  
    z-index: 1;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    z-index: 2;
  }
  
  .header-hide{
    transform: translateY(-100%);
  }

  .blur{
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: all 0.1s ease-in;
  }

  .logo {
    background-image: url("images/logo2.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 5rem;
    width: 15rem;
    margin-left: -1rem;
  }

  .links {
    display: none;
  }

  .links a{
    color: #000000;
  }

  .menu a{
    color: #000;
  }
  
  .links a, .menu a{
    font-size: 22.5px;
    text-decoration: none;
    list-style: none;
    padding: 0 10px;
    text-shadow: #fff 1px 1px 1px;
  }
  
  .menu-icon {
    display: block;
    cursor: pointer;
    margin-right: 2%;
  }
  
  .bar {
    width: 3rem;
    height: 5px;
    background-color: #fff;
    margin: 10px 0;
  }

  .footer{
    display: grid;
    text-align: center;
    min-height: 100px;
    position: relative;
    background-color: rgba(128, 128, 128, 0.50);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 20px;
  }
  
  .footer .icon{
    transform: scale(1.5);
  }

  .place, .mail, .phone{
    margin: 15px;  
  }

  .place p, .mail p, .phone p{
    margin: 5px;
  }

  .credits{
      margin: auto;
  }

  hr{
    border-top: 8px solid #979595;
    border-radius: 5px;
  }
  @media (min-width: 1045px) {
    .menu-icon {
      display: none;
    }
    
    .links {
      display: flex;
      align-items: center;
    }
    
    .links a{
      margin: 0 10px;
      position: relative;
      display: inline-block;
      font-weight: 800;
      color: black;
      overflow: hidden;
      background: linear-gradient(to right, rgb(35, 34, 80), rgb(31, 33, 184) 50%, black 50%);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-size: 200% 100%;
      background-position: 100%;
      transition: background-position 275ms ease;
    }

    .links a:hover{
      background-position: 0 100%;
    }

    .menu {
      display: none;
    }

    .footer{
      grid-template-columns: 1fr 1fr 1fr;
    }

    .credits{
      grid-column: 2;
    }

  }
  
  @media (max-width: 1044px) {

    body::-webkit-scrollbar {
      display: none;
    }
    .menu {
      margin-top: 0;
      top: 0;
      position: absolute;
      left: 0;
      width: 100vw; 
      height: 100vh;
      background-color: rgba(128, 128, 128, 0.50);
      -webkit-backdrop-filter: blur(20px);
      backdrop-filter: blur(20px);
      transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
      transform: translateY(-100%);
      z-index: 1;
    }
    
    .menu ul{
      position: relative;
      top: 100px;
    }

    .menu li {
      width: 100%;
      text-align: center;
      padding: 10px 0;
    }
    
    .menu.open {
      transform: translateY(0%);
    }
    
    .links {
      display: none;
    }
    .credits{
      position: relative;
      margin: auto;
    }
  }
    @media(min-width: 701px){
      .footer{
        grid-template-columns: 1fr 1fr 1fr;
      }
  }
    @media (max-width: 700px) {
    .footer{
      grid-template-columns: 1fr;
    }
  }

/* Background - #ad9370 */
/* Primary - #cdbea9 */
/* Secondary - #eee9e2 */