:root {
  --title-span-color: rgb(24, 78, 129);

  --font-medium: 1em;
  --font-medium-large: 1.25em;
  --font-large: 1.5rem;
  --font-x-large: 2rem;
  --font-2x-large: 3rem;
  --font-3x-large: 3.5rem;

  --transition-fast: 0.2s;
}

/*Large Desktop*/
/*General CSS*/

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lusitana", Georgia, serif;
  color: #53536c;
}

* {
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1100px;
  margin: auto auto;
  width: 100%;
}

#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 24px;
  border: none;
  background: #29323c;
  color: white;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 50%;
}

img {
  max-width:100%;
  max-height:100%;
}

h2 {
  margin-top: 30px !important;
  font-family: "Lato", arial, sans-serif;
  font-size: var(--font-large);
  padding-bottom: 15px;
  border-bottom: 1px;
  border-bottom-style: solid;
  border-bottom-color: #ccc;

}

h3 {
  font-family: "Lusitana", Georgia, serif;
  font-size: var(--font-x-large);
}

.w3-button {
  white-space: normal;
}

/*Navigation*/

.navigation {
  position: sticky;
  top: 0;
  z-index: 999;
  margin: auto auto;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 1) !important;
  -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
}

.nav-container {
  max-width: 1100px;
  margin: auto auto;
  height: 100%;
  display: flex;
}

.nav-container .links {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 15px;
  justify-content: right;
}

.nav-container .logo {
  display: flex;
  align-items: center;
  height: 80px;
}

.nav-container .links a,
.nav-container .logo a {
  text-decoration: none;
  transition: var(--transition-fast);
  font-family: "Lato", arial, sans-serif;
}

.nav-container .links a {
  font-size: var(--font-medium);
}

.nav-container .logo p {
  font-size: var(--font-large);
}

.nav-container .links a:hover,
.nav-container .logo p:hover {
  font-size: var(--font-large);
}

.mobile-button {
  display: none;
}

