:root {
  --main-title-font: Panton Online;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: roboto;
  line-height: 1.5em;
  margin: 0;
  background: #f9f7f7;
  background: #f8fcff;
}

.outer_wrapper {
  position: relative;
  padding-top: 8em;
  min-height: 100vh;
  box-sizing: border-box;
}

.outer_wrapper::before,
.outer_wrapper::after {
  content: "";
  position: absolute;
  width: calc((100% - (800px + 4em)) / 2);
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(../resources/gradient.png);
  background-size: 100% auto;
  image-rendering: pixelated;
  opacity: 0.4;
  filter:hue-rotate(195deg) brightness(.7);
}

.outer_wrapper::after {
  left: unset;
  right: 0;
  background-image: url(../resources/gradient_rev.png);
}

@media (min-width: 120em) {
  .outer_wrapper::before,
  .outer_wrapper::after {
    max-width: 400px;
  }
}

@media (max-width: 1200px) {
  .outer_wrapper::before,
  .outer_wrapper::after {
    opacity: 0.2;
    width: 10%;
    min-width: 100px;
    background-size: calc(4 / 3 * 100%) auto;
  }
}

@media (max-width: 700px) {
  .outer_wrapper::before,
  .outer_wrapper::after {
    display: none;
  }
}

section {
  padding: 0 4em;
  padding-bottom: 3em;
  margin: auto;
  margin-bottom: 3em;
  width: 100%;
  max-width: calc(800px + 8em);
  box-sizing: border-box;
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 3px;
  transform: translateX(-50%);
  max-width: 800px;
  border-radius: 2px;
  background: #0e4c8f1f;
}

.title_logo {
  margin-left: -1em;
  width: 70%;
  max-width: 20em;
}

.main_title {
  font-size: 3.5em;
  font-weight: 600;
  line-height: 1.15em;
}

h1 {
  font-family: var(--main-title-font);
  font-size: 2.5em;
  font-weight: 600;
  line-height: 1.15em;
}

h2 {
  font-family: var(--main-title-font);
  font-size: 1.75em;
  font-weight: 300;
  line-height: 1.25em;
  position: relative;
  margin-top: 2em;
  cursor: pointer;
}

h1 + h4 {
  margin-top: -2em;
}

h2 + h4 {
  margin-top: -1.5em;
}

h3 + h4 {
  margin-top: -1em;
}

h3 + p {
  margin-top: -1.25em;
}

h2 + h4 + p {
  margin-top: 2em;
}

p {
}

a {
  font-weight: 500;
  color: #fe5000;
}

.button_wrapper{
  display:flex;
  flex-wrap:wrap ;
  gap:1.5em;
  margin: 1.5em 0;
}

.button {
  display: block;
  text-decoration: none;
  font-family: var(--main-title-font);
  font-size: 1.15em;
  font-weight: 600;
  color: #ffffff;
  background: #0e4c8f;
  min-width: fit-content;
  padding: 1.15em 1.5em;
  border-radius: 10px;
  transition: background 0.3s, transform 0.3s;
  line-height: 1em;
}

.button:hover {
  background: #0c64c4;
  transform: scale(1.025);
}

.firstcharacter {
  font-family: var(--main-title-font);
  color: #0e4c8f;
  float: left;
  font-size: 3.15em;
  font-weight: 500;
  line-height: 0.8em;
  padding-right: 0.1em;
  transform: translateY(0.1em);
}

/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

@media (max-width: 64em) {
  /*
   .grid-3{
      grid-template-columns:repeat(2,1fr);
   }
   */

  .need_card {
    flex: 0 0 calc((100% - 2em) / 2);
  }

  .need_card:nth-of-type(3n + 1) {
    margin-left: 1em;
  }

  .need_card:nth-of-type(3n) {
    margin-right: 1em;
  }

  .need_card:nth-of-type(2n + 1) {
    margin-left: 0;
  }

  .need_card:nth-of-type(2n) {
    margin-right: 0;
  }
}

/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

@media (max-width: 44em) {
  .outer_wrapper {
    padding-top: 3em;
  }

  section {
    padding: 0 7%;
    padding-bottom: 3em;
  }

  section::before {
    width: calc(100% - 2em);
  }

  .title_logo {
    margin: 0;
  }

  .main_title {
    font-size: 3em;
    font-weight: 600;
    line-height: 1.15em;
  }

  h1 {
    font-size: 2.5em;
  }

  h2 {
    font-size: 2em;
    padding-right: 0.75em;
  }

  .heading_mark {
    transform: translate(50%, -50%);
    left: unset;
    right: 0;
    width: 1em;
    height: 1em;
  }

  h2:hover .heading_mark {
    transform: translate(50%, -50%);
  }

  h2:active .heading_mark {
    transform: translate(50%, -50%);
  }

  .heading_mark::after {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  h3 {
    font-size: 1.5em;
  }

  h4 {
    font-size: 1.25em;
  }

  h2 + h4 {
    margin-top: -1em;
  }

  a.button {
    font-size: 1em;
  }
}

  /*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


.footer {
  width: 100%;
  padding: 60px 0;
  background: #c5e1ff;
}

.footer.before {
  height: 3px;
}

.footer_inner {
  padding: 0 4em;
  margin: auto;
  width: 100%;
  max-width: calc(800px + 8em);
  box-sizing: border-box;
  position: relative;
  text-align: center;
}

.footer_logo {
  margin: auto;
  width: 40%;
  margin-bottom: 20px;
}

.footer_logo img {
  width: 100%;
}

.footer_link {
  display: inline-block;
  vertical-align: middle;
  padding: 0 10px;
}

.footer_link a {
  font-weight: 600;
  font-family: var(--main-title-font);
  text-decoration: none;
  color: black;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/* width */
::-webkit-scrollbar {
  width: 4px;
  height: 6px;
  border-radius: 3px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #fe5000;
  border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

@-webkit-keyframes pulse {
  0% {
    outline: 0 solid rgba(254, 80, 0, 1);
  }
  70% {
    outline: 20px solid rgba(254, 80, 0, 0);
  }
  100% {
    outline: 0 solid rgba(254, 80, 0, 0);
  }
}

@-webkit-keyframes wide_pulse {
  0% {
    outline: 0 solid rgba(254, 80, 0, 1);
  }
  70% {
    outline: 50px solid rgba(254, 80, 0, 0);
  }
  100% {
    outline: 0 solid rgba(254, 80, 0, 0);
  }
}
