@import url('https://fonts.googleapis.com/css2?family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&display=swap');

/* web first */

body{
    margin: 0;
    padding: 0;

    font-family: "Sansita", sans-serif;

    background-color: rgb(255, 192, 203);
    color: rgb(153, 0, 84);
}



.ctr{
    width: 95vw;
    height: 100vh;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 20px;
}

.head{
    display: flex;
    grid-column: 1/13;
    grid-row: 1/2;
    width: 95%;
    justify-content: center;
}

.new{
    text-align: center;
}

.pin{
    grid-row: 2/3;
    grid-column: 2/12;
    background-color: rgba(128, 0, 128, 0.226);
    border-radius: 10px;
}

.innerPin{
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
}

.pinnedItem{
    background-color: rgba(255, 192, 203, 0.897);
    width: 25px;
    height: 25px;
    align-content: center;
    text-align: center;
    border-radius: 5px;
    margin: 5px;
    scale: 1;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.pinnedItem:hover{
    scale: 1.2;
}

.center{
    grid-column: 4/10;
    grid-row: 3/6;
    margin: auto 0;
    height: 100%;
}

.msg{
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    gap: 1rem;
    height: 100%;
}

#pin{
    margin-top: 20px;
    cursor: pointer;
    img{
        height: 30px;
    }
}

.rot{
    rotate: -45deg;
}

.rCtr{
    display: flex;
    grid-row: 2/7;
    text-align: center;
    justify-content: center;
    .txt{
        align-self: center;
    }

    p{
        font-size: large;
        max-width: 95%;
        margin: 0 auto;
    }

    .hearts{
        height: 12%;
        min-height: 80px;
        width: 50%;
        position: absolute;
        .float{
            opacity: 0;
            position: absolute;
            height: 20%;
            min-height: 25px;
            width: 20%;
            min-width: 25px;
            background-color: red;
            -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"></path></svg>');
            mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"></path></svg>');
            -webkit-mask-repeat: no-repeat;
                    mask-repeat: no-repeat;
            -webkit-mask-position: bottom;
                    mask-position: bottom;
        }
    }

}

.a{
    animation: floatingHeart 20s infinite cubic-bezier(.5,.5,.5,.5);
}
.b{
    animation: floatingHeart2 18s infinite cubic-bezier(.5,.5,.5,.5);
}
.bottom{
    bottom: 150px;
}

@keyframes floatingHeart2{
  0% {
    opacity: 0;
    bottom: 0%;
    right: 0%;
  }
  10% {
    opacity: 1;
    right: 20%;
    bottom: 70%;
  }
  20% {
    right: 40%;
    bottom: 10%;
  }
  30% {
    right: 60%;
    bottom: 50%;
  }
  40% {
    opacity: 1;
    right: 80%;
    bottom: 5%;
  }
  48% {
    opacity: 0;
    right: 100%;
    bottom: 60%;
  }
}

@keyframes floatingHeart{
  0% {
    opacity: 0;
    bottom: 0%;
    left: 0%;
  }
  10% {
    opacity: 1;
    left: 20%;
    bottom: 70%;
  }
  20% {
    left: 40%;
    bottom: 10%;
  }
  30% {
    left: 60%;
    bottom: 50%;
  }
  40% {
    opacity: 1;
    left: 80%;
    bottom: 5%;
  }
  48% {
    opacity: 0;
    left: 100%;
    bottom: 60%;
  }
}

.float:nth-child(1){
animation-delay: 1s;
}

.float:nth-child(2){
animation-delay: 1.5s;
}

.float:nth-child(3){
animation-delay: 2s;
}

.float:nth-child(4){
animation-delay: 2.4s;
}

.float:nth-child(5){
animation-delay: 3s;
}

.float:nth-child(6){
animation-delay: 3.4s;
}

.float:nth-child(7){
animation-delay: 3.9s;
}

.float:nth-child(8){
animation-delay: 4.4s;
}

.under{
    grid-row: 6/7;
    grid-column: 4/10;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: large;
}

.option{
    width: 6rem;
    text-align: center;
    
    div{
        cursor: pointer;
    }
}

.smaller{
font-size: smaller;
color: black;
margin: auto;
}

.dispNone{
    display: none;
}

.heart {
  --c: red;
  width: 90px;
  height: auto;
  aspect-ratio: 1;
  background:
   radial-gradient(circle at 60% 65%,var(--c) 64%,#0000 65%) top left/50% 50%,
   radial-gradient(circle at 40% 65%,var(--c) 64%,#0000 65%) top right/50% 50%,
   /* 3 */ conic-gradient(from -45deg at 50% 85%,var(--c) 90deg,#0000 0) bottom/100% 50%;
  background-repeat: no-repeat;
}

.rot90{
    rotate: 90deg;
}

.rot-90{
    rotate: -90deg;
}

.top30{
    position: relative;
    top: 30px;
}

.left-{
    left: -5px;
}

.right-{
    right: -5px;
}

.top20{
    position: relative;
    top: 25px;
}

.hover{
    scale: 1;
    transition: all .2s ease-in-out;
}

.hover:hover{
    animation: beat 1s ease-in-out infinite;
}

@keyframes beat{
    0% {scale:1;}
    10% {scale: 1.1;}
    30% {scale: 1;}
    50% {scale: 1.1}
}

.hover:active{
    scale: .95;
    animation: none;
}

@media only screen and (max-width: 768px){
.heart{
    width: 80px;
}

.under{
    grid-column: 1/13;
}

.smaller{
    font-size: small;
}

.center{
    grid-column: 2/12;
}
}

.img{
    height: 200px;
    width: auto;
}