@import url("./language_menu.css");

:root {
  --primary-color: #005a9c;
  --secondary-color: #002e4e;
  --background-color: #d3dce4;
  --white: white;
  --font-inter: "Inter", sans-serif;
  --font-nunito: "Nunito Sans", sans-serif;
}

.goog-te-menu-frame {
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95)) !important;
  backdrop-filter: blur(15px) !important;
  overflow: hidden !important;
  min-width: 220px !important;
  max-width: 15rem !important;
  margin-top: 8px !important;
  animation: slideIn 0.3s ease-out !important;
  z-index: 9999 !important;
  position: fixed !important;
}

.goog-te-menu-frame .goog-te-menu {
  background: transparent !important;
  padding: 8px 0 !important;
}

.goog-te-menu-frame .goog-te-menu-item {
  padding: 14px 20px !important;
  font-family: "Inter", sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #e2e8f0 !important;
  transition: all 0.25s ease !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  cursor: pointer !important;
  position: relative !important;
  background: transparent !important;
  overflow: hidden !important;
}

.goog-te-menu-frame .goog-te-menu-item::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8)) !important;
  transition: left 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  z-index: -1 !important;
}

.goog-te-menu-frame .goog-te-menu-item:hover::before {
  left: 0 !important;
}

.goog-te-menu-frame .goog-te-menu-item:hover {
  color: #fff !important;
  transform: translateX(5px) !important;
  padding-left: 25px !important;
  box-shadow: inset 3px 0 0 #3b82f6 !important;
}

.goog-te-menu-frame .goog-te-menu-item:last-child {
  border-bottom: none !important;
  border-radius: 0 0 12px 12px !important;
}

.goog-te-menu-frame .goog-te-menu-item:first-child {
  border-radius: 12px 12px 0 0 !important;
}

.goog-te-menu-frame .goog-te-menu-item-selected::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(22, 163, 74, 0.8)) !important;
  z-index: -1 !important;
}

.goog-te-menu-frame .goog-te-menu-item-selected {
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: inset 3px 0 0 #22c55e !important;
}

.goog-te-menu-frame .goog-te-menu-item-selected::after {
  content: "✓" !important;
  position: absolute !important;
  right: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #fff !important;
  font-weight: bold !important;
  z-index: 1 !important;
}

.goog-te-gadget-simple {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-size: 14px !important;
  padding: 10px 15px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  display: inline-block !important;
  white-space: nowrap !important;
  max-width: 10rem !important;
  position: relative !important;
  overflow: hidden !important;
}

.goog-te-gadget-simple::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2)) !important;
  transition: left 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  z-index: -1 !important;
}

.goog-te-gadget-simple:hover::before {
  left: 0 !important;
}

.goog-te-gadget-simple:hover {
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

.goog-te-gadget-icon {
  display: none !important;
}

.goog-te-banner-frame,
.skiptranslate>iframe {
  display: none !important;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 320px) {
  .goog-te-gadget-simple {
    width: 7rem !important;
    font-size: 0.8rem !important;
    justify-content: center;
    text-align: center;
    margin-left: 0 !important;
  }
}

.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-family: "Inter", sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #e2e8f0 !important;
  padding: 14px 20px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  white-space: nowrap !important;
  overflow: hidden !important;
  min-width: 120px !important;
  text-align: center !important;
  z-index: 1000;
  animation: fadeInUp 0.3s ease-out !important;
}

.back-button::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8)) !important;
  transition: left 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  z-index: -1 !important;
}

.back-button:hover::before {
  left: 0 !important;
}

.back-button:hover {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), inset 3px 0 0 #3b82f6 !important;
}

.back-button:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.back-arrow {
  font-size: 18px;
  line-height: 1;
}

* {
  color: var(--white);
  font-family: var(--font-inter);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: white;
  font-size: 16px;
  overflow-x: hidden;
  min-width: 280px;
}

a {
  text-decoration: none;
}

p {
  font-weight: 200;
  line-height: 1.5;
  font-size: 1.3rem;
  min-width: 200px;
}

#background,
#background_image,
#gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.VIpgJd-ZVi9od-xl07Ob-lTBxed>span:nth-child(3),
.VIpgJd-ZVi9od-xl07Ob-lTBxed>span:nth-child(5) {
  display: none;
}

#background {
  height: 90vh;
  min-height: 40vh;
  z-index: -100;
  pointer-events: none;
}

