@charset "utf-8";

.footer{
  background: linear-gradient(to bottom, #FF9640, #F5AE73);
  padding: 2rem 0 0;
  position:relative;
}

.footer-bg{
  width:100%;
  margin:0 auto;
  z-index: 10;
  position: relative;
  background: #FCF7EC;
  padding:2.5rem 5% 1rem;
}


.footer-wrap{
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  font-weight:bold;
  text-align:center;
  justify-content: center;
}

.footer-wrap a{
  position:relative;
  z-index:0;
}

.footer-wrap a::before{
  position:absolute;
  content:"";
  left:0;
  bottom:0;
  width:0;
  height:1px;
  background:#FF9640;
  transition:0.3s;
  z-index:-1;
}

.footer-wrap a p{
  transition:0.3s;
}

.footer-wrap a p:first-child{
  color:#FF9640;
  font-size:14px;
  margin-bottom:4px;
}

.footer-wrap a p:last-child{
  color:#505050;
  font-size:18px;
}

.footer-wrap a:hover p{
  transform: translateY(-6px);
}

.footer-wrap a:hover::before{
  width:100%;
}

.insta{
  width:2.5rem;
  margin:1.5rem auto;
}

.copyright{
  text-align:center;
  font-size:14px;
}

@media screen and (max-width: 1024px) {
  .footer-wrap {
    flex-wrap: wrap;
    gap: 3rem 2rem;
  }
  .footer-item {
    width: 29%;
  }
}

@media (max-width: 767px) {
  .footer-wrap {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .footer-item {
    width: fit-content;
  }
  .footer{
    padding: 1rem 0 0;
  }
  .insta{
    width:2rem;
  }
  .copyright{
    font-size:10px;
  }
  .footer-wrap a p:last-child{
    font-size:14px;
  }
  .footer-wrap a p:first-child{
    font-size:12px;
  }
}
