.container-2 {
  position: relative;
  width: 100dvw;
  height: 90dvh;
  /* background-color: green; */
  display: flex;
  align-items: center;
  justify-content: center;

  line-height: 1.5;
  gap: 100px;

  margin-top: 25px;
  /* transform: scale(1.2, 1.2); */
  /* border-style: dashed; */
}

.line2 {
  width: 1px;
  height: 500px;
  background-color: black;

  border: 2px solid black;
  /* position: absolute; */
}

.left {
  /* align-items: right; */
  text-align: right;
  /* background-color: red; */

  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.full-name {
  margin-top: 20px;
  font-size: 40px;
  font-weight: bold;
}

.profession {
  font-size: 38px;
  font-weight: light;
  margin-top: 25px;
  white-space: nowrap;
}

.img-container {
  width: 230px;
  height: 230px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr {
  width: 300px;
}

.paragraph {
  font-size: 38px;
}

.right {
  text-align: left;
  /* background-color: blue; */
}

.social {
  margin-top: 50px;
}

.media {
  font-size: 34px;
  font-weight: bold;
  white-space: nowrap;

  display: flex;

  gap: 10px;
}

a {
  text-decoration: none;
  color: black;
}

.link {
  font-size: 38px;
}

/*media queries*/
/*media queries*/
/*media queries*/
/*media queries*/

@media only screen and (max-width: 1441px) {
  .container-2 {
    transform: scale(0.7, 0.7);
    /* border-style: dashed; */
  }
}

@media only screen and (max-width: 1050px) {
  .container-2 {
    transform: scale(0.5, 0.5);
    /* border-style: dashed; */
  }
}

@media only screen and (max-width: 700px) {
  .container-2 {
    transform: scale(0.4, 0.4);
    /* border-style: dashed; */
  }
}

@media screen and (max-height: 350px) {
  .container-2 {
    transform: scale(0.4);
    margin-top: 2px;
  }
}

@media screen and (max-height: 300px) {
  .container-2 {
    transform: scale(0.3);
    margin-top: 2px;
  }
}

/* Tablet/phone */

@media only screen and (max-width: 600px) {
  .container-2 {
    width: 100vw; /* changed for spacing*/
    height: 80vh;
    position: relative;

    /* background-color: green; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    line-height: 1.5;

    gap: 50px;

    transform: scale(1, 1);

    margin-top: 40px;
    /* border-style: dashed; */
  }

  .line2 {
    width: 300px;
    height: 1px;
    background-color: black;
    /* position: absolute; */
    border: 1px solid black;
  }

  .left {
    /* align-items: right; */
    width: 300px;
    text-align: right;
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .full-name {
    margin-top: 15px;
    font-size: 20px;
    font-weight: bold;
  }

  .profession {
    font-size: 17px;
    font-weight: light;
    margin-top: 15px;
    /* white-space: nowrap; */
  }

  .qr {
    width: 200px;
  }

  .img-container {
    width: 155px;
    height: 155px;
    /* background-color: green; */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .paragraph {
    font-size: 17px;
  }

  .right {
    text-align: left;
    /* background-color: blue; */
  }

  .social {
    margin-top: 30px;
  }

  .media {
    font-size: 13px;
    font-weight: bold;

    display: flex;

    gap: 5px;
  }

  .link {
    font-size: 17px;
  }
}

/*dark mode*/
@media (prefers-color-scheme: dark) {
  .full-name {
    color: white;
  }
  .profession {
    color: white;
  }
  .line2 {
    background-color: white;
    border-color: white;
  }
  a {
    color: white;
  }
}
