* {
  padding: 0;
  margin: 0;
}

body {
  --col-blue-1: #96C3E4;
  --col-blue-3: #5182AD;
  --col-blue-5: #243C68;

  --col-accent: #A1619E;

  color: #fff;
  background-image: linear-gradient(to bottom right, var(--col-blue-3), var(--col-blue-5));
  font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
  font-weight: normal;
  font-size: 1rem;
}

.title {
  margin: 0 .5em;
  box-sizing: border-box;
  text-align: center;
}

h1.title {
  font-size: 2.4em;
}

h2.title {
  font-size: 2em;
}

.text-content-title {
  font-size: 1.2em;
}

.text-content {
  margin: 0 1em;
  box-sizing: border-box;
}

.segment {
  width: 100%;
}

.segment.raised {
  filter: drop-shadow(1px 1px 2px #000);
}

.segment.bright {
  color: #000;
  background-image: linear-gradient(to bottom right, #fff, #fafafa);
}

.segment.dark {
  color: #fff;
}

.content-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding: 4em 0;
  gap: 4em;
}

#section-head {
  position: absolute;
  z-index: 30;
  top: 0;
}

#header-content {
  height: 5em;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#header-content.content-group {
  margin: auto;
  padding: 0;
}

#head-logo-frame {
  height: 4em;
}

#head-logo-frame img {
  height: 100%;
}

#section-intro {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  padding: 4em 1em;
  padding-top: 7em;
  box-sizing: border-box;
}

#intro-img-frame {
  width: 300px;
  height: 300px;
  overflow: hidden;
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  box-shadow: inset 3px 5px #000;
  gap: .4em;
}

.intro-img {
  width: 100%;
  height: 100%;
}

.intro-content-frame {
  min-height: 21em;
  align-self: stretch;
  flex: 1 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#intro-content {
  flex: 1 0 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fade-in-out 8s ease-in-out infinite;
}

.intro-title-hl {
  color: var(--col-blue-3);
  filter: drop-shadow(1px 1px 1px darkgray);
}

.intro-text {
  font-size: 1.2em;
  max-width: 30em;
  margin: auto;
}

.intro-contact {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.intro-contact-label {
  color: var(--col-blue-3);
  font-size: 1.6em;
}

#section-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  text-align: center;
  max-width: 40em;
  margin: auto;
}

#section-experience {
  color: white
}

.exp-list {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.exp-list li {
  display: flex;
  flex-direction: column;
  align-items: start;
  flex: 1 0 10em;
  gap: 1em;
  text-align: center;
}

.exp-list li:not(:first-child) {
  border-left: 3px solid var(--col-blue-1);
  padding-left: 1em;
  margin-left: 1em;
}

.exp-unit-number {
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 2em;
  text-align: center;
  width: 100%;
}

.exp-unit-desc {
  line-height: 1.1em;
  margin-top: auto;
  margin-bottom: auto;
}

#section-clients {
  padding: 2em 0;
}

#client-quote-frame {
  width: 100%;
}

#client-quote-frame .client-quote-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 12em;
  animation: fade-in-out 6s ease-in-out infinite;
}

#client-quote-frame .client-quote {
  max-width: 20em;
  position: relative;
  font-size: 1.6em;
}

#client-quote-frame .client-quote-open {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--col-blue-1);
  font-size: 1.8em;
}

#client-quote-frame .client-quote-close {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--col-blue-1);
  font-size: 1.8em;
}

#client-quote-frame .client-quote-content {
  padding: 0 1em;
  padding-top: 1em;
}

#client-quote-frame .client-quote-author {
  font-size: 0.8em;
  padding: 0 .5em;
  color: var(--col-blue-3);
  font-weight: 600;
  letter-spacing: .03em;
}

#client-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

.client-logo {
  max-height: 7em;
}

#section-services {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2em;
}

#svc-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1em;
  padding: 1em;
}

.svc-content-grp {
  flex: 1 0 400px;
  overflow: hidden;
  border-radius: .2em;
  background-color: white;
  filter: drop-shadow(1px 1px 2px #000);
  color: black;
  transition: filter 200ms ease-in-out;
}

.svc-content-grp:hover {
  filter: drop-shadow(3px 3px 4px #000);
}

.svc-content-grp-img img,video {
  max-width: 100%;
}

.svc-content-grp-text {
  padding: 1em 2em;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.svc-content-grp.contact {
  padding: 1em 0;
}

.svc-contact-desc {
  margin: auto;
  max-width: 90%;
  color: var(--col-blue-5);
  text-align: center;
  font-size: 1.5em;
}

.svc-contact-email {
  text-align: center;
  font-size: 1.3em;
}

#footer-content {
  background-color: white;
  display: flex;
  flex-direction: column;
}

#footer-content.content-group {
  gap: 0;
}

#footer-content .row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
}

#footer-content .row:last-child {
  border-top: 3px solid lightgray;
}

