* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: rgb(10, 10, 10);
  color: rgb(250, 250, 250);
}

button {
  cursor: pointer;
}

header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  height: 80px;
}

.header {
  font-size: 2.1rem;
  position: relative;
  width: fit-content;
}
.header::after {
  content: "*";
  position: absolute;
  font-size: 1rem;
  font-weight: 200;
  color: rgb(250, 250, 250);
  top: 0;
  left: 100%;
}

.user {
  height: fit-content;
  display: flex;
  justify-content: space-between;
  margin: 1rem 0 2rem;
}

.user .profile {
  display: flex;
  align-items: center;
}

#profile-img {
  aspect-ratio: 1/1;
  border-radius: 50%;
}

#username {
  font-size: 2rem;
  letter-spacing: 3px;
}

#add-btn {
  height: 2.5rem;
  aspect-ratio: 5/2;
  font-size: 2rem;
  font-weight: 100;
  background: transparent;
  color: rgb(250, 250, 250);
  border: 0.15rem solid rgb(250, 250, 250);
  transition-duration: 0.3s;
  margin: auto 0;
}
#add-btn:hover {
  background: rgb(250, 250, 250);
  color: rgb(10, 10, 10);
}

#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.post {
  border-radius: 12px;
  position: relative;
  background: rgb(250, 250, 250);
}

.post-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px 12px 0 0;
}

.delete-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 25px;
  height: 25px;
  background: url("../images/icons/icons8-trash-24.png");
  border: none;
  outline: none;
}

.post-info {
  color: rgb(10, 10, 10);
  display: flex;
  justify-content: space-between;
  padding: 2vh 2vh 3vh;
  border-radius: 0 0 12px 12px;
}

.post-header {
  font-size: 2rem;
  font-weight: bold;
}

.like-btn {
  position: relative;
  cursor: pointer;
}
.like-btn::after {
  content: " ";
  width: 45px;
  aspect-ratio: 1/1;
  position: absolute;
  top: -5px;
  left: -25px;
  background-image: url("../images/svg/heart-svgrepo-com (1).svg");
}

.like-btn:checked::after {
  background-image: url("../images/svg/heart-liked.svg");
}

#add-new-pop-up {
  width: 99%;
  height: 99%;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: none;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

@media only screen and (min-width: 451px) {
  .app {
    width: 1200px;
    margin: 0 auto;
  }
  #profile-img {
    height: 80px;
  }
  .user-info {
    margin-left: 30px;
  }
  .user-profile {
    margin: 1rem 0;
  }
  .add-btn {
    height: 3rem;
    margin: auto 0;
  }
}
@media only screen and (min-width: 601px) {
  .add-new-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    transform: translateX(65px);
  }
  #close-modal-btn {
    font-size: 5vh;
    background: transparent;
    color: rgb(250, 250, 250);
    width: fit-content;
    transform: translateX(5vh);
    height: fit-content;
    border: none;
    outline: none;
    position: relative;
    font-weight: 100;
  }
  .add-new-form {
    width: 120%;
    padding: 4vh 3vh;
    border-radius: 12px;
    height: fit-content;
    background: rgb(250, 250, 250);
    display: flex;
    flex-direction: column;
  }
  .add-new-form div {
    margin: 2vh 0;
    display: flex;
    flex-direction: column;
    gap: 2vh;
  }
  .add-new-form input {
    height: 5vh;
    border: none;
    border-bottom: 1px solid rgb(170, 170, 170);
    outline: none;
    font-size: 16px;
    color: rgb(10, 10, 10);
  }
  .add-new-form input::placeholder {
    color: rgb(170, 170, 170);
  }
  .add-new-form_header {
    font-size: 4vh;
  }
  #create-new-btn {
    width: 100%;
    height: 5vh;
    border: 1px solid rgb(170, 170, 170);
    color: rgb(170, 170, 170);
    background: transparent;
    font-size: 20px;
    margin-top: 2vh;
    transition-duration: 0.5s;
  }
  #create-new-btn:hover {
    background: rgb(10, 10, 10);
    color: rgb(250, 250, 250);
  }
}

/*# sourceMappingURL=style.css.map */
