@import url("./font/Transformers\ Movie.ttf");
@font-face {
  font-family: 'Transformers';
  src: url('./font/Transformers\ Movie.ttf');
  font-style: normal;
  font-weight: normal;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Transformers",normal;
  
}

body {
  cursor: url("./images/cursor.png"), pointer;
  
  color: white;
  
  
}
.bg{
  background-image: url("./images/fondo.jpg");
  background-attachment: fixed;
  background-size: cover;
  z-index: -1;
  
}

header nav {
  height: 15vh;
  width: 70%;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 45px;
  color: crimson;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 5px;
}

header ul {
  display: flex;
  gap: 5rem;
  list-style: none;
}

header a {
  display: block;
  color: white;
  text-decoration: none;

  border-radius: 0.2rem;
  padding: 0.5rem 1rem;

  transition: 0.2s ease-in;
  border-bottom: 2px solid crimson;

  overflow: hidden;
  position: relative;
}

header a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;

  width: 100%;
  height: 100%;
  border-radius: 0.1rem;
  z-index: -1;

  transition: 0.2s ease-in;
  transform: translateX(-101%);
  background: crimson;
}

header a:hover::before {
  transform: translateX(0);
}

header a:hover {
  color: white;
}

header ul li:nth-child(1) a {
  background: crimson;
  color: white;
}

#btn {
  all: unset;
  cursor: pointer;
  transition: 0.5s ease-out;
  font-size: 30px;

  display: none;
}

#btn:hover {
  transform: rotate(180deg);
  color: crimson;
}

.s-container {
  min-height: 80vh;
  width: 70%;
  margin: auto;

  display: flex;
  align-items: center;
  gap: 3rem;
}

.icons {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.icons .line {
  height: 40px;
  width: 3.5px;
  border-radius: 5rem;
  background: white;
}

.icons a {
  font-size: 20px;
  color: #eee;
  background: crimson;
  text-decoration: none;
  width: 35px;
  height: 35px;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;
  transition: 0.1s ease-in;
}

.icons a:hover {
  transform: scale(1.1);
}

.header h3 {
  font-size: 25px;
  color: crimson;
  font-weight: 200;
  text-align: center;
  margin-bottom: -1rem;
}

.header h1 {
  font-size: 50px;
  position: relative;
  margin-bottom: 5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.header h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 5px;
  border-radius: 5rem;
  background: crimson;
  border-radius: 1rem;
}

.image {
  width: 320px;
  height: 320px;
}

.image img {
  width: 100%;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  width: 65%;
}

.title {
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 3.3rem;
  margin-bottom: 1rem;
}

.title span {
  font-weight: 700;
}

.subtitle {
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.description {
  line-height: 1.6rem;
  margin-bottom: 2rem;
  color: #dfdfdf;
  width: 85%;
}

.buttons {
  display: flex;
  gap: 1rem;
}

.buttons a {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: black;

  padding: 0.8rem 1.6rem;
  outline: none;
  border: none;
  border-radius: 10px;

  transition: 0.3s ease-out;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.buttons a:hover {
  transform: scale(1.05);
  color: white;
}

.buttons a {
  text-decoration: none;
  background-color: crimson;
  color: white;
}

.buttons a:nth-child(2) {
  text-decoration: none;
  background-color: white;
  color: #111;
}

.buttons button:hover {
  background-color: crimson;
}

.buttons a:nth-child(2):hover{
  background-color: crimson;
  color: white;
}

.projects-section {
  margin-top: 80px;
}

.projects-section .wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1000px;
  width: 80%;
  height: 100%;
  margin: 30px auto 0 auto;
}

.project-card {
  background: #0d0d0d;
  border-radius: 1rem;
  max-width: 450px;
  width: 50%;
}

.project-image-container {
  overflow: hidden;
  width: 100%;
  border-radius: 10px 10px 0px 0px;
  height: 200px;
  object-fit: cover;
}

.project-image {
  width: 100%;
  object-fit: cover;
  object-position: center;
  height: 100%;
  transition: 0.2s ease-in-out;
}

.project-image:hover {
  transform: scale(1.05);
}

.project-content {
  border-radius: 0px 0px 10px 10px;
  padding: 1.5rem 1rem;

  display: flex;
  justify-content: space-between;
  padding-inline: 3rem;
}

.project-content > p {
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  overflow: hidden;
  
}

.check-project {
  display: flex;
  gap: 1rem;
}

.check-project a {
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.check-project a:hover {
  color: crimson;
}

.gallery {
  position: relative;
  display: flex;
  font-size: 2em;
  min-height: 100vh;
  padding-block: 2rem;
}

.gallery .container {
  width: 70%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery .wrapper {
  font-size: 30px;
}

.gallery .wrapper .grp {
  text-align: center;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 1rem;
}

.gallery .grp:not(:last-child) {
  margin-bottom: 1.5rem;
}

.gallery .grp i {
  font-size: 40px;
  margin-right: 1rem;
}

.gallery .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  margin-top: 3rem;
}

.gallery .footer p {
  font-size: 40px;
  font-weight: 200;
  color: white;
  margin-bottom: 2rem;
  position: relative;
}

.gallery .footer p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 330px;
  height: 2px;
  background: white;
  border-radius: 1rem;
}

.gallery .footer a {
  text-decoration: none;
  background: crimson;
  color: #eee;
  font-weight: bold;
  font-size: 20px;

  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;

  padding: 1rem 2rem;
  transition: 0.2s ease-in;
}

.gallery .footer a:hover {
  transform: scale(1.05);
}
/* contact  */

.back-top {
  text-decoration: none;
  font-size: 2rem;
  color: #222;

  background: crimson;
  border-radius: 50%;

  width: 5rem;
  height: 5rem;

  display: flex;
  justify-content: center;
  align-items: center;

  position: fixed;
  bottom: 2%;
  right: 2%;

  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.859);
  transition: 0.4s ease-out;

  opacity: 0;
  pointer-events: none;
}

.back-top {
  text-decoration: none;
  font-size: 20px;
  color: #eee;

  background: crimson;
  border-radius: 50%;

  width: 3rem;
  height: 3rem;

  display: flex;
  justify-content: center;
  align-items: center;

  position: fixed;
  bottom: 3%;
  right: 2%;

  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.859);
  transition: 0.4s ease-out;

  opacity: 0;
  pointer-events: none;
}

