html,
body {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
button {
  font-family: "Poppins", sans-serif;
}
/* nav section*/
nav {
  width: 100%;
  height: 10vh;
  position: fixed;
  top: 0px;
  background: linear-gradient(to right, #800000, #800000);
  opacity: 0.9;
  flex: 2;
}
.logo {
  position: fixed;
  top: 10px;
  left: 100px;
  cursor: pointer;
}
nav img {
  height: 50px;
}

.navbar {
  width: 250px;
  height: 50%;
  background: linear-gradient(to right, #800000, #EF0000);
  position: fixed;
  top: 10vh;
  right: -300px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 300% 0 0 100%;
  transition: right 0.8s cubic-bezier(1, 0, 0, 1);
  opacity: 0.95;
}
.change {
  right: 0;
}

.hamburger-menu {
  width: 35px;
  height: 30px;
  position: fixed;
  top: 25px;
  right: 100px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
.line {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.8s;
}

.change .line-1 {
  transform: rotateZ(-405deg) translate(-8px, 6px);
}
.change .line-2 {
  opacity: 0;
}
.change .line-3 {
  transform: rotateZ(405deg) translate(-8px, -6px);
}
.nav-item {
  list-style: none;
  margin: 25px;
}
.nav-list {
  text-align: right;
}

.nav-link {
  text-decoration: none;
  font-size: 20px;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 3px 0;
}
.nav-link:hover {
  border-bottom: 2px solid #ffffff;
  border-radius: 10px;
}
/* nav section end*/

/* main section*/
.presentation {
  display: flex;
  margin: auto;
  margin-top: 50px;
  width: 90%;
  min-height: 80vh;
  align-items: center;
}
.introduction {
  flex: 1;
}
.intro-text h1 {
  font-size: 44px;
  font-weight: 500;
  background: linear-gradient(to right,  #800000, #EF0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.intro-text p {
  margin-top: 5px;
  font-size: 22px;
  margin-bottom: 40px;
  color: #585772;
}
.cta {
  padding: 50px 0px 0px 0px;
  margin-bottom: 30px;
}
.cta-about {
  border: 2px solid #800000;
  background: transparent;
  color: #800000;
  width: 150px;
  height: 50px;
  cursor: pointer;
  font-size: 18px;
  padding: 10px 20px;
  text-decoration: none;
}
.cta-about:hover {
  background-color: #800000;
  color: white;
}
.cta-contact {
  border: 2px solid #800000;
  background: transparent;
  color: #800000;
  width: 150px;
  height: 50px;
  cursor: pointer;
  font-size: 18px;
  margin: 30px 0px 0px 30px;
  padding: 10px 25px;
  text-decoration: none;
}
.cta-contact:hover {
  background-color: #800000;
  color: white;
}
.cover {
  flex: 1;
  display: flex;
  justify-content: center;
  height: 60vh;
}
.cover img {
  height: 100%;
  animation: drop 1.5s ease;
  margin-top: 10px;
}
@keyframes drop {
  0% {
    opacity: 0;
    transform: translateY(-80px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
/* main section end*/

/* timer section */
.timer-section {
  display: flex;
  margin: auto;
  width: 90%;
  min-height: 25vh;
  align-items: center;
}

.timer-item {
  display: grid;
  grid-gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  margin: auto;
  margin-top: 50px;
}
.timer-worker,
.timer-documant,
.timer-customer {
  text-align: center;
  flex: 1;
}
.counter {
  font-size: 44px;
  font-weight: 500;
  background: linear-gradient(to right, #800000, #EF0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timer-item p {
  margin-top: 5px;
  font-size: 22px;
  color: #000000;
}
.timer-item i {
  color: #800000;
  margin-bottom: 5px;
}
/* timer section end*/

/* service section */
.service-section {
  display: flex;
  margin: auto;
  width: 90%;
  min-height: 50vh;
  align-items: center;
  flex-direction: column;
  margin-top: 50px;
}
.service-text {
  width: 100%;
  background: linear-gradient(to right, #800000, #EF0000);
  color: #ffffff;
  display: flex;
  margin: auto;
  justify-content: space-around;
  align-items: center;
}
.service-text h2 {
  font-size: 44px;
  font-weight: 500;
  background: linear-gradient(to right, #e7c9c9, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0px 20px 0px 20px;
}
.service-item {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin: auto;
  margin-top: 20px;
}
.real-estate,
.bussines,
.execution-bankruptcy {
  flex: 1;
  text-align: center;
}
.service-item i {
  font-size: 50px;
  color: #800000;
}
.service-item h2 {
  font-size: 24px;
  font-weight: 500;
  background: linear-gradient(to right, #800000, #800000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0px 20px 0px 20px;
}
.service-item p {
  margin-top: 5px;
  font-size: 14px;
  color: #000000;
  border: 1px solid #800000;
  margin: 5px;
  padding: 15px;
  text-align: left;
  overflow: hidden;
  max-height: 300px;
  /* overflow-y: auto; */
}

.service-item p:hover {
  max-height: initial;
  transition: 1;
}
/* service section end*/

/*Footer section*/

.footer-section {
  padding: 56px 62px;
  background: linear-gradient(to top,  #800000, #EF0000);
  margin-top: 50px;
}

.copyright {
  padding-top: 14px;
  font-size: 12px;
  color: #ddcdcd;
  opacity: 0.4;
  text-align: center;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-contact-list li:last-child {
  margin-bottom: 0;
}

.footer-contact-list li span {
  width: 75px;
  color: #ffffff;
  display: inline-block;
}
/*Footer section end*/

/* --------------------
contact.html
----------------------*/
.contact-section {
  display: flex;
  margin: auto;
  align-items: center;
  flex-direction: column;
  margin-top: 40px;
}
.contact-text {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin-top: 5vh;
}
.contact-text h3 {
  text-align: center;
  color: #800000;
  font-size: 36px;
  font-weight: 300;
}
.contact-map-info {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
  flex-direction: column;
}
.logo-contact {
  display: flex;
  width: 150px;
  background-color: #800000;
  border-radius: 50px;
  justify-content: space-around;
  align-items: center;
}

.contact-info {
  display: flex;
  justify-content: start;
  align-items: center;
}

.contact-list {
  list-style: none;
}
.contact-list li {
  font-size: 15px;
  color: #000000;
  margin-bottom: 15px;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-list li span {
  width: 75px;
  color: #000000;
  display: inline-block;
}
.map {
  margin-top: 2vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* --------------------
contact.html end
----------------------*/

/* --------------------
 about.html
----------------------*/
.about-text {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 10vh;
  height: 40vh;
  background-size: 100%;
}
.about-text h2 {
  font-size: 50px;
  font-weight: 500;
  background: linear-gradient(to right, #800000, #EF0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: auto;
  flex-direction: column;
}
.about-content p {
  font-size: 16px;
}
.about-content h2 {
  font-size: 46px;
  font-weight: 300;
  background: linear-gradient(to right,  #800000, #EF0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------
 about.html end
----------------------*/

@media screen and (max-width: 1024px) {
  .logo {
    position: fixed;
    top: 10px;
    left: 35px;
  }
  .hamburger-menu {
    position: fixed;
    top: 25px;
    right: 35px;
  }

  .presentation {
    flex-direction: column;
  }
  .introduction {
    margin-top: 5vh;
    text-align: center;
  }
  .intro-text h1 {
    font-size: 30px;
  }
  .intro-text p {
    font-size: 18px;
  }
  .cta {
    padding: 10px 0px 0px 0px;
  }
  .cover img {
    height: 80%;
  }
  .timer-item h2 {
    font-size: 26px;
  }
  .timer-item p {
    font-size: 14px;
    padding: auto;
  }
  .service-item {
    flex-direction: column;
  }
  .service-text h2 {
    font-size: 26px;
  }
  .service-item i {
    font-size: 40px;
    margin-top: 40px;
  }
  .contact-map-info {
    flex-direction: column;
  }
  .contact-info {
    flex-direction: column;
  }
}
