* {
  padding: 0;
  margin: 0;
}

html,
body {
  background-color: #1e4853;
  color: #fff;
  height: 100%;
  overflow-x: hidden;
  font-family: Arial,Helvetica,sans-serif;
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
}

.word-break {
  word-break: break-word;
}

.text-decoration-none {
  text-decoration: none !important;
}

.header {
  display: inline-grid;
  width: 100%;
}

.header-top {
  max-height: 6.875rem;
  background: #2C3E50;
  background: linear-gradient(to right, #1e4853, #fff 55%, #1e4853);
}

.header-top-logo picture {
  object-fit: contain;
  max-width: 450px;
  max-height: 100px;
  margin-left: 10px;
  margin-bottom: 10px;
}

.header-top-logo picture img {
  margin-top: 15px;
}

.logo-med,
#sidebar-menu,
#toggle {
  display: none;
}

.author {
  margin-bottom: -0.1rem;
}

.header-motto {
  color: black;
  font-family: 'Tangerine', cursive;
  text-indent: -2em;
}

.header-motto img {
  margin: 5px;
}

.alt-logo {
  max-height: 40px;
  max-width: 250px;
}

.header-contact {
  font-weight: 600;
  vertical-align: middle;
  float: right;
}

.top-nav-item {
  font-family: "Times New Roman",Times,serif;
  background-color: #7f979d;
  border: 1px solid white;
}

.top-nav-item:hover {
  background-color: transparent;
}

.top-nav-link {
  text-decoration: none;
  text-transform: uppercase;
  color: black;
  text-align: center;
  font-weight: 600;
  width: 100%;
}

.top-nav-link:hover {
  color: white;
}

.footer-services h4,
.footer-addresses h4 {
  border-bottom: 2px solid #fff;
  font-size: 1rem;
  font-weight: 600;
}

.footer-inner-services {
  line-height: 1.2;
  color: #fff;
}

.footer-inner-services a:hover {
  color: #ccc;
}

.footer-inner-services-icon {
  text-decoration: underline;
}

.district-name {
  font-weight: 600;
  color: #fff;
}

.footer-inner-addresses {
  line-height: 1.2;
  color: #ccc;
}

.footer-copyright {
  border-top: 2px solid #fff;
  font-size: 0.9rem;
  text-align: center;
}

