:root {
  --main: rgba(223, 131, 20, 0.815);
  --white: rgba(248, 248, 248, 0.795);
  --text: rgb(241, 241, 241);
  --charcoal: hsla(218, 22%, 26%, 1);
  --black-coral: rgb(80, 88, 104); 

  --font: 'Manrope', sans-serif;

  --fs-1: calc(2.7rem + 1.38vw);
  --fs-2: calc(2.6rem + .66vw);
  --fs-3: 2.2rem;
  --fs-4: 1.9rem;
  --fs-5: 1.8rem;

  --section-padding: 30px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

::selection{
  color: var(--text);
  background: var(--main);
}

a,
img,
span,
input,
button,
ion-icon {
  display: block;
}

li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  height: auto;
}

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

html {
  font-family: var(--font);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--black-coral);
  font-size: 1.6rem;
  line-height: 1.7;
}

body.nav-active {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 98%);
}
::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 80%);
}
::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 70%);
}

textarea {
  background-color: var(--white);
}

/********************************************** REUSED **********************************************/
.container {
  padding-inline: 16px;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  font-size: 2rem;
  transition: .25s ease;
}

.social-link:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  color: var(--main);
}

.section {
  padding-block: var(--section-padding);
}

.h1,
.h2,
.h3,
.h4 {
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.3;
}

.h1 {
  font-size: var(--fs-1);
}

.h2 {
  font-size: var(--fs-2);
}

.h3 {
  font-size: var(--fs-3);
}

.h4 {
  font-size: var(--fs-4);
}

.navbar-list-offer {
  display: none;
}

@media (max-width: 767px) {
  .navbar-list-offer {
    display: block;
  }
}

.btn {
  color: var(--charcoal);
  font-size: 1.7rem;
  font-weight: 700;
  max-width: max-content;
  padding: 12px 28px;
  border-radius: 100px;
  transition: 0.25s ease;
  will-change: transform;
}

.btn:is(:hover, :focus-visible) {
  transform: translateY(-4px);
}

.btn-primary,
.btn-outline:is(:hover, :focus-visible) {
  background-color: var(--main);
  color: var(--text);
  font-size: 1.25rem;
}

.section-subtitle {
  font-size: 1.7rem;
  text-transform: uppercase;
  color: var(--main);
  font-weight: 700;
  margin-block-end: 16px;
}

.grid-list {
  display: grid;
  gap: 25px;
}

.heading h2 {
  position: relative;
} 

.heading h2::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  display: block;
  margin: 0 auto;
  background-color: var(--main);
} 

@media (max-width: 800px) {
  .heading h2::after {
    height: 3px;
  } 
}

/********************************************** HEADER **********************************************/
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  display: inline-block;
  vertical-align: middle;
  line-height: 20px;
  text-align: center;
  padding: 10px;
  background-color: var(--main);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.top-bar-pair {
  display: flex;
  align-items: center;
  margin: 0 25px 0 25px;
}

.top-bar a {
  padding: 5px;
}

@media (max-width: 800px) {
  .res-top {
    display: none;
  }

  .top-bar a {
    font-size: 1.35rem;
  } 
}

@media (max-width: 500px) {
  .top-bar {
    padding: 0;
  }

  .top-bar-pair {
    margin: 0 15px 0 15px;
  }

  .top-bar a {
    font-size: 1.1rem;
  } 
}

@media (max-width: 400px) {
  .top-bar-pair {
    margin: 0 5px 0 5px;
  }

  .top-bar a {
    font-size: 1rem;
  } 
}

.logo img {
  height: 73px;
  width: 102px;
}

.logo {
  margin: 2px 0 2px 0;
}

.header .btn {
  display: none;
}

.header {
  position: relative;
  width: 100%;
  padding: 2px 0 2px 0;
  box-shadow: 0 0 20px hsla(216, 14%, 14%, 0.05);
  z-index: 4;
  background-color: var(--white);
  border-bottom: 2px solid var(--main);
}

@media (max-wdith: 1024px) {
  .logo img {
    height: 49px;
    width: 75px;
  }
}

@media (max-width: 992px) {
  .logo {
    margin: 5px 0 5px 0;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 5px 0 5px 0;
  }
}

@media (max-width: 575px) {
  .logo {
    margin: 1px 0 1px 0;
  }

}

.header ul {
  padding-block: 20px;
}

