/* css style */

/* :root {
  --lightColor0: #f7fbfb;
  --lightColor1: #e4e9eb;
  --lightColor2: #cfd2d7;

  --darkColor1: #2c4157;
  --darkColor2: #3f658d;
  --darkColor3: #72869d;
} */

body {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  min-height: 100%;
  width: 100vw;
  max-width: 100%;
  color: #2c4157;
}

div {
  text-align: center;
  text-align: justify;
  text-align: left;
  box-sizing: border-box;
}

p {
  padding: 20px;
  margin-top: 0;
}

h1 {
  font-size: 3.5em;
  color: #2c4157;
  font-weight: 300;
}

h1 a {
  color: #3f658d;
}

h2 {
  font-size: 2em;
  padding-left: 20px;
  padding-right: 10px;
  margin-bottom: 0;
  font-weight: 300;
}

#header h2 {
  margin-top: -20px;
  color: #cfd2d7;
  font-size: 2em;
  font-weight: 300;
  padding: 50px 20px 10px 10px;
}

h3 {
  padding-left: 20px;
  padding-right: 10px;
  margin-bottom: 0;
  margin-top: 2em;
  font-weight: 300;
}

#container {
  background-color: #f7fbfb;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

#header {
  width: 100%;
  height: 240px;
  /* background-image: url(bilder/IMG_4415_neu1_sw.jpg); */
  background-image: url(bilder/IMG_1512_2.jpg);
  background-position: top;
  background-position: bottom;
  background-size: cover;
  /* position: fixed; */
  padding-left: 5px;
  padding-top: 5px;
}

.main-content {
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding-bottom: 80.167px;
  padding-bottom: 60.167px;
  /* padding-bottom: 119.167px; */
}

body#kontakt .main-content {
  max-width: 800px;
  margin: 0 auto;
}

button {
  position: fixed;
  top: 20px;
  right: 10px;
  height: 35px;
  width: 50px;
  background: transparent;
  border: none;
  z-index: 900;
}

button div {
  width: 30px;
  height: 5px;
  background-color: #e4e9eb;
  margin: 5px 0;
  border: none;
  border-radius: 5px;
  z-index: 200;
}

#menu {
  background-color: #2c4157;
  margin: 0 auto;
  padding: 10px 20px;
  width: 100%;
  /* height: 84.1667; */
  /* display: none; */
  z-index: 200;
}

a {
  text-decoration: none;
  color: #2c4157;
  color: #cfd2d7;
  margin-right: 15px;
  display: block;
}

#menu a {
  padding: 5px;
  /* width: min-content; */
}
#main a,
#right a {
  color: #3f658d;
  text-decoration: underline;
}
#main a:hover,
#right a:hover {
  color: #72869d;

  /* background-color: #f7fbfb; */
  padding: 5px;
  margin: -5px;
}

#menu a:hover:not(.active),
#footer a:hover:not(.active) {
  /* background-color: #cfd2d7; */
  color: #3f658d;
  color: #72869d;
  padding: 5px;
}

#main {
  overflow: hidden;
  /* padding-top: 5px; */
  width: 100%;
  min-height: 100%;
  background-color: #e4e9eb;
}

body#home #main div {
  height: 400px;
  height: 600px;
}

body#home #right {
  text-align: center;
  padding-top: 100px;
}
body#home #right a {
  margin: 0px;
  padding: 0px;
}
body#home #right h3 {
  padding: 0px;
}

img#liebesbriefe {
  margin: 0 auto;
  float: none;
}

div#home-img {
  width: 100%;
  float: left;
  
  background-image: url(bilder/IMG_9390_Kopie1.jpg);

  background-image: url(bilder/IMG_0225_2sw2.jpg);
  background-image: url(bilder/steintuermli_sw_02x.jpg);

  /* opacity: 0.93; */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-position: top;
}

