/*
Theme Name: JRatté
Theme URI: https://rundiz.com
Author: Jeff Ratte
Author URI: https://github.com/Rundiz-WP
Description: Bootstrap v.4 basic theme for developers to build their new theme very fast and easy. (WordPress 5 or Gutenberg ready.) The concept is to keep it basic, no rich features, no additional functions; all of these for theme developers will be easier to start develop their theme. To follow what was changed, please look for <a href="https://github.com/Rundiz-WP/bootstrap-basic4" target="commits">commits</a> of this theme at Github or changelog.md file that come with the theme. Please read notice on Bootstrap Basic 4 Help page in Dashboard &gt; Appearance &gt; Bootstrap Basic4 Help or in readme.txt file in this theme package.
Version: 1.0.0
Requires PHP: 5.5
Requires at least: 5.0
Tested up to: 6.6
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: bootstrap-basic4
Domain Path: /languages/
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-menu, featured-images, post-formats, threaded-comments, translation-ready, editor-style, blog

This theme built with Twitter Bootstrap v.4. It is basic theme with basic style for build new theme with Bootstrap.

*/

/*
Required WordPress CSS
*/
img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.alignleft {
    float: left;
    margin-right: 1.5em;
}
.alignright {
    float: right;
    margin-left: 1.5em;
}

/* 
Text meant only for screen readers. 
copied from https://codex.wordpress.org/CSS
*/
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

.wp-caption {
    border: 1px solid #ccc;
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 1.2% auto 0;
    max-width: 98%;
}
.wp-caption-text {
    text-align: center;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

/* Custom */

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    block-size: 100%;
    color-scheme: dark light;
}

body {
    background-color: black !important;
    color: #fcee35 !important;
    font-family: "Quicksand", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    min-block-size: 100%;
}

h1,
h2,
h3 {
    font-family: "Annie Use Your Telescope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.social a {
    font-size: 1.5rem;
    color: #fcee35;
}

.hero {
    padding: 5.5rem 0;
    font-size: 150%;
    background-color: #111;
}

.cta {
    padding: 5.5rem 0;
    font-size: 150%;
    background-color: #111;
    text-align: center;
}

.portfolio {
    padding: 2.5rem 0;
}
.portfolio h2,
.hero h2,
.cta h2 {
    font-size: 5rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 2rem;
}

.portfolio h3 {
    font-size: 2rem;
    font-weight: bold;
}

.portfolio-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
    grid-template-columns: 1fr 1fr;*/

    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));

    gap: 1rem;
}

.portfolio-item {
    text-align: center;
}

.portfolio-item img {
    object-fit: cover;
    aspect-ratio: 16/9;
    width: 100%;
    display: block;
    margin-bottom: 1.5rem;
}

@import "https://unpkg.com/open-props/easings.min.css";

.portfolio-grid > .portfolio-item {
    transform-origin: center center;
    transition: transform 1s var(--ease-spring-3), opacity 0.3s var(--ease-3);
}

@media (hover) and (prefers-reduced-motion: no-preference) {
    .portfolio-grid:hover > .portfolio-item:not(:hover) {
        opacity: 0.25;
        transform: scale(0.8);
    }
}

.cta .btn-primary {
    font-size: 1.5rem;
    border-radius: 2em;
    background-color: #fff;
    color: black;
    text-align: center;
    display: inline-block;
    font-weight: bold;
    padding: 0.75em 2em;
    margin: 2rem 0;
    transition: all 0.5s ease-in-out;
    border: none;
}

.cta .btn-primary:hover {
    background-color: #222;
    color: white;
    transform: scale(1.05);
}

#site-footer {
    background-color: #111;
    padding: 2rem 0;
    border: none;
}
