@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");
@import "https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700&display=swap";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --colorMain: #6e57e0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  padding-top: 200px;
  max-width: 100%;
}

/* Estilos Header */

.navbar .navbar-toggler {
  box-shadow: none !important;
}

header {
  position: fixed;
  width: 100%;
  height: 78px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  margin-top: -200px;
}

.logo {
  font-weight: 600;
}

.navbar-brand {
  font-size: 20px !important;
}

.container-fluid {
  max-width: 1024px;
  display: flex !important;
  align-items: center;
  font-family: 'Poppins', 'Montserrat';
  font-weight: 500;
  padding: 10px;
}

.navbar-center {
  justify-content: end;
}

.nav-link {
  margin: 0px 15px;
  color: #000 !important;
}

.nav-link:hover {
  color: var(--colorMain) !important;
  /* border-bottom: 2px solid #6e57e0; */
}


/* Estilos Home */

.banner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 100px;
  color: #000;
  font-family: "Montserrat";
}

.banner .hola {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -1.5px;
}

.banner .nombre {
  font-size: 6rem;
  color: var(--colorMain);
  font-weight: bold;
}

.banner .profesion {
  font-size: 3rem;
  font-weight: 500;
}

.myphoto img {
  width: 500px;
}

.cta {
  font-family: "Montserrat";
  text-decoration: none;
  padding: 5px 25px;
  color: #000;
  border: 3px solid var(--colorMain);
  border-radius: 5px;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-top: 15px;
  transition: 0.3s ease all;
}

.cta:hover {
  color: white;
  background-color: var(--colorMain);
  transition: 0.3s ease all;
}

/* Estilos About */

.about {
  font-family: "Poppins", sans-serif;
  padding: 0px 100px;
  margin-bottom: 150px;
}

.title {
  font-family: "Poppins", sans-serif;
  text-align: center;
  font-size: 3rem;
  font-weight: 600;
  padding-top: 100px;
}

.about .about-content {
  display: flex;
  align-items: center;
  margin-top: 50px;
}

.about .about-content .left {
  width: 50%;
  display: flex;
  justify-content: center;
}

.about .about-content .right {
  width: 50%;
  padding: 35px;
}

.about .about-content .left img {
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 5px;

}

.about .about-content .right .text {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.about .about-content .right p {
  text-align: left;
  font-size: 22px;
  margin-bottom: 30px;
}


/* Estilos Skills */

.skills-container {
  padding: 50px 200px 0px 200px;
  display: grid;
  column-gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

.skills-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.25);
  font-family: 'Poppins';
  transition: .3s ease all;
}

.skills-data:hover {
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.3);
  transition: .3s ease all;
}

.skills-names {
  display: flex;
  align-items: center;
}

.skills-names img {
  margin-right: 2rem;
}

.skills-name {
  font-weight: 600;
}

.skills-level {
  font-weight: 600;
}


/* Estilos Cards */

.container-cards {
  /* max-width: 1900px; */
  display: grid;
  place-content: center;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 3rem;
  padding: 50px 200px;
}

.caja {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
  border-radius: 10px;
  margin: 0;
}

  .caja .card {
    width: 340px;
    height: 480px;
    border-radius: 15px;
  }

.caja .card .box {
  position: absolute;
  /* width: 340px;
  height: 480px; */
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #fafafa;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  justify-content: center;
  align-items: center;
  transition: 0.6s;
}

