@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

.roboto-100 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.roboto-200 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings: "wdth" 200;
}

html {
  background-color: #eaebe6;
  line-height: 1.3;
}

h1 {
  text-align: center;
  font-size: clamp(3rem, 8vw, 8rem);
  padding: 0 clamp(4rem, 6rem, 8rem);
}

h2 {
  text-align: center;
  font-size: clamp(2rem, 2.5rem, 3rem);
  margin: 2rem clamp(3rem, 4rem, 5rem);
  padding: 1rem;
  background-color: white;
}

h3 {
  font-size: clamp(1rem, 1.5rem, 2rem);
  margin: 0;
}

h4 {
  font-size: 1.15em;
  margin-top: 2em;
  margin-bottom: 1em; 
}

h5 {
  font-size: 1.1em;
  font-weight: normal;
  margin-top: 1em;
  margin-bottom: 0.4em;
}

p, ul {
  font-size: 1.1em;
  margin-top: 0;
}

img, iframe {
  width: 100%;
}

#banner {
  position: relative;
  width: 100%;
  height: 60vh; /* Adjusts height relative to viewport */
  min-height: 400px;
  max-height: 700px;

  background-image: url('banner_heading_for_pro_website.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  /* darken image for better text readability */
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: darken;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  color: white;
  /* green bottom border */
  border-bottom: 10px solid #57bb8a;
}

#banner.scrolled {
  border-width: 0;
}

#navcontainer {
  position: fixed;
  background-color: transparent;
  transition: background-color 0.3s ease;
  top: 0;
  width: 100%;
  height: 56px;
  z-index: 1000;
}

#navcontainer a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 1.2em;
}

#navcontainer > * {
  position: absolute;
}

#navcontainer > a {
  top: 15px;
  left: 10px;
  font-size: 1.3em;
}

#navcontainer nav {
  top: 16px;
  right: 0;
}

#navcontainer nav a {
  padding: 14px 2px 6px;
  border-bottom: 7px solid #57bb8a;
}

#navcontainer.scrolled {
  background-color: #4f474e;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

main {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1.5em;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

main > * {
  background-color: white;
}

main > article {
  flex-basis: 55%;
}

main > aside {
  flex-basis: 35%;
}

div.text {
  padding: 0 0.6em;
}

#about {
  font-size: 0.85em;  
}

#about h3 {
  text-align: center;
}

