@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
body,
html {
  margin: 0;
  padding: 0;
  background-color: #202020;
  overflow-x: hidden;
  font-family: "Open Sans", sans-serif;
}

/* Navbar */
nav {
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  padding: 1em;
  background: linear-gradient(to right, rgb(32, 32, 32), rgb(40, 40, 40));
  display: flex;
  align-items: center;
  z-index: 9;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0.5em 1em;
}

nav a:hover {
  color: #f8f9fa;
  text-decoration: none;
}
nav img {
  height: 50px;
}

#servicios img {
  object-fit: cover;
}
.banner {
  width: 30%;
  left: 50%;
  position: relative;
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  z-index: 1;
}

.rounded-circle {
  border: 1px solid;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgb(234, 234, 234);
  width: 110px;
  height: 110px;
}

.z-cont {
  position: relative;
  z-index: 1;
}

.refer{
  object-fit: contain;
}
.partners-links{
  text-decoration: none;
  color: #202020;
  transition: transform 0.3s ease;
}
.partners-links:hover{
  transform: scale(1.06) !important;
  text-decoration: none;
  color: #202020;
}

.card-text {
  font-size: 1rem !important;
  font-weight: bold !important;
}
.text-secondary {
  font-size: 0.9rem !important;
  color: #b92f5e !important;
  font-weight: bold !important;
}
.circle-purple {
  position: absolute;
  top: -63vh;
  left: 80%;
  width: 60vw;
  height: 140vh;
  background: url(/circlepurple.webp) no-repeat;
  background-size: cover;
  transform: translate(-50%);
  z-index: 0;
}
.circle-large {
  position: absolute;
  bottom: 254px;
  left: -32%;
  width: 58vw;
  height: 106vh;
  background: url(/lines.webp) no-repeat;
  background-size: cover;
  transform: translate(6%, 25%);
  z-index: 0;
}
.circle-small {
  position: absolute;
  bottom: 247px;
  left: -32%;
  width: 55vw;
  height: 103vh;
  background: url(/lines.webp) no-repeat;
  background-size: cover;
  transform: translate(6%, 25%);
  z-index: 0;
}
.cmg-isotipo {
  width: 600px;
  height: 250px;
  position: relative;
  margin-bottom: 20px;
  background: url(/cmg-isotipo.svg) no-repeat;
  top: 40px;
}

.logo-largo {
  width: 1050px;
  height: 19vh;
  background: url(/conmago-h-blanco-largo-nologo.svg) no-repeat;
  position: relative;
}

.btn-ghost {
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 8px 24px;
  border-radius: 50px;
  transition: opacity 0.3s ease;
}
.btn-ghost:hover {
  opacity: 0.8;
  color: #e9ecef;
}

.btn-flat {
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  background: #b92f5e;
  transition: background 0.3s ease;
}

.btn-flat:hover {
  background: #b92f5ecc;
  color: white;
}

#servicios2 .card-body {
  border: 1px solid #ffffff;
  border-radius: 4px;
  background-color: #b92f5e;
}

#servicios2 .card:hover {
  transform: scale(1.06);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  cursor: auto;
}
a {
  color: white;
  text-decoration: none;
}

.logo-corto {
  display: none;
}

.h-divider {
  margin: auto;
  width: 100%;
  position: absolute;
}

.h-divider .sombra {
  overflow: hidden;
  height: 20px;
}

.h-divider .sombra:after {
  content: "";
  display: block;
  margin: -25px auto 0;
  width: 100%;
  height: 25px;
  border-radius: 125px/12px;
  box-shadow: 0 5px 15px #202020;
}
.h-divider .sombra-inversa:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 18px;
  border-radius: 125px/12px;
  box-shadow: 0px -10px 20px -4px #202020;
}
.dabb{
  object-fit: cover;
}
/* Quiénes Somos */
#aboutus {
  background-color: #ffffff;
  text-align: center;
}

.imagenkeyboard {
  width: 360px;
  height: 360px;
  margin: -35px;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: rgb(200, 200, 200) 1px solid;
  background: url(/handskeyboard.webp) no-repeat;
  background-size: cover;
  background-position: center;
}
.quienesomo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  font-size: 4em;
  margin-bottom: 20px;
  font-family: "Open Sans", sans-serif;
  color: #b92f5e;
}
h2 {
  color: #b92f5e;
  font-weight: bold;
}
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 2em;
}

