* {
  box-sizing: border-box;
}

.blue {
  color: #132a4a;
}

.green {
  color: #4b858e;
}

.lightgreen {
  color: #c4d4a4;
}

.res {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

#header {
  position: fixed;
  top: 0;
  z-index: 3;
  width: 100%;
  background: linear-gradient(180deg, #01021e, #132a4a);
  border-bottom: 3px solid #27a1b4;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#nav-container {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  width: 100%;
  margin: 0px auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  padding: 40px 30px 0px 30px;
}

#promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.75em;
  letter-spacing: 0.2px;
  color: #93a0b4;
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.8;
}

#res-promo-bar {
  display: none;
}

#account-div {
  position: absolute;
  right: 30px;
  opacity: 1;
}

.break {
  margin: 0px 5px;
}

a.account-link {
  color: #fff;
  text-decoration: none;
}

a.account-link:hover {
  color: #27a1b4;
  text-decoration: underline;
}

@keyframes twinkle {
  0% {
    opacity: 0.3;
    height: 17px;
  }
  50% {
    opacity: 0.7;
    height: 10px;
  }
  50% {
    opacity: 1;
    height: 15px;
  }
  75% {
    opacity: 0.7;
    height: 12px;
  }
  100% {
    opacity: 1;
    height: 17px;
  }
}

.icon {
  animation: twinkle 4.5s linear infinite alternate;
  height: 17px;
}

.icon2 {
  animation: twinkle 4.5s linear infinite alternate;
  animation-delay: -0.5s;
  height: 17px;
}

.image-frame {
  height: 17px;
  width: 25px;
}

.strong {
  color: #fff;
  font-weight: 500;
  margin: 0px 5px;
}

#nav-bar {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-end;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.nav-logo:hover .iconImg {
  cursor: pointer;
  filter: brightness(0.3) sepia(1) hue-rotate(140deg) saturate(2);
}

#nav-logo {
  position: relative;
  height: 25px;
  cursor: pointer;
  margin: 0px 8px 5px 0px;
}

#res-menu-icon {
  display: none;
}

#TDI-logo {
  max-width: 620px;
  width: 100%;
  opacity: 0.7;
  margin: 0px 0px 10px -30px;
}

#main-logo {
  min-width: 330px;
  width: 100%;
  opacity: 0.7;
}

.iconImg {
  display: inline;
  height: 14px;
  margin-right: 5px;
  color: white;
}

.nav-link:hover .iconImg {
  cursor: pointer;
  filter: brightness(0.3) sepia(1) hue-rotate(140deg) saturate(2);
}

#res-nav-bar,
#res-nav-logo {
  display: none;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.9em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.nav-link:last-of-type {
  text-align: right;
}

.nav-link:hover {
  cursor: pointer;
  color: #4b858e;
}

.dropdown-div {
  position: relative;
  min-width: 170px;
  text-align: center;
  padding: 10px 10px 15px 10px;
}

.dropdown-div:last-of-type {
  text-align: right;
  min-width: auto;
  padding-right: 3px;
  padding-left: 40px;
}

@keyframes dropdown {
  0% {
    transform: scaleY(0%);
  }
  100% {
    transform: scaleY(100%);
  }
}

.dropdown-menu {
  margin-top: 15px;
  transform: scaleY(0%);
  transform-origin: top center;
  display: flex;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  flex-direction: column;
  width: 170px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9em;
  text-transform: uppercase;
  background-color: #132a4a;
  border-bottom: 3px solid #27a1b4;
  border-top: 3px solid #27a1b4;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-div:hover .dropdown-menu {
  animation: dropdown 0.25s ease-in forwards;
}

.drop-menu-link:first-of-type {
  padding: 15px 10px 12px 10px;
}

.drop-menu-link:last-of-type {
  padding: 12px 10px 15px 10px;
}

.drop-menu-link {
  min-width: 170px;
  width: 100%;
  padding: 12px 10px;
  line-height: 140%;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-size: inherit;
  transition: 0.25s;
}

.home {
  padding-top: 10px;
  border-top: 1px solid #01021e;
}

.self {
  font-size: inherit;
}

