@font-face {
font-family: roboto-condensed-light;
src: url("/fonts/RobotoCondensed-Light.ttf");
}

@font-face {
font-family: roboto-condensed-med;
src: url("/fonts/RobotoCondensed-Medium.ttf");
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: sans-serif;
  background: #f2f2f2;
}

body {
  display: flex;
  flex-direction: column;
}

header, footer {
  text-align: center;
  position: relative;
}

.adress {
padding: 60px 0px 60px 0px;
}

h2 {
font-family: roboto-condensed-light;
font-size: 1.5rem;
position: absolute;
bottom: 0;
background: #0000004d;
padding: 20px 20px 20px 20px;
color: #fff;
width: 100%;
text-align: center;
}

p {
color:#797979;
font-family: roboto-condensed-light;
}

b {
font-family: roboto-condensed-med;
}

.convar {
position: relative;
z-index: 3;
width: 1250px;
}

.left-bg {
  background: url(/img/convar-left.png);
  background-repeat: repeat-x;
  position: absolute;
  width: 50%;
  height: 100%;
  z-index: 2;
}



.right-bg {
background: url(/img/convar-right.png);
background-repeat: repeat-x;
position: absolute;
left: 50%;
width: 50%;
height: 100%;
z-index: 1;
top: 0px;
}


.footer-left-bg {
  background: url(/img/convar-footer-left.png);
  background-repeat: repeat-x;
  position: absolute;
  width: 50%;
  height: 100%;
  z-index: 2;
}

    .middle-bg {
    background: url(/img/convar-footer.png);
position: relative;
z-index: 4;
width: 1250px;
margin: auto;
}


.footer-right-bg {
background: url(/img/convar-footer-right.png);
background-repeat: repeat-x;
position: absolute;
left: 50%;
width: 50%;
height: 100%;
z-index: 1;
top: 0px;
}

main {
  flex: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: 100%;
}

.section {
  flex: 1 0 50%;
  min-width: 300px;
  min-height: 300px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#die-datenretter {
  background: url(/img/convar-server-farm-sun-down.jpg);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease, filter 0.3s ease;
}

  #die-datenretter:hover {
  filter: brightness(1.3); /* leichte Aufhellung */
}

.logo-position {
  position: absolute;
  top: 20%;
}

  #convar-foods {
  background: url(/img/convar-outdoor-cooking.jpg);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease, filter 0.3s ease;
}

  #convar-foods:hover {
  filter: brightness(1.3); /* leichte Aufhellung */
}

.kontakt {
cursor: pointer;
}

.impressum {
cursor: pointer;
}


.kontakt-info {
display: none;
padding: 15px;
position: relative;
z-index: 8;
}

.impressum-info {
display: none;
padding: 15px;
position: relative;
z-index: 8;
}

#footer-annex {
font-family: roboto-condensed-light;
background: #c3c3c3;
width: 100%;
color: #797979;
text-align: center;
padding: 10px;
}

.kontakt-container {
display: flex;
flex-wrap: wrap;
gap: 20px; /* optionaler Abstand zwischen den Spalten */
}

.column {
flex: 1 1 45%; /* flexible Breite, Minimum ca. 45% */
min-width: 250px; /* unter dieser Breite werden die Spalten untereinander gesetzt */
box-sizing: border-box;
}

.right {
text-align: right;
margin-right: 20px;
}

.left {
text-align: left;
margin-left: 20px;
}


  @media (max-width: 1250px) {
.convar {
  width: 100%;
  height: 100%;
}

.middle-bg {
width: 100%;
}

}

@media (max-width: 768px) {
  main {
    flex-direction: column;
  }

  .section {
    flex: 1 0 auto;
    width: 100%;
    margin-top: 20px;
  }

  .adress {
  padding: 20px 0px 20px 0px;
}

  .logo-position {
  width: 60%;
  top: 10%;
  }

  .middle-bg {
  background: #ccc;
}

  .column {
flex: 1 1 100%;
}

.right {
text-align: center;
margin-left: 0px;
}

.left {
text-align: center;
margin-left: 0px;
padding-top: 0px;
}
}
