@font-face {
    font-family: 'Infra';
    src: url('../assets/fonts/Infra-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    font-family: 'Infra', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: Infra, sans-serif;
    background-color: #f1f2f2;
    -webkit-background-size: auto, cover;
    -moz-background-size: auto, cover;
    -o-background-size: auto, cover;
    background-size: auto, cover;
}

.an-container {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.an-logo {
    text-align: center;
    width: 100%;
    padding-top: 50px;
}

/* For the picture element containing the logo */
picture {
    max-width: 20vw;
    max-height: 60vh;
    display: block;
    margin: 0 auto;
}

/* For the <img> element */
img {
    width: auto;
    height: auto;
    object-fit: contain;
}

.an-links {
    color: #f1f2f2;
    flex: 1 0 auto;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-items: center;
    margin-top: 100px;
    margin-bottom: 50px;
}

.an-link {
    height: 30px;
    background-color: rgba(0, 0, 0, .25);
    border-radius: 10px;
    width: 200px;
    font-size: 20px;
    padding: 15px;
    margin-right: 15px;
}

.an-link a, .an-link a:hover {
    color: #fff;
}

.an-link__icon {
    float: left;
    height: 30px;
    width: 30px;
    margin-right: 15px;
}

.an-link__icon img {
    height: 30px;
    width: 30px;
}

.an-link__text {
    float: left;
}

.clear {
    clear: both;
}

.text--heavy {
    font-weight: 700;
}

footer {
    font-family: Infra, sans-serif;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #0B76A0;
    color: white;
    text-align: center;
    margin: 5px 0;
    padding: 10px 0;
    font-size: 14px;
}

footer p {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

/* Media Queries for Orientation-Based Sizing */
@media screen and (orientation: portrait) {
    picture {
        max-width: 60vw;
        max-height: 40vh;
    }
}

@media screen and (orientation: landscape) {
    picture {
        max-width: 40vw;
        max-height: 60vh;
    }
}