.header.active {
  position: fixed;
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

.header .container {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.nav-open-btn {
  font-size: 3.5rem;
  color: var(--charcoal);
}

.navbar {
  position: fixed;
  top: 0;
  left: -300px;
  background-color: var(--white);
  color: var(--charcoal);
  max-width: 300px;
  width: 100%;
  height: 100vh;
  padding: 30px;
  padding-block-end: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 2;
  visibility: hidden;
  transition: 0.3s ease-in-out;
}

.navbar.active {
  visibility: visible;
  transform: translateX(300px);
  border-right: 5px solid var(--main);
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-close-btn {
  background-color: hsla(0, 0%, 100%, 0.08);
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  font-size: 2rem;
  padding: 6px;
  border-radius: 50%;
  transition: 0.25s ease;
}

.nav-close-btn ion-icon {
  --ionicon-stroke-width: 50px;
}

.nav-close-btn:is(:hover, :focus-visible) {
  background-color: var(--main);
}

.navbar-list {
  margin-block-end: auto;
}

.navbar-link {
  font-weight: 700;
  padding-block: 6px;
}

.contact-link {
  transition: 0.25s ease;
}

.contact-link:is(:hover, :focus-visible) {
  text-decoration: underline;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  pointer-events: none;
  opacity: 0;
  transition: 0.25s ease;
}

.overlay.active {
  pointer-events: all;
  opacity: 0.8;
}

/********************************************** INFO **********************************************/

.info {
  text-align: center;
}

.info .section-title {
  margin-block-end: 50px;
}

.info-card {
  padding: 40px;
  box-shadow: 0 0 0 0.05rem hsla(214, 88%, 27%, 0.08), 0 0 1.25rem hsla(216, 14%, 14%, 0.06);
  border-radius: 6px;
  transition: .2s linear;
}

.info-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.info-card .card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--main);
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 2.5rem;
  border-radius: 50%;
  margin-inline: auto;
}

.info-card .card-icon ion-icon {
  --ionicon-stroke-width: 50px;
}

.info-card .card-title {
  margin-block: 16px 10px;
}

.info-card .btn-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-block-start: 10px;
  color: var(--main);
  font-weight: 700;
  transition: 0.25s ease;
}

.info-card .btn-text:is(:hover, :focus-visible) {
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .info-card {
    width: 85%;
    margin: 0 auto;
  }
}

@media (max-width: 922px) {
  .info-card {
    width: 75%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .info .section-title {
    font-size: 2rem;
  }
  .info-card {
    width: 95%;
    margin: 0 auto;
  }
}

/********************************************** SLIDER **********************************************/

.slider {
  position: relative;
  width: 100%;
}

.myslide {
  height: 570px;
  display: none;
  overflow: hidden;
  color: var(--main);
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  font-size: 50px;
  padding: 15px;
  cursor: pointer;
  color: var(--text);
  transition: 0.1s;
  user-select: none;
}

.prev:hover,
.next:hover {
  color: var(--main);
}

.next {
  right: 0;
}

.dotsbox {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 20px;
  cursor: pointer;
}

.dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 3px solid var(--white);
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
}


.active,
.dot:hover {
  border-color: var(--main);
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.8
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: 0.8
  }

  to {
    opacity: 1
  }
}


.txt {
  position: absolute;
  color: var(--charcoal);
  letter-spacing: 2px;
  line-height: 35px;
  top: 40%;
  left: 15%;
  -webkit-animation-name: txt-ani;
  -webkit-animation-duration: 2s;
  animation-name: txt-ani;
  animation-duration: 2s;
  z-index: 1;
}

.txt p {
  background-color: var(--white);
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.6rem;
  max-width: 420px;
  min-width: 260px;
}

@-webkit-keyframes txt-ani {
  from {
    left: 25%;
  }

  to {
    left: 15%;
  }
}


@keyframes txt-ani {
  from {
    left: 25%;
  }

  to {
    left: 15%;
  }
}

.txt h1, h2 {
  color: var(--main);
  font-size: 50px;
  margin-bottom: 20px;
  line-height: 50px;
}

.slider img {
  transform: scale(1.5, 1.5);
  -webkit-animation-name: zoomin;
  -webkit-animation-duration: 40s;
  animation-name: zoomin;
  animation-duration: 40s;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}

@-webkit-keyframes zoomin {
  from {
    transform: scale(1, 1);
  }

  to {
    transform: scale(1.5, 1.5);
  }
}


@keyframes zoomin {
  from {
    transform: scale(1, 1);
  }

  to {
    transform: scale(1.5, 1.5);
  }
}


