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

html {
  font-family: Sans-serif;
  scroll-behavior: smooth;
  line-height: 1.5;
}

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

hr {
  border: 0;
  border-top: 1px solid;
  color: inherit;
  margin: 1rem 0;
  opacity: 0.25;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.navbar {
  background-color: #fff;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3;

  .logo {
    height: 60px;
    min-width: 75.16px;
    width: 75.16px;

    img {
      width: 100%;
      height: 100%;
    }
  }
  .menu-block {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;

    .menu {
      display: flex;
      font-weight: 600;
      margin-right: 50px;

      a {
        align-items: center;
        display: flex;
        margin: 0 15px;
        color: #54595f;
        transition: color 0.5s ease;

        &:hover {
          color: #887cc0;
        }
      }
    }

    .burger-button {
      display: none;
      width: 40px;
      height: 40px;
      margin-right: 20px;

      svg {
        width: 100%;
        height: 100%;
      }
    }

    @media only screen and (max-width: 800px) {
      & .menu {
        display: none;
        position: absolute;
        top: 60px;
        background-color: #fff;
        width: 100%;
        left: 0;
        padding: 10px 0;
        flex-direction: column;
        gap: 8px;

        &.open {
          display: block;
        }
      }
      & .burger-button {
        display: block;
      }
    }
  }

  .lang {
    border: none;
    outline: none;
    margin-right: 20px;
    cursor: pointer;
    height: max-content;
    font-size: 14px;
  }
}

.content {
  padding-top: 60px;

  .section-title {
    color: #54595f;
    font-size: 32px;
    font-weight: 600;
  }

  .container {
    max-width: 1400px;
    margin: 100px auto 0;

    @media only screen and (max-width: 1400px) {
      margin: 100px 100px 0;
    }

    @media only screen and (max-width: 800px) {
      margin: 50px 20px 0;
    }
  }

  .home {
    position: relative;

    img {
      width: 100%;
    }
    .home-title {
      position: absolute;
      left: 5%;
      top: 50%;
      transform: translateY(-50%);
      font-size: 48px;
      font-weight: 500;
      color: #fff;
      user-select: none;
      width: 95%;
      text-shadow: rgb(0, 0, 0) 1px 1px 5px;

      span {
        color: #887cc0;
        font-weight: 700;

        &:last-child {
          margin-left: 10%;
        }
      }
    }
    .read-more {
      background-color: #887cc0;
      border: 2px solid #887cc0;
      border-radius: 50px;
      color: #fff;
      cursor: pointer;
      padding: 10px 15px;
      transition: all 0.5s linear;
      position: absolute;
      bottom: 100px;
      left: 50%;
      transform: translateX(-50%);

      &:hover {
        background-color: initial;
      }
    }

    @media only screen and (max-width: 800px) {
      .home-title {
        font-size: 20px;
      }
      .read-more {
        display: none;
      }
    }
  }

  .projects {
    .splide {
      margin-top: 30px;
      .splide__list {
        height: unset;

        .splide__slide {
          height: 300px;

          img {
            width: 100%;
          }
        }
      }
    }
  }

  .contact-us {
    text-align: center;

    iframe {
      height: 400px;
      width: 100%;
    }

    .contact-info {
      margin-top: 20px;

      .mail,
      .phone {
        color: blue;
      }
    }
  }
}

footer {
  background-color: #887cc0;
  padding: 20px;
  color: #fff;
  text-align: center;
  margin-top: 20px;
}

.scroll-to-top {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2;
  cursor: pointer;
  visibility: hidden;

  &:hover {
    opacity: 0.7;
  }
}
