/* styles.css */

/* ===== @font-face Declarations (self-hosted) ===== */
@font-face {
    font-family: 'Faune';
    src: url('../fonts/Faune-Text_Regular.woff2') format('woff2'),
         url('../fonts/Faune-Text_Regular.woff') format('woff'),
         url('../fonts/Faune-Text_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Faune';
    src: url('../fonts/Faune-Text_Bold.woff2') format('woff2'),
         url('../fonts/Faune-Text_Bold.woff') format('woff'),
         url('../fonts/Faune-Text_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Faune';
    src: url('../fonts/Faune-Display_Bold_Italic.woff2') format('woff2'),
         url('../fonts/Faune-Display_Bold_Italic.woff') format('woff'),
         url('../fonts/Faune-Display_Bold_Italic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

/* ===== Reset CSS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Font Utility Classes ===== */
.fontfaune {
    font-family: 'Faune', sans-serif !important;
    font-weight: normal;
    font-style: normal;
}

.italicfaune {
    font-family: 'Faune', sans-serif !important;
    font-weight: normal;
    font-style: italic;
}

.boldfaune {
    font-family: 'Faune', sans-serif !important;
    font-weight: bold;
    font-style: italic;
}

/* ===== Basic Styling ===== */
body {
    margin: 20px auto;
    padding: 0 3%;
    position: relative;
    font-family: 'Faune', sans-serif;
    text-align: left;
    line-height: 1.5;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
}

p {
    font-size: 1.2rem;
}

li {
    font-size: 1.2rem;
    padding-bottom: 2%;
}

ul {
    list-style-type: none;
}

h1 {
    font-size: 3rem;
    font-family: 'Faune', serif;
    font-weight: 800;
    font-style: italic;
}

h2 {
    font-size: 2rem;
    font-family: 'Faune', serif;
    font-weight: normal;
    font-style: italic;
}

/* ===== Anchor Styling ===== */
a {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: rgb(98, 0, 255);
}

/* ===== Header ===== */
.header {
    margin: 0 auto;
    padding: 1% 5% 1%;
}

/* ===== Footer ===== */
footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    text-align: center;
    padding: 10px;
    display: none;
}

/* ===== Images ===== */
img {
    border-radius: 0.5%;
    width: 100%;
}

/* ===== 3 Column Layout Desktop ===== */
.container {
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.column {
    width: calc(33.33% - 3%);
    margin-bottom: 20px;
}

.containerForImage {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.columnForImage {
    width: calc(50% - 2%);
    margin-bottom: 2rem;
    margin-top: 3%;
}

/* ===== Home Page Image Scale ===== */
img.thumb {
    position: relative;
    top: 0px;
}

img.thumb:hover {
    position: relative;
    scale: 98%;
}

/* ===== Responsive: Smartphones (< 768px) ===== */
@media (max-width: 767px) {
    header {
        padding: 10px;
    }

    nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    main {
        padding: 10px;
    }

    a {
        color: black;
        text-decoration: none;
        transition: color 0.3s;
        padding-left: 0;
    }

    p {
        font-size: 1.5rem;
    }

    li {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 3rem;
    }

    .container {
        display: block;
        flex-wrap: wrap;
    }

    .column {
        width: calc(100% - 20px);
    }

    .containerForImage {
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .columnForImage {
        width: calc(90%);
        margin-bottom: 0;
        margin-top: 0;
    }
}

/* ===== Responsive: Tablets (768px - 1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .column {
        width: calc(50% - 20px);
    }
}