:::writing{variant="document" id="41863" title="style.css"}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #111;
    color: #fff;
    font-family: "Times New Roman", Times, serif;
}


/* Venstremeny */

aside {
    position: fixed;
    left: 35px;
    top: 40px;
    width: 180px;
    font-size: 13px;
    z-index: 10;
}

aside h1 {
    margin: 0 0 35px 0;
    font-size: 16px;
    font-weight: normal;
    font-family: "EB Garamond", serif;
}

aside h1 a {
    color: white;
    text-decoration: none;
}

aside h1 a:hover {
    opacity: 0.6;
}


/* Meny */

aside nav {
    display: block;
}

aside nav a {
    display: block;
    width: fit-content;
    color: white;
    text-decoration: none;
    font-size: 12px;
    margin-bottom: 10px;
}

aside nav a:hover {
    opacity: 0.6;
}


/* Galleri */

.galleri {
    width: 100%;
    margin: 0;
    padding: 0;
}

.galleri img {
    display: block;
    width: 80%;
    max-width: 1400px;
    height: auto;
    margin: 0 auto;
}


/* Exhibition */

.exhibition-side {
    background-image: url("Bilder/plaza 1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.utstilling {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.utstilling p {
    margin: 0 0 20px 0;
}


/* Info */

.info-side {
    background-image: url("Bilder/plaza5.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.info-tekst {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.info-tekst p {
    margin: 0 0 20px 0;
}


/* Mobil */

@media (max-width: 700px) {

    aside {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        padding: 25px;
    }

    aside h1 {
        margin-bottom: 20px;
    }

    aside nav {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

    .galleri {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .galleri img {
        width: 100%;
        max-width: none;
    }
}
:::