.caja .card:hover .box {
  transform: translateY(-40px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  background: linear-gradient(45deg, #b95ce4, #4f29cd);
}

.caja .card .box .content {
  padding: 20px;
  text-align: center;
}

.caja .card .box .content img {
  width: 100%;
  border-radius: 5px;
  opacity: 0.8;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.caja .card:hover .box .content img {
  opacity: 0.9;
}

.caja .card .box .content h3 {
  font-size: 1.9rem;
  color: rgb(46, 46, 46);
  z-index: 1;
  transition: 0.5s;
  font-weight: 500;
}

.caja .card .box .content p {
  font-size: 1em;
  font-weight: 400;
  color: #111;
  z-index: 1;
  transition: 0.5s;
}

.caja .card:hover .box .content h3,
.caja .card:hover .box .content p {
  color: #fff;
}

.caja .card .box .content a {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  background: var(--colorMain);
  margin-top: 15px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.caja .card:hover .box .content a {
  background: #ff568f;
}

/* Estilos Contact */

.container-contact {
  max-width: 1500px;
  margin: auto;
  margin-top: 50px;
}

.contact {
	margin-bottom: 250px;
}

.contact .formulario {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.contact .formulario input[type='text'],
.contact .formulario input[type='email'],
.contact .formulario textarea {
	border: 2px solid #cecece;
	border-radius: 5px;
	padding: 15px 20px;
	font-size: 20px;
}

.contact .formulario input[type='text'],
.contact .formulario input[type='email'] {
	width: 49%;
	margin-bottom: 15px;
}

.contact .formulario textarea {
	width: 100%;
	height: 100px;
	min-width: 100%;
	max-width: 100%;
	min-height: 100px;
	max-height: 200px;
	margin-bottom: 15px;
}

.contact .formulario .cta {
	margin: auto;
  background-color: #fff;
}

.contact .formulario .cta:hover {
	margin: auto;
  background-color: var(--colorMain);
}

/* Estilos Footer */

footer {
  width: 100%;
}

footer .redes-sociales {
  width: 100%;
	background: #160f3b;
	padding: 30px 0;
  transition: .3s ease all;
}

footer .redes-sociales .contenedor {
	display: flex;
	justify-content: center;
}

footer .redes-sociales a {
	color: #fff;
	text-align: center;
	width: 100px;
  /* height: 100px; */
  align-items: center;
	display: block;
	padding: 15px 0;
	font-size: 30px;
	margin: 20px 0;
}

footer .redes-sociales .linkedin:hover {
	background: #0077b5;
  transition: .3s ease all;
}

footer .redes-sociales .github:hover {
	background: #6e5494;
  transition: .3s ease all;
}

footer .redes-sociales .whatsapp:hover {
	background: #25d366;
  transition: .3s ease all;
}

footer .redes-sociales .instagram:hover {
	background: #e1306c;
  transition: .3s ease all;
}

/* Media Queries */

@media screen and (max-width: 1600px) {

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

  .container-contact {
    max-width: 1200px;
  }

}

@media screen and (max-width: 1280px) {

  .banner .hola {
    font-size: 2.5rem;
  }
  
  .banner .nombre {
    font-size: 5rem;
  }
  
  .banner .profesion {
    font-size: 2rem;
  }

  .myphoto img {
    width: 400px;
  }

  .skills-container {
    padding: 50px 100px 0px 100px;
  }

  .container-cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 50px 100px;
  }

  .caja .card {
    width: 400px;
    height: 520px;
    border-radius: 15px;
  }

  .container-contact {
    max-width: 800px;
  }

  .contact {
    margin-bottom: 150px;
  }
}

@media screen and (max-width: 940px) {

  .about {
    padding: 0px 50px;
  }

  .banner .hola {
    font-size: 1.5rem;
  }
  
  .banner .nombre {
    font-size: 3rem;
  }
  
  .banner .profesion {
    font-size: 1.5rem;
  }

  .cta {
    font-size: 18px;
  }

  .myphoto img {
    width: 300px;
  }

  .skills-container {
    grid-template-columns: 1fr;
  }

  .container-cards {
    grid-template-columns: 1fr;
    padding: 50px 50px;
  }

  .container-contact {
    max-width: 600px;
  }

  .contact .formulario input[type='text'],
  .contact .formulario input[type='email'] {
	width: 100%;
  }
}

@media screen and (max-width: 768px) {

  .banner .hola {
    font-size: 2rem;
  }
  
  .banner .nombre {
    font-size: 4.5rem;
  }
  
  .banner .profesion {
    font-size: 2rem;
  }

  .myphoto img {
    display: none;
  }

  .about .about-content {
    flex-direction: column;
  }

  .about .about-content .right {
    width: 100%;
  }

  .about .about-content .left {
    width: 100%;
  }

  .caja .card {
    width: 340px;
    height: 480px;
  }
  
  .right {
    text-align: center;
  }

  .about .about-content .right p {
    text-align: center;
  }

}

@media screen and (max-width: 540px) {

  .banner {
    text-align: center;
  }

  .banner .hola {
    font-size: 2rem;

  }
  
  .banner .nombre {
    font-size: 4rem;
    margin-bottom: 0;
  }
  
  .banner .profesion {
    font-size: 2rem;
  }

  .skills-container {
    padding: 50px 15px 0px 15px;
  }

  .cta {
    font-size: 16px;
    padding: 5px 15px;
    margin-top: 5px;
  }

  .right .cta {
    font-size: 16px;
  }

  .container-contact {
    max-width: 400px;
  }
}

@media screen and (max-width: 480px) {

  .banner .nombre {
    font-size: 3rem;
  }

  .banner .profesion {
    font-size: 1.5rem;
  }

  .container-contact {
    max-width: 300px;
  }
}