body{
    display:flex;
    flex-direction: column;
}

.home{
    position: relative;
    background-image: url("../images/background2.jpg");
    width:100%;
    margin-top: 75px;
    display:inline-grid;
    justify-content: space-evenly;
    align-items: center;
    justify-items: center;
    grid-template-columns:repeat(auto-fit,
    minmax(550px, auto));

}

.overlay{
    position: absolute;
    inset:0;
    backdrop-filter: blur(2px);
    z-index: 0;
}

.content{
    z-index:1;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top:1rem;


}

.content h1{
    font-family: "Poiret One", sans-serif;
    text-align: center;
    text-decoration: line-through;
    text-decoration-color: rgba(184, 154, 140, 55%);
    text-decoration-thickness: 20px;
    font-size: clamp(1.5rem, 7.5vw, 5rem);
    letter-spacing: -1.5px;


    /*transition for title*/
    transform: translateY(30px);
    opacity: 0;
    animation: revealUp 1.6s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: .5s;
    mask-image: linear-gradient(
        to top,
        transparent 0%,
        black 60%
    );
    -webkit-mask-image: linear-gradient(
        to top,
        transparent 0%,
        black 60%
    );

    mask-size: 100% 200%;
    -webkit-mask-size: 100% 200%;

    mask-position: bottom;
    -webkit-mask-position: bottom;
}

.content p{
    font-family: "Poiret One", sans-serif;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 1px;
    font-size: clamp(1rem, 4vw, 4rem);

    transform: translateY(30px);
    opacity: 0;
    animation: revealUp 1.5s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: 1.6s;

    mask-image: linear-gradient(
        to top,
        transparent 0%,
        black 60%
    );
    -webkit-mask-image: linear-gradient(
        to top,
        transparent 0%,
        black 60%
    );

    mask-size: 100% 200%;
    -webkit-mask-size: 100% 200%;

    mask-position: bottom;
    -webkit-mask-position: bottom;

}

.content hr{
    width: clamp(10rem, 50vw, 100rem);
    border: none;
    height: 2px;
    background-color: rgb(184, 154, 140);
    margin-top: 1px;
    transform: translateY(30px);
    opacity: 0;
    animation: revealUp 1.5s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: 1.6s;

    mask-image: linear-gradient(
        to top,
        transparent 0%,
        black 60%
    );
    -webkit-mask-image: linear-gradient(
        to top,
        transparent 0%,
        black 60%
    );

    mask-size: 100% 200%;
    -webkit-mask-size: 100% 200%;

    mask-position: bottom;
    -webkit-mask-position: bottom;

}

.flower-img{
    width:max-content;

    width: clamp(200px, 45vw, 500px);
    height: auto;
    display: flex;
    z-index:1;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;

    transform: translateY(30px);
    opacity: 0;
    animation: revealUp 1.8s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: 3.2s;

    mask-image: linear-gradient(
        to top,
        transparent 0%,
        black 60%
    );
    -webkit-mask-image: linear-gradient(
        to top,
        transparent 0%,
        black 60%
    );

    mask-size: 100% 200%;
    -webkit-mask-size: 100% 200%;

    mask-position: bottom;
    -webkit-mask-position: bottom;
}

.flower-img img{
    width:100%;
    border: 5px solid rgb(121, 124, 118);
    border-radius: 30px;
}



/* This is where the shop section starts*/
.shop{
    border-top: 3px solid rgb(194, 187, 182);
    flex:1;
    padding-top: 1rem;
    padding-bottom: 4rem;
    background-color: rgb(236, 228, 217);
    width:100%;
    height:min-content;
    display:grid;
    justify-content: center;
    justify-items: center;
    grid-template-rows: min-content min-content;
}

.shop h1{
    width: max-content;
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 4rem);
    text-decoration: line-through;
    text-decoration-color: rgba(184, 154, 140, 55%);
    text-decoration-thickness: 11px;
    padding:2rem;

}

.flowers-options{
    margin-left:2rem;
    margin-right: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap:3rem;
}

.flowers-options > div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.flowers-options img{
    width:100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4.5;
    border: 2px solid rgb(109, 131, 110);
    border-radius: 10px;
    box-shadow: 5px 5px 0px rgb(207, 195, 176);
}


/* Children inside shop */
.shop .flowers-options > div,
.shop h1 {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 2s cubic-bezier(.22,1,.36,1), opacity 1s ease;
    transition-delay: 1s;
}

.shop .flowers-options > div.show,
.shop h1.show {
    opacity: 1;
    transform: translateY(0);
}

.flowers-options .button{
    font-size: clamp(.7rem, 3vw, 2rem);

    padding-left: .5rem;
    padding-right: .5rem;
    width: max-content;
    background-color: rgb(227, 226, 217);
    border: 1px solid rgb(105, 91, 96);
    border-radius: 10px;
    box-shadow: 2px 2px 0px rgb(29, 24, 26);

}


.flowers-options .button:hover{
    background-color: rgb(217, 165, 165);
    transform: scale(1.1);
    box-shadow: 2px 2px 3px rgba(95, 92, 93, 0.582);
    
    
}

.flowers-options .button:active{
    background-color: rgb(153, 106, 106);
}

.footer{
    background-image: url("../images/backgroundImg.jpg");
    aspect-ratio: 20/1;   /* width:height ratio */
    min-height: 0rem;
    width:100%;
    background-size: cover;
    border-top: 3px solid rgb(194, 187, 182);
    
}


@keyframes revealUp {
    to {
        transform: translateY(0);
        opacity: 1;
        mask-position: top;
        -webkit-mask-position: top;
    }
}