.drop-menu-link:hover {
  color: #01021e;
  background-color: #27a1b4;
}

.res-menu-title {
  padding: 10px 10px 3px 10px;
  border-top: 1px solid #01021e;
  font-size: 1.2em;
  color: #27a1b4ac;
}

.dropdown-menu-res {
  position: absolute;
  top: 29px;
  left: 0;
  z-index: 1;
  width: 200px;
  display: none;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: inherit;
  text-transform: uppercase;
  background-color: white;
  border: 1px solid #0a0f2e;
  border-top: 0px;
}

.main-container {
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1em;
  display: flex;
  flex-direction: column;
  width: 100vw;
  max-width: 1300px;
  margin: 80px auto 0px auto;
  padding: 0px 20px;
}

.appt-container {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1em;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 920px;
  margin: 63px auto -60px auto;
  padding-top: 60px;
}

#appt-logo {
  position: absolute;
  right: 10px;
  top: 50px;
  width: 160px;
}

.main-article {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  height: 87vh;
  align-items: center;
  background: url('../images/rose.svg') no-repeat 98% center;
  background-size: auto 82%;
}

.article {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  width: 100%;
  min-height: 500px;
  align-items: center;
  margin: 90px auto;
}

.left-column,
.right-column {
  margin: 0px 30px;
}

.header-text {
  font-weight: 400;
  font-size: 2em;
  color: #27a1b4;
  line-height: 110%;
  letter-spacing: -1px;
}

.subheader-text {
  font-size: 2em;
  color: #27a1b4ac;
  line-height: 110%;
  margin-bottom: 12px;
}

.content-text {
  font-size: 1.1em;
  color: rgb(138, 135, 144);
  line-height: 150%;
  margin: 12px 0px;
}

.content-text:first-of-type {
  margin-top: 0px;
}

.button-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 20px 0px;
}

.button-row > a {
  font: inherit;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 1px solid #27a1b4ac;
  max-width: 265px;
  width: 100%;
  transition: 0.5s;
  margin: 10px 20px;
  box-shadow: 1px 4px 7px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  color: #00a0b0;
  padding: 8px 10px;
}

.button-row > a:first-of-type {
  margin: 10px 20px 10px 0px;
  background-color: #132a4a;
  color: #fff;
}

.button-row > a:hover {
  background-color: rgba(196, 212, 164, 0.603);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.35);
  transform: translateY(2px);
  color: #00a0b0;
}

.return-top {
  text-align: center;
  padding: 4px 8px;
  width: 127px;
  margin-top: 9px;
}

.return-top a {
  text-decoration: none;
  font-size: 0.7;
  color: rgb(159, 153, 169);
}

.service-image-div {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 450px;
  height: 450px;
  text-align: center;
  overflow: hidden;
}

.service-image {
  height: 100%;
  margin: 0px auto;
}

.book-div {
  text-align: center;
  font-size: 0.8;
  text-transform: uppercase;
  color: #fff;
  padding: 8px 10px;
  background-color: #132a4a;
  border: 1px solid #27a1b4ac;
  width: 125px;
  margin-top: 12px;
  transition: 1s;
}

.contact-div {
  text-align: center;
  font-size: 0.8;
  text-transform: uppercase;
  background-color: #27a1b4ac;
  color: #fff;
  padding: 8px 10px;
  border: 1px solid #27a1b4ac;
  width: 125px;
  margin-top: 20px;
  transition: 1s;
}

.box-link {
  text-decoration: none;
  font-size: 0.9em;
  color: rgb(138, 135, 144);
  line-height: 140%;
}

.book-div:hover {
  cursor: pointer;
  color: #27a1b4ac;
  background-color: rgba(196, 212, 164, 0.603);
}

.contact-div:hover {
  cursor: pointer;
  background-color: rgba(196, 212, 164, 0.603);
  color: #27a1b4ac;
}

.content-wrap {
  position: relative;
}

