* {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  height: auto;
  background-color: red;
}

.head a img {
  transition: ease 0.5s;
}

.head a img:hover {
  scale: 1.05;
}

nav {
  position: sticky;
  top: 0;
}

.phone {
  display: flex;
  justify-content: center;
}

ul {
  display: flex;
  flex-direction: row;
}

li {
  margin: 0 20px;
  list-style: none;
  font-size: 23px;
  font-weight: bold;
}

.head a {
  color: white;
  font-size: 23px;
  font-weight: bold;
}

.head a:hover {
  color: rgb(155, 0, 0);
  transition: 0.3s ease;
}

.head .active {
  color: rgb(155, 0, 0);
  text-decoration: underline;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: auto;
  background-color: red;
}

footer h2,
h3 {
  color: white;
  text-align: center;
}

footer .social img {
  width: 40px;
}

footer .social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

footer .contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer .contact a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 18px;
}

.whatsapp img:hover {
  opacity: 1;
  scale: 1.1;
}

.links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.link {
  width: 120px;
  height: 35px;
  background-color: red;
  padding: 20px;
  text-align: center;
  border-radius: 15px;
  border: 2px solid white;
}

.link a {
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.link:hover {
  background-color: white;
  border: 2px solid red;
  transition: 0.3s;
}

.link:hover a {
  color: red;
  transition: 0.3s;
}

@media screen and (max-width: 800px) {
  body {
    width: auto;
  }

  header {
    width: auto;
  }

  .head {
    display: flex;
    flex-direction: column;
  }

  .phone {
    margin: 15px;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }

  .social {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 1024px) {
  body {
    width: auto;
  }

  header {
    width: auto;
  }

  .head {
    display: flex;
    flex-direction: column;
  }

  .phone {
    margin: 15px;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }

  .social {
    margin-bottom: 20px;
  }
}