#background_image,
#gradient {
  height: 900px;
}

#background_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#gradient {
  background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  opacity: 0.3;
}

header {
  height: 10rem;
  display: flex;
  align-items: center;
  padding: 3% 0 5% 5%;
  max-width: 100%;
  min-width: 280px;
}

#logo {
  width: 40%;
  max-width: 400px;
  min-width: 200px;
  margin-top: 1.5rem;
}

.welcome {
  display: flex;
  margin-top: 2rem;
  padding-left: 5rem;
  flex-direction: column;
  height: 500px;
  max-width: 100%;
  min-width: 280px;
}

#welcome_title {
  font-size: 3.5rem;
  font-family: var(--font-nunito);
  text-transform: uppercase;
  max-width: 1000px;
  min-width: 200px;
}

#welcome_textbox {
  margin-top: 1.5rem;
  font-family: var(--font-nunito);
  display: flex;
  flex-direction: column;
  max-width: 100%;
  min-width: 280px;
}

.welcome_slogan {
  font-weight: 300;
  text-transform: uppercase;
  font-size: 3rem;
  max-width: 800px;
  min-width: 200px;
}

.welcome_slogan:nth-child(2) {
  font-weight: 200;
}

#checkbox2 {
  display: none;
}

.toggle2 {
  margin-left: auto;
  margin-right: 4rem;
  margin-top: 2.5rem;
  width: 3.75rem;
  height: 3.75rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  transition: 0.5s;
  z-index: 1000;
}

.bars {
  width: 100%;
  height: 0.375rem;
  background-color: var(--white);
  border-radius: 10px;
}

#bar4,
#bar6 {
  width: 80%;
}

#bar5 {
  transition: 0.8s;
}

#checkbox2:checked+.toggle2 .bars {
  position: absolute;
  transition: 0.5s;
}

#checkbox2:checked+.toggle2 #bar5 {
  transform: scaleX(0);
}

#checkbox2:checked+.toggle2 #bar4 {
  width: 100%;
  transform: rotate(45deg);
}

#checkbox2:checked+.toggle2 #bar6 {
  width: 100%;
  transform: rotate(-45deg);
}

#checkbox2:checked+.toggle2 {
  transform: rotate(180deg);
}

.menu_link {
  font-weight: 400;
  font-size: 1.125rem;
  transition: all 0.2s ease-in-out;
  padding: 0.3rem;
  transform-origin: right;
  min-width: fit-content;
  border-radius: 10px;
  will-change: transform;
  display: inline-block;
  z-index: 1;
  position: relative;
  border: 1px solid transparent;
}

.menu_link:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

#menu_list {
  align-items: end;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-image: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  padding: 10rem 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: right;
  z-index: 999;
  transition: right 0.5s ease-in-out;
}

#checkbox2:checked~#menu_list {
  right: 0;
}

#short_info {
  display: flex;
  flex-direction: row;
  margin-top: 15rem;
  width: 70%;
  max-width: 1400px;
  min-width: 280px;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
  align-items: center;
}

#short_info div {
  width: 50%;
  max-width: 100%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.short_info_button {
  height: 7rem;
  display: flex;
  width: 100%;
  min-width: 100px;
  max-width: 100%;
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 2rem;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1rem;
}

.btn {
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  transform: scale(1.05);
}

footer {
  flex-wrap: wrap;
  padding: 2rem;
  gap: 2.5rem;
  margin-top: 6.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  max-width: 100%;
  min-width: 280px;
}

footer p {
  order: 1;
  width: 100%;
  text-align: center;
  font-weight: 200 !important;
  font-size: 1rem;
  margin-bottom: 0;
}

#footer_logo {
  order: -2;
}

#links {
  order: -1;
}

#contacts {
  order: 0;
}

#links {
  margin-right: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: fit-content;
}

.footer_links {
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  transform-origin: center;
}

.footer_links:hover {
  font-weight: 700;
  transform: scale(1.2);
}

#contacts {
  margin: 2.5rem 1.875rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.938rem;
  min-width: 280px;
}

#footer_logo {
  max-width: 300px;
  min-width: 120px;
  border-radius: 0;
  width: 100%;
}

#company_info {
  width: 70%;
  max-width: 1400px;
  min-width: 280px;
  margin-top: 5rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  background-color: var(--primary-color);
  border-radius: 10px;
  justify-content: center;
  margin-inline: auto;
  padding: 1rem;
}

