@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

:root {
  --primary-color: #ffffff;
  --hover-color: #4b0094c9;
  --accent-color: #c96ce5;
  --transparent: rgba(255, 255, 255, 0.5);
  /*4b0094c9 5c00adb0 946ce5 3802b4*/
  --text-color: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: Arial, 'Segoe UI', sans-serif;
  color: var(--primary-color);
  scroll-behavior: smooth;
  /*For bookmark links*/
}

body {
  /* min-height: 100vh;
  min-height: 100dvh; */
  /* background-color: var(--primary-color); */
  position: relative;
}

main {
  /* padding: min(5em, 7%); */
}

/* Language menu */
.lang-menu {
  align-items: center !important;
}

.lang-btn {
  color: #ffffff;
  background: none !important;
  border: 1px solid var(--hover-color) !important;
  border-radius: 4px !important;
  padding: 0.25em !important;
  margin: 0 0.25em !important;
  font: inherit !important;
  cursor: pointer !important;
  font-size: 1rem !important;
}

.lang-btn:hover {
  color: var(--accent-color) !important;
}

.lang-btn:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px var(--accent-color) !important;
}

main p {
  margin-top: .35em;
}

.logo-text{
  font-size: 1.2rem;
}

nav {
  /* background-color: var(--transparent); */
  /* border-bottom: 1px solid var(--hover-color); */
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
}

nav .home-li {
  margin-right: auto;
}

nav li {
  display: flex;
}

nav a {
  display: flex;
  text-decoration: none;
  color: var(--primary-color);
  padding: .5em 1.5em;
  transition: background-color 150ms ease;
  align-items: center;
}

nav a:hover {
  /* background-color: var(--hover-color); */
  color: var(--accent-color);
}

.imgLogo {
  width: 2.5em;
  height: 2.5em;
  margin-right: .5em;
}

/* .imgLogo-black {
  width: 2.5em;
  height: 2.5em;
  margin-right: .5em;
  display: none;
}

a:hover .imgLogo {
  display: none;
}

a:hover .imgLogo-black {
  display: inline;
} */


nav a.active-link {
  border-bottom: 2px solid var(--accent-color);
}

nav a.accent-link {
  background-color: var(--accent-color);
}

#open-sidebar-button {
  display: none;
  background: none;
  border: none;
  padding: 1em;
  margin-left: auto;
  cursor: pointer;
}

#close-sidebar-button {
  display: none;
  background: none;
  border: none;
  padding: 1em;
  cursor: pointer;
}

#overlay {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  inset: 0;
  z-index: 9;
  display: none;
}

.skip-link {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  outline: 3px solid #ffffff;
}

@media screen and (max-width: 700px) {

  #open-sidebar-button,
  #close-sidebar-button {
    display: block;
  }

  nav {
    opacity: 0.9;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(15em, 100%);
    z-index: 10;
    border-left: 1px solid var(--hover-color);
    transition: right 300ms ease-in-out;
    background-color: var(--text-color);
  }

  nav.show {
    right: 0;
  }

  nav.show~#overlay {
    display: block;
  }

  nav ul {
    width: 100%;
    flex-direction: column;
  }

  nav a {
    width: 100%;
    padding-left: 2.5em;
  }

  nav a.active-link {
    border-bottom: none;
  }

  nav .home-li {
    margin-right: unset;
  }
}

.image-bg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 30rem;
  background-image: url('../img/background-binary.png');
  background-size: cover;
  background-position: center;
  opacity: 0.03;
  z-index: -1; /* Ajusta entre -2, -1, 0 según el orden que quieras */
  /* width: 100%; */
}

.svg-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30rem;
  z-index: -2;
}

.svg-container svg {
  width: 100%;
  height: 30rem;
}

.svg-container-purple {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30rem;
  z-index: -1;
}

.svg-container-purple svg {
  width: 100%;
  height: 30rem;
}


main {
  /* background: linear-gradient(to bottom, #ffffff 0%, #dddee1 100%); */
  /* border-bottom: 1px solid rgba(0, 0, 0, .2); */
  /* padding: 10vh 0 30vh; */
  position: relative;
  text-align: center;
  overflow: hidden;

  &::after {
    /* border-right: 2px dashed #eee; */
    content: '';
    position: absolute;
    top: calc(10vh + 1.618em);
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100%;
  }
}