@import url('./globals.css');
footer{
    background-color: var(--primary-color);
    color: white;
    width: 100%;
}
footer p

.resize-position{
    position: absolute !important;
    bottom: 0 !important;
}
footer .wrapper{
    max-width: 1220px;
    padding: 50px;
    margin: 0 auto;
    flex-wrap: wrap;
}
footer .final-footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 0;
    flex-wrap: wrap;

}
footer .final-footer h3{
    font-size: var(--l);
    font-weight: 400;
}
footer .final-footer button{
    background-color: white;
    color: var(--green);
    font-size: 16px;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 22px;
}

footer nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;

}
footer nav p{
    display: block;
    max-width: 400px;
    width: max-content;
    font-size: 18px;
}
footer table{
    color: white;
    width: max-content;
}
footer table thead tr{
    display: flex;
    justify-content: center;
    justify-items: center;
}

footer table tbody{
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    margin: 10px 0;
    gap: 20px;

}
footer table tr{
    text-align: center;
}
footer table tbody tr, footer table thead tr{
    display: flex;
    justify-content: space-evenly;
}
footer table thead tr th{
    width: 88px;
    align-self: center;
    justify-self: center;
    margin: 0 15px;
}
footer table thead{
    gap: 20px;
}
footer table tbody tr td{
    width: 88px;
    align-self: center;
    justify-self: center;
    margin: 0 15px;
}
footer table tbody{
    display: none;
}

.contact-btn{
    border: none;

}
a{
    color: white;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    footer nav{
        display: flex;
        justify-content: space-evenly;
    }
}

@media screen and (max-width: 767px){
    footer .wrapper, footer .wrapper nav, footer .wrapper .final-footer{
        display: flex;
        justify-items: center;
        justify-content: center; 
        align-items: center;
        align-content: center;
    } 
    .final-footer, footer{
        display: flex;
        gap: 20px;
        flex-direction: column !important;
    }
    footer .wrapper{
        display: flex;
        flex-direction: column !important;
    }
    footer table{
        margin: 20px 0;
        width: 100%;
    }
    footer table tbody{
        display: none;
    }
    footer table th{
        width: 100% !important;
        text-align: center;
    }
    footer table thead tr{
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 30px;
        font-size: 24px;
        text-align: left;    
    }
    footer nav p{ 
        max-width: none !important;
        width: 100%;
        text-align: center;
    }  
    footer .wrapper nav{
        width: max-content;
        align-self: center;
    }       
    footer .wrapper{
        align-items: center;
    }
    


} 




