@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap");

:root {
  --main-text-color: #ffffff;
  --main-color: #2c639e;
  --default-font-size: 18px;

  --white: #ffffff;
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: "Rubik", sans-serif;
  background-color: var(--white);
  position: relative;
}

a,
a:hover,
a:active,
a:visited {
  color: var(--main-text-color);
  text-decoration: none;
}

ul {
  list-style: none;
}

.centered-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overflowed-section {
  overflow-x: hidden;
}

.wrapper {
  width: 1240px;
}

.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1239px) {
  .wrapper {
    width: 358px;
  }
}
