footer {
background: black;
}
footer .footer-container {
width: 100%;
padding: 3% 1% 2%;
}
footer .social-icons {
display: flex;
justify-content: center;
}
footer .social-icons a {
text-decoration: none;
padding: 1%;
background-color: white;
margin: 2%;
border-radius: 50%;
}
footer .social-icons a {
font-size: 2em;
color: black;
opacity: .9;
}
footer .social-icons a:hover {
background-color: #111;
transition: .5s;
}
footer .social-icons a:hover {
color: white;
transition: .5s;
}
footer .footer-nav {
margin: 3% 0;
}
footer .footer-nav ul {
width: 100%;
margin: auto;
text-align: center;
}
footer .footer-nav ul li {
display: inline-block;
margin:0 2%;
}
footer .footer-nav ul li a {
color: white;
font-size: 17px;
padding: 7px 13px;
border-radius: 5px;
text-transform: uppercase;
position: relative;
display: inline-block;
transition: 0.3s;
}
footer .footer-nav ul li a::after {
content: "";
position: absolute;
bottom: 8px;
height: 1px;
width: 70%;
left: 15%;
background-color: rgb(255, 255, 255);
transition: .3s;
transition-timing-function: ease-in-out;
transform: scaleX(0);
}
footer .footer-nav ul li a:hover::after {
transform: scaleX(1);
}
footer .footer-nav ul li a:hover {
color: rgb(255, 255, 255);
letter-spacing: 1.5px;
cursor: pointer;
}
footer .footer-nav ul li a span{
position: absolute;
display: block;
background: white;
}
/* Around the border hover animation */
footer .footer-nav ul li a span:nth-child(1) {
left: 0;
top: 0;
width: 100%;
height: 2px;
transform-origin: left;
transform: scaleX(0);
transition: 0.15s;
}
footer .footer-nav ul li a:hover span:nth-child(1) {
transition: 0.15s;
transform: scaleX(1);
}
footer .footer-nav ul li a span:nth-child(2) {
right: 0;
top: 0;
width: 2px;
height: 100%;
transform-origin: top;
transform: scaleY(0);
transition: 0.15s;
}
footer .footer-nav ul li a:hover span:nth-child(2) {
transition: 0.15s;
transform: scaleY(1);
transition-delay: 0.1s;
}
footer .footer-nav ul li a span:nth-child(3) {
right: 0;
bottom: 0;
width: 100%;
height: 2px;
transform-origin: right;
transform: scaleX(0);
transition: 0.15s;
}
footer .footer-nav ul li a:hover span:nth-child(3) {
transition: 0.15s;
transform: scaleX(1);
transition-delay: 0.2s;
}
footer .footer-nav ul li a span:nth-child(4) {
left: 0;
bottom: 0;
width: 2px;
height: 100%;
transform-origin: bottom;
transform: scaleY(0);
transition: 0.15s;
}
footer .footer-nav ul li a:hover span:nth-child(4) {
transition: 0.15s;
transform: scaleY(1);
transition-delay: 0.3s;
}
footer .footer-bot {
background-color: #000;
padding: 20px;
text-align: center;
}
footer .footer-bot p {
color: white;
}
footer .design-name {
opacity: 0.7;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 400;
margin: 0 5px;
}