@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&family=Saira:ital,wght@0,100..900;1,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}
body {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: auto;
    min-height: 100vh;
}
main {
    display: flex;
    height: auto;
    min-height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: stretch;
}
#content {
    width: 900px;
    height: auto;
    min-height: 100vh;
    flex-shrink: 0;
    border-left: 2px solid white;
    border-right: 2px solid white;
    border-top: none;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
#body {
    display: flex;
    flex: 1;
    align-items: center;
    flex-direction: column;
    position: relative;
}
#about {
    display: flex;
    margin: 20px 0px 0px 0px;
    padding: 10px 20px;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}
#catalogue-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
}
#catalogue-section #title {
    margin-left: 20px;
}
#catalogue {
    display: grid;
    width: 100%;
    gap: 20px;
    padding: 0px 20px;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
    margin-top: 10px;
}
.catalogue-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-height: 200px;
    width: auto;
    border: 2px solid white;
    min-width: 0;
}
.catalogue-card-desc {
    display: flex;
    width: 50%;
    flex-direction: column;
    margin: 0px 10px;
    box-sizing: border-box;
}
.banner {
    cursor: pointer;
}
#header {
    margin: 10px 20px 0px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}
#header img {
    width: 50px;
    height: 50px;
}
#sub-header {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    position: relative;
}
#sub-header a {
    text-decoration: underline;
}
#sub-header * {
    margin: 0px 20px 0px 20px;
}
#lefty,
#righty {
    position: fixed;
    top: 0;
    height: 100vh;
    width: calc(50% - 450px);
    max-width: 260px;
    object-fit: cover;
}

#lefty {
    right: calc(50% + 450px);
    left: auto;
}

#righty {
    left: calc(50% + 450px);
    right: auto;
    transform: scaleX(-1);
}
@media (max-width: 1000px) {
    #content {
        width: 100%;
        flex-shrink: 1;
    }
    #lefty,
    #righty {
        display: none;
    }
}
@media (max-width: 790px) {
    #catalogue {
        grid-template-columns: repeat(1, 1fr);
    }
}
h1 {
    font-family: "Saira", sans-serif;
    color: white;
}
.urled {
    all: unset;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 4px;
    line-height: 1;
}
p, a,
code {
    font-family: "Saira", sans-serif;
    color: white;
}
a {
    text-decoration: none;
}
a:hover {
    color: gray;
}

@media (max-width: 440px) {
    .catalogue-card {
        flex-direction: column;
        max-height: none;
        align-items: stretch;
    }
    .catalogue-card-desc {
        width: 100%;
        margin: 0;
        padding: 10px;
        box-sizing: border-box;
    }
    .catalogue-card img {
        width: 100%;
        height: auto;
        max-height: none;
        display: block;
    }
    #sub-header * {
        margin: 0;
    }
    #sub-header {
        margin: 0px 20px;
        justify-content: space-between;
    }
}
