@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,700&family=Noto+Serif+Georgian&display=swap');

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*Slut CSS-reset*/


/*Combined*/

html, 
body, 
body > header {     /*https://stackoverflow.com/questions/74144034/why-is-the-css-height100vh-rule-exceeding-the-viewport-height-on-mobile-device*/
    min-height: 100vh; 
    margin: 0; 
    padding: 0; 
} 

html {
    scroll-behavior: smooth;
}

body {
    background: rgb(81,164,80);
    background: linear-gradient(90deg, rgba(81,164,80,1) 0%, rgba(240,228,156,1) 100%);
}

header,
footer {
    background-image: linear-gradient(rgb(224, 224, 224), rgb(224, 224, 224)), url(images/header.jpg);
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}


/*Header*/

header {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-height: 100vh;
}


header h1 {
    display: none;
}

header .logo {
    width: 18rem; 
    margin: auto auto 0;
    filter: brightness(140%);
    border-bottom: 3px solid white;
}

header ul {
    padding: 1em;
    width: 70%;
    margin: auto;
}

header li {
    text-align: center;
    margin: 3rem 0;
}

header li a {
    color: white;
    text-decoration: none;
    font-size: 2.5em;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 1);
    font-family: 'Cormorant Garamond', arial, helvetica, serif;
}

header li a:hover {
    border-bottom: solid white 3px;
    font-size: 3em;
    transition: .3s;
}

header .arrow {
    width: 5rem;
    margin: auto;
    display: block;
    transition: .4s ease;
    text-decoration: none;
    padding: 3rem 0 5rem;
}

header .arrow:hover{
    width: 6rem;
    text-decoration: none;
    transition: .5s;
}


/*Main*/

main h2 {
    text-align: center;
    font-size: 3em;
    font-weight: bold;
    margin: .8em auto .4em;
    font-family: 'Cormorant Garamond', arial, helvetica, serif;
}

main p {
    font-size: 1rem;
    margin-top: 1.2em;
    line-height: 2rem;
    font-family: Georgia, 'Times New Roman', Times, serif
}

main .textBox {
    margin: 3em auto;
    background: linear-gradient(0deg, rgba(255,255,220,1) 0%, white 100%);
    padding: 2em;
    border: solid black 0.1em;
    border-radius: 2em;
    padding-top: 3em;
}

main .img, 
.mapBox {
    width: 16em;
    height: 16em;
    object-fit: cover;
    border-radius: 50%;
    border: solid .1em black;
    display: flex;
    margin: 3em auto -7em;
    overflow: hidden;
}

main a {
    color: black;
}

main a:hover {
    color: rgb(81,164,80);
    transition: .3s;
}

.socialS, .socialN {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.socialS {
    flex-direction: row;
}

.socialN {
    flex-direction: row-reverse;
}

.socialMedia {
    display: flex;
    flex-direction: row; 
    justify-content: flex-end;
    align-items: end;
    z-index: 0;
    
}

.socialMedia img{
    border-radius: 0;
    width: 3em;
    height: 3em;
    margin: 1.5em .5em 0;
    border: none;
}


a[target="_blank"]:after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
    margin: 0 3px 0 5px; 
}




/*Footer*/

footer {
    color: white;
    padding: 2em;
    text-align: center;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
}

#kontakt {
    width: 65%;
    margin: 0 auto;
    padding: 2em;
}

footer h4 {
    font-size: 3em;
    margin-bottom: 1em;
    font-family: 'Cormorant Garamond', arial, helvetica, serif;
}

footer p {
    font-size: 1.3em;
    margin-bottom: 1em;
    margin-top: 1em;
    font-family: 'Noto Serif Georgian', arial, helvetica, sans-serif;
}

footer a {
    color: white;
    font-size: 1.3em;
    font-family: 'Noto Serif Georgian', arial, helvetica, sans-serif;
}

footer a:hover {
    color: rgb(81,164,80);
    transition: .3s;
}

footer a[target="_blank"]:after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
    margin: 0 3px 0 5px; 
}

/*POPUP*/

button {
    font-size: inherit;
    font-family: Georgia, 'Times New Roman', Times, serif;
    border: none;
    background-color: transparent;
    text-decoration: underline;
    padding: 0;
}

button:hover {
    color: rgb(81,164,80);
    transition: .3s;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.popup-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.popup-content {
  background: white;
  padding: 6rem 0 1rem;
  border-radius: 8px;
  width: 60%;
  text-align: center;
  margin: auto;
}

.close {
  cursor: pointer;
  float: right;
  font-size: 2rem;
  color: red;
  margin: -2em .2em 0;
}

.popup-content h4 {
    font-size: 3em;
    margin-bottom: 1em;
    font-family: 'Cormorant Garamond', arial, helvetica, serif;
}

.popup-content p {
    font-size: 1.3em;
    margin-bottom: 1em;
    margin-top: 1em;
    font-family: 'Noto Serif Georgian', arial, helvetica, sans-serif;    
}

#contactPopup .img {
    width: 16em;
    height: 16em;
    object-fit: contain;
    border-radius: 50%;
    border: solid .1em black;
    margin: 3em auto -4em;
    overflow: hidden;
    background-color: rgb(53, 129, 52);
    z-index: 1;
}


/*Tablet*/

