html {
  font-size: 62.5%;
  /*scroll-behavior: smooth;*/
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Raleway', sans-serif;
  padding: 0;
  margin: 0;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--bs-dark);
  letter-spacing: .5px;
  line-height: 1.5;
  height: 100%;
  background: #FFFDF7;
}

body.opened {
  overflow: hidden;
}

:root {
  --main-color: #2A6E94;
  --banner-color: #726571;
  --secondary-color: #520c62;
  --accent-cream: #fdf4ed;
  --button-color: #3C787F;
}

.cormorant-upright-light {
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.cormorant-upright-regular {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.cormorant-upright-medium {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.cormorant-upright-semibold {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.cormorant-upright-bold {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/*<uniquifier>: Use a unique and descriptive class name*/

.raleway-<uniquifier> {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 4rem;
}

main {
  flex: 1 0 auto;
  flex-direction: column;
}

.blurb .row {
    --bs-gutter-x: 3rem;
}

section, footer {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

footer {
    padding-bottom: 0 !important;
}

section.welcome {
    background: var(--bs-gray-dark);
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

section.welcome .container {
    position: relative;
}

section.welcome:before {
    content: "";
    background-image: url(../img/banner.jpg);
    background-repeat: no-repeat;
    background-position: 50%;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    /*transform: scale(1.4);*/
    background-size: cover;
}

section.pink {
    background: #EDDDD4;
}

.carousel-inner {
    min-height: 34.8rem;
}

.carousel-control-next, .carousel-control-prev {
    position: relative;
    opacity: 1;
    top: 0;
    bottom: 0;
    width: auto;
    transition: all .25s;
}

.testimonials .carousel .material-symbols-outlined {
    font-size: 5rem;
    color: #282828;
    padding: .5rem;
    border-radius: 100%;
    font-variation-settings: 'wght' 100;
    border: 1px solid #282828;
}

.carousel-control-next:hover, .carousel-control-prev:hover {
    background: rgb(51 51 51 / 20%);
    border-radius: 100%;
}

.carousel-control-next:focus-visible, .carousel-control-prev:focus-visible {
    outline: 2px solid rgb(0, 95, 204);
    outline-offset: 4px;
    border-radius: 100%;
}

.testimonials .quote-font {
    font-size: 5rem;
    color: #ccc;
    transform: scaleX(-1);
    font-variation-settings: 'FILL' 1, 'wght' 500;
}

.testimonials .quote {
    font-size: 1.8rem;
    font-style: italic;
}

.testimonials .quote-by {
    font-size: 1.4rem;
}

.form-floating>.form-control, .form-floating>.form-select {
    height: calc(5.5rem + 2px);
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid #212529;
    border-radius: 0;
    font-size: 1.6rem;
    /*font-weight: 300;*/
}

.form-floating>label {
    padding: 1rem 1.75rem 1.5rem 1.75rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--bs-black);
}

.form-floating>.form-control:-webkit-autofill, .form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown) {
    padding-top: 3rem;
}

textarea.form-control {
    border: 1px solid #212529 !important;
}

header, footer {
    /*flex: none;*/
    position: relative;
}

header {
    position: relative;
    z-index: 2;
}

footer .top {
  margin-bottom: 5rem;
}

footer {
    font-size: 1.6rem;
}

main a:not(.btn), footer a:not(.btn) {
    position: relative;
    padding-bottom: 3px;
}

main a:not(.btn):hover, footer a:not(.btn):hover {
    text-decoration: none !important;
}

.research a {
    text-decoration: underline;
    word-break: break-word;
}

.research a:before, .research a:after {
    display: none !important;
}

.research p {
    line-height: 1.3;
    margin-bottom: 3rem;
}

.view {
    text-decoration: none !important;
    position: relative;
    padding-bottom: 3px;
}

main a:not(.btn):before, footer a:not(.btn):before, .card .view:before {
    content: "";
    box-shadow: inset 0px -1px 0px 0px #ccc;
    transition: width 0.3s ease-in-out;
    position: absolute;
    bottom: 0;
    height: 1px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

main a:not(.btn):after, footer a:not(.btn):after, .card .view:after {
    content: "";
    box-shadow: inset 0px -1px 0px 0px #282828;
    width: 0%;
    transition: width 0.3s ease-in-out;
    position: absolute;
    bottom: 0;
    height: 1px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

main a:not(.btn):hover:after, footer a:not(.btn):hover:after {
    content: "";
    width: 100%;
}

footer ul, main .blurb ul {
  list-style: none;
  padding: 0;
}

footer ul li, main .blurb ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    padding: .5rem 0;
}

footer ul li a, main .blurb ul li a {
    text-decoration: none;
}

main .blurb ul li a:hover {
    text-decoration: underline;
}

footer .bottom {
  padding: 1.5rem 0;
}

#featured [class^=col-]  {
    margin-bottom: 1.5rem;
}

footer h3 {
    font-family: "Raleway", sans-serif;
    font-size: 2.4rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
  padding-right: var(--bs-gutter-x,1.5rem);
  padding-left: var(--bs-gutter-x,1.5rem);
}

.navbar>.container-fluid {
  padding: 0;
  align-items: flex-start;
}

.navbar>.container-fluid>.container>.col-12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar.offcanvasmenu {
    transform: translateY(-100%);
}

.offcanvas {
    --bs-offcanvas-width: 100%;
    --bs-offcanvas-padding-x: 3rem;
    --bs-offcanvas-padding-y: 3rem;
    border: none;
}

.navbar {
    background: #FFFDF7;
    padding: 1.25rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    transition: .25s all;
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    box-shadow: 0 0 5px 0 rgba(204, 204, 204, 1);
}

.navbar-toggler-icon {
    width: 2.8rem;
    height: 2.8rem;
}

.navbar-toggler {
    border: none;
}

.navbar-nav ul {
  list-style: none;
}

.navbar-expand-lg .navbar-nav .nav-link {
  font-size: 2.2rem;
  color: var(--bs-black);
  padding: 2rem 0;
  line-height: 1.3;
  text-transform: uppercase;
  border-bottom: 1px solid var(--bs-black);
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    text-decoration: none;
    border-bottom: 1px solid #aaa;
}

.social {
    margin: 2rem 0;
    padding: 0;
    gap: 1.5rem;
    display: flex;
}

.social a {
    border-radius: 100%;
    border: 1px solid var(--bs-black);
    padding: .8rem;
    width: 36px;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: .5rem;
    transition: all .15s;
}

.social a:hover {
    background: var(--bs-black);
    color: var(--bs-white);
    text-decoration: none;
}

main ul li {
  margin-bottom: .5rem;
}

ul.contact {
    list-style: none;
    padding-left: 2.4rem;
}

ul.contact li::marker {
    display: none;
}

ul.contact li {
    padding: .5rem 0;
    margin: 0;
}

ul.contact li a span {
    position: absolute;
    font-size: 1.6rem;
    transform: translate(-2.4rem, .5rem);
}

/*main ul li:before {
  content: "\f1b9";
  font-size: 1rem;
  font-family: "Material Icons";
  font-weight: 900;
  position: absolute;
  top: 4px;
  left: 0;
  content: "\e531";
}*/

h1 {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 3rem;
}

.home h1 {
      font-family: "Alice", serif;
      font-weight: 400;
      font-style: normal;
      margin-bottom: 1.5rem;
}

body:not(.home) h1 {
    color: var(--bs-gray-600);
    text-transform: uppercase;
    margin-bottom: 6rem;
}

.subtitle {
    font-family: "Raleway", sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
}

h2 {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.3;
    letter-spacing: 3px;
}

h3 {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.3;
    letter-spacing: 3px;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

strong {
    font-weight: 500;
}

section.boxes a:before, section.boxes a:after {
    display: none;
}

.boxes h3 {
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
    margin: 2.5rem 2.5rem 1rem;
    display: flex;
    align-items: center;
}

.boxes h3 span {
    margin-left: 1.5rem;
}

.boxes p {
    margin: 0 2.5rem 2.5rem;
    flex-grow: 1;
}

.boxes a {
    display: block;
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.boxes img {
    transition: all .3s;
}

.boxes a:hover ~ div img, .boxes a:focus ~ div img {
    transform: scale(1.2);
}

.boxes a:hover ~ h3 span,  .boxes a:focus ~ h3 span {
    transform: translateX(6px);
}

.boxes a:focus {
    box-shadow: inset 0px 0px 0px 3px var(--bs-dark);
    outline: 2px solid var(--bs-white);
    outline-offset: -5px;
    border-radius: 6px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  text-decoration: underline;
}

p {
    margin-bottom: 1.5rem;
}

.small {
  font-size: 80%;
}

.btn {
  white-space: nowrap;
}

.btn-lg, .btn-sm {
    font-weight: 400;
    font-size: 1.6rem;
    padding: 1.1rem 2.5rem;
    border-radius: 4px;
    height: 4.4rem;
    text-decoration: none;
    border: 1.5px solid var(--bs-white);
    width: 100%;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn.dark.btn-secondary {
    border-color: transparent;
    color: var(--bs-white);
    background: #282828;
}

.btn.dark {
    border-color: var(--bs-black);
    color: var(--bs-black);
    /*background: var(--button-color);*/
}

.btn.dark:focus {
    background: var(--main-color);
    color: var(--bs-white);
}

.btn.dark.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
    border-color: transparent;
}

.btn.dark.btn-secondary:hover {
    background: rgb(51 51 51 / 50%);
}

.btn-primary.disabled, .btn-primary:disabled {
    background: transparent;
    border-color: #666 !important;
    color: #666 !important;
}

.btn-sm {
  font-size: 1.3rem;
  padding: 1rem 2rem;
  height: 4rem;
}

.btn-lg:hover, .btn-sm:hover {
  text-decoration: none;
}

.btn-lg:focus, .btn-sm:focus, .btn-lg:focus-visible, .btn-sm:focus-visible {
    outline: 2px solid var(--bs-dark) !important;
    outline-offset: 2px;
    border-color: var(--bs-white);
    background: var(--bs-white);
    color: var(--bs-dark);
    box-shadow: none;
}

.btn-primary {
    background: transparent;
    text-transform: uppercase;
}

.btn-primary:hover, .btn-secondary:hover {
    background: var(--bs-white);
    border-color: transparent;
    color: var(--bs-dark);
}

.btn-secondary {
    background: var(--bs-white);
    border: 1.5px solid var(--bs-white);
    color: var(--bs-dark);
    text-transform: uppercase;
}

.submitForm.btn-lg {
    width: 100%;
}

.card {
    width: 100%;
    background: var(--bs-white);
    border: none;
    border-radius: .6rem;
    position: relative;
    overflow: hidden;
}

.card .top {
    height: 16rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .text {
    margin: 1rem;
}

.card a.absolute {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.card span {
    transition: all .3s;
}

.horizontal-cards {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.collaboration {
    border-radius: 10rem 0;
}

.contact-border {
    border-top: 3px solid var(--button-color);
    padding-top: 4rem;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

a.back {
    opacity: 0;
    color: #5f6368;
    position: fixed;
    border-radius: 100%;
    height: 50px;
    width: 50px;
    text-decoration: none;
    text-align: center;
    right: 3rem;
    bottom: 5rem;
    z-index: 1;
    display: flex;
    border: none;
    justify-content: center;
    align-items: center;
    background: var(--bs-white);
    box-shadow: 0 1px 2px 0 rgb(60 64 67 / 30%), 0 2px 6px 2px rgb(60 64 67 / 15%);
}

.fadeInUp, .fadeOutDown {
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 50%, 0);
    transform: translate3d(0, 50%, 0);
  }

  to {
    opacity: .9;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 50%, 0);
    transform: translate3d(0, 50%, 0);
  }

  to {
    opacity: .9;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

@-webkit-keyframes fadeOutDown {
  from {
    opacity: .9;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 50%, 0);
    transform: translate3d(0, 50%, 0);
  }
}

@keyframes fadeOutDown {
  from {
    opacity: .9;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 50%, 0);
    transform: translate3d(0, 50%, 0);
  }
}

.fadeOutDown {
    -webkit-animation-name: fadeOutDown;
    animation-name: fadeOutDown;
    pointer-events: none;
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    z-index: 2;
    top: 0;
    bottom: 0;
    right: -100%;
    width: 100%;
    overflow-y: auto;
    visibility: hidden;
    background-color: var(--bs-white);
    transition: transform .15s ease-in-out, visibility .15s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}

/*Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .carousel-inner {
        min-height: 19rem;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  body {
    font-size: 1.8rem;
  }

  body.opened {
      overflow: auto;
    }

  .navbar-brand img {
    height: 6rem;
}

  .navbar-expand-lg .navbar-collapse {
    flex-grow: inherit;
  }

  .navbar-expand-lg .navbar-nav {
    margin-top: 0;
    padding: 0;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    font-weight: 200;
    padding: 0 0 7px;
    margin-left: 2.5rem;
    text-decoration: none;
    position: relative;
    font-size: 2rem;
    border: none !important;
  }

  .navbar-expand-lg .navbar-nav .nav-link:after {
    content: "";
    box-shadow: inset 0px -3px 0px 0px var(--bs-gray-800);
    width: 0%;
    transition: width 0.3s ease-in-out;
    position: absolute;
    bottom: 0;
    height: 2px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar-expand-lg .navbar-nav .nav-link.active:after,
  .navbar-expand-lg .navbar-nav .nav-link:hover:after {
    content: "";
    width: 100%;
  }

  section.welcome .container:before {
    transform: scale(1.6);
}

    section.about {
        background: inherit;
    }

    .carousel-inner {
        min-height: 26.4rem;
    }

  h1 {
    font-size: 4.2rem;
  }

  .home h1 {
      font-size: 6rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2.4rem;
  }

  .subtitle {
    font-size: 3rem;
  }

    section, footer {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }

    .boxes .row, .collab .row {
        --bs-gutter-x: 6rem;
    }

  .btn-sm {
    font-size: 1.6rem;
    padding: .9rem 2rem;
    height: 4.2rem;
  }

  .btn-lg {
    font-size: 1.8rem;
    padding: 1rem 7.5rem;
    height: 4.8rem;
    width: auto;
  }

  .testimonials .quote {
    font-size: 2rem;
    }

    .testimonials .quote-by {
        font-size: 1.6rem;
    }

    .contact-border {
        border-left: 3px solid var(--button-color);
        border-top: none;
        padding-top: 0;
    }

    ul.contact li a span {
        transform: translate(-2.4rem, .65rem);
    }

    .social {
        margin: 0 0 0 2.5rem;
    }
}

/* X-Large devices (desktops, 1200px and up)*/
@media (min-width: 1200px) {
      .home h1 {
        font-size: 7rem;
      }
}

/* XX-Large devices (desktops, 1400px and up)*/
@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}