@font-face {
    font-family: 'LM';
    src: url('/static/fonts/lmroman10-regular.otf') format('opentype');
}

@font-face {
    font-family: 'LMCaps';
    src: url('/static/fonts/lmromancaps10-regular.otf') format('opentype');
    font-variant: small-caps;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: 'LM';
}

.mobile-only,
.desktop-only {
    display: none !important;
}

@media (max-width: 1023px) {
    .mobile-only {
        display: revert !important;
    }
}

@media (min-width: 1024px) {
    .desktop-only {
        display: revert !important;
    }
}

.lm-caps {
    font-family: 'LMCaps';
}

a,
a:visited {
    text-decoration: none;
    color: inherit;
}

#main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#header {
    width: 100%;
    border-bottom: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#menu {
    position: absolute;
    right: 10px;
    font-size: 0.5em;
}

#menu table {
    border-collapse: collapse;
    text-align: center;
    line-height: 1em;
}

#content {
    flex: 1;
    overflow-y: auto;
}

.section {
    margin: 100px;
}

.image-table {
    width: 100%;
    border-collapse: collapse;
}

.image-table td {
    height: 200px;
    background-size: cover;
    background-position: center;
}

#footer {
    width: 100%;
    height: 40px;
    border-top: 1px solid black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer div {
    display: flex;
    margin: 0 10px;
}

#footer a {
    display: flex;
    align-items: center;
    font-size: 0.5em;
}

#footer img {
    width: 20px;
    aspect-ratio: 1;
    margin: 10px;
}

#eacit-logo {
    background-image: url(/static/images/eacit.svg);
}

#instagram-logo {
    background-image: url(/static/images/instagram.svg);
}


@media (max-width: 1024px) {
    .section {
        margin: 100px 20px;
    }
}