.sidebar {
  background: #1e4853;
  background: linear-gradient(0deg, rgba(30, 72, 83, 0) 0%, #9cc4a7 3%, #88b09a 97%, rgba(30, 72, 83, 0) 100%);
  height: fit-content;
  max-width: 150px;
}

.side-nav {
  font-family: "Times New Roman",Times,serif;
  text-align: center;
  color: #000;
  line-height: 1;
  font-size: 1.1rem;
  gap: 0.2rem;
  list-style: none;
}

.side-nav-item:hover {
  color: #fff;
  background: #1e4853;
  background: linear-gradient(180deg, rgba(30, 72, 83, 0.7) 25%, #1e4853 50%, rgba(30, 72, 83, 0.7) 75%);
}

.sidebar-img {
  object-fit: contain;
}

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

.content-title {
  color: #95bb9f;
  text-transform: uppercase;
  font-weight: 600;
}

.content {
  background: #ffffdd;
  color: #000;
}

.content a {
  text-decoration: underline;
}

.content a:hover {
  color: #333;
}

.content p {
  margin: 1.2rem 0;
  padding: 0rem 1rem;
  text-align: justify;
}

.content p:first-of-type {
  margin: 0;
}

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

.content-img img {
  width: 100%;
}

.btn-estimate {
  background: #84c1b5;
  background: linear-gradient(0deg, #84c1b5 4%, #255560 20%, #1e4853 50%, #255560 80%, #84c1b5 95%);
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  background-size: calc(100% + 20px) calc(100% + 20px);
  border-radius: 100px;
  border-width: 0;
  box-shadow: none;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-family: CircularStd, sans-serif;
  font-size: 1rem;
  height: auto;
  justify-content: center;
  line-height: 1.5;
  padding: 8px 20px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, background-position .2s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: top;
  white-space: nowrap;
  align-items: center;
  appearance: none;
}

.btn-estimate:active,
.btn-estimate :focus {
  outline: none;
}

.btn-estimate:hover {
  background-position: -20px -20px;
}

.btn-estimate:active,
.btn-estimate :focus {
  outline: none;
}

.btn-estimate:hover {
  background-position: -20px -20px;
}

.content-services-icon {
  align-self: center;
  min-width: calc(100% / 3);
}

.content-services-icon img {
  width: 100%;
}

.content-services-item-txt {
  min-height: 6rem;
}

.content-services-link {
  text-decoration: none !important;
  text-transform: uppercase;
  font-weight: 600;
  color: #666;
  cursor: pointer;
}

.content-services-link:after, .content-services-link:before {
  content: " ";
  width: 1rem;
  height: 1rem;
  position: absolute;
  border: 0px solid #fff;
  transition: all 2s;
}

.content-services-link:after {
  top: -0.1rem;
  left: -0.1rem;
  border-top: 0.1rem solid #333;
  border-left: 0.1rem solid #333;
}

.content-services-link:before {
  bottom: -0.1rem;
  right: -0.1rem;
  border-bottom: 0.1rem solid #333;
  border-right: 0.1rem solid #333;
}

.content-services-link:hover {
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.content-services-link:hover:before, .content-services-link:hover:after {
  background: rgba(105, 105, 105, 0.1);
  width: 100%;
  height: 100%;
}

.offer-img {
  max-width: 300px;
}

.offer-img img {
  width: 100%;
}

.form-img {
  bottom: 10%;
  left: 75%;
}

.form-img img {
  height: 100px !important;
  width: 100px !important;
}

.contacts-img {
  place-self: flex-end;
}

.contacts-img img {
  width: 100px;
  height: 100px;
}

.pricing-img {
  bottom: 0;
  left: 80%;
}

.pricing-img img {
  width: 100px;
  height: 100px;
}

.pricing-sticker {
  top: 60%;
  left: 60%;
}

.pricing-sticker img {
  max-width: 400px;
  width: 100%;
}

.gallery-subtitle {
  color: #fff;
  background: #1e4853;
  text-transform: uppercase;
  margin-left: -2rem;
  border: thin solid #7f979d;
}

/* ***************************************************
 ***************************************************
  ***************************************************
              <-- MEDIA -->
 ***************************************************
  ***************************************************
******************************************** */
@media (max-width: 992px) and (min-width: 768px) {
  .logo-wide {
    display: none;
  }
}

@media (max-width: 992px) {
  .right-sidebar,
  .commercial {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .logo-med {
    display: block;
  }
  .content-services-icon {
    min-width: calc(100% / 2) !important;
  }
}

@media (max-width: 768px) {
  .nav {
    justify-content: center;
    margin: 5px 0;
  }
  .top-nav-link {
    font-size: 1em;
  }
  .top-nav-item {
    padding: 5px;
  }
  .top-nav-item:nth-child(4n),
  .top-nav-item:nth-child(3n),
  .header-motto,
  .sidebar,
  .form-img,
  .pricing-img,
  .pricing-sticker {
    display: none !important;
  }
  .header-top-logo picture {
    max-width: none;
    max-height: none;
  }
  /*       Toggle         */
  #sidebar-menu {
    display: flex;
    position: fixed;
    top: 0.4rem;
    width: 10rem;
    left: -10rem;
    z-index: 300;
    height: fit-content;
    background: #1e4853;
    background: rgba(30, 72, 83, 0.9);
    border-left: 0.1rem solid rgba(255, 255, 255, 0.3);
    border-right: 0.1rem solid rgba(255, 255, 255, 0.3);
    border-radius: 10%;
    transition: 0.5s;
  }
  #sidebar-menu.active {
    left: 0 !important;
  }
  .menu-group {
    width: fit-content;
  }
  .menu-link {
    border-top: 0.1rem solid rgba(255, 255, 255, 0.3);
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    border-radius: 12%;
  }
  .menu-link:first-of-type {
    border-top: none;
  }
  .menu-link:hover {
    background: #84c1b5;
    background: linear-gradient(0deg, #84c1b5 4%, #255560 20%, #1e4853 50%, #255560 80%, #84c1b5 95%);
    font-weight: 600;
  }
  #toggle {
    position: fixed;
    z-index: 300;
    top: 0.4rem;
    right: 0.4rem;
    width: 4rem;
    height: 4rem;
    background: #1e4853;
    background: rgba(30, 72, 83, 0.9);
    border: 0.1rem solid #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #toggle::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 2px;
    background: #fff;
    transform: translateY(3px);
    transition: 0.2s;
  }
  #toggle::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 2px;
    background: #fff;
    transform: translateY(8px);
    transition: 0.2s;
  }
  #toggle.active::before {
    transform: translateY(0px) rotate(45deg);
  }
  #toggle.active::after {
    transform: translateY(0px) rotate(-45deg);
  }
  #menu-title {
    position: fixed;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.5rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 3px;
  }
  .active {
    display: none;
  }
  .content-services-icon {
    min-width: calc(100% / 2) !important;
  }
}

@media (max-width: 576px) {
  .footer-services {
    text-align: center;
  }
  .footer-inner-services {
    column-gap: 0.6rem;
  }
  .footer-inner-services-item {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 405px) {
  .content-services-item {
    flex-flow: column;
  }
  .content-services-item-txt {
    flex-basis: 5rem;
  }
  .content-services-title {
    font-size: 1rem;
  }
  .offer-img {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 320px) {
  .content-services-title {
    font-size: 0.8rem;
  }
}
