@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* Base */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #f1f1f1;
}

.none {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */

.header {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
  border-bottom-right-radius: 100px;
  /* background: #252525 linear-gradient(158deg, #2f2f2f 0%, #202020 100%); */
  background-color: #000;
  color: #fff;
}

.header .container {
  position: relative;
  z-index: 9;
}

.header-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-bottom-right-radius: 100px;
  opacity: 0.5;
}

.header-row {
  display: flex;
  align-items: center;
  column-gap: 60px;
}

.header-img {
  border-radius: 80px;
}

.header-title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 60px;
}

.header-text {
  margin-bottom: 20px;
  font-weight: 300;
  font-size: 26px;
}

.header-btns {
  display: flex;
  column-gap: 20px;
}

.btn {
  height: 48px;
  padding-top: 15px;
  padding-left: 25px;
  padding-right: 25px;
  background-color: #000;
  border-radius: 8px;
  color: #fff;
  line-height: 1;
  transition: all 0.2s ease-in;
}

.btn:hover {
  background-color: #1782cf;
}

.btn-outline {
  height: 48px;
  padding-top: 15px;
  padding-left: 25px;
  padding-right: 25px;
  border: 1px solid #c5c5c5;
  border-radius: 8px;
  color: #fff;
  line-height: 1;
  transition: all 0.2s ease-in;
}

.btn-outline:hover {
  border-color: #1782cf;
}

/* Portfolio */

.portfolio {
  padding: 80px 0;
}

.portfolio-title {
  margin-bottom: 65px;
  font-weight: 700;
  font-size: 52px;
  text-align: center;
}

.projects {
  display: flex;
  flex-direction: column;
  row-gap: 70px;
  align-items: center;
}

.project {
  text-align: center;
}

.project-img {
  margin-bottom: 30px;
  border: 1px solid #8c8c8c;
  border-radius: 30px;
  box-shadow: -5px -5px 5px #8c8c8c;
  transition: opacity 0.2s ease-in;
}

.project-img:hover {
  opacity: 0.8;
  box-shadow: 5px 5px 5px #8c8c8c;
}

.project-title {
  font-size: 22px;
}

.project-title a {
  color: #000;
  /* text-decoration: underline; */
}

/* Contacts */

.contacts {
  padding: 80px 0;
  border-top-left-radius: 100px;
  background-color: #252525;
  color: #fff;
}

.contacts-title {
  margin-bottom: 65px;
  font-weight: 700;
  font-size: 52px;
  text-align: center;
}

.contacts-text {
  display: grid;
  margin-bottom: 65px;
  font-size: 20px;
  text-align: center;
}

.contacts-text a {
  color: #fff;
}

/* a[href^="mailto"]::before {
  content: "📧   ";
}

a[href^="tel"]::before {
  content: "📞   ";
} */

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.messenger {
  flex-grow: 1;
  display: flex;
  column-gap: 15px;
  align-items: center;
  padding: 20px;
  border: 1px solid #363636;
  border-radius: 20px;
  color: #fff;
  font-size: 20px;
  transition: background-color 0.2s ease-in;
}

.messenger:hover {
  background-color: #1e1e1e;
}

/* Footer */

.footer {
  padding: 30px 0;
  border-top: 1px solid #363636;
  background-color: #1e1e1e;
  color: #5d5d5d;
}
.footer a {
  color: #5886a8;
}

.footer-inner {
  font-size: 14px;
  text-align: center;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-inner p + p {
  margin-top: 15px;
}

/* Inner Pages */

.inner-page {
  padding: 80px 0 40px;
}

.inner-page-details {
  display: flex;
  flex-direction: column;
  row-gap: 25px;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.inner-page-title {
  font-weight: 700;
  font-size: 52px;
}

.inner-page-text {
  display: flex;
  flex-direction: column;
  row-gap: 25px;
  color: #555;
  line-height: 1.5;
}

.inner-page-link {
  color: #000;
}

.inner-page-link a {
  color: #000;
  text-decoration: underline;
}

.inner-page-img {
  display: block;
  margin: 0 auto 40px;
}

.inner-page-backlink {
  padding: 30px;
  display: flex;
  column-gap: 10px;
  align-items: center;
  justify-content: center;
  background-color: #dedede;
  text-align: center;
  color: #000;
  transition: all 0.2s ease-in;
}

.inner-page-backlink:hover {
  background-color: #c5c5c5;
}
