footer {
    font-family: "Montserrat", sans-serif;
    background: url('/images/common/footer-image.jpg') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    min-width: 250px;
    padding: 20px 15px;
    position: relative;
    overflow: hidden;
    /* height:25vw; */
    min-height:550px;
    align-content: center;
}

.footer-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 2; 
}


.footer-layout > * { z-index: 8; }

.footer-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
    gap: 25px;
    max-width: 1200px;
    margin: auto;
    font-size: 1.3rem;
    /* height: 100%; */
}

.contact-info {
    display: grid;
    gap: 20px;
    line-height: 2;
    align-items: center;
}

footer a img.CGN-logo {
    width: 8rem;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.social-media div {
    width: 100%;
}

.social-media svg {
    display: block;
    align-items: center;
    justify-content: center;
    width: 25px;
    fill:#ffffff;
}

div.social-media svg:hover {
    fill: #b3ae9b;
}

@media screen and (min-width: 760px) {
    .footer-layout {
        display: grid;
        justify-content: space-around;
        /* grid-template-columns: repeat(3, fit-content); */
         /* grid-template-rows: 1fr; */
        /*max-width: 80%; */
        /* margin: auto; */
    }

    .contact-info {
        display: flex;
        grid-column: 2 / 3;
        /* justify-self: end; */
        /* width: 100%; */
    }

    .social-media {
        grid-column: 2 / 3;
        /* grid-row: 2/ 3; */
        /* grid-column: 4 / 5; */
    }

    .lastline {
        margin-top: 100px;
        grid-column: 1 / 3;
    } 
/* 
    .footer-layout p {
        grid-column: 1 / 5;
    } */
}
