@font-face {
  font-family: "nimbus-regular";
  src: url("../fonts/Nimbus-Sans-Regular-Condensed.ttf") format("truetype");
}

@font-face {
  font-family: "nimbus-light";
  src: url("../fonts/Nimbus-Sans-Light-Condensed.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  appearance: none;
  border: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

body {
  background: #fff;
  font-family: nimbus-light, sans-serif;
}

.fondo {
  
}

.container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(../img/VistasAPK-02.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.content .cosmetic {
  margin-right: 2rem;
}

.content .pharma {
  margin-left: 2rem;
}

.content .cosmetic img {
  width: 11rem;
}

.content .pharma img {
  width: 11rem;
}

.content .cosmetic a,
.content .pharma a {
  transition: all 1s ease;
  display: block;
  padding: 10px;
}

.content .cosmetic a:hover,
.content .pharma a:hover {
  transform: scale(1.2);
}

.text {
  grid-column: span 2;
  text-align: center;
  margin-top: 2rem;
}

.text span {
  border-top: solid 1px #2c2e32;
  width: 100%;
  position: relative;
  display: block;
  padding-top: 1rem;
  text-transform: uppercase;
  font-size: 1.4rem;
  color: #2c2e32;
}

@media only screen and (max-width: 768px) {
  .container {
    background-size: cover;
  }

  .content .cosmetic {
    margin-right: 0.5rem;
  }

  .content .pharma {
    margin-left: 0.5rem;
  }

  .content .cosmetic img {
    width: 8rem;
  }

  .content .pharma img {
    width: 8rem;
  }

  .text {
    margin-top: 2rem;
  }

  .text span {
    font-size: 1.2rem;
  }
}
