
.button-container {
    display: flex;
    justify-content: center; 
    align-items: center;     
    gap: 40px;               
    width: 100%;
    margin: 30px 0; 
    margin-top: 550px;        
}

.bg{
    height: 740px;
    width: 1535px;
    z-index: 0;
    
}

/*lock card when space is pressed? so the candles can be clicked*/


.candlesfire{
    z-index: 200;
}

img{
    height: 320px;
    width: 320px;
    
    position: absolute;
    

}

body{
    background-color: #ffffff;
    cursor: url('assets/Penguin2.png'), auto;
    align-items: center;
    align-content: center;
    align-self: center;
    
}



/*fonts*/
.outfitfonttitle{
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  text-align: center;
  /*ADD STROKE?*/
}

.outfitfontnorm{
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}


h1{
    z-index: 100;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: 50px;
    text-align: center;
    margin: auto;
    position: relative;
    padding: 25px;

}

 
/*buttons here*/
.noanimbutton{
    height: 50px;
    width: 250px;
    position: relative;
    
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    background-color: white;
    border: none;
    font-size: 19px;
}

.noanimbutton:hover{
    height: 50px;
    width: 250px;
    position: relative;
    

    font-family: "Outfit", sans-serif;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.818);
    border: none;
    font-size: 19px;
    cursor: url('assets/Penguin1.png'), auto;
}


.yesanimbutton{
    height: 50px;
    width: 250px;
    position: relative;

    font-family: "Outfit", sans-serif;
    font-weight: 600;
    background-color: white;
    border: none;
    font-size: 19px;
    
}

.yesanimbutton:hover{
    height: 50px;
    width: 250px;

    position: relative;

    

    font-family: "Outfit", sans-serif;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.818);
    border: none;
    font-size: 19px;
    cursor: url('assets/Penguin1.png'), auto;
}

/*gift*/
.gift{
    position: absolute;
    height: 330px;
    width: 330px;
    border-radius: 10px;
    z-index: 0;

    position: absolute;
    left: 583px;
    top: 170px;
    align-items: center;
    align-self: center;

}

.giftcontentimg{
    position: absolute;
    height: 360px;
    width: 580px;
    border-radius: 10px;
    z-index: 0;

    position: absolute;
    left: 450px;
    top: 190px;
    align-items: center;
    align-self: center;
    display: none;
}

/*HEREEE WORK HERE NWOW*/

.porkbunsmallimg{
    position: absolute;
    height: 50px;
    width: 50px;
    border-radius: 10px;
    z-index: 0;

    position: absolute;
    left: 10px;
    top: 170px;
    align-items: center;
    align-self: center;
}

.giftlink{
    position: absolute;
    height: 50px;
    width: 50px;
    border-radius: 10px;
    z-index: 0;

    position: absolute;
    left: 10px;
    top: 170px;
    align-items: center;
    align-self: center;
    display: none;

}

.giftgrow{
    position: absolute;
    height: 330px;
    width: 330px;
    border-radius: 10px;
    z-index: 0;
    animation: grow 1.2s ease-in-out;

    position: absolute;
    left: 583px;
    top: 170px;
    align-items: center;
    align-self: center;
    z-index: 100;

}

.giftgrow2{
    height: 400px;
    width: 700px;
    border-radius: 10px;
    z-index: 0;
    animation: grow 1.2s ease-in-out;

    position: absolute;
    left: 400px;
    top: 170px;
    align-items: center;
    align-self: center;
    z-index: 100;
    

}
.giftshrink{
    animation: shrink 0.8s ease-in-out;

    align-items: center;
    align-self: center;
    z-index: 0;
    display: none;
    opacity: 0;
}

@keyframes grow {
    0% {
        transform: scale(0);
        background-color: transparent;
        opacity: 0;
    }
    50% {
        background: inherit;
        opacity: inherit;
    }
    100% {
        transform: scale(1);
        background: inherit;
        opacity: 1;
    }
}

@keyframes shrink {
    0% {
        transform: scale(1);
        background-color: transparent;
        opacity: 1;
    }
    50% {
        background: inherit;
        opacity: inherit;
    }
    100% {
        transform: scale(0);
        background: inherit;
        visibility: hidden;
        display: none;
        position: absolute;
        z-index: 0;
        
    }
}

@keyframes contentgrow {
    0% {
        transform: scale(0);
        background-color: transparent;
    }
    50% {
        background: inherit;
    }
    100% {
        transform: scale(1);
        background: inherit;
    }

}

