/*
Theme Name: Sergio Spinel Editorial
Template: firstone-wp
Theme URI: https://sergiospinel.com/
Author: BSTIV Tech
Description: Editorial portfolio of Sergio Spinel, interior architecture, design and furniture.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: sergio-spinel-editorial
*/

/* =========================================================
   SERGIO SPINEL EDITORIAL
   Base stylesheet
   BSTIV Tech
========================================================= */

:root {
    --ss-bg: #f7f6f2;
    --ss-surface: #ffffff;
    --ss-text: #252522;
    --ss-muted: #77766f;
    --ss-line: #deddd6;
    --ss-accent: #9b8063;

    --ss-font-body: Arial, Helvetica, sans-serif;
    --ss-font-heading: Georgia, "Times New Roman", serif;

    --ss-container: 1440px;
}

/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--ss-bg);
    color: var(--ss-text);
    font-family: var(--ss-font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--ss-accent);
    color: #ffffff;
}

/* WORDPRESS */

.site-main {
    position: relative;
    width: 100%;
    min-height: 60vh;
}

.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* RESPONSIVE BASE */

@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }

    body {
        font-size: 15px;
    }
}