:root {
  --primary-white: #F9F9FF;
  --primary-dark: #323748;
  --primary-grey: #5c5d61;
  --primary-blue: #4E5C93;
  --secondary-blue: #6980DD;
}

body {
  margin: 0;
  background-color: var(--primary-white);
}

* {
  color: var(--primary-blue);
  font-size: 16px;
  font-family: "Rubik", sans-serif;
  scroll-behavior: smooth;
  line-height: 1.7;
}

h1, h2 {
  position: relative;
  font-size: 35px;
  font-weight: 700;
}

h2 {
  margin: 0;
}

h3 {
  margin: 5px 0;
  font-size: 20px;
}

h2::before {
  content: "";
  background-image: url("../images/palette.svg");
  background-size: 40px;
  height: 40px;
  width: 40px;
  position: absolute;
  left: -14px;
  top: -10px;
  opacity: 0.3;
}

section {
  padding: 125px 10% 0;
}

section:first-of-type {
  padding: 0 10%;
}

/** items */

.out-burger {
  display: none;
}

li.btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.btn a {
  text-decoration: none;
  background-color: var(--secondary-blue);
  color: var(--primary-white);
  font-weight: 700;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0px 5px 20px 0px rgba(78, 92, 147, 0.1);
}

.btn:hover, .btn:hover a {
  transform: scale(1.1);
}

.spacer {
  height: 30px;
  opacity: 0;
}

.alert {
  padding: 15px 20px;
  box-shadow: 0px 5px 20px 0px rgba(78, 92, 147, 0.1);
  border-radius: 18px;
}

.alert.success {
  background-color: #83b578;
  color: #FFFF;
}

.alert.error {
  background-color: #f9a8a8;
  color: #943126;
}

.scrolly {
  overflow-y: scroll;
}

/** Animations */

@keyframes bounce {
  0% {
    transform: scale(1, 1);
    opacity: 0;
  }
  33% {
    transform: scale(1.2, 0.8);
    opacity: 0.5;
  }
  66% {
    transform: scale(0.8, 1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
  }
}

@keyframes arrowdown {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -4px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.animate {
  animation: bounce 0.6s forwards;
  animation-timing-function: ease-in-out;
  display: inline-block;
}

/** Header style */

.header {
  width: 100%;
  height: 75px;
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: row;
  background-color: var(--primary-white);
  border-bottom: 1px solid rgba(50, 55, 72, 0.2);
  z-index: 10;
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 10%;
}

.navbar .navbar-item-container {
  width: 100%;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar .navbar-item-container .navbar-item {
  list-style: none;
  padding: 0 25px;
}

.navbar .navbar-item-container .navbar-item.active a {
  color: #6980DD;
}

.navbar .navbar-item-container .navbar-item a {
  color: rgba(50, 55, 72, 0.6);
  font-weight: bold;
  text-decoration: none;
  transition: ease-in-out 0.25s;
}

.navbar .navbar-item-container .navbar-item a:hover, .navbar .navbar-item-container .navbar-item:last-child a:hover {
  transition: ease-in-out 0.25s;
  color: var(--secondary-blue);
}

.navbar .navbar-item-container .navbar-item:last-child a {
  color: #0a345e;
}

/** Footer Style */

.footer {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 35px 10px;
  border-top: 1px solid rgba(50, 55, 72, 0.1);
  text-align: center;
  text-justify: distribute;
}

@media (max-width: 832px) {
  /** Media General */
  body.active {
    overflow: hidden;
  }
  /** Media Header */
  .header.active {
    border-bottom: none;
  }
  .header .burger {
    -webkit-tap-highlight-color: transparent;
    position: absolute;
    left: 10%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0;
    border: 0;
    background-color: unset;
    width: 40px;
    height: 75px;
  }
  .header .burger:focus {
    outline: none;
  }
  .header .burger .burger-slide {
    height: 5px;
    border-radius: 20px;
    margin: 10% 0;
    width: 100%;
    background-color: var(--primary-grey);
    transition: ease-in-out 0.2s;
  }
  .header .burger.active .burger-slide:nth-of-type(1) {
    transform: rotate(50deg)translate(9px);
    transition: ease-in-out 0.2s;
  }
  .header .burger.active .burger-slide:nth-of-type(2) {
    display: none;
  }
  .header .burger.active .burger-slide:nth-of-type(3) {
    transform: rotate(-50deg)translate(8px);
    transition: ease-in-out 0.2s;
  }
  .header .navbar {
    padding: 0;
    width: 100%;
    position: relative;
  }
  .header .navbar .navbar-item-container {
    display: none;
  }
  .header .navbar .navbar-item-container.active {
    position: absolute;
    width: 100vw;
    display: flex;
    flex-direction: column;
    top: 74px;
    left: 0;
    z-index: 4;
    padding-left: 10%;
    background-color: var(--primary-white);
    box-shadow: 0px 30px 20px 0px rgba(50, 55, 72, 0.2);
  }
  .header .navbar .navbar-item-container.active .navbar-item {
    padding: 10px 0;
  }
  .out-burger.active {
    position: fixed;
    top: 76px;
    left: 0;
    background-color: #6980DD;
    opacity: 0.8;
    width: 100vw;
    height: 100vh;
    display: block;
    z-index: 3;
  }
}