.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hats.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    opacity: 0.02;
    z-index: -1;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    justify-content: center;
    gap: 2.5rem;
    padding: 50px 50px 20px 50px;
}

.footer-col h4 {
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: capitalize;
    border-bottom: 2px solid sandybrown;
}

.footer-col .links { 
    width: 100%;
    margin-top: 20px; 
}

.footer-col .links li {
    list-style: none;
    padding: 5px 10px;
    width: 100%;
}

.footer-col .links li a {
    width: 100%;
    text-decoration: none;
    color: #bfbfbf;
    transition: 0.5s ease all;
}

.footer-col .links li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-col .links p{
    font-size: 0.9rem;
    color: #bfbfbf;
    line-height: 2;
    padding-left: 10px;
}

.webcount{ color: #555; }
.copyright {
    color: var(--dark-color);
    padding: 10px 50px;
    background: var(--light);
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.copyright span{ width: 100%; }
.copyright span:nth-child(2){ text-align: right; }
.copyright span a{
    text-decoration: none;
    color: var(--topbar-bg);
    font-weight: 550;
    text-align: right;
}




@media (max-width: 1120px){
    .footer-col h4{ font-size: 1rem; }
    .footer-col .links li a{ font-size: 1.30vw; }
}

@media (max-width: 930px){
    .footer-row{ grid-template-columns: repeat(3, 1fr);}
    .footer-row>div:nth-child(4){ grid-column: span 3;}
    .footer-col .links li a{ font-size: 0.8rem; }
    .copyright{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .copyright>span:nth-child(3){ grid-column: span 2;}
}



@media (max-width: 725px){
    .copyright{ 
        padding: 10px;
        font-size: 1.8vw;
    }

    .copyright span:nth-child(1){ text-align: left; }
}

@media (max-width: 745px){
    .footer-row { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-row>div:nth-child(4){ grid-column: span 1;}

}


@media (max-width: 530px){
    .footer-row{padding: 20px;}
    .footer-row{
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        gap: 1rem;
    }

    .footer-col .links li a{ font-size: 0.9rem; }
    .copyright{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

    .copyright span:nth-child(1),
    .copyright span:nth-child(2){ text-align: center; }
}

@media (max-width: 340px){
    .copyright{ font-size: 0.7rem;}
}