@keyframes grow {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes float2 {
  0% {
    transform: translateY(0%);
    rotate: 0deg;
    box-shadow: -3px 12px 16px rgba(0, 0, 0, 0.3);
  }
  20% {
    transform: translateY(5%);
    rotate: 2deg;
    box-shadow: 1px 18px 30px rgba(0, 0, 0, 0.3);
  }
  40% {
    rotate: -1deg;
  }
  60% {
    transform: translateY(2%);
    rotate: 1deg;
    box-shadow: -1px 14px 18px rgba(0, 0, 0, 0.3);
  }
  80% {
    rotate: 2deg;
  }
  100% {
    transform: translateY(-6%);
    rotate: -1deg;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
  }
}

.content-image1 {
  animation: float 9s linear infinite alternate;
  float: left;
  margin: 0px 30px 10px 0px;
  width: 200px;
  height: 265px;
  overflow: hidden;
  box-shadow: 1px 15px 16px rgba(0, 0, 0, 0.3);
  backface-visibility: hidden;
}

.content-image1 img {
  width: 100%;
  margin-top: -10px;
}

.content-image {
  animation: float2 8.5s linear infinite alternate;
  shape-outside: square;
  float: right;
  margin: 10px 0px 30px 30px;
  width: 240px;
  box-shadow: 1px 15px 16px rgba(0, 0, 0, 0.3);
  backface-visibility: hidden;
}

.content-image:hover {
  cursor: zoom-in;
}

.content-image-res {
  display: none;
}

.about-header {
  font-size: 3em;
  color: #27a1b4ac;
  line-height: 110%;
  margin-bottom: 20px;
  letter-spacing: -1px;
  font-weight: 300;
}

.about-content {
  display: flex;
  align-items: center;
  height: 550px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.about-text {
  margin: 0px 40px;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-200%);
    rotate: -10deg;
  }
  90% {
    opacity: 1;
    transform: translateY(3%);
    rotate: 1deg;
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
    rotate: 0deg;
  }
}

@keyframes float {
  0% {
    transform: translateY(0%);
    rotate: 0deg;
    box-shadow: -3px 12px 16px rgba(0, 0, 0, 0.3);
  }
  20% {
    transform: translateY(-3%);
    rotate: -2deg;
    box-shadow: 1px 18px 30px rgba(0, 0, 0, 0.3);
  }
  40% {
    rotate: 3deg;
  }
  60% {
    rotate: 0deg;
    box-shadow: -1px 14px 18px rgba(0, 0, 0, 0.3);
  }
  80% {
    rotate: -2deg;
  }
  100% {
    transform: translateY(7%);
    rotate: 1deg;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
  }
}

.about-image-div {
  /* animation: slideIn 1.5s ease-in-out 0.1s 1 forwards; */
  animation: float 8.5s linear infinite alternate;
  display: flex;
  align-self: stretch;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  text-align: center;
  overflow: hidden;
  margin-right: 30px;
  backface-visibility: hidden;
}

.about-image {
  height: 100%;
  margin: 0px auto;
}

.modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 4;
  background-color: #ffffff5d;
  backdrop-filter: blur(4px);
  transition: 2s linear;
}

.modal-content {
  text-align: center;
  margin: auto;
}

.modal-image {
  width: 70%;
  box-shadow: 5px 16px 24px rgba(0, 0, 0, 0.413);
}

.account-container {
  width: 100%;
  max-width: 1100px;
  margin: 0px auto;
  padding: 80px;
  text-align: center;
}

footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background-color: #0a0f2e;
  color: white;
  text-align: center;
  font-size: 0.7em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-top: 3px solid #27a1b4;
}

footer p {
  line-height: 120%;
  margin: 0;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.subtle-text {
  font-size: 0.7em;
  opacity: 0.5;
}

.subtle-text a {
  text-decoration: none;
  color: white;
}

.space-div {
  width: 100%;
  height: 20px;
}

#bookeo_position {
  margin-top: 20px !important;
}

