.slider .list .item:nth-child(1) {
  width: 100vw;
  /* height: 100dvh; */
  align-self: center;
  /* justify-self: center; */
  /* margin-top: 8rem; */
}

.info {
  /* margin-top: 8rem; */
  display: grid;
  /* align-self: center; */
  /* justify-items: center; */
  grid-template-columns: 1.5fr 3fr;
}
/* QR */
.qr-code {
  grid-area: 1/1/3/2;

  margin-left: 18%;

  /* width: 20rem;
  height: 20rem; */

  /* height: 100%; */

  align-self: end;
}

.intro,
.contact {
  margin-right: 9%;
}

.qr-code img {
  /* border: 2px solid black; */
  width: 16rem;
  height: 16rem;
}

.info a {
  text-decoration: none;

  color: var(--text-color);
}
.p1 {
  text-align: end;
  font-size: 5.1rem;
}
.p2 {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: end;
}

.contact {
  font-size: 2.5rem;
  margin-top: 3rem;
  text-align: end;
}
/* .contact p {
  margin: 0px;
} */

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 5rem;
}
.social-icons img {
  width: 4rem;
  height: 4rem;
  transition: filter 0.3s;
}
/* .social-icons .twitter {
  width: 2rem;
  height: 3rem;
  padding: 0;
} */
/* .social-icons fa-square-x-twitter{
  width: 3rem;
  height: 3rem;
} */
/* .social-icons {
  width: 3rem;
  height: 3rem;
} */
/* mid range laptop */

@media only screen and (max-width: 1441px) {
  /* .info{
    margin-top: 4rem;
  } */
  .qr-code img {
    width: 14rem;
    height: 14rem;
  }
  .p1 {
    font-size: 4rem;
  }
  .p2 {
    font-size: 2rem;
  }
  .social-icons {
    margin-top: 4rem;
  }
  .contact {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 1050px) {
  /* .info{
    margin-top: 4rem;
  } */
  .qr-code img {
    width: 11rem;
    height: 11rem;
  }
  .p1 {
    font-size: 2.8rem;
  }
  .p2 {
    font-size: 1.5rem;
  }

  .contact {
    font-size: 1.5rem;
  }
  .social-icons {
    margin-top: 3rem;
    gap: 2rem;
  }
  .social-icons img {
    width: 3rem;
    height: 3rem;
  }
}

/* Tablet */

@media only screen and (max-width: 769px) {
  .slider .list .item:nth-child(1) {
    align-self: center;

    height: 88dvh;
    /* background-color: red; */
  }

  .info {
    display: flex;
    flex-direction: column;

    margin: 5% 10%;
  }

  .qr-code {
    margin-left: 0px;
    margin-top: 2rem;
    /* height: 25dvh; */
    align-self: center;
  }
  .qr-code img {
    width: 12rem;
    height: 12rem;
  }

  .info {
    text-align: center;
  }
  .p1 {
    font-size: 2.2rem;
    text-align: right;
  }
  .p2 {
    margin-top: 0.2rem;
    font-size: 1.3rem;
    text-align: right;
  }
  .intro {
    margin: 0px;
  }
  .contact {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-right: 0px;
    text-align: center;
  }
  .social-icons {
    gap: 1rem;
    margin-top: 2rem;
  }
  .social-icons img {
    width: 35px;
    height: 35px;
  }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 426px) {
  .info {
    margin: 15% 10%;
  }

  .qr-code img {
    width: 12rem;
    height: 12rem;
  }

  .qr-code {
    margin-top: 3rem;
  }

  .p1 {
    font-size: 1.65rem;
  }
  .p2 {
    margin-top: 0.5rem;
    font-size: 1rem;
  }
  .intro {
    margin: 0px;
  }
  .contact {
    font-size: 1rem;
    margin-top: 3rem;
  }
  .social-icons {
    gap: 0.5rem;
    margin-top: 4rem;
  }
  .social-icons img {
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-height: 600px) {
  .slider .list .item:nth-child(1) {
    align-self: normal;
  }
  .social-icons {
    margin-top: 12%;
  }
  .qr-code {
    margin-top: 12%;
  }
  .qr-code img {
    width: 9rem;
    height: 9rem;
  }
  .contact {
    margin-top: 12%;
  }
}
/* Landscape mobile devices (600px and down) */
@media only screen and (max-width: 900px) and (orientation: landscape) {
  .slider .list .item:nth-child(1) {
    width: 100dvw;
    height: 100vh;
    /* display: flex; */
    align-self: center;
  }

  .info {
    display: grid;
    margin-top: 1rem;
    grid-template-columns: 1.5fr 3fr;
  }
  /* QR */

  .p1 {
    font-size: 2rem;
    margin-top: 6%;
  }
  .p2 {
    font-size: 1rem;
  }
  .qr-code {
    grid-area: 1/1/3/2;
    /* margin-left: 18%; */
    width: 50%;
    /* background-color: red; */
  }
  .contact {
    font-size: 1rem;
    margin-top: 2rem;
    text-align: end;
  }

  .social-icons {
    margin-top: 5%;
    gap: 1rem;
  }

  .social-icons img {
    /* border: 2px solid black; */
    width: 2.5rem;
    height: 2.5rem;
  }

  .qr-code img {
    width: 7rem;
    height: 7rem;
  }
}
