@font-face {
	font-family: 'Arial';
	src: url(../fonts/arial_narrow-webfont.woff2);
}
@font-face {
	font-family: 'Times';
	src: url(../fonts/times_new_roman-webfont.woff);
}
@font-face {
	font-family: 'Times Italic';
	src: url(../fonts/times_new_roman_italic-webfont.woff);
}
:root {
    --backgroundcolor: rgb(255, 255, 255);
    --buttoncolor: #ffffff;
    --buttonhovercolor: var(--backgroundcolor);
    --textcolor: black;
    --accentcolor: blue;
    --buttonShadow: 0px 7px 15px rgba(0, 0, 0, 0.2);
    --borderRadius01: 5px;
    --borderRadius02: calc(var(--borderRadius01) + 0.9rem)
}
* {
    margin: 0;
    box-sizing: border-box;
}
::selection {
    background: none;
}
main {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}
body {
    background-color: var(--backgroundcolor);
    
}
html {
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}
p {
    font-size: 10pt;
}
a {
    font-size: 10pt;
    text-decoration: none;
}
a:hover {
}
h1 {
    font-weight: normal;
    text-align: left;
    font-size: unset;
}
img {
    display: block;
    pointer-events: none;
}
.image-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-container img {
    width: 50vw;
    height: 100%;
    object-fit: contain;
}
.image-text {
    font-family: "Times new roman";
    font-size: 10pt;
    text-align: center;
    margin-bottom: 1rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    font-size: 20px;
}

.menu-container {
    position: fixed;
    right: 3rem;
    top: 3rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.menu-item {
    font-family: "Times new roman";
    font-size: 10pt;
    text-decoration: underline;
    color: black
}
.menu-separator {
    line-height: 0.9;
}

/* Are.na blocks styling */
.arena-channel {
    width: 100%;
    padding: 3rem;
    font-family: "Times new roman";
    font-weight: normal;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.arena-channel * {
    font-family: "Times New Roman";
    font-weight: unset;
    font-size: 11pt;

}

.arena-channel h1 {
    font-family: "Times new roman";
}

.channel-description {
    font-family: "Times new roman";
    opacity: 0.5;
}

.arena-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);    flex-direction: column;
    gap: 2rem;
}

.arena-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.block-image {
    object-fit: contain;
}

.block-image img {
    max-width: 50%;
    height: auto;
    display: block;
}

.block-text {
    font-family: "Times new roman";
    /* white-space: pre-wrap; */
}
.block-type-Text {
    grid-column: span 1;
}

.block-link a {
    font-family: "Times new roman";
    color: var(--accentcolor);
    text-decoration: underline;
}

.block-link a:hover {
    text-decoration: none;
}

.link-description {
    font-family: "Times new roman";
    font-style: italic;
    color: #666;
    margin-top: 0.5rem;
}

.block-title {
    font-family: "Times new roman";
}

.block-meta {
    font-family: "Times new roman";
    opacity: 0.5;
}

.block-attachment a,
.block-media a {
    font-family: "Times new roman";
    color: var(--accentcolor);
    text-decoration: underline;
}

/* Create block form styling */
.write-note-toggle-button {
    position: fixed;
    top: 3rem;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1000;
    font-family: "Times new roman";
    font-size: 10pt;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    color: black;
}

.write-note-toggle-button:hover {
    text-decoration: none;
}

.create-block-form-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    background: var(--backgroundcolor);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
}

.block-content-input {
    width: 100%;
    font-family: "Times new roman";
    font-size: 10pt;
    padding: 0.5rem;
    border: 1px solid #ccc;
    resize: vertical;
    margin-bottom: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.create-block-button,
.cancel-button {
    font-family: "Times new roman";
    font-size: 10pt;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    color: black;
    padding: 0.5rem 1rem;
}

.create-block-button:hover,
.cancel-button:hover {
    text-decoration: none;
}

.create-success,
.create-error {
    font-family: "Times new roman";
    font-size: 10pt;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 700px) {
    .arena-channel {
        padding: 3rem;
    }
    .arena-blocks {
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }
}