* {
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --lightgray: #eeeeee;
  --defaulttext: #333333;

  --sitebgcolor: #ffffff;

  --gradientfootera: #00f2ff;
  --gradientfooterb: #00ccd6;
  --gradientheadera: #aaaaaa;
  --gradientheaderb: #888888;

  --decorativetexteff1: #fb00fb;
  --decorativetexteff2: #03ffff;

  --aquabluelight-a: #00f2ff;
  --aquabluelight-b: #a2faff;
  --greyforwhitetext: #737373;
  --aquabluedark: #00ccd6;
  --greya: #eceff1;

  --navbuttonhover: #999999;
  --footer-height: 10rem;

  --btnbordercolor: coral;
  --buttonemailcolor: #737373;
  --buttonemailcolorb: #555555;

  --linkcolor: #005C61;
  --linkvisitedcolor: #333333;

  --buttonactivecolor: #00ccd6;
}

body {
  background-color: var(--sitebgcolor);
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--defaulttext);
  margin: 0;
}

p {
  font-size: calc(90% + 0.15vw);
}

header {
  margin: 0;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  text-align: left;
}

a:link {
  color: var(--linkcolor);
}

a:visited {
  color: var(--defaulttext);
}

.std-margin-left {
  margin-left: calc(5vw);
}

address {
  font-style: normal;
}

.main-top-transition-container {
  width: 100%;
  height: calc(26px + 0.3vw);
  background-image: linear-gradient(to right, #aaaaaa, #888888);
}

.main-top-rounded-corners {
  width: 100%;
  height: calc(26px + 0.3vw);
  background-color: var(--sitebgcolor);
  border-radius: calc(24px + 0.3vw) calc(24px + 0.3vw) 0px 0px;
}

.main-bottom-transition-container {
  width: 100%;
  height: calc(26px + 0.3vw);
  background-image: linear-gradient(
    to right,
    var(--gradientfootera),
    var(--gradientfooterb)
  );
}

.main-bottom-rounded-corners {
  width: 100%;
  height: calc(26px + 0.3vw);
  background-color: var(--sitebgcolor);
  border-radius: 0px 0px calc(24px + 0.3vw) calc(24px + 0.3vw);
}

.ios-graphic-bug-fix {
  position: relative; 
  width: 100%;
  background-color: var(--sitebgcolor);
  height:10px;
  margin-bottom:-2px;
  margin-top: -2px;
}

.container-quote-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-bubble-grey {
  display: block;
  width: 90%;
  background: var(--greya);
  border-radius: calc(24px + 0.3vw);
  padding: 1rem;
  padding-bottom: 2rem;
  margin-top: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
  text-align: center;
}

.list-style-none {
  list-style: none;
}

/* Main sectioning CSS for index.html etc. */
.container-a {
  max-width: calc(100rem + 0.5vw);
  display: grid;
  margin: calc(2vw) calc(4vw) calc(2vw) calc(4vw);
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: "left-col" "right-col";
}

.container-a-item-left {
  grid-area: left-col;
  text-align: left;
  padding: 1rem;
}

.container-a-item-right {
  grid-area: right-col;
  padding: 0 calc(2vw) 0 calc(2vw);
  /* top | right | bottom | left */
  background: var(--greya);
}

@media screen and (min-width: 650px) {
  .quote-bubble-grey {
    width: 70%;
    padding: calc(0.2rem + 0.5vw);
  }
}

@media screen and (min-width: 850px) {
  .container-a {
    /* grid-template-columns: 0.7fr 0.3fr; */
    /* ^ This causes a CSS bug to occur(!) */
    grid-template-columns: 1.7fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "left-col right-col";
  }
  body {
    font-size: 1rem;
  }
  p {
    font-size: 1rem;
  }
}

/* Main sectioning CSS for experience.html etc. */
.container-grey-banner {
  background: var(--greya);
  width: 90%;
}

.item-grey-banner {
  max-width: calc(100rem + 0.5vw);
  margin: calc(2vw) calc(4vw) calc(2vw) calc(4vw);
  padding: 1rem;
}

/* Photo gallery grid */
.grid-two-by-two-gallery {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "lft rght";
  gap: 0 2rem;
}

.grid-two-by-two-ngallery-left {
  grid-area: lft;
}

.grid-two-by-two-gallery-right {
  grid-area: rght;
}

.container-block-image {
  display: block;
  width: 100%;
  margin: calc(2vw) 0 calc(2vw) 0;
  /* top | right | bottom | left */
}