@media (min-width: 760px){

    /*Combined*/


    /*Header*/

    header .logo {
        width: 20rem;
    }

    header li a {
        font-size: 3em;
    }

    header li a:hover {
        font-size: 3.5em;
    }

    header .arrow {
        width: 6rem;
    }

    header .arrow:hover {
        width: 7rem;
    }

    /*Main*/

    main .img, 
    .mapBox {
        width: 25em;
        height: 25em;
        margin-bottom: -10em;
        box-shadow: 5px 5px 20px black;
    }

    main .textBox {
        padding-top: 7em;
        width: 80%;
        box-shadow: 5px 5px 20px black;
    }

    main h2 {
        font-size: 4em;
    }

    main p {
        font-size: 1.3rem;
    }

    /*Footer*/

    #kontakt {
        width: 40%;
    }

    .footerMap {
        width: 80%;
    }

    footer h4 {
        font-size: 4em;
        margin-bottom: 0.1;
    }

    footer p {
        font-size: 1.7em;
    }

    footer a {
        font-size: 1.7em;
    }


    /*POPUP*/

    #contactPopup .imgBox {
        width: 20em;
        height: 20em;
        margin-bottom: -8em;
        box-shadow: 5px 5px 20px black;
    }

    .popup-content {
        background: white;
        padding: 10rem 0 1rem;
        border-radius: 8px;
        width: 60%;
        text-align: center;
    }
    
    .close {
        margin: -5em .2em 0;
    }
}


/*Desktop*/

@media (min-width: 1024px){

    /*Combined*/

    header,
    footer {
        background-attachment: fixed;
    }

    
    /*Header*/

    header ul {
        width: auto;
        
    }

    header .logo {
        width: 30rem;
    }

    header li {
        margin: 2em 0;
    }

    header .arrow {
        width: 6rem;
    }

    header .arrow:hover {
        width: 7rem;
    }

    /*Main*/

    /*General*/

    main h2 {
        margin-top: 0;
    }
    
    main .textBox {
        width: 60%;
        padding: 2em;
        align-items: center;
    }

    main .img, .mapBox {
        width: 28em;
        height: 28em;
    }

    main p {
        font-size: 1.4em;
    }

    .kontaktN, .kontaktS {
        width: 110%;
    }

    .kontaktN {
        margin-left: -10%;
    }

    .socialMedia {
        margin: 1.5em 0 0;
    }

    .socialMedia img {
        width: 4em;
        height: 4em;
    }


    /*img right*/

    main #coachning,
    main #healing {
        display: flex;
        flex-direction: row-reverse;
    }

    #coachning .textBox,
    #healing .textBox {
        padding-right: 13em;
        
    }

    #coachning .imgBox,
    #healing .imgBox {
        margin: auto auto auto -12em;
        display: flex;
        justify-content: space-around;
        flex-shrink: 0;
    }

    /*img left*/

    main #mindfulness,
    main #samtalsgrupper {
        display: flex;
    }

    #mindfulness .textBox,
    #samtalsgrupper .textBox {
        padding-left: 13em;
    }

    #mindfulness .imgBox,
    #samtalsgrupper .imgBox {
        margin: auto -12em auto auto;
        z-index: .5;
        display: flex;
        justify-content: space-around;
        flex-shrink: 0;
    }

    /*FOOTER*/

    footer {
        flex-direction: row;
        justify-content: center;
    }

    #kontakt {
        width: 40%;
    }

    .footerMap {
        width: 40%;
        height: 25rem;
    }

    /*POPUP*/

    .popup {
        flex-direction: row;
    }

    .popup-container {
        width: 70%;
        flex-direction: row;
    }

    #contactPopup .imgBox {
        margin: auto -12em auto auto;
        justify-content: space-around;
        flex-shrink: 0;
    }

    #contactPopup .img {

        z-index: 0;
    }

    .popup-content {
        background: white;
        padding: 1rem 0;
        border-radius: 8px;
        width: 60%;
        text-align: right;
        margin-right: 20%;
    }

    .popup-content h4,
    .popup-content p {
        margin-right: 15%;
    }
    
    .close {
        margin: -1rem .3rem;
    }

    /*BOB-ON-HOVER*/

@-webkit-keyframes bob-on-hover {
    0% {
      -webkit-transform: translateY(-8px);
      transform: translateY(-8px);
    }
    50% {
      -webkit-transform: translateY(-4px);
      transform: translateY(-4px);
    }
    100% {
      -webkit-transform: translateY(-8px);
      transform: translateY(-8px);
    }
  }
  @keyframes bob-on-hover {
    0% {
      -webkit-transform: translateY(-8px);
      transform: translateY(-8px);
    }
    50% {
      -webkit-transform: translateY(-4px);
      transform: translateY(-4px);
    }
    100% {
      -webkit-transform: translateY(-8px);
      transform: translateY(-8px);
    }
  }
  @-webkit-keyframes bob-on-hover-float {
    100% {
      -webkit-transform: translateY(-8px);
      transform: translateY(-8px);
    }
  }
  @keyframes bob-on-hover-float {
    100% {
      -webkit-transform: translateY(-8px);
      transform: translateY(-8px);
    }
  }
  .bob-on-hover {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  }
  .bob-on-hover:hover, .bob-on-hover:focus, .bob-on-hover:active {
    -webkit-animation-name: bob-on-hover-float, bob-on-hover;
    animation-name: bob-on-hover-float, bob-on-hover;
    -webkit-animation-duration: .3s, 1.5s;
    animation-duration: .3s, 1.5s;
    -webkit-animation-delay: 0s, .3s;
    animation-delay: 0s, .3s;
    -webkit-animation-timing-function: ease-out, ease-in-out;
    animation-timing-function: ease-out, ease-in-out;
    -webkit-animation-iteration-count: 1, infinite;
    animation-iteration-count: 1, infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-direction: normal, alternate;
    animation-direction: normal, alternate;
  }

}