@media (max-width: 800px) {
  .myslide {
    height: 350px;
  }

  .txt {
    letter-spacing: 2px;
    line-height: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-animation-name: txt-ani2;
    -webkit-animation-duration: 2s;
    animation-name: txt-ani2;
    animation-duration: 2s;
  }

  @-webkit-keyframes txt-ani2 {
    from {
      top: 35%;
    }

    to {
      top: 50%;
    }
  }


  @keyframes txt-ani2 {
    from {
      top: 35%;
    }

    to {
      top: 50%;
    }
  }

  .txt h1, h2 {
    font-size: 40px;
    line-height: 35px;
  }

  .txt p {
    font-size: 13px;
  }

  .prev,
  .next {
    font-size: 35px;
    padding: 15px;
  }

  .dot {
    width: 11px;
    height: 11px;
    margin: 0 10px;
  }
}

@media (max-width: 520px) {
  .txt h1, h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .sign {
    margin-right: 20px;
  }

  .sign a {
    font-size: 12px;
  }
}

/********************************************** ABOUT **********************************************/

.about-section {
  padding-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1320px;
}

.about-img-container {
  padding: 0 30px 20px 10px;
  width: 100%;
  margin: 0 auto 20px auto;
  max-width: 900px;
}

.image-stack {
  display: grid;
  position: relative; 
  grid-template-columns: repeat(12, 1fr);
}

.img-bottom {
  grid-column: 5 / -1; 
  grid-row: 1;
}

.img-top {
  grid-row: 1;
  grid-column: 1 / span 8;
  padding-top: 25%; 
  z-index: 1; 
}

.stack-img {
  width: 100%;
  display: block;
  transition: .5s ease;
  overflow: hidden;
  border-radius: 5px;
}

.stack-img img {
  transform: scale(1);
}

.stack-img:hover  {
  transform: scale(1.05);
}

.about-description {
    width: 80%;
    max-width: 600px;
}

.about-description h2 { 
    color: var(--main);
    font-size: 2.6rem;
    font-weight: 400;
    display: inline;
    position: relative;
    margin-left: 40px;
}

.about-description h2::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  display: block;
  margin: 0 auto;
  background-color: var(--main);
  margin-left: 40px;
}

@media (max-width: 800px) {
  .about-description h2::after {
    height: 3px;
  }
}



.about-description p {
    color: var(--charcoal);
    font-weight: 100;
    padding: 0 0 20px 0;
    font-size: 1.55rem;
}

.about-paragraph-first {
  margin-top: 30px;
}

@media (max-width: 922px) {
    .about-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 1400px) {
  .about-section {
      padding-top: 50px;
  }
}

/********************************************** SERVICES **********************************************/

.services-section {
  padding-top: 80px;
  display: flex;
  justify-content: center;
}

.services-wrapper {
  margin: 0 auto;
  padding: 0 10%;
  padding-bottom: 30px;
  max-width: 1700px;
  text-align: center;
}

@media (min-width: 2000px) {
  .services-wrapper {
    max-width: 1800px;
  }
}

@media (min-width: 2500px) {
  .services-wrapper {
    max-width: 1900px;
  }
}

@media (min-width: 3000px) {
  .services-wrapper {
    max-width: 2000px;
  }
}

@media (min-width: 3500px) {
  .services-wrapper {
    max-width: 2100px;
  }
}

@media (min-width: 1400px) {
  .box {
    padding: 40px;
  }
}

.services-wrapper h2 {
  color: var(--main);
  font-size: 2.8rem;
  text-align: center;
  font-weight: 300;
  display: inline;
  position: relative;
}

@media (max-width: 800px) {
  .services-wrapper h2 {
    font-size: 2.5rem;
  }
}