@media screen and (max-width: 1000px) {
  .icon,
  .icon2,
  #account-div {
    display: none;
  }

  #promo-bar {
    display: none;
  }

  #res-promo-bar {
    display: block;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 0.65em;
    letter-spacing: 0px;
    color: #93a0b4;
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0.8;
  }

  .drop-menu-link:first-of-type {
    padding: 12px 10px 5px 10px;
  }

  .drop-menu-link:last-of-type {
    padding: 5px 10px 10px 10px;
  }

  .drop-menu-link {
    padding: 8px;
    line-height: 130%;
    color: #0a0f2e;
  }

  .drop-menu-link:hover {
    color: #fff;
  }

  .res {
    display: block;
  }

  #header {
    position: fixed;
    top: 0;
  }

  .subheader-text {
    padding: 0px 20px;
    margin-bottom: 6px;
  }

  .content-text {
    line-height: 150%;
    padding: 0px;
  }

  .main-container {
    margin: 105px auto 75px auto;
  }

  .appt-container {
    margin: 0px auto;
    padding-top: 100px;
  }

  #appt-logo {
    position: absolute;
    right: 0px;
    top: 50px;
    width: 160px;
  }

  .left-column,
  .right-column {
    width: 100%;
    margin: 0;
    padding: 8px 0px;
    text-align: center;
  }

  .main-logo {
    text-align: center;
  }

  #main-logo {
    margin: 0px auto;
    width: 18%;
    min-width: 10px;
    max-width: 300px;
  }

  #TDI-logo {
    width: 85%;
    margin: 0px auto 20px auto;
  }

  .main-article {
    position: relative;
    flex-direction: column;
    justify-content: center;
    margin: 20px auto 60px auto;
    padding: 0px 0px;
    height: auto;
    background: none;
  }

  .article {
    position: relative;
    flex-direction: column-reverse;
    justify-content: center;
    margin: 105px auto 20px auto;
    padding: 0px 0px;
    min-height: auto;
  }

  .article:nth-child(odd) {
    flex-direction: column-reverse;
  }

  .main-article .right-column {
    display: flex;
    flex-direction: column;
  }

  .article .right-column {
    display: flex;
    flex-direction: column-reverse;
  }

  .service-image-div {
    max-width: 100%;
    height: 180px;
  }

  .service-image {
    height: auto;
    width: 100%;
  }

  .about-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: auto;
  }

  .content-image1 {
    display: none;
  }

  .content-image1 img {
    margin-top: 60px;
  }

  .about-text {
    margin: 0;
    padding: 0px 20px;
  }

  .about-header {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  .content-image {
    display: none;
  }

  .content-image-res {
    display: block;
    width: 90%;
    margin: 30px auto 0px auto;
  }

  .book-div,
  .contact-div {
    margin: 20px auto 60px auto;
  }

  #nav-bar,
  #dropdown {
    display: none;
  }

  #res-nav-bar {
    width: 100%;
    position: absolute;
    top: 88px;
    display: flex;
  }

  #nav-container {
    height: 85px;
    padding: 10px 15px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  #nav-logo,
  .nav-logo {
    display: none;
  }

  #res-nav-logo {
    display: block;
    height: 55px;
    cursor: pointer;
    padding: 5px;
  }

  #res-menu-icon {
    position: relative;
    display: block;
    height: 40px;
    cursor: pointer;
    padding: 5px;
  }

  .dropdown-menu {
    width: 100%;
    top: 0px;
    border: 0px;
    border-bottom: 3px solid #27a1b4;
  }

  .dropdown-menu-res {
    display: flex;
    width: 100%;
    top: 0px;
    border: 0px;
    border-bottom: 3px solid #27a1b4;
  }
  .dropdown-div {
    width: 100%;
    padding: 10px 0px;
  }

  footer {
    width: 100%;
    position: fixed;
    flex-direction: column;
    bottom: 0;
    font-size: 0.8em;
    justify-content: center;
  }

  .footer-container {
    width: 100%;
    text-align: center;
    flex-direction: column;
  }

  .subtle-text {
    font-size: smaller;
  }

  #appt-logo {
    position: relative;
    top: 0;
    margin: 0px auto;
    width: 200px;
  }

  .account-container {
    padding: 20px;
  }

  .button-row {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    margin: 10px auto;
  }

  .button-row > a {
    max-width: 100%;
    margin: 10px auto;
  }

  .button-row > a:first-of-type {
    margin: 10px 20px 10px 20px;
  }
}

@media screen and (max-width: 375px) {
  footer {
    position: relative;
  }
}