p#home-paragraph {
  background-color: rgba(207, 210, 215, 0.5);
  width: 100%;
  height: 100%;
  margin-top: -120px;
  padding: 330px 30px 10px 20px;
  /* margin-top: 15px; */
  /* display: none; */
  line-height: 1.5;
  font-size: 18px;
  color: #e4e9eb;
  color: #2c4157;
  float: right;
  text-align: right;
}

h2#home_home {
  color: #cfd2d7;
  color: #2c4157;
  margin-top: 30px;

  /* text-align: right; */
}

h2#home_angebot {
  border-bottom: 1px solid #f7fbfb;
}
#right h2 {
  border-bottom: 1px solid #f7fbfb;
}
h2#home_arbeitsproben {
  border-bottom: 1px solid #f7fbfb;
  /* padding-top: 30px; */
}

/* body#arbeitsproben h2#home_arbeitsproben {
  margin-top: 0;
} */

body#angebot #right div a#link {
  /* background-color: blueviolet; */
  /* display: inline-block; */
  height: 200px;
}

/* hover on screenshot (arbeitsprobe) invisible!*/
body#angebot #right div a#link:hover {
  /* background-color: #cfd2d7; */
  color: #3f658d;
}

.div_box {
  padding: 5px;
  /* margin: 20px; */
  background-color: #e4e9eb;
  overflow: hidden;
}

#screenshot {
  width: 100%;
  margin-top: -20px;

  /* padding-bottom: 210px; */
}

body#angebot #right {
  padding-bottom: 100px;
}

#right p {
  padding-bottom: 20px;
  margin: 0;
}

#right {
  padding-top: 0px;
  padding-bottom: 80px;
  width: 100%;
  height: 100%;
  /*background-color: #cfd2d7;*/

  text-align: left;
  /* margin-bottom: 100px; */
  overflow: hidden;
}

img {
  width: 100%;
  max-width: 300px;
  padding: 20px 20px 40px 20px;
  box-sizing: border-box;
  /* float: left; */
}

body#kontakt #right {
  width: 100%;
  background-color: #e4e9eb;
  min-height: 100%;
}

#right a#mailbutton {
  background-color: #cfd2d7;
  color: #2c4157;
  padding: 20px;
  margin: 20px;
  /* width: max-content; */
  border-radius: 25px;
  display: inline-block;
}

#right a#mailbutton:hover {
  background-color: #f7fbfb;
}

body#arbeitsproben #screenshot {
  padding-bottom: 150px;
  /* max-width: 500px; */

  margin-bottom: 10px;
}

/* body#angebot #screenshot {
  padding-bottom: 0;
} */

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #2c4157;
  float: left;
  text-align: center;
  padding: 40px 0px;
}

#footer p {
  font-size: 0.8em;
  padding: 0;
  margin-bottom: 5px;
  color: #cfd2d7;
}

#footer a {
  display: inline-block;
  padding: 5px;
  margin-right: auto;
  margin-left: auto;
  font-size: 0.9em;
  /* width: max-content; */
}

#footer a#backtotop {
  background-color: #cfd2d7;
  color: #2c4157;
  /* width: max-content; */
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 10px;
}

#footer a#backtotop:hover {
  background-color: #f7fbfb;
  color: #2c4157;
}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0px;
  width: 100%;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */

.sticky + .main-content {
  /* padding-top: 116.667px; */
  padding-top: 140.667px;
  padding-top: 110.5px;
}

