@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

/*roboto*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  &:not(:hover) {
    transition: all 0.5s;
  }
}

body {
  font-family: "raleway", sans-serif;
  font-size: clamp(16px, 2vw, 17px);
  font-weight: inherit;
}

:root {
  --blue-color: #007aff;
  --primary-color: #ff9d3d;
  --dark-green: #07031f;
}

a {
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.5px;

  &:hover {
    opacity: 0.8;
  }
}

/*Header*/
header {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  top: 0;
  width: 100%;
  height: fit-content;
  z-index: 9999;
  color: white;

  border-bottom: 1px solid rgba(255, 255, 255, 0.219);
  background-color: #0000003a;
}

header span img {
  max-height: 55px;
  top: 2px;
  position: absolute;
  object-fit: contain;
  overflow: hidden;
}

nav ul {
  display: inline-flex;
  position: relative;
  left: 40px;
  list-style: none;
  column-gap: 12px;
  row-gap: 8px;

  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  letter-spacing: 0.5px;
}

nav ul a {
  text-decoration: none;
  color: inherit;
}

nav ul li,
header span a {
  cursor: pointer;
  position: relative;
  color: white;
  text-decoration: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  &:hover {
    color: var(--primary-color);
  }
}

.systema {
  margin: 0 8px 0 0;
  position: relative;
  top: 6px;
}

.systema span {
  padding: 6px 6px;

  border: 1px solid white;
  border-radius: 50%;

  &:hover {
    border: 1px solid var(--primary-color);
    transform: translateX(2px);
    transition: all 0.6s;
  }
}

.quotation {
  padding: 6px 12px;

  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 18px;
  font-weight: 500;

  &:hover {
    border: 1px solid var(--blue-color);
    color: #ffffff;
    transition: all 0.4s;
  }
}

button {
  outline: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

/* left menu and its buttons */
.menu-button {
  display: inline;
  position: relative;
  top: 4px;
  right: 12px;
  color: white;

  &:hover {
    transform: scale(1.2);
    color: var(--primary-color);
    transition: all 0.6s;
  }
}

.menubar {
  display: flex;
  flex-direction: column;

  position: absolute;
  top: 65px;
  bottom: 0px;
  left: -360px;

  width: 100%;
  max-width: 300px;
  row-gap: 12px;
  font-size: 18px;
  overflow-x: auto;
  overflow-y: auto;

  background-color: #0000003a;
  z-index: 9999;
  border-top-right-radius: 18px;

  padding-left: 12px;
}

.menubar button {
  text-align: right;
  padding: 8px 12px 0 0;
}

.menubar button span {
  font-size: 23px;
  color: white;
  &:hover {
    color: var(--primary-color);
    transform: translateX(-2px);
    transition: all 0.6s;
  }
}

.menubar a {
  color: #ffffff;
  text-decoration: none;
  width: 90%;

  &:hover {
    color: var(--primary-color);
    transform: translateX(3px);
    transition: all 0.5s;
  }
}

.menubar a span {
  margin-right: 6px;
  font-size: 12px;
  color: white;
}

.menubar .log-in {
  margin-top: 32px;
}

.menubar span {
  font-size: 21px !important;
  position: relative;
  top: 4px;

  &:hover {
    color: var(--primary-color);
    transition: all 0.5s;
  }
}

.menubar .quotation {
  margin-top: 24px;
  margin-bottom: 6px;
  width: fit-content;
}

header .contacts {
  position: absolute;
  display: inline-flex;
  top: 102%;

  background-color: #0000003a;
  color: white;
  right: 0px;

  height: 30px;
  overflow: hidden;

  padding: 0 12px 0 12px;
  border-bottom-left-radius: 8px;
}

header .contacts .material-symbols-outlined {
  position: relative;
  top: 2px;
  margin-right: 8px;
  font-size: 22px;
}

@keyframes moveup {
  0% {
    bottom: 0px;
  }
  18% {
    bottom: 0px;
  }
  20% {
    bottom: 28px;
  }
  38% {
    bottom: 28px;
  }
  40% {
    bottom: 56px;
  }
  58% {
    bottom: 56px;
  }
  70% {
    bottom: 84px;
  }
  96% {
    bottom: 84px;
  }
  97% {
    bottom: 0px;
  }
  100% {
    bottom: 0px;
  }
}

header .contacts .icons {
  display: inline-flex;
  position: relative;
  flex-direction: column;
  height: 112px;
  margin-right: 8px;
  margin-left: 12px;
  overflow: hidden;

  animation: 20s moveup infinite;
}

header .contacts .icons span {
  height: 28px;
  overflow: hidden;
}

header .contacts .icons img {
  position: relative;
  width: 22px;
  object-fit: contain;
  overflow: hidden;
}

@media all and (width > 768px) {
  header nav ul {
    display: inline-flex;
  }

  .menu-button {
    display: none;
  }
}

@media all and (width < 769px) {
  .menu-button {
    display: inline;
  }

  header nav ul {
    display: none;
  }
}

/*footer*/
footer {
  margin-top: 10dvh;
  padding: 10dvh 12px 3dvh 12px;
  justify-content: center;
  background-color: var(--dark-green);
}

footer .four-component-holder {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  row-gap: 32px;
  column-gap: 18px;
  width: fit-content;
  height: fit-content;
  margin: 0 auto;
}

.four-component-holder .component {
  display: inline-flex;
  flex-direction: column;
  column-gap: 6px;
  flex: 1;
  min-width: 290px;
  max-width: 315px;
}

.component h3 {
  color: white;
  text-transform: capitalize;
  margin-bottom: 8px;
}

.component a {
  text-decoration: none;
  color: var(--primary-color);
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 450;
  margin-bottom: 6px;

  &:hover {
    transform: translateX(3px);
    color: white;
    transition: all 0.6s;
  }
}

.component form {
  display: inline-flex;
  flex-direction: column;
  flex-wrap: nowrap;
  column-gap: 8px;
  padding: 0 8px;
}

.component form input {
  outline: none;
  width: 100%;
  height: 34px;
  padding: 0 3px 0 6px;
  font-size: 16px;
  margin: 4px 0 0 0;
  border-radius: 8px;
}

.component form button {
  text-align: center;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-size: clamp(16px, 2vw, 17.5px);
  font-weight: 600;
  height: 34px;
  font-weight: 400;
  letter-spacing: 1.5px;
  margin: 12px 0 0 0;
  border-radius: 12px;

  &:hover {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.45s;
  }
}

.component address {
  text-decoration: none;
  color: white;
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 450;
  margin-bottom: 6px;
}

.component .material-symbols-outlined {
  color: var(--blue-color);
  position: relative;
  top: 6px;
}

.social-copyright {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: 350;
}

.social-copyright {
  display: flex;
  flex-direction: column;
  margin-top: 3dvh;
}

.social-copyright .social-media {
  margin-bottom: 4dvh;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
}

.social-media a {
  text-decoration: none;
  height: 32px;
  width: 32px;
  overflow: hidden;
  margin: 0 8px;

  &:hover {
    transform: scale(1.2);
    transition: all 0.45s;
  }
}

.social-media a img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