.services-container {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.box {
  height: 250px;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: .2s linear;
}

.services-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.box img {
  height: 70px;
}

.box h3 {
  color: #444;
  padding: 10px 0;
  font-size: 20px;
}

.box p {
  color: var(--black-coral);
  font-size: 14px;
  line-height: 1.6;
}

.service-btn {
  color: var(--text);
  border: none;
  outline: none;
  font-size: 1.3rem;
  margin-top: 10px;
  padding: 2px 7px;
  background: var(--main);
  border-radius: 5px;
  display: inline-block;
  text-decoration: none;
  transition: .2s linear;
}


.box:hover, .service-btn:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 800px) {
  .box h3 {
    font-size: 16px;
  }
  .box p {
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .service-btn {
    font-size: 1.2rem;
  }
}

/********************************************** CONTACT **********************************************/


.contact-section {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

@media (min-height: 1300px) {
  .file-contact  {
    margin-top: 130px;
  }
}

@media (min-height: 1300px) and (max-width: 1024px) {
  .file-contact  {
    margin-top: 30px;
  }
}

.contactUs {
  position: relative;
  width: 100%;
  padding: 40px 50px;
  max-width: 1320px;
}

.contactUs .title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
}

.contactUs .title h2 {
  color: var(--main);
  font-size: 2.8rem;
}

.contactUs .norm-weight h2 {
  font-weight: 500;
}

.form {
  grid-area: form;
}
.info {
  grid-area: info;
}
.map {
  grid-area: map;
}

.contact {
  padding: 40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.contact-box {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 5fr 4fr;
  grid-template-areas: 
  "form info" 
  "form map";
  grid-gap: 20px;
  margin-top: 20px;
}

.contact h3 {
  color: var(--main);
  font-weight: 500;
  font-size: 1.4em;
  margin-bottom: 10px;
}

/* FORM */
.formBox {
  position: relative;
  width: 100%;
}

.formBox .row50 {
  display: flex;
  gap: 20px;

}

.inputBox {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  width: 50%;
}

.formBox .row100 .inputBox {
  width: 100%;
}

.inputBox span {
  color: var(--main);
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 500;
}

.inputBox input {
  padding: 10px;
  font-size: 1.1em;
  outline: none;
  border: 1px solid var(--black-coral);
}

.inputBox textarea {
  padding: 10px;
  font-size: 1.1em;
  outline: none;
  border: 1px solid var(--black-coral);
  resize: none;
  min-height: 220px;
  margin-bottom: 10px;
}

.inputBox input[type="submit"] {
  border: none;
  background: var(--main);
  font-size: 1.1em;
  max-width: 120px;
  font-weight: 500;
  cursor: pointer;
  padding: 14px 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: .2s linear;
  color: var(--text);
  transition: .2s linear;
}

@media (max-width: 600px) {
  .inputBox input[type="submit"]  {
    padding: 8px 9px;
  }
}

.inputBox input[type="submit"]:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.inputBox ::placeholder {
  color: #999;
}


/* INFO */
.info h3 {
  margin-bottom: 15px;
  color: var(--main);
}

.info .infoBox div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.info .infoBox div span {
  min-width: 40px;
  height: 40px;
  background: var(--main);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  border-radius: 50%;
  margin-right: 15px;
}

.info .infoBox div p {
  font-size: 1.1em;
  color: #000;
}

.info .infoBox div a {
  text-decoration: none;
  color: #000;
  font-size: 1.1em;
}

.sci {
  margin-top: 40px;
  display: flex;
}

.sci li {
  list-style: none;
  margin-right: 15px;
}

.sci li a {
  color: var(--main);
  font-size: 2em;
  color: #888484;
  transition: .2s linear;
}

.sci li a:hover {
  color: var(--main);
  transform: translateY(-3px);
}

.map {
  padding: 0;
}

.map iframe {
  width: 100%;
  height: 100%;
}


@media (max-width: 992px) {
  .contactUs {
      padding: 60px;
  }
  .contact-box {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      grid-template-areas: 
      "form"
      "info"
      "map";
  }
  .formBox .row50 {
      display: flex;
      gap: 0;
      flex-direction: column;
  }
  .inputBox {
      width: 100%;
  }
  .contact {
      padding: 30px;
  }
  .map {
      min-height: 300px;
      padding: 0;
  }
}

@media (max-width: 768px) {
  .contactUs {
      padding: 40px;
  }
}

@media (max-width: 575px) {
  .contactUs {
      padding: 20px;
  }
}

/********************************************** FOOTER **********************************************/

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--main);
  color: var(--text);
}

.footer-item-secondary {
  color: var(--text);
  text-decoration: underline;
  padding: 0 50px 0 50px;
  font-size: 1.3rem;
}

@media (max-width: 575px) {
  .footer-item-secondary {
    padding: 0 5px 0 5px;
  }
}


.footer-item-secondary:hover {
  cursor: pointer;
}

.footer-item {
  min-width: 100px;
}


.copyright {
  text-align: center;
  padding: 0.7rem 0;
}

.flex-wrapper {
  display: flex;
  min-height: calc(100vh - 125px);
  flex-direction: column;
  justify-content: space-between;
}

/********************************************** MEDIA QUERIES **********************************************/

@media (min-width: 575px) {
  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .container {
    max-width: 720px;
  }

  .header .btn {
    display: block;
    margin-inline-start: auto;
    padding: 8px 20px;
  }

  .hero-content {
    max-width: 85%;
    margin-inline: auto;
  }

  .hero-text {
    --fs-5: 2rem;
  }

  .info .section-title {
    max-width: 30ch;
    margin-inline: auto;
  }

  .about .container {
    grid-template-columns: 1fr 0.7fr;
    align-items: center;
  }

  .feature .container {
    grid-template-columns: 0.7fr 1fr;
    align-items: center;
  }

  .feature-banner {
    order: 1;
  }

}


