footer{
  padding: 100px 0 30px;
  border-top-left-radius: 125px;
  border-bottom-right-radius: 125px;

  border: 1px solid var(--clr-footer-border);

  font-size: 13px;
  line-height: 20px;

  display: flex;
  flex-direction: column;

  position: relative;

}

.row{
  width: 85%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  flex-basis: 90%;
  justify-content: space-between;
  align-items: stretch;
}

.col{
  flex-basis: 40%;
  padding: 10px;
}
.col:nth-child(2),
.col:nth-child(3){
  flex-basis: 15%;

  display: flex;
  flex-direction: column;
}
.col:nth-child(3){
  align-items: anchor-center;
}


.col h3{
  width: fit-content;
  margin-bottom: 40px;
  text-wrap: nowrap;

  /* for .underline be relative */
  position: relative;
}

ul{
  padding: 0;
}

ul li{
  list-style: none;
}

ul li a{
  text-decoration: none;
}
p a{
  text-decoration: none;
  color: inherit;
}
.tel{
  font-weight: 700;
}
.map,.tel,.email-id{
  text-wrap: nowrap;
}
.fa-arrow-right{
  font-size: 10px;
  transform: translateX(5px) translateY(-2px) rotate(-35deg);
}

.links:hover,.links:focus,.links:active{
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--clr-footer);
  outline: none;
}

.links:hover .fa-arrow-right,.links:focus .fa-arrow-right,.links:active .fa-arrow-right{
  transform: translateX(0) translateY(0) rotate(0deg);
}


.social-icons,.store{
  display: flex;
  flex-direction: column;

  flex-basis: 80%;
  justify-content: space-between;
}

.social-icons i{
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--clr-body-color);
  margin-bottom: 1.5rem;
}
.social-icons i:hover
,.social-icons i:focus
,.social-icons i:active
{
  color: var(--clr-footer);
  transition: color 250ms linear;
}
  

hr{
  width: 90%;
  border: 0;
  border-bottom: 1px solid var(--clr-footer-hr);
  margin: 20px auto;
}
.copyright{
  /* text-align: center; */
  display: flex;
  justify-content: center;
  gap: .5rem;
}
.copyright-link{
  padding-right: 5px;
  text-decoration: none;
  color:var(--clr-footer-copyright-a-tag);
}

.linkme{
  font-family: cursive;
  color: var(--clr-footer-linkme);
  text-decoration:none;
  text-underline-offset: 2px;
  font-size: .925rem;

}
.linkme:is(:hover,:focus,:active){
  opacity: .8;
}

.fa-heart{
  color: red;
}

.underline{
  width: 100%;
  height: 5px;
  background-color: var(--clr-footer-underline-bg);
  border-radius: 3px;
  position: absolute;
  top: 25px;
  left: 0;

  overflow: hidden;
}

.underline span{
  width: 15px;
  height: 100%;
  background-color: var(--clr-footer-underline-span-bg);
  position: absolute;
  top: 0;
  left: 10px;

  animation: moving 2s linear infinite;
}

@keyframes moving {
  0%{
    left: -20px;
  }
  100%{
    left: 100%;
  }
}

@media (max-width: 700px) {
  footer{
    padding: 30px 0;
  }
  .col{
    flex-basis: 100%;
    text-align: center;
  }
  .col h3{
    margin: 20px auto;
  }
  .col p{
    margin: 10px auto 0px;
  }
  
  .col:nth-child(2),
  .col:nth-child(3){
    flex-basis: 100%;
  }

  .col.text-left{
    text-align: left;
  }

  .social-icons{
    margin-top: 1.5rem;

    flex-direction: row;
    justify-content: space-between;
    
  }
  .col:nth-child(3){
    align-items: unset;
  }

  .copyright{
    flex-direction: column;
    align-items: center;
  }
}
