@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap");
:root {
  --primary: #E1D9CE;
  --secondary: #F5F5F5;
  --tertiary: #000;
}

html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

ul[class],
ol[class],
input,
textarea {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd,
button {
  margin: 0;
  padding: 0;
  font-size: inherit;
}

ul[class] {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
  resize: none;
}

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

button {
  border: none;
  background-color: transparent;
  user-select: none;
}

html,
body {
  height: 100%;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  counter-reset: item;
}

html {
  scroll-behavior: smooth;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.main {
  flex: 1 0 auto;
}

.footer {
  flex: 0 0 auto;
}

.container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
}

img {
  user-select: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button {
  cursor: pointer;
}

.title {
  font-family: "Inter", sans-serif;
  font-size: 48px;
  line-height: 60px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes fadeInOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
body,
html {
  color: white;
  font-family: Montserrat, sans-serif;
  font-weight: 300;
  line-height: normal;
  position: relative;
  background-color: black;
}

body {
  background: linear-gradient(-45deg, #3f8db8, #660b63);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
}

canvas {
  width: 100vw !important;
}

.main__wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2vw;
}

.main__title {
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.11) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 6vw;
  font-weight: 300;
  text-transform: uppercase;
}

.social-links__list {
  display: flex;
  align-items: center;
  gap: 4.5vw;
}

.social-links__list-item a {
  font-size: 1.2vw;
  padding-bottom: 0.2vw;
  position: relative;
}
.social-links__list-item a:after {
  position: absolute;
  content: "";
  width: 100%;
  bottom: 0px;
  left: 0;
  height: 6px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 20 4'%3E%3Cstyle type='text/css'%3E.squiggle{animation:shift .3s linear infinite;}@keyframes shift {from {transform:translateX();}to {transform:translateX(-20px);}}%3C/style%3E%3Cpath fill='none' stroke='white' stroke-width='2' class='squiggle' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
  background-position: bottom;
  background-size: 17px 6px;
  background-repeat: repeat-x;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.social-links__list-item a:hover:after {
  opacity: 1;
}

.header {
  padding-top: 2.5vw;
  padding-left: 2.5vw;
}

.logo-wrapper {
  width: 10vw;
  height: 2.9vw;
  position: relative;
}

.logo {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s;
}

#logo-eng {
  opacity: 1;
  z-index: 20;
}

#logo-ru {
  opacity: 0;
}

@media (max-width: 1200px) {
  .main__wrapper {
    gap: 1vw;
  }
  .main__title {
    font-size: 8vw;
  }
  .social-links__list {
    gap: 5vw;
  }
  .social-links__list-item a {
    font-size: 2vw;
    padding-bottom: 0.2vw;
  }
  .social-links__list-item a:after {
    background-size: 14px 6px;
  }
  .header {
    padding-top: 4vw;
    padding-left: 4vw;
  }
  .logo-wrapper {
    width: 15.3vw;
    height: 4.4vw;
  }
}
@media (max-width: 768px) {
  body {
    min-height: 300px;
  }
  .main__wrapper {
    gap: 8px;
  }
  .main__title {
    font-size: 60px;
  }
  .social-links__list {
    gap: 45px;
  }
  .social-links__list-item a {
    font-size: 16px;
    padding-bottom: 4px;
  }
  .social-links__list-item a:after {
    bottom: -2px;
    background-size: 14px 6px;
  }
  .header {
    padding-top: 30px;
    padding-left: 30px;
  }
  .logo-wrapper {
    width: 111px;
    height: 32px;
  }
}
@media (max-width: 480px) {
  .main__wrapper {
    gap: 6px;
  }
  .main__title {
    font-size: 38px;
  }
  .social-links__list {
    gap: 30px;
  }
  .social-links__list-item a {
    font-size: 12px;
  }
  .social-links__list-item a:after {
    bottom: 0px;
    background-size: 12px 6px;
  }
  .header {
    padding-top: 20px;
    padding-left: 20px;
  }
  .logo-wrapper {
    width: 111px;
    height: 32px;
  }
}