@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  .nav-open-btn,
  .navbar>*:not(.navbar-list),
  .overlay {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
    display: block;
    margin-inline: auto 24px;
  }

  .navbar-list {
    display: flex;
    gap: 30px;
  }

  .navbar-link {
    color: var(--charcoal);
    transition: 0.25s ease;
  }

  .navbar-link:is(:hover, :focus-visible) {
    opacity: 0.7;
  }

  .header .btn {
    margin-inline-start: 0;
  }

  .grid-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .info-card {
    width: 350px;
  }

  .btn-wrapper {
    justify-content: flex-start;
  }

}


@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .info .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }

}


@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

}

/********************************************** OFFER **********************************************/

.offer-title {
  padding-bottom: 20px;
}

#up-file {
  padding: 10px;
  cursor: pointer;
}

::file-selector-button {
  cursor: pointer;
  padding: 3px;
  border: 1px solid var(--black-coral);
  color: var(--black-coral);
  border-radius: 4px;
}

@media (max-width: 600px) {
  .offer-title h2{
    font-size: 2.5rem !important;
  }
}

/********************************************** ABOUT US **********************************************/

.about-us-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 25px;
}

@media (min-height: 1200px) {
  .about-us-section  {
    margin-top: 100px;
    padding-bottom: 55px;
  }
}

.heading {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 20px auto;
}

.heading h1 {
  font-size: 3rem;
  color: var(--main);
  margin-bottom: 25px;
  position: relative;
}

.heading h1::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  display: block;
  margin: 0 auto;
  background-color: var(--main);
}

.heading p {
  max-width: 60%;
  font-size: 1.7rem;
  color: var(--charcoal);
  margin-bottom: 35px;
}

@media (min-width: 2000px) {
  .heading p {
    max-width: 50%;
  }
}

@media (min-width: 3000px) {
  .heading p {
    max-width: 40%;
  }
}

.contact-us-container {
  width: 90%;
  margin: 0 auto;
  padding: 10px 20px;
}

@media (min-width: 1200px) {
  .contact-us-container {
    width: 80%;
  }
}

@media (min-width: 1400px) {
  .contact-us-container {
    width: 70%;
  }
}

@media (min-width: 1700px) {
  .contact-us-container {
    width: 60%;
  }
}

@media (min-width: 2000px) {
  .contact-us-container {
    width: 55%;
  }
}

@media (min-width: 2300px) {
  .contact-us-container {
    width: 45%;
  }
}

@media (min-width: 2900px) {
  .contact-us-container {
    width: 35%;
  }
}

@media (min-width: 3500px) {
  .contact-us-container {
    width: 30%;
  }
}

.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  margin-right: 40px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
  transition: .5s ease;
}

.about-image p {
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, .6);
  color: var(--text);
  padding: 0 5px;
  border-top-right-radius: 4px;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--main);
}

.about-content p {
  padding-bottom: 20px;
  font-size: 1.7rem;
  line-height: 1.5;
  color: var(--charcoal);
}

.contact-icons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
}

.about-social-link { 
  transition: 0.25s ease;
  font-size: 3rem;
}

.about-social-link:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  color: var(--main)
}

.about-social-list {
  display: flex;
  align-items: center;
  gap: 25px;
}

@media (max-width: 1400px) {
  .heading p {
    max-width: 75%;
  }
}

