header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 900;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1vw 0;
    height: 1.7vw;

      transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /
}

@media (max-width: 600px) {
    header {
        height: 5vw;
    }
}

  .static-header {
      transform: translateY(-100%);
  }

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 3vw;
    margin-top: -0.4vw;

}

.header-scrolled {
    background-color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-scrolled .menu a {
    color: #fff;
}

.logo {
  position: relative;
  display: flex;

}

.logo img {
  width: 12%;
margin-left: 13.3vw;
}

@media (max-width: 600px) {
  .logo {
        opacity: 0%;
    }
}

.header-scrolled .logo img {
  filter: invert(100%) grayscale(100%);
}

.menu {
  position: relative;
 left: 1.7vw;

}

.menu ul {
position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    margin-top: -0.6vw;
}

@media (max-width: 600px) {
    .menu ul {
          margin-top: 1.5vw;
          margin-left: 2.7vw;
    }
}

.menu li.li1 {

    list-style: none;
margin-right: 10vw;
}

@media (max-width: 600px) {
    .menu li.li1 {
          margin-right: 24vw;
    }
}


.menu li.li2{
margin-right: 5vw;
}

@media (max-width: 600px) {
    .menu li.li2 {
          margin-right: 10vw;
    }
}

.menu a {

position:absolute;
    text-decoration: none;
    color: #333;
    font-size: 0.9vw;
    font-weight: 400;
    letter-spacing: 0;
    transition: color 0.3s;

}

.menu a:hover {
    color: #bebebe;
}

@media (max-width: 600px) {
    .menu a {
          font-size: 2.3vw;
    }
}

.open-modal-btn {
    padding: 0.5vw 1vw;
    border: none;
    background-color: #333;
    color: #fff;
    font-size: 1vw;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 20px;
    align-items: center;
    position: absolute;
    right: 7%;
    margin-top: -0.3%;
}

.open-modal-btn:hover {
    background-color: #555;
}

.header-scrolled .open-modal-btn {
    background-color: #fff;
    color: #333;
}


@media (max-width: 600px) {
    .open-modal-btn {
      padding: 1vw 2vw;
      font-size: 2.4vw;
      margin-top: 4vw;
    }
}


.modal {
  color: #555;
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: fixed;
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 10px;
    text-align: left;

}

.form-control {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #555;
}

textarea.form-control {
    resize: vertical;
    height: auto;
    min-height: 100px;
}

h2.modaltittle{
  font-size: 1.5em;
  text-align: center;

}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modalbtn {
    display: block;
    margin: 0 auto;
    padding: 15px 30px;
    border: none;
    background-color: #555;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 20px;
}

a.enlacebuttom{
      text-decoration: none;
}

img.logoinstagram{
  margin-top: -1.1vw;
  position: absolute;
  margin-left: -2.2vw;
  width: 1.9vw;
}


@media (max-width: 600px) {
    img.logoinstagram {
      opacity:0%;
        margin-top: -5.1vw;
    }
}


.header-scrolled .logoinstagram{
  filter: invert(100%) grayscale(100%);
}
