@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  color: hsl(0, 0%, 100%);
  text-transform: uppercase;
  cursor: pointer;
  height: 100px;
  text-decoration: none;
}

.toggle {
  position: relative;
  width: 60px;
  height: 60px;
  background: url(https://i.ibb.co/HrfVRcx/menu.png);
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: top;
  cursor: pointer;
}

.toggle.active {
  background: url(https://i.ibb.co/rt3HybH/close.png);
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: top;
  cursor: pointer;
}

.showcase {
  position: absolute;
  right: 0;
  width: 100%;
  height: 760px;
  padding: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: hsl(0, 0%, 6%);
  transition: 0.5s;
  z-index: 2;
}

.showcase.active {
  right: 150px;
}

.text .own-picture {
    border-radius: 50%;
    max-width: 270px;
    max-height: 270px;
    opacity: 1;
    z-index: 10;
    position: relative;
}

.showcase img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.text {
  position: relative;
  z-index: 10;
  min-height: fit-content;
  display: inline-block;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.proyects {
  position: relative;
  z-index: 10;
  min-height: fit-content;
  display: inline-block;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.text h2 {
  font-size: 3.8em;
  font-weight: 800;
  color: hsl(0, 0%, 100%);
  line-height: 1em;
  text-transform: uppercase;
  max-width: 700px;
}

.text p {
  font-size: 1.2em;
  color: hsl(0, 0%, 100%);
  font-weight: 500;
  max-width: 700px;
}

.menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 760px;
  display: grid;
  grid-template-rows: auto;
  text-align: center;
  justify-content: center;
  align-items: flex-end;
}

.verde {
  background-image: url('../../resources/images/cubos-verdes.jpg');
}

.azul {
  background-image: url('../../resources/images/cubos-azules.jpg');
}

.amarillo {
  background-image: url('../../resources/images/cubos-amarillos.jpg');
}

@keyframes gradiant {
    0% { 
        background-position: 0% 100%; 
    }
    100% { 
        background-position: 0% 0%; 
    }
}

.menu ul {
  position: relative;
}

.menu ul li {
  list-style: none;
}

.menu ul li a {
  text-decoration: none;
  font-size: 24px;
  text-shadow: 1px 1px 2px black;
  color: hsl(0, 0%, 100%);
}

.verde ul li a:hover {
  color: hsl(133, 60%, 52%);
}

.azul ul li a:hover {
  color: hsl(236, 60%, 52%);
}

.amarillo ul li a:hover {
  color: hsl(64, 60%, 52%);
}

.social-media {
  display: grid;
  grid-auto-flow: column;
  text-align: center;
  justify-content: center;
}

.social-media a {
  min-width: 40px;
  text-decoration: none;
  font-size: 24px;
  text-shadow: 1px 1px 2px black;
  color: hsl(0, 0%, 100%);
  margin: 0;
  padding: 0;
}

@media (max-height: 991) {
  .showcase,
  .showcase header
  {
    padding: 20px;
  }
  .text h2
  {
    font-size: 2.8em;
  }
  .text h3
  {
    font-size: 1.8em;
  }
}

::selection{
  color: #fff;
  background: #6665ee;
}
.skills{
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  width: 100%;
  background: rgb(255, 255, 255);
  border-radius: 10%;
}
.skill-bars{
  padding: 25px 30px;
  width: 100%;
  float: left;
}
.skill-bars .bar{
  margin: 20px 0;
}
.skill-bars .bar:first-child{
  margin-top: 0px;
}
.skill-bars .bar .info{
  margin-bottom: 5px;
}
.skill-bars .bar .info span{
  font-weight: 500;
  font-size: 17px;
  opacity: 0;
  animation: showText 0.5s 1s linear forwards;
}
@keyframes showText {
  100%{
    opacity: 1;
  }
}
.skill-bars .bar .progress-line{
  height: 10px;
  width: 100%;
  background: #f0f0f0;
  position: relative;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 10px;
  box-shadow: inset 0 1px 1px rgb(0, 0, 0),
              0 1px rgba(207, 207, 207, 0.8);
  animation: animate 1s cubic-bezier(1,0,0.5,1) forwards;
}
@keyframes animate {
  100%{
    transform: scaleX(1);
  }
}
.bar .progress-line span{
  height: 100%;
  left: 0%;
  position: absolute;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  background: #6665ee;
  animation: animate 1s 1s cubic-bezier(1,0,0.5,1) forwards;
}
.value {
  display: none;
}

.proyects li{
  list-style: none;
  margin: auto;
}

.proyects li a {
  color: #000000;
  font-size: 2rem;
  text-decoration: none;
}

.proyects li a:hover {
  color: #f9f923cb;
  font-size: 2rem;
  text-decoration: none;
}