.mobile-links {
  background: #53536c;
  background: -webkit-linear-gradient(to right, #29323c, #53536c);
  background: linear-gradient(to right, #29323c, #53536c);
  height: 100%;
  width: 0;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  top: 0;
  left: 0;
  overflow-x: hidden;
  transition: var(--transition-fast);
  padding-top: 20px;
}

.mobile-links a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  display: block;
  transition: 0.3s;
  text-align: center;
  color: #fff;
}

.mobile-links .closebtn {
  font-size: var(--font-2x-large);
  color: #fff;
  padding: 0;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: 20px;
  margin-top: 20px;
  border: 5px solid #fff;
  position: absolute;
  right: 0;
  top: 0;
}

/*Hero*/

.hero hr {
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  min-width: 550px;
  width: 50%;
  color: rgb(255, 255, 255);
}

.hero h1 {
  font-size: var(--font-3x-large);
  font-family: "Lato", arial, sans-serif;
  color: rgb(255, 255, 255);
}

.hero i {
  font-size: var(--font-large) !important;
  color: rgb(255, 255, 255);
}

.hero p {
  font-size: var(--font-large);
  color: rgb(255, 255, 255);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  height: 800px;
  background: #53536c;
  background: -webkit-linear-gradient(to right, #29323c, #53536c);
  background: linear-gradient(to right, #29323c, #53536c);
  background-image: url("./img/johannes-plenio-1126384.jpg");
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

.hero a {
  margin-top: 50px !important;
  border: 3px double rgb(255, 255, 255);
  text-decoration: none;
  color: rgb(255, 255, 255);
  transition: var(--transition-fast);
}

.hero a:hover {
  background-color: rgba(255, 255, 255, 0.7);
  color: black;
}

/*About*/
.about {
  width: 100%;
  min-height: 300px;
}

.content h2 {
  margin-top: 30px !important;
  padding-bottom: 15px;
  border-bottom: 1px;
  border-bottom-style: solid;
  border-bottom-color: #ccc;
}

.content p {
  margin-top: 15px !important;
}

.leadership {
  margin-top: 50px;
  padding-bottom: 16px;
}

.leadership.content h3 {
  margin-top: 0 !important;
}

.l-cards {
  display: flex;
}

.icons {
  font-size: var(--font-x-large);
}

.l-card {
  width: 50%;
  margin-top: 50px !important;
  padding-left: 25px;
  padding-right: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-collapse: collapse;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.l-card + .l-card {
  border-collapse: collapse;
  border-left: 1px;
  border-left-style: solid;
  border-left-color: #ccc;
}

.l-card p {
  font-size: var(--font-medium-large);
}

.circular-portrait {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  z-index: 5;
}
.circular-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*Testimonials*/

.testimonials {
  min-height: 300px;
  height: auto;
  /* BG color using AMT styling */
  background: #53536c;
  background: -webkit-linear-gradient(to right, #29323c, #53536c);
  background: linear-gradient(to right, #29323c, #53536c);
}

.testimonials h3 {
  color: white;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  background: white;
}

/* Slides */
.mySlides {
  display: none;
  padding: 80px;
  text-align: center;
}

.mySlides p {
  width: 50%;
  text-align: center;
  margin: 0 auto;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -30px;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* The dot/bullet/indicator container */
.dot-container {
  text-align: center;
  padding: 20px;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Add a background color to the active dot/circle */
.active,
.dot:hover {
  background-color: rgba(255, 255, 255, 1);
}

/*Consulting*/
.consulting {
  /* BG color using AMT styling */
  background: #53536c;
  background: -webkit-linear-gradient(to right, #29323c, #53536c);
  background: linear-gradient(to right, #29323c, #53536c);
  color: #fff;
  padding-bottom: 16px;
}

.consulting.content {
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.consulting h3 {
  text-align: center;
}

.consulting ul {
  list-style-type: none;
  text-align: center;
  margin: 0;
}

.consulting li {
  list-style-type: none;
  text-align: center;
  margin-bottom: .75em;
}

.consulting ul ul {
  list-style-type: none;
  margin-bottom: 1em;
}

.c-card-wrap {
  flex: 0 0 50%;
  display: flex;
}

.c-card {
  min-height: 100px;
  width: 50%;
  margin-top: 50px !important;
  padding-left: 25px;
  padding-right: 25px;
  float: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: var(--font-medium-large);
  border-collapse: collapse;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  flex: 0 0 100%;
}

.c-card p {
  text-align: center;
}

.c-card-left {
  float: left;
  border-right: 1px;
  border-right-style: solid;
  border-right-color: #ccc;
}

.c-card-right {
  float: right;
}

.c-card-full {
  width: 100%;
}

.c-card-top {
  border-bottom: 1px;
  border-bottom-style: solid;
  border-bottom-color: #ccc;
}

.c-card-bottom {
  border-top: 1px;
  border-top-style: solid;
  border-top-color: #ccc;
  border-bottom: 0px;
  border-bottom-style: none;
}

.why-us {
  min-height: 300px;
  height: auto;
  margin-bottom: 16px;
}

.why-us p {
  font-size: var(--font-medium-large);
}

.boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.box {
  flex: 35%;
  min-height: 100px;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: var(--font-large);
  padding: 15px;
}

/*Contact*/

.contact {
  min-height: 200px;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #53536c;
  background: -webkit-linear-gradient(to right, #29323c, #53536c);
  background: linear-gradient(to right, #29323c, #53536c);
  color: #fff;
}

.contact p {
  text-align: center;
  font-size: var(--font-medium-large);
}

.contact h3 {
  text-align: center;
}

.contact h2 {
  text-align: left;
}

.contact form {
  /* BG color using AMT styling */
  background: #53536c;
  background: -webkit-linear-gradient(to right, #29323c, #53536c);
  background: linear-gradient(to right, #29323c, #53536c);
}

.contact .form .container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.contact span {
  color: var(--title-span-color);
}

.contact .form .container form {
  width: 80%;
}

.contact .short-contact {
  display: flex;
  flex-direction: column;
  align-items: left;
  min-height: 400px;
}

.contact .form input[type="text"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

.contact .form input[type="submit"] {
  border: 3px solid rgba(255, 255, 255);
  text-decoration: none;
  color: rgba(255, 255, 255);
  transition: var(--transition-fast);
  background-color: transparent;
  padding: 10px 25px;
}

.contact .form input[type="submit"]:hover {
  background-color: rgba(255, 255, 255, 0.7);
  color: black;
}

/*Footer*/
.footer {
  margin-top: 40px;
  min-height: 80px;
  align-items: center;
  justify-content: center;
  border-top: 1px;
  border-top-style: solid;
  border-top-color: #ccc;
}

@media screen and (max-width: 1200px) {
  .contact .short-contact h2 {
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .hero h1 {
    font-family: "Lato", arial, sans-serif;
  }

  .hero p {
    text-align: center;
  }

  .c-card {
    font-size: var(--font-medium);
  }

  .mySlides {
    padding: 50px !important;
  }

  .mySlides p {
    width: 60%;
  }

  .box {
    flex: 45%;
    font-size: var(--font-medium-large);
    min-height: 0;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .nav-container {
    width: 100%;
  }

  .nav-container .links {
    display: none;
  }

  .mobile-button {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
  }

  .mobile-button span {
    font-size: var(--font-x-large);
  }

  .mobile-links-active {
    width: 100%;
  }

  .content.container,
  .leadership-content.container {
    width: 100%;
  }

  .l-cards {
    flex-direction: column;
  }

  .l-card {
    width: 100%;
    margin-top: 0px !important;
    padding: 25px;
  }

  .l-card + .l-card {
    border-collapse: collapse;
    border-left: 0px;
    border-left-style: none;
    border-top: 1px;
    border-top-style: solid;
    border-top-color: #ccc;
  }

  .c-card {
    width: 100%;
    margin-top: 0px !important;
    padding: 25px;
  }

  .c-card-left {
    border-right: 0px;
    border-right-style: none;
    border-bottom: 1px;
    border-bottom-style: solid;
    border-bottom-color: #ccc;
  }

  .c-card-right {
    border-bottom: 1px;
    border-bottom-style: solid;
    border-bottom-color: #ccc;
  }

  .c-card-bottom {
    border-top: 0px;
    border-top-style: none;
  }

  .mySlides {
    padding: 30px !important;
  }

  .mySlides p {
    width: 70%;
  }

  .testimonials {
    padding: 15px !important;
  }

  .contact {
    justify-content: center;
  }

  .contact .short-contact {
    width: 100%;
    min-height: 0;
    justify-content: center;
  }

  .contact .short-contact h2 {
    width: fit-content;
  }

  .contact .container {
    width: 100%;
  }

  .contact .form .container form {
    width: 100%;
  }

  .why-us .container {
    width: 80%;
  }

  .box {
    flex: 100%;
  }
}

@media screen and (max-width: 480px) {
  html,
  body {
    overflow-x: none;
  }

  #back-to-top {
    display: none !important;
  }

  .navigation {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(252, 252, 252, 1) !important;
  }

  .mobile-links .closebtn {
    margin-right: 0;
  }

  .hero {
    min-height: 400px;
    height: auto;
  }

  .hero h1 {
    font-family: "Lato", arial, sans-serif;
    font-size: var(--font-x-large);
  }
  .hero p {
    font-size: var(--font-medium);
  }

  .about p {
    font-size: var(--font-medium);
  }

  .why-us p {
    font-size: var(--font-medium);
  }
  
  .testimonials {
    padding: 0 !important;
  }

  .mySlides {
    font-size: 0.85rem;
  }

  .mySlides p {
    width: 70%;
  }

  .content {
    padding: 10px;
    box-shadow: none;
    border: none;
  }

  .l-card {
    padding: 0;
  }

  .contact {
    padding: 10px;
  }

  .contact p {
    font-size: var(--font-medium) !important;
  }

  .contact .container {
    width: 100%;
  }

  .why-us .container {
    width: 100%;
  }

  .box {
    font-size: var(--font-medium);
  }
}
