:root {
  --primary: #6f8ec9;
  --primary-hover: #87a6dd;
  --secondary: #ee8537;
  --secondary-hover: #f1a066;

  --font-family: "Ubuntu";
}

/* reset */

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

html,
body {
  width: 100%;
  height: 100%;
  font-family: var(--font-family), sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

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

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}

input {
  outline: none;
}

/* styles */

.header {
  width: 100%;
  height: 100px;
  display: flex;
  padding: 0px 60px;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid #d2d1d1;

}

.logo-dblocks {
  width: 220px;
  height: 160px;
  cursor: pointer;
}

.container-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.btn {
  display: flex;
  min-width: 196px;
  height: 50px;
  padding: 15px 3px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  border: none;
  outline: none;
  transition: 0.2s background;
  color: white;
  font-family: var(--font-family), sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.btn:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.236);
}

.btn-primary {
  background: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-hover);
}

.container-nav li a {
  position: relative;
}

.container-nav li a::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--primary-hover),
    var(--secondary)
  );
  transition: width 0.4s ease;
  border-radius: 3px;
}

.container-nav li a:hover::before {
  width: 100%;
}

.standard-input {
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  background: #fff;
  max-width: 546px;
  height: 40px;
  padding: 20px;
  transition: 0.2s;
}
.standard-input:focus {
  border-color: var(--secondary);
}

.standard-input::placeholder {
  color: #808080;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s ease-in-out;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.mobile-menu ul li {
  margin: 15px 0;
}

.mobile-menu ul li a {
  text-decoration: none;
  font-size: 1.4rem;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  width: 30px;
  height: 4px;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu.open {
  right: 0;
}

.container-lang{
  display: flex;
  align-items: center;
  gap: 5px;
}

.container-lang select{
  border-radius: 8px;
  padding: 5px;
  border: 1px solid #d2d1d1;
}

@media (max-width: 768px) {
  .header{
    padding: 20px;
  }

  .container-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .btn-primary {
    display: none;
  }
}
