html {
  scroll-behavior: smooth !important;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: white;
  transition: 0.5s all;
}

.title {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
}

.subtitle {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
}

.text {
  font-family: "Open Sans", sans-serif;
}

.but:hover {
  color: #0b1534;
  transition: 0.3 all;
}

.bg-mainblue {
  background-color: #0b1534;
}

.bg-lightblue {
  background-color: #1b2953;
}
.bg-lightblue-transparent {
  background-color: #1b295370;
}

.border-lightblue {
  border-color: #1b2953;
}

.text-mainblue {
  color: #0b1534;
}

.bg-mainred {
  background-color: #e14e5a;
}
.bg-lightred {
  background-color: #e14e5a70;
}

.text-mainred {
  color: #e14e5a;
}

.changeColor {
  background-color: #0b1534;
}

header a:hover {
  border-bottom: 2px solid #0b1534;
  cursor: pointer;
}

.box {
  width: 65%;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.05);
  border-radius: 11px;
}

.box:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.form-box {
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.05);
  border-radius: 11px;
}

input,
textarea {
  background: #edeef1;
  border-radius: 5px;
}

.on-scroll {
  background-color: white;
  transition: 0.5s all;
}

.scrolled {
  background-color: #0b1534;
  transition: 0.5s all;
}

.changes {
  color: white !important;
}

.changes a {
  border-color: white !important;
}

.show {
  display: block;
}

.not-show {
  display: none;
}

::placeholder {
  color: #0b1534 !important;
  font-size: 13px;
}

textarea::placeholder {
  color: #0b1534 !important;
  font-size: 13px;
}

/* big screen */
.big-screen {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

/* privacy */
.privacy * {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.privacy h4.subtitle,
.privacy h5.subtitle {
  font-weight: 400 !important;
}

.privacy ul {
  list-style-type: disc;
}

.privacy li {
  margin-left: 1em;
}
.privacy li::marker {
  color: #e14e5a;
}

/*------Balls animation------*/
.floating-animation {
  -webkit-animation: floatAnimation 8s ease-in-out 0s infinite alternate none
    running;
  animation: floatAnimation 8s ease-in-out 0s infinite alternate none running;
}

.floating-animation2 {
  -webkit-animation: floatAnimation 6s ease-in-out 0s infinite alternate none
    running;
  animation: floatAnimation 6s ease-in-out 0s infinite alternate none running;
}

.floating-animation3 {
  -webkit-animation: floatAnimation 3.5s ease-in-out 0s infinite alternate none
    running;
  animation: floatAnimation 3.5s ease-in-out 0s infinite alternate none running;
}

.floating-animation4 {
  -webkit-animation: floatAnimation 8s ease-in-out 0s infinite alternate none
    running;
  animation: floatAnimation 8s ease-in-out 0s infinite alternate none running;
}

.floating-animation5 {
  -webkit-animation: floatAnimation 6s ease-in-out 0s infinite alternate none
    running;
  animation: floatAnimation 6s ease-in-out 0s infinite alternate none running;
}

.floating-animation6 {
  -webkit-animation: floatAnimation 3.5s ease-in-out 0s infinite alternate none
    running;
  animation: floatAnimation 3.5s ease-in-out 0s infinite alternate none running;
}

@keyframes floatAnimation {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-25%, -40%);
  }
}

@keyframes floatAnimation2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(25%, 40%);
  }
}

/* FORM */
.alert-box {
  position: fixed;
  left: calc(50% - 250px);
  width: 500px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.05);
  border-radius: 11px;
}

@media screen and (max-width: 768px) {
  .alert-box {
    width: 300px;
    left: calc(50% - 150px);
  }
}

.alert-box.hide {
  display: none;
}

.alert-box.error {
  background-color: #e14e5a !important;
}

/* CHECKBOX */

.checkbox + label::before {
  display: inline-block;
  content: "";
  min-width: 22px;
  min-height: 22px;
  width: 22px;
  height: 22px;
  background-color: #edeef1;
  cursor: pointer;
  transition: background 0.5s;
  border-radius: 5px;
}

.checkbox + label::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 7px;
  margin-left: 7px;
  margin-top: 2px;
  height: 13px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.5s;
  cursor: pointer;
}

.checkbox.white + label::before {
  border-color: white;
}

.checkbox:checked + label:before {
  background-color: #0b1534;
  border-color: #0b1534;
}

.checkbox:checked + label:after {
  opacity: 1;
}

.expand {
  opacity: 0;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  pointer-events: none;
}

.collapsed .expand {
  opacity: 1;
}

.collapsed {
  height: 13rem;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.collapsed::after {
  content: "";
  position: absolute;
  top: 0rem;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.375rem;
  pointer-events: none;
  background: rgb(27, 41, 83);
  background: linear-gradient(
    180deg,
    rgba(27, 41, 83, 0) 0%,
    rgba(27, 41, 83, 0) 35%,
    rgba(27, 41, 83, 1) 100%
  );
}
.spin {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 10px solid #e14e5a;
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