.back-top:hover {
  transform: translateY(-20px);
}

.back-top.active {
  opacity: 1;
  pointer-events: auto;
}

/* Responsivness  */

@media only screen and (max-width: 1100px) {
  .s-container,
  header nav {
    width: 80%;
  }
}

@media only screen and (max-width: 950px) {
  #btn {
    display: block;
  }

  header ul {
    position: absolute;
    right: 5vh;
    top: 15vh;

    width: 300px;
    min-height: 400px;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 1rem;

    background: #0000007f;
    backdrop-filter: blur(5px);

    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
  }

  header ul.show {
    display: flex;
  }

  header nav {
    width: 90%;
  }

  .s-container {
    width: 90%;
    flex-direction: column-reverse;
    gap: 1rem;
    padding-block: 3rem;
    padding-bottom: 2rem;
  }
  .content {
    width: 90%;
    text-align: center;
  }

  .title {
    font-size: 3rem;
  }

  .description {
    width: 100%;
  }

  .buttons {
    margin: auto;
  }

  .image {
    width: 250px;
    height: 250px;
  }
  .image img {
    height: 250px;
  }
}

@media only screen and (max-width: 768px) {
  .gallery .header h1 {
    font-size: 30px;
  }
  .gallery .header h3 {
    font-size: 20px;
    margin-bottom: -0.5rem;
  }
  .gallery .grp i,
  .gallery .grp span {
    font-size: 25px;
  }

  .footer p {
    font-size: 27px !important;
  }

  .footer a {
    font-size: 15px !important;
    padding: -0.7rem;
  }
}

@media only screen and (max-width: 550px) {
  header ul {
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
  }

  .icons {
    display: none;
  }
  .content {
    width: 100%;
  }
  .title {
    font-size: 2.7rem;
  }
  .image {
    width: 220px;
    height: 220px;
  }
  .image img {
    height: 220px;
  }

  .gallery .grp i {
    margin-right: 0 !important;
  }
}

.card {
  --font-color: #323232;
  --bg-color: #150b0b;
  
  
  border-radius: 20px;
  background: var(--bg-color);
  box-shadow: -9px 9px 18px #270404,
              9px -9px 18px #81191c;
  display: flex;
  flex-direction: column;
  transition: .4s;
  position: relative;
  padding: 1em;
  margin: 20px;
  width: calc(90% - 20px);
}
.tarjetas{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.tarjeta{
  
  margin: 20px;
  width: calc(70% - 20px);
}
.card__img{
  padding: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}
.card:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 10px 2px #6d0202;
}
.repro{
  width: 40%;
}
.btnr{
  background-color:rgba(100, 100, 100, 0.864) ;
  width: 50px;
  height: 50px;
}
.play{
  display: flex;
}
