@font-face {
  font-family: 'open-sans-light';
  src: url('../fonts/OpenSans-Light-webfont.woff') format('woff');
}

@font-face {
  font-family: 'open-sans-semibold';
  src: url('../fonts/OpenSans-Semibold-webfont.woff') format('woff');
}

:root {
  --brand: #007aa8;
  --brand-gradiant: rgb(63, 157, 192);

  --inno-bg-color: #005f70;
  --consult-bg-color: #74aebc;
  --cyber-bg-color: #c2d8de;

  --inno-text-color: #74aebc;
  /* Innovation text color */
  --consult-text-color: #005f70;
  /* Consulting text color */
  --cyber-text-color: #3b869e;
  /* Security text color */

  /* --text-color: #ffffff; */
  --text-color: #0e363c;
}

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

html {
  font-family: open-sans-light, Verdana, Tahoma, Geneva, Helvetica, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  scroll-padding-top: 100px;
  /* height of sticky header */
}

body {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "header"
    "main"
    "footer";
  /* Background with linear gradient */
  height: 100vh;
  background-image: linear-gradient(var(--brand-gradiant), white, white);
  background-repeat: no-repeat;
  color: var(--text-color);
}

header {
  top: 0;
  position: sticky;
  z-index: 999;
  grid-area: header;
  background-color: #ffffff;
  padding: 1rem 0 1rem 0;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.12);
}

header nav {
  display: flex;
  align-items: center;
  font-family: open-sans-light;
}

header ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: 3rem;
}

/* nav li {
 
} */
header nav a {
  color: var(--text-color);
}

header nav a:hover {
  text-decoration: none;
  opacity: 0.5;
}

/* Style for Sidebar (mobile menue) */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2rem 0 0 1.5rem;
}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
}

.menu-button {
  display: none;
}

hero {
  display: flex;
  padding: 0rem 0 2rem 0;

  .blob_solution {
    margin: 0 3.5rem 0 0;
  }
  /* Need extra top space as hero for the index page */
  .hero-with-blob {
    padding: 3.5rem 0 .25rem 0;
  }

  h1 {
    font-size: clamp(1.5em, 5.0vw, 3em);
    padding: 0 0 .25rem 0;
  }

  p {
    /* font-size: 1.5rem; */
    font-size: clamp(1.0em, 3.0vw, 1.5em);
    padding: 0 0 2rem 0;
  }
}

main {
  grid-area: main;
  padding: 3rem 0 1rem 0;
}

footer {
  grid-area: footer;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0 0.75rem 0;
}

footer nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

footer nav a {
  color: var(--text-color);
}

footer nav a:hover {
  text-decoration: none;
  opacity: 0.5;
}

@media(max-width: 800px) {
  header nav {
    justify-content: space-between;
  }

  .hideOnMobile {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .menu-button a:hover {
    opacity: 0.5;
  }

  footer nav {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    justify-content: center;
  }
}

@media(max-width: 400px) {
  .sidebar {
    width: 100%;
  }
}

/* ********** Styles for html tags ********** */
/* Style for anchor tag */
a {
  color: var(--text-color);
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

button {
  background-color: var(--brand);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition-duration: 0.4s;
}

button:hover {
  opacity: .8;
}

h1 {
  font-family: open-sans-light;
  font-size: clamp(1.5em, 5.0vw, 3em);
  padding: 0 0 .25rem 0;
}

h2 {
  font-family: open-sans-light;
  font-size: clamp(1.5em, 3.0vw, 1.75em);
  padding: 0 0 .25rem 0;
}

ul {
  padding: 0 0 0 15px;
}

.container {
  width: min(100% - 3rem, 75rem);
  margin-inline: auto;
}

/* ********** Utility classes ********** */
/* Style for fonts */
.font-light {
  font-family: open-sans-light;
}

.font-bold {
  font-family: open-sans-semibold;
}

.inno-style {
  background-color: var(--inno-bg-color);
  color: var(--inno-text-color);
}

.consult-style {
  background-color: var(--consult-bg-color);
  color: var(--consult-text-color);
}

.cyber-style {
  background-color: var(--cyber-bg-color);
  color: var(--cyber-text-color);
}


.blob_solution {
  width: 250px;
  max-width: 250px;
  height: 100%;         /* Let height adjust based on width */
  aspect-ratio: 1 / 1;  /* Maintain a 1:1 aspect ratio (square) */
  overflow: hidden;
  border-radius: 42% 56% 72% 28% / 42% 42% 56% 48%;
  background: url('../images/uebungsbild.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, .2);
  animation: blob 8.0s linear infinite;
  margin: ;
}

@keyframes blob {

  0%,
  100% {
    border-radius:
      42% 56% 72% 28% / 42% 42% 56% 48%;
  }

  33% {
    border-radius:
      42% 28% 48% 48% / 28% 28% 72% 72%;
  }

  66% {
    border-radius:
      100% 56% 56% 100% / 100% 100% 56% 56%;
  }

}