header {
  background: var(--background-1);
  display: flex;
  height: 100px;
  align-items: center;
  justify-content: space-between;
}
company {
  margin-left: 3rem;
  font-size: 1.5rem;
}

logo {
  display: flex;

  align-items: center;
  gap: 10px;
}

logo img {
  width: 64px;
  height: 64px;
}

logo span {
  display: flex;
  flex-direction: column;
}

logo span p:nth-child(1) {
  font-weight: bold;
}

logo span p:nth-child(2) {
  font-size: 1.1rem;
}

social {
  display: flex;
  margin-right: 3rem;
}

social ul {
  display: flex;
  align-items: center;
  margin-right: 2rem;
  gap: 1rem;
}

social ul a {
  display: flex;
  width: 32px;
  height: 32px;
  border: 1px solid var(--text);
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
}

social ul a li {
  width: 18px;
  height: 18px;
  background: var(--white);
}

social ul a:hover {
  background: var(--light-gray);
}

social ul a:nth-child(1):hover {
  background: #7360f2;
}

social ul a:nth-child(2):hover {
  background: #2aabee;
}

social ul a:nth-child(3):hover {
  background: #25d366;
}

social ul a:nth-child(4):hover {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

social ul a:nth-child(5):hover {
  background: #111111;
}

social ul a:nth-child(1):hover li,
social ul a:nth-child(2):hover li,
social ul a:nth-child(3):hover li,
social ul a:nth-child(4):hover li,
social ul a:nth-child(5):hover li {
  background: white;
}

social ul a:hover li {
  background: var(--background-1);
}
social ul a:nth-child(1) {
  border: 1px solid #7360f2;
}

social ul a:nth-child(2) {
  border: 1px solid #2aabee;
}

social ul a:nth-child(3) {
  border: 1px solid #25d366;
}

social ul a:nth-child(4) {
  border: 1px solid #d6249f;
}

social ul a:nth-child(5) {
  border: 1px solid #111111;
}
social ul a:nth-child(1) li {
  background: #7360f2;
  -webkit-mask: url("./../icons/viber.svg") no-repeat center;
  mask: url("./../icons/viber.svg") no-repeat center;
}

social ul a:nth-child(2) li {
  background: #2aabee;
  -webkit-mask: url("./../icons/telegram.svg") no-repeat center;
  mask: url("./../icons/telegram.svg") no-repeat center;
}

social ul a:nth-child(3) li {
  background: #25d366;
  -webkit-mask: url("./../icons/whatsapp.svg") no-repeat center;
  mask: url("./../icons/whatsapp.svg") no-repeat center;
}

social ul a:nth-child(4) li {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  -webkit-mask: url("./../icons/instagram.svg") no-repeat center;
  mask: url("./../icons/instagram.svg") no-repeat center;
}

social ul a:nth-child(5) li {
  background: #111111;
  -webkit-mask: url("./../icons/tiktok.svg") no-repeat center;
  mask: url("./../icons/tiktok.svg") no-repeat center;
}

phone {
  display: flex;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 5px;
  color: var(--text);
  border: 1px solid var(--text);
  transition: all 0.5s;
}

phone:hover {
  background: var(--text);
  color: var(--background-1);
}

phone:hover .icon {
  background-color: var(--background-1);
}

phone .icon {
  display: flex;
  content: " ";
  -webkit-mask: url("./../icons/phone-solid.svg") no-repeat center;
  mask: url("./../icons/phone-solid.svg") no-repeat center;
  background-color: var(--text);
  height: 1rem;
  width: 1rem;
  justify-self: end;
  align-self: flex-end;
  margin-right: 1rem;
}

@media only screen and (max-width: 1280px) {
  header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding-bottom: 1rem;
  }

  company {
    margin-left: 0px;
    margin-top: 1rem;
  }

  social {
    margin-top: 1rem;
    margin-right: unset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  social ul {
    margin-right: unset;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  phone {
    margin-right: 0px;
    margin-top: 1rem;
  }
}
