@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap");

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: rgb(230, 246, 171);
}

.none {
  display: none !important;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header .container {
  position: relative;
  z-index: 1;
}

.header {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 8rem;
  background: #252525 linear-gradient(158deg, #2f2f2f 0%, #202020 100%);
  border-bottom-right-radius: 10rem;
  color: #fff;
}

.header-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  object-position: center;
  border-bottom-right-radius: 10rem;
}

.header-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  column-gap: 6rem;
}

.header-title {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 6rem;
}

.header-text {
  margin-bottom: 2rem;
  font-size: 2.6rem;
  font-weight: 300;
}

.header-btns {
  display: flex;
  column-gap: 2rem;
}

.btn,
.btn-outline {
  font-size: 2rem;
  border: 2px solid #6fd322;
  height: 4.8rem;
  padding: 1.5rem 2.5rem;
  border-radius: 0.8rem;
  color: white;
  line-height: 1;
  transition: all 0.4s ease-in;
}

.btn:hover {
  border-color: #1782cf;
  color: #1782cf;
  font-weight: 600;
  transform: scale(1.1);
}

.btn-outline:hover {
  border-color: #1782cf;
  color: #1782cf;
  font-weight: 600;
  transform: scale(1.1);
}

/* --portfolio-- */

.portfolio-container {
  padding: 8rem 0;
}

.portfolio-title {
  font-size: 5.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 6.5rem;
}

.projects {
  display: flex;
  flex-direction: column;
  row-gap: 7rem;
  align-items: center;
}

.project {
  position: relative;
  text-align: center;
  width: 96rem;
  height: 44rem;
}

.project-map {
  text-align: center;
  width: 96rem;
  height: 44rem;
  margin-bottom: 6rem;
}

.project-img {
  border-radius: 3rem;
  margin-bottom: 3rem;
  transition: opacity 0.4s ease-in;
}

.project-video {
  position: absolute;
  z-index: -3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  object-position: center;
}

.project-img:hover {
  opacity: 0.6;
}

.project-title {
  margin-bottom: 3rem;
  font-weight: 700;
  font-size: 5rem;
  color: white;
}

.project-text {
  margin-bottom: 2rem;
  font-size: 3.6rem;
  font-weight: 600;
  color: white;
}

.product {
  color: rgba(99, 89, 232, 0.455);
}

/*--contacts--*/

.contacts {
  position: relative;
  padding: 6rem 2rem;
  width: 100%;
  background-color: #252525;
  border-top-left-radius: 10rem;
  color: white;
}

.contacts-container {
  position: relative;
  z-index: 1;
}

.contacts-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  object-position: center;
  border-top-left-radius: 10rem;
}

.contacts-title {
  text-align: center;
  margin-bottom: 6.5rem;
  font-size: 5.2rem;
  font-weight: bold;
}

.messangers {
  display: flex;
  column-gap: 3rem;
  row-gap: 3rem;
  flex-wrap: wrap;
}

.messanger {
  flex-grow: 1;
  font-size: 2rem;
  display: flex;
  column-gap: 1.5rem;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 3.6rem 2rem;
  border-radius: 2rem;
  border: 2px solid #363636;
  transition: all 0.4s ease-in;
}

.messanger:hover {
  border-color: #1782cf;
  background-color: #1e1e1e;
}

.hr {
  border: 0.5px solid white;
}

.footer {
  width: 100%;
  height: 12.6rem;
  background-color: #1e1e1e;
  padding: 3rem 0;
  text-align: center;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer-inner {
  color: yellowgreen;
  font-size: 1.6rem;
}

.footer-inner p + p {
  margin-top: 1.5rem;
}

/*-inner-page-*/

.inner-page {
  padding: 6rem 0 4rem;
}

.inner-page-details {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
  text-align: center;
}

.inner-page-title {
  font-size: 5.2rem;
  font-weight: bold;
}

.inner-page-text {
  max-width: 57rem;
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
  font-size: 2.2rem;
  letter-spacing: 1.4;
  font-weight: bold;
  color: #555555;
  line-height: 1.5;
}

.inner-page-link {
  color: black;
}

.inner-page-link a {
  color: black;
  text-decoration: underline;
}

.portfolio-back {
  display: block;
  font-size: 4rem;
}

.inner-page-img {
  width: 80%;
  display: block;
  margin: 0 auto;
  margin-bottom: 4rem;
  border-radius: 10rem;
}

.inner-page-backlink {
  max-width: 77rem;
  margin: 0 auto;
  padding: 30px;

  font-size: 4rem;

  display: flex;
  column-gap: 1rem;
  align-items: center;
  justify-content: center;

  background-color: #f1f1f1;
  color: black;
  text-align: center;
  transition: 0.4s;
}

.inner-page-backlink:hover {
  background-color: #decdcd;
}
