/*  Author:   Martin Stettler (https://www.dieweberei.ch/)
    Version:  05/04/2021 // based on Bootstrap v5.0.1
*/

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

/* Bootstrap CSS */
html {
    font-family: serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth; /* do not delete */
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    text-align: left;
    background-color: #FFF;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1,
h2, 
h3 {
    font-family: "Unna", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 36px;
    margin-bottom: 30px;
}

h3 {
    font-size: 28px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
img,
table {
    margin-bottom: 30px;
}

.unit p:last-child,
.unit > :last-child  {
    margin-bottom: 0;
}

b,
strong {
    font-weight: 600;
}

br {
    line-height: 1.5;
}

/* to avoid layout shift */
img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
}


:focus {
    outline: none;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.main ul {
    padding: 0;
}

.main li {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 5px;
}

.main li:before {
    position: relative;
    display: block;
    top: 0;
    left: -20px;
    height: 0;
    content: "–";
}

/* Lists */
.article-full ul,
.article-half ul {
    padding-left: 20px;
}

a {
    color: #000;
}
a:hover {
    color: #d9b545;
}
/* Phone */
a[href^="tel"]:hover {
    cursor: pointer !important;
}

/* Smooth animations */
a,
a:hover,
.navbar,
.navbar.shrink,
.navbar-brand,
.navbar-brand.shrink,
.navbar-brand span,
.navbar-brand.shrink span {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

/* Table */
table {
    width: 100%;
}

.articlee-wide table,
.article-slim table {
    table-layout: fixed;
}

table:last-child {
    margin-bottom: 0;
}

table>thead>tr,
table>tbody>tr {
    padding: 10px 0;
}

table>tbody>tr>td {
    width: auto;
    font-weight: 400;
    vertical-align: top;
    border-top: 0;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

table tr td {
    padding-left: 0;
    padding-right: 10px;
    padding: 2px 0;
}

table>tbody>tr>td:first-child {
    padding-right: 10px;
}

table>tbody>tr>td {
    width: auto;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.navbar-brand span {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: url(../img/logo-coiffure-julia.svg);
}

.title {
    font-family: serif;
    font-size: 32px;
    font-weight: lighter;
}
/* ==========================================================================
   NAVIGATION
   ========================================================================== */

/* Offcanvas menu
-------------------------------------------------- */
html,
body {
    overflow-x: hidden;
}

/* Prevent scroll on narrow devices */

body {
    padding-top: 70px;
}

@media (max-width: 991.98px) {
    .offcanvas-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 100%;
        /* left for collapse-left */
        right: -360px;
        /* left for collapse-left */
        width: 360px;
        border-left: 1px solid #000;
        padding-right: 0;
        padding-left: 20px;
        overflow-y: auto;
        visibility: hidden;
        background-color: #d9b545;
        transition-timing-function: ease-in-out;
        transition-duration: .3s;
        transition-property: right, visibility;
    }

    /* left for collapse-left */

    .offcanvas-collapse.open {
        right: 0;
        /* left for collapse-left */
        visibility: visible;
    }

    .navbar-nav {
        margin-top: 120px;
    }
}

.navbar {
    height: 120px;
}

.navbar.shrink {
    height: 0px;
    padding: 0;
}

.navbar.shrink .navbar-nav {
    transform: translateY(-50px);
}

/* Hamburger
-------------------------------------------------- */
/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
    z-index: 1080;
    padding: 0;
    /* 15px 15px */
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}

.hamburger:hover {
    opacity: 0.7;
}

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: 1px;
}

/* -2px */

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: #000;
    /* border-radius: 4px; */
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #000;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/* Spin */
.hamburger--spin .hamburger-inner {
    transition-duration: 0.22s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}

.hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin.is-active .hamburger-inner {
    transform: rotate(225deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}

.hamburger--spin.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Bootstrap CSS */

.navbar-brand {
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 16px;
    font-size: 20px;
    line-height: inherit;
    white-space: nowrap;
}

.logo {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.logo.scrolled {
    transform: translateY(-100%);
    opacity: 0;
}

.navbar-light .navbar-brand {
    color: rgba(0, 0, 0, 0.9);
}

.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:focus {
    color: rgba(0, 0, 0, 0.9);
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-family: "Unna", serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #FFF;
}

.navbar-light .navbar-nav .nav-link.disabled {
    color: rgba(0, 0, 0, 0.3);
}

.navbar-light .navbar-nav .show>.nav-link,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
    color: rgba(0, 0, 0, 0.9);
}

.navbar-toggler {
    margin-right: 15px;
    padding: 0;
    background:  transparent;
     border: none;
    border-radius: 0;
    -webkit-appearance: none; /* no background gradient on iOS */
        -moz-appearance: none;
}

.bg-light {
    background-color: #d9b545 !important;
}

a.bg-light:hover,
a.bg-light:focus,
button.bg-light:hover,
button.bg-light:focus {
    background-color: #dae0e5 !important;
}

.navbar-nav .nav-link {
    text-align: left;
    padding-right: 10px;
    padding-left: 10px;
}


[id] {
  scroll-margin-top: 30px;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.unit {
    padding: 50px 0;
}
.article-full {
    background: linear-gradient(to bottom, 
    #d9b545 0px,
    #d9b545 90px,
    #fff 90px, 
    #fff 100%);
}

.pt-10 {
    padding-top: 8rem;
}

@media (max-width: 575px) {
    .p-mobile {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background-color: #d9b545;
}

.icon-julia {
    width: 45px;
    height: auto;
}

.fn,
.org,
.street-address,
.country-name,
.tel,
.email {
    display: block;
}

#kontakt .tel {
    font-weight: 600;
}
.tel a:hover {
    cursor: pointer;
}
.tel a,
.email a {
    color: #000;
}
.tel a:hover,
.email a:hover {
    color: #d9b545;
}

.footer a {
    text-decoration: none;
}
.footer a:hover {
    color: #FFF;
}
/* ==========================================================================
   SELECTION
   ========================================================================== */

::-moz-selection {
    text-shadow: none;
    background: #333;
    color: #FFF;
}

::selection {
    text-shadow: none;
    background: #333;
    color: #FFF;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #333;
}

a[href^="tel"],
a[href^="sms"] {
    color: inherit;
    cursor: default;
    text-decoration: none;
}