@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:wght@400;700&display=swap');


/* The navigation bar */
.navbar {
  overflow: hidden;
  background-color: #333;
  position: fixed; /* Set the navbar to fixed position */
  top: 0; /* Position the navbar at the top of the page */
  width: 100%; /* Full width */
  height: 50px;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
}

/* Change background on mouse-over */
.navbar a:hover {
    float: left;
    display: block;
    text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  background: #dddddd;
  color: black;
  font-size: 16px;
}

.navbar_rescru {
    float: right;
    margin-right: 24px;
    margin-top: 7px;
    width: 200px;
    height: 50px;
}

.navbar_rescru_image {
    width: 150px;
    height: 35px;
    background-image: url('../images/navbar_rescru.png');
}

.navbar_crsrd {
    float: right;
    margin-right: -360px;
    margin-top: 7px;
    width: 200px;
    height: 50px;
}

.navbar_crsrd_image {
    width: 50px;
    height: 35px;
    background-image: url('../images/navbar_crsrd.png');
}

/* Main content */
.main {
  margin-top: 30px; /* Add a top margin to avoid content overlay */
}


:root{
--color: #333; 
}

body {
  font-family: 'Red Hat Text', sans-serif;
  background-color: #333;
}

.container {
  text-align: center;
  color: var(--color);
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url('../images/mountain_head.jpg');
  background-size: cover;
  background-position: center;
  
/*  this is where the magic happens:  */
  background-attachment: fixed;
}

.welcome_rd {
    width: 900px;
    height: 200px;
    opacity: 75%;
    background-image: url('../images/welcome_image_riegerdigital.png');
}

h1 {
  font-weight: 1000;
  font-size: 3rem;
}

p {
  max-width: 52ch;
  line-height: 1.5;
  padding: 1em;
}

a {
  display: inline-block;
  padding: 1em 3.5em;
  background-color: var(--color);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 0.3em;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: .875rem;
}

a:hover {
display: inline-block;
  padding: 1em 3.5em;
  background-color: #4A4A4A;
  color: #01A8F0;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 0.3em;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: .875rem;
}

.blank,
.other {
  width: 100%;
  min-height: 60vh;
  background-color: var(--color);
}

.second {
  background-image:url('../images/cards_front_page.jpg');
  background-attachment: fixed;
  height: 1200px;
}

h3 {
  font-weight: 700;
  font-size: 1.6rem;
  margin-top: 1em;
}

.card > a {
  margin-bottom: 2em;
}

.item {
  display: flex;
  max-width: 320px;
  background-color: white;;
  flex-direction: column;
  align-items: center;
  border-radius: .5em;
  -webkit-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
  -moz-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
  box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
}

.item_footer {
  display: flex;
  width: 1300px;
  height: 300px;
  background-color: white;;
  flex-direction: column;
  align-items: center;
  border-radius: .5em;
  -webkit-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
  -moz-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
  box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
}

.item_imprint {
  display: flex;
  width: 1300px;
  height: 2500px;
  background-color: white;;
  flex-direction: column;
  align-items: center;
  border-radius: .5em;
  -webkit-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
  -moz-box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
  box-shadow: 0px 29px 38px -15px rgba(0,0,0,0.43);
}

.img {
  width: 90%;
  height: 200px;
  background-color: lightgrey;
  background-size: cover;
  background-position: center;
  margin-top: 20px;
  border-radius: .3em;;
}

.img-first {
  width: 300px; height: 300px; object-fit: scale-down;
  background-image: url('../images/rescru_card.jpg');
}

.img-second {
  width: 300px; height: 300px; object-fit: scale-down;
  background-image: url('../images/wyk-podcast.jpg');
}

.img-third {
  width: 300px; height: 300px; object-fit: scale-down;
  background-image: url('../images/crsrd_card.jpg');
}

.second {
  flex-direction: row;
  gap: 1.6em;
}


.third {
  background-image:url('../images/cards_front_page.jpg');
  background-attachment: fixed;
  height: 1200px;
}

.footer_imprint {
    width: 300px;
    height: 150px;
    float: left;
    margin-top: 15px;
    margin-left: -1040px;
}