@media screen and (min-width: 500px) {
  #header {
    background-position: center;
    padding-left: 15px;
    padding-right: 15px;
    height: 240px;
  }
  h1 {
    font-size: 4em;
    /* line-height: 0.5; */
  }

  h2 {
    font-size: 2em;
  }
  #header h2 {
    margin-top: 0px;
    text-align: right;
    line-height: 0.2em;
    padding-top: 0px;
  }

  a {
    display: inline;
  }

  .main-content {
    margin-top: 0px;
    /* background-color: deeppink; */
  }

  /* #right {
    margin-bottom: 40px;
  } */

  img {
    width: 50%;
    float: left;
    margin-bottom: 10px;
  }

  /* p#home-paragraph {
  
    float: none;
    
    text-align: left;
    padding: 60px 10px;
  } */

  body#kontakt #right div {
    float: left;
    margin: 0 auto;
    width: 50%;
  }

  body#impressum #main {
    padding-right: 50px;
  }

  body#kontakt img,
  body#arbeitsproben img,
  body#angebot img {
    width: 100%;
    padding-top: 40px;
    margin-bottom: 10px;
  }

  body#arbeitsproben #right div,
  body#angebot #right div {
    float: left;
    margin: 0 auto;
    /* width: 50%; */
  }

  #menu {
    padding: 30px 20px;
    display: inline-block;
    z-index: 200;
  }

  .active {
    color: #e4e9eb;
  }
  .sticky#menu {
    padding: 30px 6px 30px 20px;

    /* background-color: firebrick; */
    height: 80.1667px;
  }

  .sticky + .main-content {
    padding-top: 80.167px;
  }
}
@media screen and (min-width: 800px) {
  #container {
    height: 100%;
  }
  #header {
    height: 240px;
  }
  #header h1 {
    margin: 0px;
    font-size: 5em;
  }

  #header h2 {
    font-size: 3em;
    padding-top: 20px;
    color: #f7fbfb;
    margin-top: 35px;
    /* line-height: 0.2; */
  }

  /* #menu {
    width: 100%;
  } */

  button {
    display: none;
  }
  /* 
  #menu_contact {
    text-align: right;
    float: right;
    background-color: #cfd2d7;
    color: #2c4157;
    padding: 30px 20px 25px 20px;
    border-radius: 10px;
  }

  a#menu_contact:hover:not(.active) {
    color: #3f658d;
    background-color: #f7fbfb;
  } */

  a#menu_contact:hover:not(.active) {
    color: #3f658d;
    background-color: #cfd2d7;
  }
  .main-content {
    margin-top: 0px;
    height: 100%;
  }

  #main {
    width: 70%;
    height: 100%;
    float: left;
  }

  body#home #main div {
    /* background-color: deeppink; */
    height: 850px;
    text-align: left;
  }
  body#home #main {
    width: 100%;
  }

  body#angebot #main {
    margin: 50px auto;
    float: none;
    width: 70%;
    padding-top: 50px;
  }
  body#home #right {
    width: 100%;
    padding-top: 200px;
  }
  body#angebot #right {
    /* width: 100%; */
    width: 70%;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0px auto 150px auto;
  }
  body#angebot #right div.arbeitsproben {
    /* background-color: #f7fbfb; */
    width: 50%;
    float: left;
    /* margin: 20px;
    padding: 10px; */
  }

  #right {
    width: 30%;
    height: 100%;
    /* float: left; */
  }

  img {
    width: 100%;
    float: none;
  }

  body#arbeitsproben #right div,
  body#angebot #right div {
    float: none;
    width: 100%;
  }

  #screenshot {
    width: 50%;
    max-width: 500px;
  }

  body#impressum #right {
    height: 120vh;
  }
  p#home-paragraph {
    margin-top: -155px;
    padding-top: 150px;
    background-color: rgba(207, 210, 215, 0.25);
    width: 100%;
    color: #2c4157;
    /* margin-right: 20px; */
    float: right;
  }

  h2#home_home {
    color: #cfd2d7;
    color: #2c4157;
    margin-top: 30px;
    padding-right: 30px;
    text-align: right;

    /* margin-right: 20px; */

    text-align: left;
    margin-left: 10%;
    padding-top: 30px;
  }

  body#home #main div {
    text-align: right;
    /* text-align: left; */
  }
}

@media screen and (min-width: 1250px) {
  /* .main-content {
    margin-top: 0px;
  } */
  p#home-paragraph {
    /* width: min-content; */
    /* width: 30%; */
    float: right;
    /* margin-right: -10px; */
    text-align: right;
    /* margin-right: 20px; */
  }
}