#company_info img {
  object-fit: cover;
  border-radius: 10px;
  width: 500rem;
  max-width: 500rem;
  min-width: 200px;
}

#company_info p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  min-width: 200px;
}

#europe_integration {
  display: flex;
  margin-top: 2rem;
  border-radius: 10px;
  width: 15rem;
  opacity: 0.8;
}

#flags {
  display: flex;

  width: 100%;
  padding-right: 2rem;
  align-items: center;
  justify-content: space-between;
}

#to_ukrainian {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-family: "Inter", sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #e2e8f0 !important;
  padding: 14px 20px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.25s ease !important;
  display: inline-block !important;
  white-space: nowrap !important;
  position: relative !important;
  overflow: hidden !important;
  min-width: 140px !important;
  text-align: center !important;
}

#to_ukrainian::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8)) !important;
  transition: left 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  z-index: -1 !important;
}

#to_ukrainian:hover::before {
  left: 0 !important;
}

#to_ukrainian:hover {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), inset 3px 0 0 #3b82f6 !important;
}

#to_ukrainian:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

#to_ukrainian {
  animation: fadeInUp 0.3s ease-out !important;
}

@media (max-width: 1400px) {
  #short_info {
    width: 80%;
  }

  #company_info p {
    width: 60%;
  }

  #company_info img {
    width: 30rem;
    max-width: 40rem;
  }

  #company_info {
    width: 80%;
  }

  .welcome {
    padding-left: 4rem;
  }

  #welcome_title {
    font-size: 3rem;
  }

  .welcome_slogan {
    font-size: 2.5rem;
  }

  #background {
    height: 100rem;
  }
}

@media (max-width: 1200px) {
  p {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  #company_info p {
    font-size: 1.1rem;
    line-height: 1.6rem;
    width: 100%;
    text-align: left;
  }

  #background,
  #background_image,
  #gradient {
    height: 38rem;
  }

  header {
    height: 8rem;
    padding: 2% 0 3% 3%;
  }

  #logo {
    width: 50%;
    max-width: 320px;
    min-width: 150px;
  }

  .welcome {
    margin-top: 2rem;
    padding-left: 2rem;
    height: 400px;
  }

  #welcome_title {
    width: fit-content;
    max-width: 50rem;
    font-size: 2.5rem;
  }

  #europe_integration {
    width: 10rem;
  }

  .welcome_slogan {
    font-size: 2rem;
  }

  #short_info {
    width: 85%;
    margin-top: 4rem;
    gap: 1rem;
  }

  .short_info_button {
    height: 6rem;
    padding: 1.5rem;
    font-size: 0.9rem;
  }

  .toggle2 {
    margin-right: 2rem;
    width: 4rem;
    height: 10rem;
  }

  #company_info {
    width: 85%;
    flex-direction: column;
    text-align: center;
  }

  #company_info img {
    width: 100%;
    max-width: 100%;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  p {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  #company_info p {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  #background,
  #background_image,
  #gradient {
    height: 38rem;
  }

  header {
    height: 6rem;
    padding: 2% 0 2% 2%;
  }

  #logo {
    width: 60%;
    max-width: 250px;
    min-width: 120px;
    margin-left: 2rem;
  }

  .welcome {
    margin-top: 2rem;
    margin-left: 2%;
    height: 350px;
  }

  #welcome_title {
    font-size: 2rem;
    max-width: 80%;
  }

  .welcome_slogan {
    font-size: 2rem;
  }

  #short_info {
    width: 100%;
    margin-top: 10rem;
    flex-direction: column;
    align-items: center;
  }

  #short_info div {
    width: 100%;
    max-width: 90%;
  }

  .short_info_button {
    height: 5rem;
    padding: 1rem;
    font-size: 0.85rem;
    width: 100%;
  }

  .toggle2 {
    margin-right: 1.5rem;
    width: 4rem;
    height: 10rem;
    gap: 0.8rem;
  }

  .bars {
    height: 0.3rem;
  }

  #menu_list {
    width: 200px;
    right: -250px;
    padding: 8rem 1.5rem 0 0;
    gap: 1.5rem;
  }

  .menu_link {
    font-size: 1rem;
  }

  #company_info {
    justify-content: center;
    text-align: left;
    width: 90%;
  }

  #company_info img {
    width: 100%;
    max-width: 100%;
  }

  #company_info p {
    width: 100%;
  }

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  #links {
    margin-right: 0;
    width: 100%;
  }

  #contacts {
    margin: 0;
    width: 100%;
  }

  #footer_logo {
    max-width: 250px;
  }
}

