/*
Theme Name: Cuba Libre
Theme URI: https://michallukaszewicz.dev/
Author: Michał Łukaszewicz
Author URI: https://michallukaszewicz.dev/
Description: WordPress development template
Version: 1.0.1
*/


/*
    Normalize
-------------------------------------
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Prevent fonts from getting oversized in IE 11.
 * 4. Remove the margin in all browsers.
*/

html {
    box-sizing: border-box;
    line-height: 1.15; /* 1 */
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 3 */
}

body {
    margin: 0; /* 4 */
    background-color: #fff;
}

.post,
.page {
    margin: 0; /* 4 */
}

/*
    Sections
-------------------------------------
 * Remove the margin in all browsers.
*/

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p, pre {
    margin: 0;
}

ul {
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}

/*
    Text-level semantics
-------------------------------------
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove the outline on focused links when they are also active (e.g., in the same :active declaration).
*/

a {
    text-decoration: none;
    background-color: transparent; /* 1 */
    -webkit-text-decoration-skip: objects; /* 2 */
}

/*
    Functions & Definitions
-------------------------------------
 * Remove list decoration.
*/

li {
    list-style-type: none;
}

/*
    Interactive
-------------------------------------
 * Add the correct display in Edge, IE 10+, and Firefox.
*/

details {
    display: block;
}

summary {
    display: list-item;
}

/*
    Misc
-------------------------------------
 * Add the correct display in IE 10+.
*/

template {
    display: none;
}

/*
    Forms
-------------------------------------
 * 1. Change the font styles in all browsers and remove margin.
 * 2. Show the overflow in IE.
 * 3. Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 4. Correct the inability to style clickable types in iOS and Safari.
*/

button {
    background: transparent;
    border: 0;
}

button,
input { /* 2 */
    overflow: visible;
}

button,
select { /* 3 */
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] { /* 4 */
    -webkit-appearance: button;
}

::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

::-moz-focus-inner,
::-moz-focus-outer { /* Remove the default button styling in Edge and Firefox */
    border-style: none;
}

:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/*
    Media
-------------------------------------
 * Change the colors for media controls in Edge and IE.
*/

audio,
canvas,
progress,
video {
    display: inline-block;
}

/*
    User interface
-------------------------------------
 * 1. Remove the padding in Firefox.
*/

::-webkit-file-upload-button { /* 1 */
    padding: 0;
}

/*
    Box sizing
-------------------------------------
 * 1. Use border-box box-sizing in all browsers.
*/

*,
::before,
::after {
    box-sizing: border-box;
}

/*
    Images
-------------------------------------
 * Ensure responsive images
*/

img {
    width: 100%;
    height: auto;
}

/*
    Scrollbar
-------------------------------------
 *
*/

/*  WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #FFFFFF;
}

::-webkit-scrollbar-thumb {
    background-color: #C3945F;
    border: 2px solid #FFFFFF;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #C3945F;
}