/* custom.css - Custom stylesheet for wad architekten */

/* Ensure project images maintain a 16:9 aspect ratio and do not break the layout */
.content .img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* Base structural styles that were previously inline in the HTML files */
@media (min-width: 600px) {
    * {
        box-sizing: border-box;
    }

    body {
        padding: 20px;
        font-family: 'Century Gothic', sans-serif;
    }

    .main {
        max-width: 80%;
        margin-right: 10%;
        margin-left: 10%;
    }

    .row {
        margin: auto;
    }

    .row, .row > .column {
        padding: 8px;
    }

    .column {
        float: left;
        width: 33.33%;
        display: none;
    }

    .row:after {
        content: "";
        display: table;
        clear: both;
    }

    .content {
        background-color: white;
        padding: 20px;
        text-align: center;
        z-index: 1;
        font-size: 0.8vw;
        opacity: 0.7;
        filter: alpha(opacity=40);
        transition: opacity 0.3s ease;
    }

    .show {
        display: block;
    }

    .content:hover {
        opacity: 1;
        filter: alpha(opacity=100);
    }
}

@media (max-width: 600px) {
    * {
        box-sizing: border-box;
    }

    body {
        padding: 20px;
        font-family: 'Century Gothic', sans-serif;
    }

    .main {
        max-width: 100%;
        margin-right: 2.5%;
        margin-left: 2.5%;
        margin-top: 50px;
    }

    .row {
        margin: auto;
    }

    .row, .row > .column {
        padding: 8px;
    }

    .column {
        float: left;
        width: 100%;
        display: none;
    }

    .row:after {
        content: "";
        display: table;
        clear: both;
    }

    .content {
        background-color: white;
        text-align: center;
        z-index: 1;
        font-size: 2.5vw;
    }

    .show {
        display: block;
    }
}
