@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap");

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

.main {
  display: flex;
  justify-content: center;
  background: rgb(255, 255, 255);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(245, 245, 245, 1) 35%
  );
  background-image: url(/img/logo_bg.svg);
  background-position: center;
  background-size: cover;
}
.main-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0px;
}
.logo-container {
  margin-bottom: 75px;
}
.logo img {
  width: 400px;
  max-width: 95%;
}
.txt-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 50px;
}
.raya {
  width: 100%;
  background-color: #c10023;
  height: 5.5px;
}
.txt-container h1 {
  color: #575656;
  font-size: 25px;
  font-weight: 900;
  margin: 0px 15px;
  text-align: center;
}
.lista-container {
  width: 95%;
  max-width: 95%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  align-items: center;
  column-gap: 20px;
}

.marca {
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  filter: grayscale(1) opacity(0.4);
  transition-duration: 0.2s;
}
.marca img {
  justify-self: center;
  align-self: center;
  cursor: pointer;
  width: 180px;
}
.marca:hover {
  filter: grayscale(0) opacity(1);
}

.marca-almacenes {
  height: 95px;
}
.marca-union {
  height: 95px;
}
.marca .marca-rci {
  height: 95px;
  width: 130px;
}
.marca-solfipe {
  height: 95px;
}
.marca-ricsa {
  height: 95px;
}
.marca:last-child {
  margin-right: 0px;
}

.box1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  transition-duration: 0.2s;
  height: 300px;
  position: relative;
  padding: 35px 30px;
  margin-top: 30px;
  background-color: white;
  box-shadow: 0px 0px 33px -16px rgba(0, 0, 0, 0.32);
  transform: translateY(100px);
  filter: opacity(0);
}
.box2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  transition-duration: 0.2s;
  height: 300px;
  position: relative;
  padding: 35px 30px;
  margin-top: 30px;
  background-color: white;
  box-shadow: 0px 0px 33px -16px rgba(0, 0, 0, 0.32);
  transform: translateY(200px);
  filter: opacity(0);
}
.box3 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  transition-duration: 0.2s;
  height: 300px;
  position: relative;
  padding: 35px 30px;
  margin-top: 30px;
  background-color: white;
  box-shadow: 0px 0px 33px -16px rgba(0, 0, 0, 0.32);
  transform: translateY(200px);
  filter: opacity(0);
}
.box4 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  transition-duration: 0.2s;
  height: 300px;
  position: relative;
  padding: 35px 30px;
  margin-top: 30px;
  background-color: white;
  box-shadow: 0px 0px 33px -16px rgba(0, 0, 0, 0.32);
  transform: translateY(200px);
  filter: opacity(0);
}
.box5 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  transition-duration: 0.2s;
  height: 300px;
  position: relative;
  padding: 35px 30px;
  margin-top: 30px;
  background-color: white;
  box-shadow: 0px 0px 33px -16px rgba(0, 0, 0, 0.32);
  transform: translateY(200px);
  filter: opacity(0);
}
.box-apear {
  transform: translateY(0px);
  filter: opacity(1);
}
.linea {
  position: absolute;
  top: -4px;
  width: 150px;
  height: 8px;
}
.linea-almacenes {
  background-color: #ee3147;
}
.linea-union {
  background-color: #0000aa;
}
.linea-rci {
  background-color: #12448e;
}
.linea-solfipe {
  background-color: #0088ff;
}
.linea-ricsa {
  background-color: #0052a3;
}
.box1 h3,
.box2 h3,
.box3 h3,
.box4 h3,
.box5 h3 {
  font-weight: 900;
  margin-bottom: 10px;
  font-size: 20px;
}
.box1 p,
.box2 p,
.box3 p,
.box4 p,
.box5 p {
  line-height: 1.3;
  font-size: 14px;
}
.h3-almacenes {
  color: #ee3147;
}
.h3-union {
  color: #0000aa;
}
.h3-rci {
  color: #12448e;
}
.h3-solfipe {
  color: #0088ff;
}
.h3-ricsa {
  color: #0052a3;
}
.box1 a,
.box2 a,
.box3 a,
.box4 a,
.box5 a {
  position: absolute;
  bottom: -15px;
  padding: 8px 35px;
  color: white;
  text-decoration: none;
  text-transform: capitalize;
  font-weight: 700;
  border-radius: 15px;
  font-size: 16px;
}
.a-almacenes {
  background-color: #ee3147;
}
.a-union {
  background-color: #0000aa;
}
.a-rci {
  background-color: #12448e;
}
.a-solfipe {
  background-color: #0088ff;
}
.a-ricsa {
  background-color: #0052a3;
}

/* estilos queries */
@media screen and (max-width: 1600px) {
  .main-container {
    padding: 90px 0px;
  }
  .logo img {
    width: 380px;
    max-width: 95%;
  }
}
@media screen and (max-width: 1500px) {
  .main-container {
    padding: 80px 0px;
  }
  .logo img {
    width: 360px;
    max-width: 95%;
  }
}
@media screen and (max-width: 1400px) {
  .main-container {
    padding: 70px 0px;
  }
  .logo img {
    width: 340px;
    max-width: 95%;
  }
  .lista-container {
    width: 95%;
    max-width: 95%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    column-gap: 20px;
    row-gap: 50px;
  }
}
@media screen and (max-width: 1300px) {
  .main-container {
    padding: 60px 0px;
  }
  .logo img {
    width: 320px;
    max-width: 95%;
  }
  .lista-container {
    width: 95%;
    max-width: 95%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 40px;
    row-gap: 60px;
  }
  .marca {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    filter: grayscale(1) opacity(0.4);
    transition-duration: 0.2s;
  }
  .marca-almacenes {
    margin-right: 20px;
  }
  .marca-union {
    margin-right: 20px;
  }
  .marca .marca-rci {
    margin-right: 20px;
    width: 180px;
  }
  .marca-solfipe {
    margin-right: 20px;
  }
  .marca-ricsa {
    margin-right: 20px;
  }
  .box1,
  .box2,
  .box3,
  .box4,
  .box5 {
    margin-top: 0px;
    height: 230px;
  }
}
@media screen and (max-width: 1200px) {
  .main-container {
    padding: 60px 0px;
  }
  .logo img {
    width: 300px;
    max-width: 95%;
  }
}
@media screen and (max-width: 1100px) {
  .main-container {
    padding: 50px 0px;
  }
  .logo img {
    width: 280px;
    max-width: 95%;
  }
  .lista-container {
    width: 75%;
    max-width: 75%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    column-gap: 40px;
    row-gap: 40px;
  }
  .box1,
  .box2,
  .box3,
  .box4,
  .box5 {
    margin-top: 0px;
    height: auto;
  }
  .linea {
    display: none;
  }
}
@media screen and (max-width: 1000px) {
  .main-container {
    padding: 40px 0px;
  }
  .logo img {
    width: 260px;
    max-width: 95%;
  }
}
@media screen and (max-width: 800px) {
  .marca {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    filter: grayscale(1) opacity(0.4);
    transition-duration: 0.2s;
  }
  .box1,
  .box2,
  .box3,
  .box4,
  .box5 {
    margin-top: 30px;
    height: auto;
  }
}