@media only screen and (max-width: 480px) {
  p {
    font-size: 1rem;
    line-height: 1.4;
  }

  #company_info p {
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: left;
    width: 100%;
  }

  .footer_links {
    font-size: 0.9rem;
  }

  #background,
  #background_image,
  #gradient {
    height: 35rem;
  }

  header {
    height: 5rem;
    padding-inline: 2rem;
    flex-direction: row;
    align-items: center;
  }

  #logo {
    width: 100%;
    margin-left: 0;
    max-width: 200px;
    min-width: 100px;
  }

  .welcome {
    margin-top: 2rem;
    margin-left: 0;
    height: 280px;
  }

  #welcome_title {
    font-size: 2rem;
  }

  .welcome_slogan {
    font-size: 1.5rem;
  }

  #europe_integration {
    width: 8rem;
    margin-top: 2rem;
  }

  #short_info {
    width: 95%;
    margin-top: 12rem;
    gap: 1rem;
  }

  #short_info div {
    width: 100%;
    max-width: 100%;
  }

  .short_info_button {
    height: 4rem;
    padding: 0.8rem;
    font-size: 0.8rem;
  }

  .toggle2 {
    margin-top: 1.6em;
    margin-right: 1rem;
    width: 3rem;
    height: 7rem;
    gap: 0.8rem;
  }

  .bars {
    height: 0.3rem;
  }

  #menu_list {
    width: 300px;
    right: -300px;
    padding: 8rem 1rem 0 0;
    gap: 2rem;
  }

  .menu_link {
    font-size: 1rem;
  }

  #company_info {
    width: 95%;
    padding: 0.8rem;
  }

  #company_info img {
    width: 100%;
    max-width: 100%;
  }

  footer {
    padding: 1rem;
    gap: 2rem;
  }

  #footer_logo {
    max-width: 200px;
    min-width: 100px;
  }
}

@media (max-width: 320px) {
  .toggle2 {
    width: 4rem;
    height: 4rem;
    gap: 0.6rem;
  }

  .bars {
    height: 0.4rem;
  }

  #to_ukrainian {
    width: 8rem !important;
    font-size: 1rem !important;
    min-width: 1rem !important;
  }

  body {
    font-size: 14px;
  }

  p {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  #company_info p {
    font-size: 0.8rem;
    line-height: 1.2rem;
  }

  .footer_links {
    font-size: 0.8rem;
  }

  header {
    height: 4rem;
  }

  #logo {
    max-width: 150px;
    min-width: 80px;
  }

  .welcome {
    height: 250px;
  }

  #welcome_title {
    font-size: 1.5rem;
  }

  .welcome_slogan {
    font-size: 1.2rem;
  }

  #background_image,
  #gradient {
    height: 30rem;
  }

  #short_info {
    margin-top: 10rem;
    gap: 0.5rem;
  }

  .short_info_button {
    height: 3.5rem;
    padding: 0.6rem;
    font-size: 0.75rem;
  }

  .toggle2 {
    width: 2.3rem;
    height: 2rem;
    gap: 0.5rem;
    margin-right: 0;
  }

  .bars {
    height: 0.2rem;
  }

  #menu_list {
    width: 180px;
    right: -200px;
    padding: 5rem 0.5rem 0 0;
    padding-right: 1rem;
    gap: 0.8rem;
  }

  .menu_link {
    font-size: 1rem;
  }

  #company_info {
    padding: 0.6rem;
  }

  footer {
    padding: 0.5rem;
    gap: 1rem;
  }

  #footer_logo {
    max-width: 150px;
    min-width: 80px;
  }
}

@media (max-width: 480px) {
  *:not(.toggle):not(.bars):not(#menu_list):not(#bar4):not(#bar5):not(#bar6):not(.more_link) {
    transform: none !important;
    animation: none !important;
  }

  *:not(.toggle):not(.bars):not(#bar4):not(#menu_list):not(#bar5):not(#bar6):hover:not(.more_link):hover {
    transform: none !important;
  }
}