/*card*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    

}

.outside p{
    font-size: 42px;
    padding: 2%;
    padding-top: 20px;
    letter-spacing: 1px;

}



.card{
    width: 640px;
    height: 400px;
    position: absolute;
    bottom: 20%;
    left: 17%;
    margin: auto;
    -webkit-perspective: 1200px;
    perspective: 1200px;
    transition: 1s;
    margin: auto;
    display: flex;
    justify-content: center; 
    align-items: center;   
    



}


.card:hover{
    transform: rotate(-10deg) translate(150px);
    cursor: url('assets/Penguin2.png'), auto;
    
    

}

.card:hover .outside{
    transform: rotateY(-150deg);
    cursor: url('assets/Penguin2.png'), auto;

}

.noanim{
    transform: none !important;
    transition: none !important;
    animation: none !important;
    
    
}


.card.noanim, .card.noanim:hover, .card.noanim:hover .outside, .outside.noanim, .outside.noanim:hover{
    transform: none !important;
    transition: none !important;
    animation: none !important;
    
    
}



p{
    padding-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
    font-weight: 250;
  
}

h2{
    padding-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14px;
    font-family: "Outfit", sans-serif;
    font-weight: 300px;
    text-align: center;
  
}

.outside, 
.inside{

    
    height: 100%;
    width: 50%;
    position: absolute;
    left: 50.1%;

}

.inside{
    left: 50%;
    background: linear-gradient(to right, #e0e0e0, #ffffff);
    


}

.outside{

    -webkit-transform-style: preserve-3d;
    z-index: 100;
    transform-origin: left;
    transition: 2s;

}

.front, .back{
    height: 100%;
    width: 100%;
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: rotateX(0deg);
}

.front{
    background-color: white;

}

.back{
    transform: rotateY(180deg);
    
    background-color: white;
    align-items: center;
    

}

.cake{
    width: 100%;
    position: absolute;
    bottom: 0;

}

.top-layer, .mid-layer, .bottom-layer{
    /* CHANGE COLORS LATER */
    height: 80px;
    width: 240px;
    background-repeat: repeat;
    background-size: 60px 100px;
    background-position: 30px 0;
    background-image: linear-gradient(
        transparent 50px, 
        #fff598 50px,
        #fff598 60px,
        transparent 60px), 
        radial-gradient(circle at 30px 5px, #fff598 30px,
        #ffe646 30px);
        border-radius: 10px 10px 0 0 ;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        top: 0px;
        z-index: 0;
}

.mid-layer{
    transform:scale(0.85);
    top: 7px;
    z-index: 15;
}

.top-layer{
    transform:scale(0.7);
    top:  25px;
    z-index: 10;
}

/* change: added 15 candles on different layers */

/*bottom layer*/
.candle-1{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84  5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 80px;
    left: 67px;
}

.candle-2{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 80px;
    left: 97px;
}

.candle-3{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 80px;
    left: 127px; 
}

.candle-4{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 80px;
    left: 157px;
}

.candle-5{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 80px;
    left: 187px;
}

.candle-6{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 80px;
    left: 217px;
}

.candle-7{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 80px;
    left: 247px;
}
/*mid layer*/
.candle-8{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 147px;
    left: 90px;
}

.candle-9{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 147px;
    left: 123px;
}

.candle-10{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 147px;
    left: 157px;
}

.candle-11{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 147px;
    left: 190px;
}

.candle-12{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 60;

    /*CHANGE THE POS*/
    bottom: 147px;
    left: 224px;
}
/*top layer*/
.candle-13{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 5;

    /*CHANGE THE POS*/
    bottom: 202px;
    left: 114px;
}

.candle-14{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 5;

    /*CHANGE THE POS*/
    bottom: 202px;
    left: 157px;
}

.candle-15{
    height: 43px;
    width: 5px;
    background: repeating-linear-gradient(
        /* CHANGE THE COLOR LATER*/
        45deg,
        #82ef84 0,
        #82ef84 5px,
        #ffffff 5px,
        #ffffff 10px
    );
    position: absolute;
    margin: auto;
    z-index: 5;

    /*CHANGE THE POS*/
    bottom: 202px;
    left: 198px;
    
}

/*CANDLE NO: BOTTOM - 7, MID: 5, TOP 3*/

.candle1-fire{
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 125px;
    transform: rotate(45deg);
    left: 65px;
    z-index: 80;
    cursor: url('assets/Penguin1.png'), auto;
    
}

.candle2-fire{
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 125px;
    transform: rotate(45deg);
    left: 95px;
    z-index: 80;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle3-fire{
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 125px;
    transform: rotate(45deg);
    left: 125px;
    z-index: 80;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle4-fire{
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 125px;
    transform: rotate(45deg);
    left: 155px;
    z-index: 80;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle5-fire{
    z-index: 80;
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 125px;
    transform: rotate(45deg);
    left: 185px;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle6-fire{
    z-index: 80;
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 125px;
    transform: rotate(45deg);
    left: 214px;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle7-fire{
    z-index: 80;
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 125px;
    transform: rotate(45deg);
    left: 244px;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle8-fire{
    z-index: 80;
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 191px;
    transform: rotate(45deg);
    left:  88px;
    z-index: 80;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle9-fire{
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 191px;
    transform: rotate(45deg);
    left: 121px;
    z-index: 80;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle10-fire{
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 191px;
    transform: rotate(45deg);
    left: 155px;
    z-index: 80;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle11-fire{
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 191px;
    transform: rotate(45deg);
    left: 188px;
    z-index: 80;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle12-fire{
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 191px;
    transform: rotate(45deg);
    left:221px;
    z-index: 80;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle13-fire{
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 247px;
    transform: rotate(45deg);
    left: 112px;
}

.candle14-fire{
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 247px;
    transform: rotate(45deg);
    left: 155px;
    cursor: url('assets/Penguin1.png'), auto;
}

.candle15-fire{
    border: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: #ffa500;
    border-radius: 0 50% 50% 50%;
    bottom: 247px;
    transform: rotate(45deg);
    left: 195px;
    z-index: 90;
    cursor: url('assets/Penguin1.png'), auto;
}


.hidden{
    display: none;
}

.visible{
    display: block;
}

.addzindex{
    z-index: 500 !important;
}
.addzindex2{
    z-index: 900 !important;
}


