/*
Theme Name: The Pilates Theme
Theme URI: https://iklive.eu

Description: Default theme for pilatesportugal.pt

Version: 1.1
Author: Tadeu Bento
*/
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(assets/fonts/InterLatin-Variable.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'PP Acma';
    font-style: normal;
    font-weight: 300;
    src: local('PP Acma'), url(assets/fonts/PPAcma-Light.woff) format('woff');
}
@font-face {
    font-family: 'PP Acma';
    font-style: normal;
    font-weight: 600;
    src: local('PP Acma'), url(assets/fonts/PPAcma-Semibold.woff) format('woff');
}

:root {
    --font-weight-regular: 350;
    --font-weight-bold: 500;
    --bg-color-dark: #141414;
    --bg-color-call: #006403;
    --bg-color-light: #D9D9D9;
    /* Boostrap Extends */
    --spacer-x6: 5.5rem;
}

html {
    font-size: 16px;
}

body {
    font-optical-sizing: auto;
    font-family: 'Inter', sans-serif;
    font-size: 1.11rem;
    line-height: 1.35;
    font-weight: var(--font-weight-regular);
    color: #000;
}

.section-dark {
    background-color: var(--bg-color-dark);
    color: #fff;
}

.section-light {
    background-color: var(--bg-color-light);
}

.section-call {
    background-color: var(--bg-color-call);
    color: #fff;
}
.has-pilates-call-color {
    color: var(--bg-color-call);
}
.has-pilates-white-color {
    color: #fff;
}
.has-pilates-black-color {
    color: #000;
}


