.popuppt {
  background-color: #c1c7d0;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  overflow: auto;
  padding: 16px;
  opacity: 1;
}

.projectcard {
  background-color: #fff;
  width: 100%;
  border-radius: 10px;
  padding: 12px;
  opacity: 1;
}

.imagepopup {
  margin-top: 1rem;
  margin-bottom: 2rem;
  z-index: 1;
  width: 100%;
}

.closingbutton {
  z-index: 1;
  top: 1.15rem;
  right: 1.15rem;
  width: 1rem;
  height: 1rem;
  background-color: #36b37f;
  font-size: 24px;
}

.imageandclosing {
  display: flex;
  flex-direction: column;
  align-items: end;
  width: 100%;
}

.closingbutton:hover {
  cursor: pointer;
}

.titleproject {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 2rem;
  line-height: 2.75rem;
  width: 100%;
  height: 8rem;
  color: #172b4d;
  text-align: center;
}

.leftblock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 2rem;
}

.techs {
  width: 100%;
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  justify-content: center;
}

.liproject {
  padding: 0.5rem 0.75rem;
  background: #ebf0ee;
  border-radius: 0.25rem;
  width: fit-content;
  letter-spacing: 0.03em;
  color: #3a4a42;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
}

.bigblock {
  margin-bottom: 0.5rem;
}

.paragraph {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  padding-left: 3rem;
  padding-right: 3rem;
  color: #344563;
  margin-bottom: 1rem;
  text-align: center;
}

.bottomblock {
  width: 100%;
}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.sourcebuttonport,
.livebuttonport {
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  background: #36b37f;
  border: none;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.03em;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  color: #fff;
}

.sourcebuttonport {
  width: 10rem;
  height: 3rem;
}

.livebuttonport {
  width: 9rem;
  height: 3rem;
}

.closingpopup {
  display: none;
}

@media screen and (min-width: 768px) {
  .popuppt {
    background-color: #c1c7d0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    padding: 16px;
    opacity: 1;
    overflow: auto;
  }

  .projectcard {
    background-color: #fff;
    width: 80%;
    border-radius: 10px;
    padding: 12px;
    opacity: 1;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .closingbutton {
    float: end;
    margin-bottom: 1rem;
    align-self: flex-end;
  }

  .imagepopup {
    position: inline-block;
    width: 60%;
    height: 55%;
    margin-bottom: 1.5rem;
  }

  .imageandclosing {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .titleproject {
    margin-top: 0.1rem;
    width: 68%;
    height: 5rem;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 2.75rem;
    padding-left: 1rem;
    text-align: center;
  }

  .bigblock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    width: 100%;
  }

  .rightblock {
    width: 40%;
    height: 1.5rem;
  }

  .buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 0.2rem;
    width: 100%;
    gap: 1rem;
    height: 3rem;
  }

  .sourcebuttonport {
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    width: 11rem;
  }

  .livebuttonport {
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    gap: 0.5rem;
    width: 9.5rem;
  }

  .leftblock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 3rem;
  }

  .techs {
    width: 100%;
    list-style: none;
    display: flex;
    gap: 0.5rem;
  }

  .liproject {
    padding: 0.5rem 0.75rem;
    background: #ebf0ee;
    border-radius: 0.25rem;
    width: fit-content;
    letter-spacing: 0.03em;
    color: #3a4a42;
    height: 2rem;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1rem;
  }

  .paragraph {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2rem;
    color: #344563;
    margin-bottom: 1rem;
  }
}
