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

/* Margin reset */
* {
    margin: 0;
}

/* Body */
body {
    min-height: 100vh;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Images */
img,
picture,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Forms */
input,
button,
textarea,
select {
    font: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Lists */
ul,
ol {
    list-style: none;
    padding: 0;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* Paragraph */
p {
    overflow-wrap: break-word;
}

/* Text */
small {
    font-size: 80%;
}

/* HR */
hr {
    border: none;
    border-top: 1px solid #ddd;
}

/* Fieldset */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* Textarea */
textarea {
    resize: vertical;
}

/* HTML */
html {
    scroll-behavior: smooth;
}

/* Prevent overflow */
body {
    overflow-x: hidden;
}

/* WordPress images */
.aligncenter {
    display: block;
    margin-inline: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption img {
    width: 100%;
}

.gallery img {
    width: 100%;
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}