@media (max-width: 1024px) {
  .heading p {
    max-width: 85%;
  }
  .about-us-section {
    margin-top: 20px;
  }
  .about-image p {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .about-us-section {
    margin-top: 50px;
  }
  .heading h1 {
      font-size: 2rem;
  }
  .heading p {
      font-size: 1.4rem;
      margin-bottom: 0;
  }
  .contact-us-container {
      padding: 0;
  }
  .about {
      padding: 20px;
      flex-direction: column;
  }
  .about-image {
      margin-right: 0;
      margin-bottom: 20px;
  }
  .about-content h2 {
      font-size: 1.8rem;
      text-align: center;
  }
  .about-content p {
      font-size: 1.4rem;
      text-align: center;
  }
  .about-image img {
    max-width: 400px;
  }
  .about {
    padding: 0 0 30px 0;
  }
  .contact-icons-container {
    padding-top: 20px;
  }

  .heading {
    margin-top: -20px;
  }
  .heading p {
    max-width: 95%;
  }
  .about-image p {
    font-size: 1.3rem;
  }
}

@media (max-width: 575px) {
  .contact-icons-container {
    padding-top: 0;
    padding-bottom: 20px;
  }
  .contactUs .title h2 {
    font-size: 2.5rem !important;
  }
  .contact h3 {
    font-size: 2rem !important;
  }
  .about-image p {
    font-size: 1.2rem;
  }
  .about-image img {
    max-width: 300px;
  }
}

@media (max-width: 360px) {
  .about-image img {
    max-width: 250px;
  }
}

/********************************************** SERVICES **********************************************/

.services-file-container {
  max-width: 90%;
  margin: 50px auto 0;
}

.services-file-container .service-block {
  margin-bottom: 50px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.services-file-container .service-block .service-image {
  flex: 0 0 auto;
  max-width: 400px;
  overflow: hidden;
  line-height: 0;
  border-radius: 5px;
  /* box-shadow: 0 0 10px 5px rgba(0, 0, 0, .3); */
  max-height: 300px;
  position: relative;
}

.view-more {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 30px;
  background-color: var(--main);
  border-radius: 5px;
  opacity: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 1s;
}

.view-more a {
  color: var(--text);
  font-weight: bold;
  font-size: 1.4rem;
}

.services-file-container .service-block .service-image img {
  width: 100%;
  max-width: 400px;
  max-height: 400px;
  transition: .3s;
  transform: scale(1);
}

.services-file-container .service-block .service-image:hover img {
  transform: scale(1.05);
}

.services-file-container .service-block .service-image:hover .view-more {
  transform: scale(1.05);
  opacity: 100%;
  cursor: pointer;
}


.services-file-container .service-block .service-content {
  padding-left: 20px;
  flex: 0 0 auto;
  width: calc(100% - 400px);
  align-self: center;
}

.services-file-container .service-block .service-content a {
  display: inline;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .services-file-container .service-block .service-content {
      width: 100%;
      margin-top: 20px;
  }
  .services-file-container .service-block .service-image {
      width: 100%;
  }
}

.services-file-container .service-block .service-content h5 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--main);
  border-bottom: 1px solid var(--main);
}

.services-file-container .service-block .service-content p {
  font-size: 1.55rem;
}


@media (min-width: 1024px) {
  .services-file-container .service-block:nth-child(odd) .service-image {
      order: 1;
  }
  .services-file-container .service-block:nth-child(even) .service-image {
      order: 2;
  }

  .services-file-container .service-block:nth-child(odd) .service-content {
      order: 2;
      padding-left: 30px;
  }
  .services-file-container .service-block:nth-child(even) .service-content {
      order: 1;
      padding-right: 30px;
  }

  .services-file-container {
    max-width: 85%;
  }
}

@media (max-width: 768px) {
  .services-file-container .service-block .service-content {
      width: 100%;
      margin-top: 20px;
  }
  .services-file-container .service-block .service-image {
      width: 100%;
  }
}

.services-file-container .service-block .service-content h5 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--main);
}

.services-file-container .service-block .service-content p {
  font-size: 1.55rem;
}

@media (min-width: 1400px) {
  .services-file-container {
    max-width: 70%;
  }
}

@media (min-width: 2200px) {
  .services-file-container {
    max-width: 60%;
  }
}

@media (min-width: 2500px) {
  .services-file-container {
    max-width: 50%;
  }
}

@media (min-width: 3200px) {
  .services-file-container {
    max-width: 45%;
  }
}

@media (min-width: 3500px) {
  .services-file-container {
    max-width: 35%;
  }
}

.anchor {
  scroll-margin-top: 300px;
}


/********************************************** IMPRESSUM & DATENSCHUTZ **********************************************/

.daten {
  padding: 40px 10px 40px 10px;
}

.daten h1 {
  padding: 0 0 20px 0;
}

.daten h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
}

.daten h3 {
  font-size: 1.6rem;
  padding: 5px 0 5px 0;
}

.daten p {
  font-size: 1.4rem;
  padding: 5px;
}


/********************************************** Projects **********************************************/

.gallery-wrapper .heading {
  margin-top: -20px;
}

.image:hover {
  cursor: pointer;
}

.gallery-wrapper{
  margin: 75px auto;
  width: 95%;
  max-width: 1200px;
  padding-bottom: 100px;
}
.gallery-wrapper nav{
  display: flex;
  justify-content: center;
}
.gallery-wrapper .items{
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.gallery-item {
  margin: 5px;
  position: relative;
  padding: 7px 25px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  color: var(--main);
  border: 2px solid var(--main);
  transition: all 0.3s ease;
}
.gallery-item.active,
.gallery-item:hover{
  color: var(--text);
  background: var(--main);
}

.gallery{
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}
.gallery .image{
  width: calc(100% / 4);
  padding: 7px;
}
.gallery .image span{
  display: flex;
  width: 100%;
  overflow: hidden;
}
.gallery .image img{
  width: 100%;
  vertical-align: middle;
  transition: all 0.3s ease;
}
.gallery .image:hover img{
  transform: scale(1.1);
}
.gallery .image.hide{
  display: none;
}
.gallery .image.show{
  animation: animate 0.4s ease;
}
@keyframes animate {
  0%{
    transform: scale(0.5);
  }
  100%{
    transform: scale(1);
  }
}

.preview-box{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--white);
  max-width: 800px;
  width: 100%;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  border-radius: 3px;
  padding: 0 5px 5px 5px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
}

