/*!
 * Start Bootstrap - Stylish Portfolio (http://startbootstrap.com/)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
}
strong {
  font-weight: 600;
}

.text-vertical-center {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

/* Custom Button Styles */

.btn-dark {
  color: #fdffff;
  border: none;
  border-radius: 0;
  background-color: rgba(35, 46, 83, 0.4);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
  color: rgb(253, 255, 255);
  background-color: rgba(35, 46, 83, 0.8);
}

.btn-light {
  color: #333;
  border: none;
  border-radius: 0;
  background-color: rgb(253, 255, 255);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
  color: #333;
  background-color: rgba(253, 255, 255, 0.8);
}

.btn-lead {
  position: relative;
  padding: 11px 29px;
  background: linear-gradient(135deg, #242e53 0%, transparent 100%);
  border: none;
  color: #fdffff;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
}

.btn-lead::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #fdffff 0%, #242e53 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.btn-lead:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
  color: white;
}

/* Custom Horizontal Rule */

hr.small {
  max-width: 100px;
}

/* Side Menu */

#sidebar-wrapper {
  position: fixed;
  z-index: 1000;
  right: 0;
  overflow-y: auto;
  width: 250px;
  height: 100%;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -ms-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  transform: translateX(250px);
  background: rgba(35, 46, 83, 0.9);
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li {
  line-height: 40px;
  text-indent: 20px;
}

.sidebar-nav li a {
  display: block;
  text-decoration: none;
  color: rgb(253, 255, 255);
}

.sidebar-nav li a:hover {
  text-decoration: none;
  color: #fdffff;
  background: rgba(253, 255, 255, 0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
  text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
  font-size: 18px;
  line-height: 55px;
  height: 55px;
}

.sidebar-nav > .sidebar-brand a {
  color: rgb(253, 255, 255);
}

.sidebar-nav > .sidebar-brand a:hover {
  color: #fdffff;
  background: none;
}

#menu-toggle {
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
}

#sidebar-wrapper.active {
  right: 250px;
  width: 250px;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -ms-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.toggle {
  font-size: 1em;
  margin: 5px 5px 0 0;
  padding: 15px 20px;
}

/* Header */

.header {
  position: relative;
  display: table;
  width: 100%;
  height: 100%;
  background: url(../img/bg5.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* About */

.about {
  padding: 50px 0;
}

/* Services */

.services {
  padding: 50px 0;
}

.service-item {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Callout */

.callout {
  display: table;
  width: 100%;
  height: 400px;
  color: #fdffff;
  background: url(../img/callout.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* Portfolio */

.portfolio {
  padding: 50px 0;
}

.portfolio-item {
  margin-bottom: 4px;
  a {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.img-portfolio {
  margin: 0 auto;
  max-width: 70%;
}

.img-portfolio:hover {
  opacity: 0.8;
}

/* Call to Action */

.call-to-action {
  padding: 50px 0;
}

.call-to-action .btn {
  margin: 10px;
}

/* Map */

.map {
  height: 500px;
}

@media (max-width: 768px) {
  .map {
    height: 75%;
  }
}

.map iframe {
  pointer-events: none;
}

/* Footer */

footer {
  padding: 100px 0;
}

#to-top {
  font-size: 1em;
  position: fixed;
  right: 5px;
  bottom: 5px;
  display: none;
  padding: 15px 20px;
}

.text-list {
  padding-top: 1em;
  text-align: left;
}
.img-div {
  min-height: 6em;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

summary {
  text-decoration: none;
  color: #242e53;
}

h1 {
  text-shadow: -0.5px 0.4px 0px white;
  font-size: 2em;
  font-weight: 700;
  margin: 0;
  padding: 0;
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 1rem;
}

h2 {
  font-size: 1.6rem;
}
.tech-logo-container {
  align-items: baseline;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}
.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #242e53;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  break-inside: avoid;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
  padding: 0.5rem 0.2rem;
}

.tech-logo:hover {
  color: #fdffff;
  text-decoration: none;
  text-shadow: 1.5px 1px 0px #242e53;
}

.tech-icon {
  width: 48px;
  height: 48px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  filter: drop-shadow(0px 0px 6px #fdffff) brightness(0) saturate(100%)
    invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%)
    contrast(97%);
}
.tech-logo:hover .tech-icon {
  transform: scale(1.2);
  filter: drop-shadow(0px 0px 6px #fdffff) brightness(0) saturate(100%)
    invert(20%) sepia(100%) saturate(7500%) hue-rotate(246deg) brightness(100%)
    contrast(100%);
}

.presta-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  padding-top: 1.5rem;
  li {
    background: linear-gradient(
      45deg,
      rgba(253, 255, 255, 0.12),
      25%,
      transparent,
      25%,
      #242e53
    );
    box-shadow: 0px 0px 1px 1px white;
    border-radius: 4px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  } 
  .hero-desc {
    font-size: 1.5rem;
  }
  .tech-logo-container {
    max-width: 905px;
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    gap: 3rem;
  }
  .tech-logo {
    font-size: 1.2rem;
    padding: 0.5rem 0.2rem;
  }
  .btn-lead {
    padding: 16px 32px;
  }
  .presta-block {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }
}