#footer-content .row .footer-grp {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 2em;
}

#footer-content .row img {
  height: 3em;
  width: auto;
}

button {
  background-color: transparent;
  border: 2px solid var(--col-blue-3);
  color: var(--col-blue-3);
  border-radius: .2em;
  padding: 2px;
}

button div {
  padding: .5em 1em;
  transition: all 200ms ease-in-out;
}

button:hover div {
  background-color: var(--col-blue-3);
  color: white;
}

.social-link {
  text-decoration: none;
  color: var(--col-blue-5);
  transition: color 200ms ease-in-out;
}

.social-link:hover {
  text-decoration: underline;
  color: var(--col-blue-3);
}

@keyframes fade-in-out {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media only screen and (max-width: 800px) {
  h1.title {
    font-size: 2em;
  }

  h2.title {
    font-size: 1.6em;
  }

  #intro-img-frame {
    width: 250px;
    height: 250px;
  }
}

@media only screen and (max-width: 650px) {
  h1.title {
    font-size: 2.4em;
  }

  h2.title {
    font-size: 2em;
  }

  .text-content {
    font-size: .9em;
  }

  .intro-text {
    font-size: 1.1em;
  }
  
  .svc-content-grp.contact {
    font-size: .9em;
  }
  
  button {
    font-size: .9em;
  }

  #intro-img-frame {
    width: 300px;
    height: 300px;
  }

  .intro-content-frame {
    min-height: 19em;
  }

  #section-intro {
    flex-direction: column;
  }

  .exp-list {
    flex-direction: column;
  }

  .exp-list li {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .exp-list li:not(:first-child) {
    border-left: none;
    border-top: 3px solid var(--col-blue-1);
    padding-left: 0;
    margin-left: 0;
    padding-top: 1em;
    margin-top: 1em;
  }

  .exp-unit-number {
    flex: 0 0 5em;
  }

  .exp-unit-desc {
    max-width: 20em;
    line-height: 1.1em;
  }

  #client-quote-frame .client-quote-container {
    height: 10em;
  }

  #client-quote-frame .client-quote {
    font-size: 1.3em;
  }

  .client-logo {
    max-height: 5em;
    max-width: 7em;
  }
}

@media only screen and (max-width: 530px) {
  h1.title {
    font-size: 2em;
  }

  h2.title {
    font-size: 1.8em;
  }

  .text-content {
    font-size: .8em;
  }
  
  button {
    font-size: .8em;
  }

  .text-content-title {
    font-size: 1.2em;
  }

  .intro-text {
    font-size: 1em;
  }
  
  .svc-content-grp.contact {
    font-size: .8em;
  }

  .content-group {
    padding: 2em 0;
    gap: 2em;
  }

  #header-content {
    height: 4em;
  }

  #head-logo-frame {
    height: 3em;
  }

  #section-intro {
    padding-top: 5em;
  }

  #intro-img-frame {
    width: 250px;
    height: 250px;
  }

  .intro-content-frame {
    min-height: 19em;
  }

  #section-intro {
    flex-direction: column;
  }

  .exp-unit-number {
    flex: 0 0 4em;
    font-size: 1.7em;
  }

  .exp-unit-desc {
    max-width: 19em;
    font-size: .9em;
  }

  #client-quote-frame .client-quote {
    max-width: 16em;
  }

  #client-quote-frame .client-quote-container {
    height: 9em;
  }

  #client-quote-frame .client-quote {
    font-size: 1.2em;
  }

  .client-logo {
    max-height: 3em;
    max-width: 5em;
  }
  
  #svc-content {
    padding: .5em;
    gap: .5em;
  }

  .svc-content-grp {
    flex: 1 0 280px;
  }

  .svc-content-grp-text {
    padding: 1em;
    gap: 1em;
  }

  #footer-content .row {
    padding: .5em;
  }

  #footer-content .row .footer-grp {
    gap: .5em;
  }

  #footer-content .row img {
    height: 2em;
  }
}

@media only screen and (max-width: 370px) {
  h1.title {
    font-size: 1.6em;
  }

  h2.title {
    font-size: 1.4em;
  }

  .intro-text {
    font-size: .9em;
  }

  .intro-content-frame {
    min-height: 17em;
  }

  .text-content {
    font-size: .7em;
  }
  
  button {
    font-size: .7em;
  }

  .text-content-title {
    font-size: 1em;
  }

  #header-content {
    height: 3.5em;
  }

  #head-logo-frame {
    height: 2.8em;
  }

  #section-intro {
    padding-top: 4em;
  }
  
  .svc-content-grp.contact {
    font-size: .7em;
  }

  #client-quote-frame .client-quote {
    max-width: 15em;
  }

  #client-quote-frame .client-quote-container {
    height: 8em;
  }

  #client-quote-frame .client-quote {
    font-size: 1em;
  }
}
