
.feedback{
    background-color: antiquewhite;
    width: 100%;
    /* height: 60vh; */
    overflow-x: hidden;
}

.feedback h3 {
  font: 400 50px/28px "Yatra One";
  text-transform: capitalize;
  margin: 0px;
  padding-bottom: 27px;
  border-bottom: 1px solid #82BC23;
  position: relative;
  line-height: 1;
  }
  
  .feedback h3::after {
    content: "";
    width: 60%;
    height: 3px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    margin: auto;
    background: #6c9005;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
  }

.feedback div{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius:10px;
}

::placeholder{
  color: #ffffffcc;
}

.feedback input, .feedback textarea{
    margin-bottom: 10px;
    background-color: rgba(0,0,0,0.5);
    outline: none;
    border: none;
    padding: 10px 20px;
    color: antiquewhite;
    border-radius: 3px;
    width: 100%;
}

.feedback input:focus, .feedback textarea:focus{
    border: 1px solid wheat;
    border-radius: 3px;
}
.feedback button{
    color: antiquewhite;
    margin: 20px;
}
.feedback div:nth-child(2) {
    margin: 0;
    /* min-height: 50vh; */
    display: grid;
    place-items: center;
  }

  @media screen and (max-width: 1000px){
    .feedback{
        height: 100%;
        overflow: hidden;
    }
    .feedback form{
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .feedback div:nth-child(1){
        flex-direction: column;
        display: flex;
        justify-content: center;
    }
    .feedback h3::after{
        width: 100px;
    }
    .feedback div:nth-child(2){
        display: none;
    }
  }
  /* .feedback h3::after{
    display: none;
  } */


  
  .gallery {
    --size: 100px;
    display: grid;
    grid-template-columns: repeat(6, var(--size));
    grid-auto-rows: var(--size);
    margin-bottom: var(--size);
    place-items: start center;
    gap: 5px;
    
    &:has(:hover) img:not(:hover),
    &:has(:focus) img:not(:focus){
      filter: brightness(0.5) contrast(0.5);
    }
  
    & img {
      object-fit: cover;
      width: calc(var(--size) * 2);
      height: calc(var(--size) * 2);
      clip-path: path("M90,10 C100,0 100,0 110,10 190,90 190,90 190,90 200,100 200,100 190,110 190,110 110,190 110,190 100,200 100,200 90,190 90,190 10,110 10,110 0,100 0,100 10,90Z");
      transition: clip-path 0.25s, filter 0.75s;
      grid-column: auto / span 2;
      border-radius: 5px;
  
      &:nth-child(5n - 1) { 
        grid-column: 2 / span 2 
      }
  
      &:hover,
      &:focus {
        clip-path: path("M0,0 C0,0 200,0 200,0 200,0 200,100 200,100 200,100 200,200 200,200 200,200 100,200 100,200 100,200 100,200 0,200 0,200 0,100 0,100 0,100 0,100 0,100Z");
        z-index: 1;
        transition: clip-path 0.25s, filter 0.25s;
      }
      
      &:focus {
        outline: 1px dashed black;
        outline-offset: -5px;
      }
    }
  }