@font-face {
  font-family: Roboto;
  src: url('roboto.ttf');
}

body {
    font-family: Roboto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    color: #000000;
}

header {
    height: 86px;
    display: flex;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin-bottom: 30px;

    img {
        max-height: 80px;
    }

    > div {
        display: flex;
        flex-direction: row;
        padding: 2px 20px 2px 20px;
        justify-content: center;
        align-items: center;
        flex-grow: 1;

        > nav {
            min-width: 50%;
            flex-grow: 1;

            a {
                font-size: 20px;
                &.bold {
                    font-size: 21px;
                    font-weight: bold;
                }
                color: #474747;
                text-decoration: none;

                &:hover {
                    text-decoration: underline;
                }
            }

            > ul {
                &.smallnav {
                    display: none;
                }
                display: flex;
                flex-direction: row;
                list-style: none;
                gap: 20px;
                justify-content: right;
                align-items: center;

                .smallmenu {
                    height: 40px;
                }
            }
        }
    }
}

div.box {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

div.content {
    display: flex;
    flex-direction: column;

    h1 {
        text-transform: uppercase;
        font-size: 30px;
        line-height: 1.2;
    }

    img {
        max-width: 100%
    }
    > div *:not(.banner) {
        padding-left: 15px;
        padding-right: 15px;

        strong, a {
            padding: unset;
        }
    }
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gallery a {
    display: block;
}
.gallery img {
    max-height: 200px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.gallery img:hover {
    transform: scale(1.05);
}

footer {
    margin-top: 30px;
    background: #474747;
    color: white;
    font-size: 20px;
    padding: 30px;

    a {
        color: #ffffff;
    }

    > div {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;

        > div {
            flex-grow: 1;
            display: flex;
            flex-direction: column;

            &.right {
                gap: 5px;
            }
        }
    }
}

.filter-buttons {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    background-color: #474747;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.filter-btn:hover {
    background-color: #5d6369;
}

.filter-btn.active {
    background-color: #5d6369;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #474747;
}

.tiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-evenly;
}

.tile {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-width: 250px;
    flex: 1 1 300px;
}

.tile.hidden {
    display: none;
}

.tile-row {
    padding: 5px 0;
}

.tile-row:last-child {
    border-bottom: none;
}

.tile-row.name {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}

.tile-row a {
    color: #000000;
    text-decoration: none;
}

.tile-row a:hover {
    text-decoration: underline;
}



@media screen and (max-width: 850px) {

    header > div > nav > ul {
        &.smallnav {
            display: flex;
        }
        &.bignav {
            display: none;
            flex-direction: column;
            gap: 20px;
            background: white;
            font-size: 30px;
            left: 10px;
            padding: 20px;
            width: calc(100% - 60px);
            top: 60px;
            position: absolute;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
        }
    }

    footer > div {
        flex-direction: column;
        gap: 20px;
    }

}
