:root {
  --gris: #121417;
  --azul: #1e3a56;
  --gris-claro: #4a6a85;
  --slate: #b3c6e0;
  --white: #f0f4fc;
  --pink: #e6006e;
}

body {
  background-color: var(--gris);
  color: var(--white);
  font-family: "Lato", sans-serif;
}

.heading::after {
  content: "";
  display: block;
  position: relative;
  top: -12px;
  width: 80%;
  height: 2px;
  margin: 0 auto;
  background-color: var(--gris-claro);
}

@media (min-width: 1024px) {
  .heading::after {
    margin-left: 300px;
  }
}

@media (max-width: 600px) {
  .heading::after {
    top: 0;
    margin-left: 0;
    width: 100%;
  }
  .frame {
    width: 90%;
    margin: 0 auto;
  }
  .slide {
    padding: 20px;
  }
  .circle {
    width: 12px;
    height: 12px;
  }
  #c1 { left: 40%; }
  #c2 { left: 50%; }
  #c3 { left: 60%; }
}

.profile-img {
  border-radius: 1rem;
  filter: grayscale(100%) sepia(100%) hue-rotate(230deg);
  max-height: 300px;
  max-width: 100%;
  border: 2px solid var(--pink);
}

.profile-img:hover {
  filter: none;
  border: 2px solid darkgrey;
}

.experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-list li::before {
  content: "▹";
  position: absolute;
  left: 0px;
  color: var(--pink);
}

.color-primary {
  color: var(--pink);
}

.color-secondary {
  color: var(--slate);
}

.bg-azul {
  background-color: var(--azul);
}

.frame {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 1px 2px 10px 0px rgba(0,0,0,0.3);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.center {
  text-align: center;
  overflow: hidden;
  position: relative;
}

input[type="radio"] {
  display: none;
}

.circle {
  position: absolute;
  z-index: 5;
  bottom: 10px;
  width: 15px;
  height: 15px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
}

#c1 { left: 45%; }
#c2 { left: 50%; }
#c3 { left: 55%; }

.active {
  position: absolute;
  bottom: 10px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.bg {
  display: flex;
  width: 400%;
  transition: transform 0.5s ease;
}

.slide {
  width: 25%;
  padding: 40px;
  text-align: center;
  color: white;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#slide-1 {
  background-color: #2a7aa5;
}

#slide-2 {
  background-color: #6e3b6e;
}

#slide-3 {
  background-color: #177d7a;
}

#slide-4 {
  background-color: #e74c3c;
}

#check-1:checked ~ .bg {
  transform: translateX(0%);
}

#check-2:checked ~ .bg {
  transform: translateX(-25%);
}

#check-3:checked ~ .bg {
  transform: translateX(-50%);
}

#check-4:checked ~ .bg {
  transform: translateX(-75%);
}
