@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter/Inter_24pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter/Inter_24pt-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter/Inter_24pt-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins/Poppins-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --primary-color: #8332EA;
  --secondary-color: #110D27;
  --bg-color: #FFF;
  --title-text-color: #05011F;
  --text-color: #444444;
  --on-primary-text-color: #FFF;
  --on-secondary-text-color: #FFF;
  --gray-color: #EDEDED;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #8332EA;
    --secondary-color: #110D27;
    --bg-color: #05011F;
    --title-text-color: #FFF;
    --text-color: #FFF;
    --on-primary-text-color: #FFF;
    --on-secondary-text-color: #FFF;
    --gray-color: #EDEDED;
  }
}
* {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  line-height: 1;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  background: var(--bg-color);
}
body div,
body button,
body section,
body article,
body main,
body nav,
body footer,
body header,
body aside,
body ul,
body ol,
body form,
body a.btn {
  display: flex;
  flex-direction: row;
}

header, footer {
  padding: 0 min(8vw, 144px);
  width: 100%;
}
header > div, footer > div {
  max-width: 1300px;
  width: 100%;
}

@media (max-width: 1000px) {
  header, footer {
    padding: 0 30px;
  }
}
ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

b {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", serif;
  font-weight: 700;
  line-height: 1.3em;
  color: var(--title-text-color);
}

h1 {
  font-size: 3.4em;
  font-weight: 700;
  color: var(--on-secondary-text-color);
}

h2 {
  font-weight: 400;
  font-size: 2.7em;
}
h2, h2 b {
  color: var(--title-text-color);
}
h2 span {
  font-family: "Poppins", serif;
  font-weight: 800;
  color: inherit;
}
h2 .primary, h2 b {
  font-weight: 700;
  font-size: 1em;
}
h2 .primary {
  color: var(--primary-color);
}

h3 {
  font-size: 2em;
  font-weight: 500;
  color: #fff;
  text-align: center;
}

p,
a,
li,
label,
span,
input,
textarea,
button {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: var(--on-primary-text-color);
  font-size: 1.1em;
}

span {
  font-size: 1.25em;
}

button,
a.btn,
li {
  font-size: 1em;
}

p {
  line-height: 1.61em;
  color: var(--text-color);
}

a {
  text-decoration: none;
  cursor: pointer;
}
a.link {
  color: var(--primary-color);
  text-decoration: underline;
  font-size: 1em;
}

@media (max-width: 790px) {
  h1 {
    font-size: 2.2em;
  }
  h2 {
    font-size: 1.8em;
  }
  h3 {
    font-size: 1.5em;
  }
  span.title {
    font-size: 1em !important;
  }
  p,
  a,
  li,
  label,
  span,
  input,
  textarea,
  button {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1em;
  }
}
.column {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.space-between {
  justify-content: space-between;
}

.gap-5 {
  gap: 5px;
}

.gap-10 {
  gap: 10px;
}

.gap-15 {
  gap: 15px;
}

.gap-20 {
  gap: 20px;
}

.gap-30 {
  gap: 30px;
}

.border-r10 {
  border-radius: 10px;
}

.border-r20 {
  border-radius: 20px;
}

.border-r-large {
  border-radius: 80px;
}

.logo {
  display: flex;
}
.logo img {
  height: 50px;
}
.logo span {
  font-size: 1.4em;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

div.input-with-btn {
  position: relative;
}
div.input-with-btn input {
  border: 1px solid var(--gray-color);
  border-radius: 80px;
  background: transparent;
  width: 100%;
  padding: 10px 40px 10px 15px;
}
div.input-with-btn button.btn {
  padding: 3px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

a.btn, button.btn {
  color: var(--on-primary-text-color);
  width: fit-content;
  cursor: pointer;
  padding: 12px 30px;
  position: relative;
  transition: 0.3s ease;
  font-size: 1em;
  border-radius: 100px;
  background: var(--primary-color);
}
a.btn:hover, button.btn:hover {
  box-shadow: 0 0 8px 1px var(--primary-color);
  background: var(--primary-color);
}
@media (max-width: 700px) {
  a.btn, button.btn {
    padding: 8px 15px;
  }
}

header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  background: var(--secondary-color);
  z-index: 20;
}
header #main-menu {
  display: none;
  background: none;
}
header ul li {
  cursor: pointer;
}
header ul li a {
  transition: color 0.3s ease;
}
header ul li:hover a {
  color: var(--primary-color);
}
@media (max-width: 850px) {
  header #main-menu {
    display: flex;
  }
  header.menu-open ul {
    height: 95vh;
  }
  header ul {
    overflow: hidden;
    background: color-mix(in srgb, var(--secondary-color), transparent 20%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    transition: height 0.4s ease-in-out;
    flex-direction: column;
    padding: 0 30px;
    align-items: end !important;
  }
  header ul :first-child {
    margin-top: 15px;
  }
  header nav {
    gap: 15px !important;
  }
}
@media (max-width: 550px) {
  header .logo img {
    height: 35px;
  }
  header .logo span {
    font-size: 1.2em;
  }
  header nav .btn {
    font-size: 0.8em;
  }
}

footer {
  padding-top: 80px;
  padding-bottom: 20px;
  color: var(--text-color);
}
footer * {
  color: inherit !important;
}
footer > div {
  gap: 50px;
}
footer .logo {
  height: fit-content;
}
footer .lists {
  width: 100%;
  margin-left: 5vw;
}
footer ul li:first-child, footer .newsletter span {
  font-weight: 700;
  font-size: 1.2em;
  color: var(--title-text-color);
  margin-bottom: 15px;
}
footer .copyright {
  font-size: 1em;
}
footer .socials a {
  background: var(--secondary-color);
  padding: 5px;
  height: 40px;
  width: 40px;
  display: flex;
}
footer .socials img {
  cursor: pointer;
}
@media (max-width: 900px) {
  footer .logo-lists {
    flex-direction: column;
    gap: 40px;
  }
  footer .lists {
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: left;
    gap: 30px;
  }
  footer .lists > * {
    min-width: 120px;
  }
  footer .end {
    flex-direction: column-reverse;
    gap: 20px;
  }
}

main {
  position: relative;
  padding-top: 150px !important;
}
main .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(100vh, 1100px, 100%);
  background: var(--secondary-color);
  z-index: -1;
}
main h1 {
  text-align: center;
}
main p {
  color: var(--on-secondary-text-color);
  text-align: justify;
  width: min(100%, 780px);
}
main .btn {
  margin: 30px 0;
}
main .video {
  margin-top: 10px;
  width: 80%;
  box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}
