* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
/* @font-face {
  font-family: MyHelvetica;
  src: local("Helvetica Neue"),
  local("HelveticaNeue"),
  url(MgOpenModerna.ttf);
  font-weight: normal;
} */

/* BODY SETTINGS */
body{
    margin: 0;
    padding: 0;
    font-family: Helvetica, Verdana, sans-serif;
    font-size: 20px;
    line-height: 1.5em; /*line height beetje ophogen, leest beter */
    letter-spacing: -0.01em; /*ietsiepietsie afspatieëren */
    color: #333;
    background: #eee;
}
a{
    color: #333;
}
a:hover, a:focus{
    color: white;
    background: black;
}
h3:target{
    background: #46e2ff;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 2em;
    margin-top: 2em;
}
h1{
    font-size: 2em;
    line-height: 0.9em; /*line-height in header strak zetten */
    letter-spacing: -0.04em; /*titels iets meer afspatieëren = lekker */
    margin: 0.4em 0 0 0;
    padding: 0;
}
h2{
    font-size: 1.6em;
    line-height: 1.1em;
    letter-spacing: -0.01em;
}
h3{
    /* font-size: 1.4em; */
}
ul{
    margin: 0;
    padding-left: 1em;
}
ul li{

}


/* MAIN */

main{
    padding: 0.6em 0;
    margin: 0 auto;
    background: url("../img/emmy_tessel_psychiater_640.jpg") #eee no-repeat center top;
    /* max-width: 640px; */
    max-width: 50em;
    /* min-height: 700px; */
    overflow: hidden;
}
main section{
    margin: 1em;
    padding: 1em;
    max-width: 22.5em;
    border-radius: 0.5em;
    background: rgba(255,255,255,0.95);
}

main section header{
    position: relative;

}
main section header h2{
    max-width: 10em;
    margin-top: 2em;
}
p.circle{
    position: absolute;
    top: 1em;
    right: -1.5em;
    background: #46e2ff;
    border-radius: 50%;
    width: 6em;
    height: 6em;
    font-size: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* align-content: space-around; */
    font-weight:bold;
}
p.circle span{
    /* border: 1px solid black; */
    font-size: 1.1em;
}

main section ul{
  list-style-type: circle;
}
main section#contact{
    background-color: #46e2ff;
}
main section#contact h2{
    margin-bottom: 0.4em;
    margin-top: 0.4em;
}
/* ERROR melding */
main section#contact em{
    display: none;
    padding: 0em;
    font-weight: normal;
    line-height: 1.1em;
    letter-spacing: 0.05em;
    font-size: 1em;
    color: #fff;
    }

main section#contact ul{
      margin: 0.4em 0;
      padding: 0em;
      list-style: none;
    }
main section#contact ul li:nth-of-type(3){
    margin-bottom: 1em;
    }
/* FOOTER */
footer{
    color: #444;
    margin: 0 auto;
    background: #eee;
    padding-top: 2rem;
    padding-bottom: 6em;
    max-width: 640px;
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-between;
    align-items: flex-start;
    font-size: 1rem;
}
footer header{
    margin: 0 1rem;
    padding: 0.6rem;
    width: 100%;
}
footer header h2{
    margin-bottom: 0em;
}
footer section {
    margin: 0;
    padding: 0 1.6rem;
    max-width: 30em;
}
footer section h3{
    margin-top: 0;
    /* padding-top: 3rem; */
    height: 5rem;
    display: flex;
    align-items:flex-end;
}
footer section ul{
    margin-top:-0.8em;
    margin-bottom: 1em;
}
footer section li{
  list-style-type: circle;
  margin: 0;
  padding: 0;
}
footer section h4{
    font-size: 1.3rem;
}
footer section h4+p{
  margin-top: -1em;
}
footer section h4+ul li{
  list-style-type:disc;
}


/* RESPONSIVE */
@media all and (min-width: 22rem) {
    main section header h1{
      line-height: 1em;
    }
    main section header h2{
        margin-top: 3em;
    }
    p.circle{
        top: 1em;
        right: -1em;
        font-size: 1.4em;
        line-height: 1.2em;
    }
    footer{
      font-size: 1.1em;
    }
}

@media all and (min-width: 50em) {
    main{
        background-image: url("../img/emmy_tessel_psychiater_800.jpg");
        max-width: 800px;
        min-height: 800px;
    }
    main section header h2{
        max-width: none;
        margin-top: 2em;
    }
    p.circle{
      top: -2em;
      right: -5em;
    }
    main section{
      margin: 2em;
    }
    footer{
      max-width: 800px;
    }
    footer section{
       width: 50%;
    }
}


@media all and (min-width: 65em) {
    main{
        background-image: url("../img/emmy_tessel_psychiater_1024.jpg");
        max-width: 1024px;
        min-height: 900px;
    }
    footer{
        max-width: 1024px;
    }
    footer section{
        width: 33%;
    }
}
