@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Comic+Relief:wght@400;700&family=Fira+Sans:ital,wght@0,100;0,200;0,400;1,200&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Tagesschrift&family=Winky+Rough:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Comic+Relief:wght@400;700&family=Fira+Sans:ital,wght@0,100;0,200;0,400;1,200&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Tagesschrift&family=Winky+Rough:ital,wght@0,300..900;1,300..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tagesschrift", "Popins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

header {
  background-image: linear-gradient(to right, #4a1e1b, #4a1e1be6);
  color: #fff;
  padding: 0 2rem;
  height: 4.8rem;
  display: grid;
  align-items: center;
}

.container-header {
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  margin: 0 10px;
}

.logo a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 2rem;
  line-height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.05em;
  padding: 0 20px 5px 0;
}

.logo-image {
  width: 3.5rem;
  border-radius: 50%;
}

.list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 5px;
}

.button-pedidos {
  font-family: "Poppins", sans-serif;
  background-color: #784538;
  color: #ffff;
  border: none;
  border-radius: 20px;
  padding: 5px 1rem;
  font-size: 1rem;
}

.button-pedidos:hover {
  transform: scale(1.05);
  transition-duration: 200ms;
  cursor: pointer;
}

.img-button-link {
  margin-left: 5px;
}

.menu-list {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  gap: 1rem;
}

.menu-link {
  text-decoration: none;
  color: #dbd6d6;
  font-size: 1.25rem;
  line-height: 1.75rem;
  display: inline-block;
}

.menu-link:hover {
  transform: scale(1.05);
  transition-duration: 500ms;
  color: #fff;
}

/* Main */

main {
  min-height: 600px;
  padding: 0 50px;
  background-color: #270c03;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.container-home {
  margin: 0 auto;
  padding: 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  text-align: center;
}

.text-home {
  text-align: start;
}

.h1-text-home {
  font-family: "Poppins", sans-serif;
  font-size: 4rem;
  font-weight: bold;
}

.span-home {
  color: #854d3d;
}

.button-home {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to right, #854d3d, #4a1e1b);
  border: 2px solid #854d3d;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  color: #fff;
  text-align: center;
  display: inline-block;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;

  &:hover {
    transform: scale(1.05);
  }
}

.img-home {
  width: 550px;
  transform: scale(1.25);
  animation: balanco 5s linear infinite;
}

@keyframes balanco {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(15deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.section-services {
  padding: 2.5rem 3rem;
  margin: 0 auto;
  min-height: 600px;
}

.container-services {
  text-align: center;
  margin: 0 auto 5rem;
  padding: 0 3rem;
}

.title-section-services {
  font-size: 3.25rem;
  color: #1d1c1c;
}

.card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  place-items: center;
}

.service-card {
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
  max-width: 300px;
  position: relative;
}

.service-card:hover {
  background-color: #854d3d;
  color: #fff;
}

.service-card:hover .image-card {
  transform: translateY(-3.5rem) scale(1.05) rotate(6deg);
}

.div-img-card {
  height: 122px;
}

.image-card {
  max-width: 200px;
  display: block;
  margin: 0 auto;
  transform: translateY(-3.5rem);
  transition: transform 0.3s ease, scale 0.3 ease;
}

.text-card {
  padding: 1rem;
}

.h1-title-card {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-family: "Poppins", sans-serif;
}

.p-card {
  color: #6b7280;
  transition: all 0.7s ease;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
  font-family: "Poppins", sans-serif;

  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-card:hover .p-card {
  color: #fff;
  transition: 2s;
}

footer {
  background-color: #270c03;
  min-height: 150px;
  padding: 1rem;
}

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

.div-logo-img {
  width: 120px;
}

.h2-footer {
  font-size: 3rem;
  color: #fff;
}

.p-footer {
  font-size: 0.8rem;
  font-family: "Poppins", sans-serif;
  color: #fff;
  margin: 1rem;
}

/* _________________________Responsive website________________________ */

/* Responsive Header */

@media screen and (max-width: 719px) {
  .logo a {
    font-size: 1.4rem;
  }

  .menu-list {
    display: none;
  }
}

@media screen and (max-width: 429px) {
  header {
    padding: 0;
  }
  .logo a {
    font-size: 1.5rem;
  }
}

/* Responsive Main */

@media screen and (max-width: 1137px) {
  .h1-text-home {
    font-size: 2.9rem;
  }
}

@media screen and (max-width: 1069px) {
  .h1-text-home {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 1035px) {
  .h1-text-home {
    font-size: 2.1rem;
  }

  .img-home {
    width: 400px;
  }
}

@media screen and (max-width: 835px) {
  main {
    min-height: 550px;
  }

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

  .text-home {
    text-align: center;
  }

  .h1-text-home {
    font-size: 2.6rem;
  }

  .img-home {
    width: 350;
  }
}

@media screen and (max-width: 496px) {
  .container-home {
    padding: 50px 0;
  }

  .h1-text-home {
    font-size: 2rem;
  }

  .img-home {
    width: 300px;
  }
}

@media screen and (max-width: 424px) {
  .h1-text-home {
    font-size: 1.4rem;
  }

  .img-home {
    width: 250px;
  }
}

/* Responsive Section */

@media screen and (max-width: 740px) {
  .card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
  }

  .title-section-services {
    font-size: 2rem;
  }
}

@media screen and (max-width: 552px) {
  .card {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3.8rem;
  }

  .title-section-services {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 320px) {
  .title-section-services {
    font-size: 1.5rem;
  }
}