.relative-box {
  border: 1px solid red;
  position: relative;
}

.preview-box.show{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.3s ease;
}
.preview-box .details{
  padding: 13px 15px 13px 10px;
  float: right;
}
.details .title{
  display: flex;
  font-size: 18px;
  font-weight: 400;
}
.details .title p{
  font-weight: 500;
  margin-left: 5px;
}
.details .icon{
  color: var(--main);
  font-style: 22px;
  cursor: pointer;
}
.preview-box .image-box{
  width: 100%;
  display: flex;
}
.image-box img{
  width: 100%;
  max-height: 65vh;
  border-radius: 0 0 3px 3px;
}
.shadow{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 4;
  display: none;
  background: rgba(0,0,0,0.4);
}
.shadow.show{
  display: block;
}

.image img{
  height: 240px !important;
}

.gallery-wrapper nav .items{
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 1024px) and (max-height: 700px) {
  .preview-box {
    max-width: 600px;
  }
}

@media (max-width: 1000px) {
  .gallery .image{
    width: calc(100% / 3);
  }
}
@media (max-width: 800px) {
  .gallery .image{
    width: calc(100% / 2);
  }
}
@media (max-width: 700px) {
  .gallery-wrapper nav .items{
    max-width: 600px;
  }
  nav .gallery-item{
    padding: 7px 15px;
  }
}
@media (max-width: 600px) {
  .gallery-wrapper .heading {
    margin-top: 0;
    margin-bottom: 0;
  }
  .gallery-wrapper{
    margin: 30px auto;
    width: 100%;
    padding-bottom: 50px;
  }
  nav .gallery-item{
    margin: 5px;
  }
  .gallery .image{
    width: 100%;
  }
  .gallery-item {
    font-size: 1rem;
    margin: 2px !important;
  }
  .image img{
    width: 90% !important;
    margin: 0 auto;
  }

}

/* dropdown */
.dropdown {
  display: none;
  position: absolute;
  left: 0;
  margin: 20px 5px 0 0;
  border: 2px solid var(--main);
  background-color: var(--white);
  z-index: 10;
}

.dropdown-item {
  color: var(--main);
  padding: 7px 15px;
  border-bottom: 2px solid var(--main);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  cursor: pointer;
  background: var(--main); 
  color: var(--text);
}


.arrow:after {
  font-family: FontAwesome;
  content: "\f107";
  font-family: "fontawesome";
  margin-left: 10px;
  font-weight: bold;
}

.arrow {
  color: var(--main);
}

.dropdown-item:hover .arrow {
  color: var(--white) !important;
}

.arrow.is-open:after {
  content: "\f106";
}

.show {
  display: block;
}

/* buttons */
.gallery-btn {
  position: absolute;
  z-index: 100;
  color: var(--text);
  font-size: bold;
  top: 50%;
}

.btn-prev {
  left: 0;
}

.btn-prev:before {
  font-family: FontAwesome;
  font-family: "fontawesome";
  content: "\f053";
  font-size: 2.5rem;
  padding-left: 20px;
}

.btn-next {
  right: 0;
}

.btn-next:before {
  font-family: FontAwesome;
  font-family: "fontawesome";
  content: "\f054";
  font-size: 2.5rem;
  padding-right: 20px;
}

/********************************************** MESSAGE SENT POPUP **********************************************/

.popup-container, .popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

.icon-center {
  display: flex;
  justify-content: center;
}

.popup-content {
  display: none;
  min-height: 350px;
  width: 400px;
  background: var(--text);
  border-radius: 3px;
  transition: .3s ease-in;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .4);
}

.show {
  display: block;
}

@media (max-width: 480px) {
  .popup-content {
      width: 350px;
  }
}

.popup-header {
  height: 68px;
  line-height: 68px;
  background: var(--main);
  overflow: hidden;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
}

.popup-header h2 {
  color: var(--text);
  padding-left: 30px;
  display: inline;
  font-size: 2rem;
}

.close-icon {
  display: inline;
  position: absolute;
  right: 15px;
  top: 10px;
  color: #e8f7fc;
  font-size: 18px;
  cursor: pointer;
}

.checkmark-icon {
  font-size: 100px;
  color: var(--main);
  text-align: center;
  padding-top: 15px;
  border-radius: 50%;
  box-sizing: border-box;
}

