/*
Theme Name: Rogowski
Author: Tobias Klobuschinski
Author URI: https://www.klobuli.com
Description: Claudia Rogowski - ACC akkreditierte christliche Beraterin gem. DGfB-Standards
Version: 1.0
Text Domain: rogowski
*/

@import url('assets/css/fonts.css');

/* General settings */
html {
    font-size: 1rem;
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background-color: #f7f7f7;
    font-family: 'Open Sans', sans-serif;
    color: #2E294E;
}

*::selection {
    background-color: #A48DB1;
    color: white;
}

*::-moz-selection {
    background-color: #A48DB1;
    color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    color: #0F110C;
    line-height: 142%;
}

h2 {
    position: relative;
    margin: 3rem 0;
    text-align: center;
    font-size: 1.6rem;
}

h2::after, .home h1::after {
    content: '';
    position: absolute;
    width: 2rem;
    height: .3rem;
    background: linear-gradient(to top right, #A48DB1, #A48DB1);
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.5rem;
    border-radius: 1rem;
}

.testimonials h2 {
    margin-bottom: 1.5rem;
}

.testimonials h2::after {
    background: none;
}

h3 {
    font-size: 1.3rem;
}

.news h2::after {
    background: linear-gradient(to top right, #A48DB1, #A48DB1);
}

h3 {
    font-size: 1.3rem;
}

#wrapper {
    overflow-x: hidden;
    background-color: #fff;
}

@media (min-width: 80rem) {
    #wrapper {
        width: 90%;
        max-width: 80rem;
        margin: 0 auto;
        box-shadow: 10px 0 10px -5px rgba(0,0,0,0.09), -10px 0 10px -5px rgba(0,0,0,0.09);
    }
}


.main {
    margin: 0 auto;
    padding: 1rem 1rem 3rem;
    background-color: #fff;
}

@media (min-width: 45rem) {
    .main {
        padding: 1rem 8% 3rem;
    }
}

@media (min-width: 55rem) {
    .main {
        padding: 1rem 1rem 3rem;
        width: 80%;
        max-width: 47rem;
    }
}


.home .main {
    padding-top: 0rem;
}

.page .main h1 {
    display: flex;
    align-items: center;
    margin: 0 0 2rem;
    height: 4.5rem;
    padding: 0 0 0 1.5rem;
    background-image: url('./assets/img/heading-bg.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    color: #fff;
    font-size: 1.7rem;
}

@media (min-width: 28.125rem) {
    .page .main h1 {
        background-size: 100% 75%;
        height: 7.5rem;
    }
}

.home .main h1 {
    position: relative;
    font-size: 1.6rem;
    margin: 3rem 0;
    text-align: center;
}

.main p {
    line-height: 148%;
    font-size: 1.1rem;
}

.main ul {
    margin: 2rem 0;
    font-size: 1.1rem;
    line-height: 148%;
    list-style-type: none;
}

.main ul li {
    position: relative;
    margin: .8rem 0;
}

.main ul li::before {
    display: block;
    content: '';
    width: 1rem;
    height: 1rem;
    position: absolute;
    left: -1.5rem;
    top: .3rem;
    background-image: url('./assets/img/bullet-point.png');
    background-size: 100% auto;
}

.main a:link, main a:visited {
    color: inherit;
    text-decoration: underline;
}

.main a:hover {
    text-decoration: none;
}

.main blockquote p {
    font-size: 1.3rem;
}

/* CTA button */

.cta-container {
    text-align: center;
}

.main .cta-btn:link, .main .cta-btn:visited {
    display: inline-block;
    margin: 2rem auto 3rem;
    padding: .7rem 1rem;
    color: #809BCE;
    font-weight: 600;
    background: none;
    border: 2px solid #809BCE;
    transition: .3s ease-out;
    text-decoration: none;
}

.main .cta-btn:hover, .main .cta-btn:focus {
    background-color: #809BCE;
    color: #fff;
}

/* Misc */

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fcf9f4;
    z-index: 999999999;
}

.loader-container--loaded {
    opacity: 0;
    transition: 400ms linear;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid #95B8D1;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }

  .loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border-bottom: 4px solid #A48DB1;
    border-left: 4px solid transparent;
  }
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  } 

  /* Cookie Banner */

.cookie-notice-container {
    background-color: #6b82ac;
}

#cn-accept-cookie {
    background-color: #A48DB1 !important;
}

  #cn-more-info {
    background-color: transparent !important;
    color: rgb(200, 200, 200) !important;
  }