:root {
  --text-color: #eaeaea;
  --accent-color: #e9956b;
}

html {
  font-size: 22px;
}

body {
  font-family: "Ruda", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-color);
  background: linear-gradient(120deg,
      rgba(2, 0, 36, 0.9) 0%,
      rgba(116, 116, 152, 0.9) 35%,
      rgba(0, 49, 59, 0.9) 100%);
}

/* PAGE */

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.demo-page::before {
  content: 'DEMO';
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 99;
  color: var(--accent-color);
  opacity: 0.3;
  font-size: 6rem;
  text-align: center;
  pointer-events: none;
}

.main {
  flex-grow: 1;
}

/* CONTAINER */

.container {
  width: 100%;
  height: 100%;
  max-width: 1732px;
  /* 66 + 1600 + 66 */
  margin: 0 auto;
  padding: 0 3rem;
}

/* LINKS DECOR*/

.active-page {
  font-weight: 900;
  cursor: default;
}

.link_colored:hover {
  color: var(--accent-color);
}

.link_underlined {
  position: relative;
}

.link_underlined::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-color);
  opacity: 0;
  transition: opacity 0.3s linear;
}

.link_underlined:hover {
  color: var(--accent-color);
}

.link_underlined:hover::after {
  opacity: 1;
}

/* HEADER */

.header {
  padding: 2rem 0;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: first baseline;
}

.logo {
  display: block;
  margin-right: 1rem;
  text-align: left;
  font-weight: 900;
}

.logo span {
  display: block;
  font-family: 'Protest Guerrilla', sans-serif;
  font-size: 2rem;
  font-weight: 400;
}

.burger {
  display: none;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__menu-item {
  position: relative;
}

.header__menu-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1em;
  width: 2px;
  background-color: var(--text-color);
}

/* HOME */

.home__project {
  display: flex;
  align-items: start;
  margin-bottom: 3rem;
}

.home__project:last-child {
  margin-bottom: 0;
}

.home__project:nth-child(even) {
  flex-direction: row-reverse;
}

.home__project-slider,
.home__project-single {
  width: 50%;
}

.home__project-slider {
  min-width: 0;
}

.home__project-single {
  border-radius: 0.7rem;
  overflow: hidden;
}

/* SWIPER */

.swiper {
  width: 100%;
  height: 100%;
  border-radius: 0.7rem;
  /* overflow: hidden; */
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: var(--text-color);
  font-size: 2rem;
  padding: 0.4rem;
  transition: all 0.3s linear;
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: var(--accent-color);
  
}

.swiper-pagination-bullet {
  background-color: var(--text-color);
  width: 0.5rem;
  height: 0.5rem;
}

.home__project-desc {
  width: 50%;
  padding: 0 0 0 3rem;
}

.home__project:nth-child(even) .home__project-desc {
  padding: 0 3rem 0 0;
}

.home__project-name {
  font-weight: 900;
}

.home__project-name span {
  font-weight: 400;
}

.home__project-text {
  text-align: justify;
}

/* ABOUT */

.about {
  display: flex;
  align-items: start;
  gap: 3rem;
}

.about__img {
  max-width: 35%;
  border-radius: 0.7rem;
}

.about__content {
  text-align: justify;
}

.about__contacts {
  margin-top: 1rem;
}

.about__contact-list li {
  margin-top: 1rem;
}

/* REVIEWS */

.clients__review {
  margin-bottom: 3rem;
  display: flex;
  align-items: start;
  gap: 1rem;
}

.clients__review:last-child {
  margin-bottom: 0;
}

.clients__review-img {
  border-radius: 0.5rem;
}

.clients__review-name {
  font-weight: 900;
  margin-bottom: 1rem;
}

.clients__review-name span {
  font-weight: 400;
}

.clients__review-text {
  text-align: justify;
}

/* FOOTER */

.footer {
  padding: 2rem 0;
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.5em;
}

/* GO TO TOP BUTTON */

.go-top {
  position: fixed;
  right: 0.5rem;
  bottom: 0.5rem;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s linear;
  z-index: 10;
  font-size: 2rem;
  cursor: pointer;
}

.go-top:hover {
  color: var(--accent-color);
}

.go-top_show {
  visibility: visible;
  opacity: 1;
}