.popup-content p {
  padding: 10px;
  font-size: 1.65rem;
  color: #1a1a1a;
  text-align: center;
}

@media (max-width: 480px) {
  .popup-content p {
    padding: 5px 10px 5px 10px;
  }
}

.line {
  position: absolute;
  bottom: 70px;
  width: 100%;
  height: 1px;
  background: silver;
}

.close-btn {
  position: absolute;
  bottom: 12px;
  right: 25px;
  border: 1px solid var(--main);
  border-radius: 3px;
  color: var(--main);
  padding: 8px 10px;
  font-size: 18px;
  cursor: pointer;
}

.close-btn:hover {
  background: var(--main);
  color: var(--text);
  transition: .5s;
}

.page-mask {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 101;
}

/********************************************** JOBS **********************************************/

.jobs-section {
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-height: 1300px) {
  .jobs-section {
    margin-top: 100px;
  }
}

.jobs-section h1 {
    font-size: 3rem;
    color: var(--main);
    margin-bottom: 35px;
    text-align: center;
}

.accordion-container {
  width: 80%;
  max-width: 800px;
  margin: 50px auto;
}

button.accordion {
  width: 100%;
  background-color: var(--white);
  border: none;
  outline: none;
  text-align: left;
  padding: 50px 20px;
  font-size: 18px;
  color: var(--main);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s linear;
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

button.accordion:after {
  font-family: FontAwesome;
  content: "\f107";
  font-family: "fontawesome";
  font-size: 30px;
  color: var(--main);
  float: right;
}

button.accordion.is-open:after {
  content: "\f106";
}

button.accordion:hover,
button.accordion.is-open {
  border-color: var(--main);
}

.accordion-content {
  background-color: var(--white);
  border-left: 1px solid var(--main);
  border-right: 1px solid whitesmoke;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-in-out;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.accordion-content h3 {
  font-size: 1.6rem;
}

.accordion-content h4 {
  font-size: 1.6rem;
  padding: 5px 0 5px 0;
}

.accordion-content p {
  font-size: 1.4rem;
  padding: 5px;
} 

@media (max-width: 768px) {
  .jobs-section {
    margin-top: 0;
    margin-bottom: 20px;
  }
  .jobs-section h1 {
    font-size: 2.25rem;
  }

  .jobs-section h1 {
    text-align: left;
}
}

@media (max-width: 575px) {
  .accordion-container {
    width: 90%;
  }
}

.jobs-btn {
  margin: 10px 0 20px 0;
}

.hide {
  display: none;
}

/********************************************** Loader **********************************************/

.flex-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 156px);
}

@media (min-width: 768px) {
  .flex-container {
    height: calc(100vh - 166px);
  }
}

.withDots {
	position: relative;
	display: inline-flex;
  font-size: 15rem;
  margin-bottom: 150px;
}
@keyframes example {
	0% {
		content: '';
	}
	25% {
		content: '.';
	}
	50% {
		content: '..';
	}
	75% {
		content: '...';
	}
}
.withDots:before {
	content: '...';
	order: 1;
	visibility: hidden;
}
.withDots:after {
	content: '';
	animation: example 2s linear infinite;
	display: inline-block;
	position: absolute;
}
.withDots {
	color: var(--main);
}

/********************************************** Cookies **********************************************/

.cookies-eu-banner {
  background: var(--main);
  color: var(--text);
  padding: 6px;
  font-size: 13px;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

.cookies-eu-banner a {
  display: inline-block;
  text-decoration: underline;
}

.cookies-eu-banner button {
  display: inline-block;
  text-decoration: none;
  background: var(--white);
  color: var(--main);
  border: 1px solid var(--white);
  cursor: pointer;
  padding: 1px 7px;
  margin: 2px 4px;
  font-size: 13px;
  font-weight: 700;
  transition: background .5s, color .5s, border-color 0.07s;
}

.cookies-eu-banner button:hover {
  background: var(--main);
  color: var(--text);
}

.hidden {
  display: none;
}



/********************************************** Sending... Loader **********************************************/

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-container .dot {
  width: 20px;
  height: 20px;
  background-color: var(--main);
  border-radius: 50%;
  margin: 100px 5px 50px 5px;
  animation: bounce 1.1s ease infinite;
}

.loader-container .dot:nth-child(1) {
  animation-delay: 0s;
}

.loader-container .dot:nth-child(2) {
  animation-delay: 0.1s;
}

.loader-container .dot:nth-child(3) {
  animation-delay: 0.2s;
}

.loader-container .dot:nth-child(4) {
  animation-delay: 0.3s;
}

.loader-container .dot:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-60px);
  }
  60% {
    transform: translateY(25px);
  }
}