/* merriweather-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 300;
    src: url('./fonts/Merriweather/merriweather-v30-latin-300.woff2') format('woff2');
  }
  /* merriweather-regular - latin */
  @font-face {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/Merriweather/merriweather-v30-latin-regular.woff2') format('woff2');
  }
  /* merriweather-700 - latin */
  @font-face {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    src: url('./fonts/Merriweather/merriweather-v30-latin-700.woff2') format('woff2');
  }

/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 20px;
}

/* Set a base font size and family */
body {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 1.8;
    color: #f3edde;
    background-color: #010102;
    font-weight: 300;
}

h3 {
    font-size: 1rem;
}

a, a:hover, a:visited {
    color: #f3edde;
    text-decoration: none;
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* Style for header */
header.bg-image {
    background-image: url('bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
    height: 30vh;
    min-height: 250px;
}

.margin-top {
    margin-top: 2rem;
}

@media only screen and (min-width: 768px) {
    html, body {
        font-size: 25px;
    }
    header.bg-image {
        height: 50vh;
    }
}

@media only screen and (min-width: 1500px) {
    header.bg-image {
        height: 70vh;
    }
}

/* Style for main content */
main.main-content {
    margin: 0 auto;
    padding: 1.5rem;
    text-align: center;
    max-width: 1000px;
}

.images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    justify-content: center;
}

.images img {
    width: 100%;
    max-width: 100px;
    height: auto;
}

.images a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.images a:nth-child(2) img {
    max-width: 150px;
}