h1, h2, h3, h4 {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

.no-hyphenation {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    white-space: nowrap;
}

b, strong {
    font-weight: var(--font-weight-bold);
}

a {
    text-decoration: none;
    -webkit-transition: color .2s, background-color .2s;
    transition: color .2s, background-color .2s
}

a:focus, a:active {
    outline: 0;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

h1, h2, h3 {
    font-family: 'PP Acma', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
}
h2 {
    font-size: 1.8rem;
    line-height: 1.2;
}
h3 {
    font-size: 1.3rem;
}
h4 {
    font-size: 1.3rem;
    font-weight: var(--font-weight-regular);
}

@media (min-width: 540px) {
    h1, h2 {
        font-size: 5rem;
    }
    h2 {
        font-size: 2.8rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    h4 {
        font-size: 1.3rem;
    }
}

.logo {
    --logo-w: 13rem;
    --logo-h: 3.7rem;
    width: var(--logo-w);
    height: var(--logo-h);
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url(assets/logo.svg);
    background-size: var(--logo-w) var(--logo-h);
}

nav.navbar {
    --bs-navbar-nav-link-padding-x: 1.5rem;
    --bs-nav-link-color: #fff;

    .navbar-toggler{
        width: 50px;
        height: 2.5rem;
        border: none;
        border-radius: 0;
        padding-top: 0.6rem;
        &:focus {
            box-shadow: none;
        }
        .line {
            width: 100%;
            float: left;
            height: 2px;
            background-color: #fff;
            margin-bottom: 5px;
        }
    }

    .offcanvas {
        color: #fff;
        background-color: #000;
        .offcanvas-header button {
            color: #fff;
            font-size: 1.6rem;
        }
        .offcanvas-footer {
            font-size: 1rem;
        }
        a.nav-link {
            color: #fff;
            font-size: 1rem;
            &:hover {
                color: #d3d3d3;
            }
        }
        &.show {
            ul.navbar-nav {
                a.nav-link {
                    text-align: center;
                    font-size: 1.8rem;
                }
            }
        }
    }
}
ul.navbar-nav {
    li {
        margin-bottom: 0;
    }
}

.container.change {
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 1.6rem;
        font-weight: 300;
    }
    h3 {
        font-weight: 600;
    }
}

.btn {
    &.btn-pilates, &.btn-pilates-call {
        display: block;
        font-size: .8rem;
        line-height: 1.65rem;
        color: #fff;
        border: 1px solid #fff;
        border-radius: 0;
        width: fit-content;
        min-width: 110px;
        @media (min-width: 540px) {
            width: 140px;
        }
    }
    &.btn-pilates-call {
        color: var(--bg-color-call);
        border-color: var(--bg-color-call);
    }
    &.w-100-mobile {
        width: 100%;
        @media (min-width: 992px) {
            width: 140px;
        }
    }
}

.my-6 {
    margin-top: var(--spacer-x6);
    margin-bottom: var(--spacer-x6);
}
.mb-6 {
    margin-bottom: var(--spacer-x6);
}
@media (min-width: 768px) {
    .mb-md-6 {
        margin-bottom: var(--spacer-x6) !important;
    }
}
.py-6 {
    padding-top: var(--spacer-x6);
    padding-bottom: var(--spacer-x6);
}
.pt-6 {
    padding-top: var(--spacer-x6);
}
.pb-6 {
    padding-bottom: var(--spacer-x6);
}

.container-fluid.footer {
    padding-bottom: 1.5rem;
    /*padding-top: 4rem;*/
    @media (min-width: 540px) {
        /*padding-top: 11rem;*/
    }
    .copyright {
        padding-top: 2.5rem;
        margin-bottom: 9rem;
        font-size: .8rem;
        p {
            align-self: flex-end;
        }
    }
    .navbar-nav {
        a {
            padding: .3rem 0rem;
        }
    }
}

.social-networks {
    z-index: 1000;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    @media (min-width: 540px) {
        gap: 2.2rem;
    }
}

a.social-icon {
    display: block;
    --social-icon-size: 1.6rem;
    width: var(--social-icon-size);
    height: var(--social-icon-size);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: var(--social-icon-size);
    &.facebook {
        background-size: 1.4rem;
        background-image: url("assets/facebook.svg");
    }
    &.instagram {
        background-image: url("assets/instagram.svg");
    }
    &.whatsapp {
        background-image: url("assets/whatsapp.svg");
    }
}

.content-section {
    .header {
        font-size: .9rem;
        padding-top: 3rem;
        margin-bottom: 4.5rem;
        p:first-of-type {
            margin-bottom: 0;
        }
    }
}

a[href^="tel"]{
    color:inherit;
    text-decoration:none;
}

ul.home-studio-list, ul.page-studio-list {
    list-style-type: none;
    padding-left: 0;
    font-family: 'PP Acma', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1.4;
    li {
        margin-bottom: 0;
    }
    a {
        color: #fff;
        &:hover {
            color: #d3d3d3;
        }
    }
}
@media (min-width: 540px) {
    ul.home-studio-list, ul.page-studio-list {
        font-size: 2.8rem;
    }
}
ul.page-studio-list {
    a {
        color: var(--bg-color-call);
        &:hover {
            color: #009303;
        }
    }
}

.wp-block-image.size-full.fill-bs-column {
    height: 100%;
    margin: 0;
    display: flex;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Image Antimations */

.wp-block-image.is-style-rounded figure, .wp-block-image.is-style-rounded img, figure.is-style-rounded {
    border-radius: 0;
}
@media (min-width: 768px) { /*Medium devices (tablets, 768px and up)*/
    .wp-block-image.is-style-rounded figure, .wp-block-image.is-style-rounded img, figure.is-style-rounded {
        border-radius: 50%;
    }
}
figure {
    overflow: hidden;
    img {
        transition: transform .5s ease;
    }
    &:hover img {
        transform: scale(1.02);
    }
}
/* Image Antimations */

ul {
    li {
        margin-bottom: 1.2rem;
    }
}
/* breaks out images on < md */
@media (max-width: 767.98px) {
    .fullwidth-breakout {
        position: relative;
        left: 50%;
        margin-left: -50dvw;
        height: auto;
        width: 100vw;
        box-sizing: border-box;
    }

    .fullwidth-breakout img {
        width: 100%;
        height: auto;
        display: block;
    }
}


