main {
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.home--header {
    padding: .75rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.home--header_logo {
    grid-column: 1/4;
}

.home--header_logo img {
    height: 2.25rem;
}

.home--header h1 {
    grid-column: 4/-1;
}

.home--branches {
    width: 100%;
    height: 100%;
    column-gap: 0;
}

.home--branches_card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-column: span 2;
    height: fit-content;
    margin: auto;
    padding: 2rem;
    transition: 600ms;
}

.home--branches_card img {
    margin-top: 4.5rem;
    height: 2rem;
    transition: 600ms;
}

.home--branches_card img:hover {
    transform: scale(1.07);
}

/* #cm-matosinhos {
    background: linear-gradient(0deg, rgba(0,107,255,1) 20%, rgba(0,107,255,0) 100%);
}
#cm-matosinhos:hover {
    background: linear-gradient(0deg, rgba(0,107,255,1) 40%, rgba(0,107,255,0) 100%);
}

#matosinhos-sport {
    background: linear-gradient(0deg, rgba(38,208,124,1) 20%, rgba(38,208,124,0) 100%);
}
#matosinhos-sport:hover {
    background: linear-gradient(0deg, rgba(38,208,124,1) 40%, rgba(38,208,124,0) 100%);
}

#matosinhos-habit {
    background: linear-gradient(0deg, rgba(101,153,255,1) 20%, rgba(101,153,255,0) 100%);
}
#matosinhos-habit:hover {
    background: linear-gradient(0deg, rgba(101,153,255,1) 40%, rgba(101,153,255,0) 100%);
} */

.home--footer {
    padding: .75rem 1rem;
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
}

.home--footer_logos {
    grid-column: 1/6;
    display: flex;
}

.home--footer_logos a {
    margin-top: auto;
    margin-bottom: .5rem;
}

.home--footer_logos img {
    height: .75rem;
}

.home--footer_contacts {
    grid-column: 6/-1;
    display: flex;
}

.home--footer_contacts > a {
    margin-left: auto;
}