
html {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1.5;
}

* {
    box-sizing: border-box;
}

html, body {
    padding: 0;
    margin: 0;
    color: #77766d;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.header, .footer {
    padding: 1.25rem 0;
    text-align: right;
}

.header img, .footer img {
    height: auto;
}

.header img {
    max-width: 50%;
    display: flex;
    margin-left: auto
}

@media screen and (min-width: 768px) {
    .container {
        padding: 0 1.75rem;
    }
    .header, .footer {
        padding: 1.75rem 0;
    }
}

.grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   background-color: #71695e;
   color: #fff;
}

@media screen and (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


.grid > * {
    aspect-ratio: 1;
    position: relative;
    display: grid;
    align-items: center;
    text-align: center;
}

.grid img {
    width: 100%;
    height: 100%;
}

.grid a {
    text-decoration: none;
    color: #fff;
    height: 100%;
    width: 100%;
    display: grid;
    align-items: center;
    text-align: center;
}

.grid .text {
    font-size: 3vw;
    padding: 1.25rem;
}


@media screen and (min-width: 768px) {
    .grid .text {
        font-size: 1.5vw;
    }
}

@media screen and (min-width: 1280px) {
    .grid .text {
        font-size: 1.125em;
    }
}