main .video video {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
main .video > span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
main .video span {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px;
  border-radius: 100%;
}
main .video button {
  display: flex;
  padding: 25px;
  background: #424242;
  border-radius: 100%;
  height: 80px;
  width: 80px;
  cursor: pointer;
}
@media (max-width: 700px) {
  main {
    padding-top: 100px !important;
  }
  main > div {
    align-items: start !important;
  }
  main h1, main p {
    text-align: left;
    width: 100%;
  }
  main h1 br {
    display: none;
  }
  main .btn {
    margin: 10px 0;
  }
  main .video {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
}

#abstract {
  padding: 2vh min(8vw, 144px);
}
#about-us img {
  min-width: 40%;
}
#about-us h2 {
  text-align: left;
}
@media (max-width: 700px) {
  #about-us img {
    height: 30vh;
    object-fit: cover;
    object-position: center;
  }
  #about-us > div {
    flex-direction: column;
    align-items: start;
  }
}

#features {
  background: var(--secondary-color);
  color: var(--on-secondary-text-color);
}
#features * {
  color: inherit !important;
}
#features .points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}
#features .points .card {
  width: 100%;
  padding: 60px 15px;
  border: 1px solid var(--gray-color);
}
#features .points .card.main {
  border-color: var(--primary-color);
  background: var(--primary-color);
}
#features .points .card h3 {
  font-size: 1.5em;
  text-align: center;
}
#features .points .card p {
  text-align: center;
  font-size: 1em;
}
@media (max-width: 1200px) {
  #features .points {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  #features > div {
    align-items: start;
  }
  #features .points {
    grid-template-columns: 1fr;
  }
  #features .points .card {
    padding: 40px 15px;
  }
}

#solves h2 + p {
  text-align: justify;
  width: min(100%, 690px);
}
#solves article {
  width: 100%;
  gap: 50px;
  margin-top: 50px;
}
#solves article img {
  width: min(30vw, 590px);
  height: min(30vw, 590px);
  object-fit: cover;
  object-position: center;
  border-radius: 100%;
}
@media (max-width: 700px) {
  #solves > div {
    align-items: start !important;
  }
  #solves h2 {
    text-align: left;
  }
  #solves h2 + p {
    text-align: left;
  }
  #solves article {
    flex-direction: column;
    align-items: start;
  }
  #solves article:first-of-type {
    flex-direction: column-reverse;
  }
  #solves article img {
    height: 20vh;
    width: 30vh;
    border-radius: 10px;
  }
}

#contact {
  background-color: var(--secondary-color);
  color: var(--on-secondary-text-color);
}
#contact * {
  color: inherit !important;
}
#contact hr {
  border-left: 1px solid var(--on-secondary-text-color);
  height: 100%;
}
#contact > div > div > div {
  flex: 1;
}
#contact form {
  flex: 1;
}
#contact form input, #contact form textarea {
  background: none;
  border: 1px solid var(--gray-color);
  padding: 10px 40px 10px 15px;
  border-radius: 20px;
  resize: none;
  width: 100%;
}
@media (max-width: 700px) {
  #contact > div {
    align-items: start;
  }
  #contact h2 {
    text-align: left;
  }
}

section, main {
  padding: 10vh min(8vw, 144px);
  scroll-margin-top: 80px;
  width: 100%;
}
section > div:not(.bg), main > div:not(.bg) {
  width: 100%;
  max-width: 1300px;
}
section h2, main h2 {
  text-align: center;
}

section {
  background: transparent;
}

@media (max-width: 1000px) {
  section, main {
    padding: 6vh 30px;
  }
}
