@font-face {
    font-family: 'Open Sauce';
    font-weight: normal;
    src: url('fonts/OpenSauceSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sauce';
    font-weight: bold;
    src: url('fonts/OpenSauceTwo-Bold.ttf') format('truetype');
}

@media screen and (min-width: 85.375rem) {
  html {
    font-size: clamp(16px, 0px + 1.1713vw, 70.464px);
  }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sauce', sans-serif;
    min-height: 100vh;
}

main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section {
    align-items: center;
    background-image: url('img/back-texture.png');
    background-position: center;
    background-size: cover;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

section img {
    height: auto;
    max-width: 40%;
}

footer {
    background-color: #292745;
    color: #ffffff;
    display: flex;
    gap: 8rem;
    justify-content: center;
    padding: 3rem 2rem;
}

footer article {
    text-align: center;
    width: 50%;
}

footer article p {
    margin-bottom: .5rem;
}

footer article p:nth-child(1) {
    font-size: .8rem;
    font-weight: bold;
    letter-spacing: .2094rem;
    text-transform: uppercase;
}

footer article p:nth-child(2) {
    font-size: .71rem;
    letter-spacing: .1681rem;
    margin-bottom: .5rem;
    text-transform: uppercase;
}

footer article p:nth-child(3),
footer article p:nth-child(4) {
    font-size: .75rem;
    letter-spacing: .1381rem;
}

@media (max-width: 48rem) {
    section img {
        height: auto;
        max-width: 90%;
    }

    footer {
        flex-direction: column;
        gap: 2rem;
    }

    footer article {
        width: 100%;
    }

    footer article p:nth-child(1) {
        font-size: 1.125rem;
    }

    footer article p:nth-child(2) {
        font-size: 1rem;
    }

    footer article p:nth-child(3),
    footer article p:nth-child(4) {
        font-size: 1.0625rem;
    }
} 