:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #fff;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --primary-color: #fff;
  --secondary-color: #EF2464;
  --background-color: #EEEFEF;
  --text-color: #333333;
  --secondary-text-color: rgba(0, 0, 0, 0.4);
}

@font-face
{
	  font-family:ScopeOneRegular;
    src:url("fonts/ScopeOne-Regular.ttf") format("truetype");
    font-weight:normal;
}

@font-face
{
	  font-family:CircularStdBook;
    src:url("fonts/CircularStd-Book.otf ")format("opentype");
    font-weight:normal;
}

html, body {
  height: 100dvh;
  width: 100vw;
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-color);
}
a {
  font-weight: 500;
  color: var(--secondary-color);
  text-decoration: inherit;
}


body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  place-items: center;
  width: 100vw;
  max-width: 100dvw;
  min-height: 100vh;
  height: 100dvh;
  color: var(--text-color);
}
header, main, footer {
  width: 100%;
  max-width: 100dvw;
  margin: 0;
  height: 100%;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 0px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}
header a{
  height: 100%;
  align-content: center;
}
header img {
  width: auto;
  height: 40%;
min-height: 54px;
  margin: 0 auto;
  display: block;
}
.intro {
  text-align: center;
  background-color: var(--background-color);
  padding: 20px 20px 31px;
}

.intro h1 {
  font-size: 21px;
  margin-bottom: 10px;
  font-family: ScopeOneRegular;
  font-weight: lighter;
  color: var(--secondary-color);
}
.intro p{
  padding: 0 15px;
  line-height: 1.2;
}
.intro p:last-of-type {
  margin-bottom: 20px;
}
.services {
  display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;*/
}

.services div {
  padding: 15px 20px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 25vw;
  max-height: 230px;
  align-content: center;
}

.services div:last-child {
  background-image: url('../assets/compliance.png');
 
}
.services div:nth-child(2) {
  background-image: url('../assets/visa.png');
}
.services div:first-child {
  background-image: url('../assets/client-services.png');
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

button {
  font-family: CircularStdBook;
  font-size: 13px;
  font-weight: lighter;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: solid 1px var(--secondary-color);
  border-radius: 35px;
  padding: 15px;
  width: 180px;
}

footer {
  background-color: var(--background-color);
  color: var(--secondary-text-color);
  text-align: center;
  align-content: center;
  width: 100%;
}
footer .links{
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 0px;
  margin: 0 10px;
}
footer .links .conditions{
  text-align: left;
}

footer ul {
  padding-left: 0;
  margin: 0;
  text-align: right;
}

footer li {
  list-style: none;
  display: inline-block;
  margin: 0px;
}

footer li i{
  color: var(--secondary-color);
  font-size: small;
}

footer a {
  margin: 0 10px 0 0;
  color: #000000;
  text-decoration: none;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 90%;
}

.modal a{
        display: block;
    float: left;
    color: white;
    position: fixed;
    top: 2px;
    font-size: 20px;
}


@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }

  button {
    background-color: #f9f9f9;
  }
}

@media (max-width: 768px) {
  header {
    font-size: 20px;
  }

  .intro {
    font-size: 13px;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  footer {
    font-size: 12px;
    padding: 20px 0px 0px;
  }
}
