/* Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Oswald", sans-serif;
  /* Pattern from https://www.heropatterns.com/ */
  color: #fff;
  font-size: 16px;
  background-color: #202020;
}

a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

ul {
  list-style: none;
}

.container {
}

/*==================================== NAVEGACION ====================================*/
.nav-main {
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 20px 0;
  background-color: #202020;
  font-family: 'Goldman', cursive;
}

.logo {
  width: 50px;
  margin-left: 3em;
  margin-top: 1em;
}

.logo:hover {
  transform: scale(1.2);
  transition: all 1s;
}

/* Navbar Left */
.nav-main ul {
  display: flex;
}

.nav-main ul li {
  padding: 10px;
}

.nav-main ul li a {
  padding: 2px;
}


.nav-main ul li a:hover {
  border-bottom: 2px solid red;
  color: red;
}

.nav-main ul.nav-menu {
  flex: 1;
  margin-left: 6em;
  padding: 100px;
}

hr {
  margin: 10px 0;
}

.menuderecha {
  margin-right: 30px;
  padding: 1px;
  background: red;
  border-radius: 20px;
}

.menuderecha:hover {
  background-color: #5f0000;
  transform: scale(1.1);
  transition: all 1s;
}

/* Responsive Button */
.menu-btn {
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 30px;
  z-index: 2;
  display: none;
}

/* SHOWCASE */

.btn {
  cursor: pointer;
  display: inline-block;
  border: 0;
  font-weight: bold;
  padding: 10px 20px;
  background: #5f0000;
  color: #ffffff;
  font-size: 15px;
  border: 3px solid #ffffff;
  border-radius: 14%;
}

.btn:hover {
  opacity: 0.9;
}

.banner {
  width: 100%;
  height: 550px;
  background: url("./img/banner.png") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-end;
  padding-bottom: 50px;
  margin-bottom: 20px;
  color: #fff;
  border-radius: 3em;
}

.showcase h2,
.showcase p {
  margin-bottom: 10px;
}

.showcase .btn {
  margin-top: 20px;
}

/* News Cards */
.news-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 70px 0;
}

.news-cards img {
  width: 100%;
  height: 180px;
}

.news-cards h3 {
  font-size: 20px;
  margin: 10px 0;
}

.news-cards a {
  padding: 10px 0;
  color: #f2f2f2;
  text-transform: uppercase;
  display: inline-block;
  font-weight: bold;
}


/* Redes */
.social {
  margin: 50px;
}
.social p {
  text-align: center;
  font-size: 30px;
  margin-bottom: 20px;
}
.links {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.links a {
  margin: 0 30px;
}

.links a i {
  font-size: 3rem;
}

/* Pie de magina */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff0000;
  color: #ffffff;
  font-size: 12px;
  padding: 20px 0;
  text-align: center;
  font-size: 1rem;
  padding-bottom: 20px;
  box-shadow: 0 0 10px #ffffff;
}


h2 {
  color: #ffffff;
}

.discordtxt {
  color: #ffffff;
  font-weight: bold;
}

/**=================SERVICIOS=================**/
.servicio {
  display: flex;
  font-family: 'Goldman', cursive;
  flex: auto;
  margin-left: 23em;
}

.html {
  padding: 5em;
  background: red;
  border-radius: 5%;
  box-shadow: 0 0 20px #ffffff;
}

.css {
  padding: 5em;
  background: red;
  margin-left: 5em;
  border-radius: 5%;
  box-shadow: 0 0 20px #ffffff;
}

.js {
  padding: 5em;
  background: red;
  margin-left: 5em;
  border-radius: 5%;
  box-shadow: 0 0 20px #ffffff;
}

.trabajamos {
	padding: 30px;
	margin: 3em;
	color: red;
  font-family: 'Goldman', cursive;
  font-size: 2em;
}

.preportafolio {
  margin-top: 5em;
  text-align: center;
  font-family: 'Goldman', sans-serif;
}

.titulo {
  text-align: center;
  font-size: 2em;
  color: red;
  font-family: 'Goldman', sans-serif;
  margin: 30px;
}

#portafolio1 {
  margin: 5em;
  box-shadow: 0 0 10px rgb(255, 255, 255);
  border-radius: 10px;
}

#portafolio1:hover {
  background: red
}

#portafolio1__hover {
  display: none;
}

.redes {
  padding: 10px;
  background: #000000;
  color: red;
  border-radius: 10px;
  margin-left: 10px;
}

/*====================================CONTACTO====================================*/
.contacto1 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10em;
}

#cds:hover {
  box-shadow: 0 0 20px #fff;
}

#cig:hover {
  box-shadow: 0 0 20px #fff;
}

.contacto2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10em;
}

#cds {
  text-align: center;
  border: 1px solid white;
  border-radius: 10px;
  padding: 50px;
  background: #c90000;
  width: 30em;
}

#cig {
  text-align: center;
  border: 1px solid white;
  border-radius: 10px;
  padding: 50px;
  background: #c90000;
  width: 30em;
}

.tituloimg {
  display: flex;
  justify-content: center;
  margin-top: 5em;
}

/*====================================PORTAFOLIO====================================*/

.portafolio {
  justify-content: center;
  align-items: center;
  font-family: 'Goldman', sans-serif;
}

.portafolioimg {
  margin: 5em;
  text-align: center;
  color: red;
}

.portafolioimg h2{
  color: red;
  text-align: center;
  margin-bottom: 30px;
}

.portafolioimg a {
  text-align: center;
  padding: 10px;
  background: red;
  border-radius: 3px;
  margin-bottom: 100em;
}


#pimg1 {
  box-shadow: 0 0 20px #fff;
  border-radius: 10px;
}

.plink {
  margin: 100em;
}

/*==================================== CELULAR ==================================== */
@media (max-width: 700px) {
  .menu-btn {
    display: block;
  }

  #beta {
    display: none;
    background: none;
    position: absolute;
  }

  center {
    display: block;
    padding: 3em;
    transition: transform 0.5s ease-in-out;
    max-width: 30px;
  }

  .logoblanco {
    max-width: 350px;
  }

  .menu-btn:hover {
    opacity: 0.5;
  }

  .nav-main ul.nav-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: #2f3640;
    width: 50%;
    height: 100%;
    border-right: #ccc 1px solid;
    opacity: 0.9;
    padding: 30px;
    transform: translateX(-500px);
    transition: transform 0.5s ease-in-out;
  }

  .nav-main ul.nav-menu li {
    padding: 20px;
    border-bottom: #ccc solid 1px;
    font-size: 14px;
  }
  .nav-main ul.nav-menu li:last-child {
    border-bottom: 0;
  }

  .nav-main ul.nav-menu.show {
    transform: translateX(-20px);
  }

  .nav-main ul.nav-menu-right {
    margin-right: 10px;
  }

  .news-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-banner-one .content,
  .cards-banner-two .content {
    width: 80%;
  }

  .footer-links .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .news-cards {
    grid-template-columns: 1fr;
  }

  .cards-banner-one .content,
  .cards-banner-two .content {
    width: 100%;
    padding: 60px 20px;
  }
  .footer-links .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-links .footer-container ul {
    text-align: center;
  }
}

/*==================================== BETA ==================================== */
.beta_info {
  text-align: center;
  align-items: center;
  justify-content: center;
}

.beta_info_2 {
  box-shadow: 0 0 20px #fff;
  display: inline-block;
  padding: 30px;
  margin: 50px;
  background: #8f0000;
  border-radius: 20px;
}

.logocentro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