.navbar-links {
  display: flex;
}

.navbar-links.active {
  display: flex;
  margin-top: -20px;
}
.hamburger.active:before {
  content: "✕";
}

#bannerlogo,
#aboutus,
#servicios,
#servicios2,
#employees,
#partners,
#contactform {
  position: relative;
  overflow: hidden;
}

#bannerlogo,
#servicios,
#servicios2,
#contactform {
  background-color: transparent;
  color: white;
  min-height: 100vh;
}

#servicios,
#servicios2,
#contactform {
  justify-content: center;
  align-items: center;
  padding: 6em;
  color: white;
  background-color: transparent;
  text-align: center;
  flex-wrap: wrap;
}

#employees {
  background-color: #ffffff;
}

#employees .container,
#partners .container {
  padding-top: 6em;
}

strong {
  color: #202020;
}
#avisolegal a {
  color: #202020 !important;
}
/* MEDIA QUERIES */
@media only screen and (max-width: 768px) {
  nav {
    min-height: 80px;
  }
  .cmg-isotipo {
    display: none;
  }

  .logo-largo {
    display: none;
  }
  .logo-corto {
    display: flex;
    background: url(/cmg-vertical-blanco.svg) no-repeat center center;
    width: 100vw;
    height: 100vh;
    margin: -15em;
    background-size: 311px;
  }
  .banner {
    width: 100%;
    justify-content: center;
    align-items: center;
    left: 0;
    padding-top: 70px;
  }
  .navbar-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    text-align: center;
    background: linear-gradient(to right, rgb(32, 32, 32), rgb(40, 40, 40));
  }
  .banner {
    width: 100%;
  }
  .title {
    font-size: 2em;
  }
  .hamburger {
    display: block;
    transition: transform 0.8s ease;
  }

  .navbar-links a {
    text-align: center;
    display: block;
  }
  .navbar-links.active {
    display: flex;
    flex-direction: column;
    margin-top: -20px;
  }
  .hamburger.active {
    transform: rotate(90deg);
  }
  .buttons {
    padding-top: 83px;
  }

  .logo-largo {
    display: none;
  }

  .imagenkeyboard {
    width: 200px;
    height: 200px;
    display: inline-block;
  }
  .quienesomo {
    flex-direction: column;
  }
  .title {
    font-size: 3em;
  }
  .h2,
  .h4,
  .h5,
  p {
    font-size: 1.5em;
    text-align: center;
  }
  #servicios {
    padding: 1.5em;
  }
  #employees,
  #servicios2,
  #contactform {
    padding: 0 1.5em;
  }
  .circle-purple {
    bottom: 450px;
    height: 140vh;
    left: 75%;
  }
  .circle-large {
    bottom: 494px;
    left: -18%;
    transform: translate(-56%, 78%);
    width: 179vw;
    height: 82vh;
  }
  .circle-small {
    bottom: 463px;
    left: -20%;
    transform: translate(-56%, 78%);
    width: 155vw;
    height: 71vh;
  }
}

/* Media Queries for small devices: max-width:768 and max-height: 667 */
@media only screen and (max-width: 768px) and (max-height: 920px) {
  .circle-large {
    bottom: 395px;
    left: -18%;
    transform: translate(-56%, 78%);
    width: 179vw;
    height: 81vh;
  }
  .circle-small {
    bottom: 369px;
    left: -20%;
    transform: translate(-56%, 78%);
    width: 155vw;
    height: 70vh;
  }
}


@media only screen and (max-height: 790px) and (max-width: 1920px){
  .circle-purple{
    height: 151vh;
  }
  .circle-large {
    bottom:168px;
  }
  .circle-small {
    bottom: 163px;
  }
  .logo-largo {
    height: 28vh;
  }
}

@media only screen and (max-height: 790px) and (max-width: 1370px){
  .cmg-isotipo{
    transform: scale(0.8);
  }
  .logo-largo {
    transform: scale(0.8);
  }
}