* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
}

@media screen and (min-width: 0px) and (max-width: 1499px) {
    .full-screen {
        display: none;
    }

    .not-full-screen {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
    }

    .not-full-screen-text {
        font-size: x-large;
        font-family: sans-serif;
    }
}

@media screen and (min-width: 1500px) {
    body {
        background-color: #6FCCD1;
        background-image: url(./img/birthday-cake.jpg);
        background-repeat: no-repeat;
        background-size: 80%;
        background-position: center;
        background-attachment: fixed;
    }

    .birthdayCard {
        display: none;
        position: absolute;
        top: 20%;
        left: 80%;
        z-index: 1000;
        width: 250px;
        height: 350px;
        cursor: pointer;
        transform-style: preserve-3d;
        transform: perspective(2500px);
        transition: 1s;
    }

    .birthdayCard:hover {
        transform: perspective(2500px) rotate(5deg);
        box-shadow: inset 100px 20px 100px rgba(0, 0, 0, .2), 0 10px 100px rgba(0, 0, 0, 0.5);
    }

    .birthdayCard:hover .cardFront {
        transform: rotateY(-160deg);
    }

    .birthdayCard:hover .happy {
        visibility: hidden;
    }

    .cardFront {
        position: relative;
        background-color: #fff;
        width: 250px;
        height: 350px;
        overflow: hidden;
        transform-origin: left;
        box-shadow: inset 100px 20px 100px rgba(0, 0, 0, .2), 30px 0 50px rgba(0, 0, 0, 0.4);
        transition: .6s;
    }

    .happy {
        font-family: Tahoma, sans-serif;
        text-align: center;
        margin: 30px;
        background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
        transition: .1s;
    }

    .balloons {
        position: absolute;
    }

    .balloonOne,
    .balloonTwo,
    .balloonThree,
    .balloonFour {
        position: absolute;
        width: 85px;
        height: 95px;
        border-radius: 50%;
    }

    .balloonOne {
        background-color: rgb(239, 71, 111, 0.7);
        left: -10px;
        top: 50px;
    }

    .balloonTwo {
        background-color: rgb(6, 214, 160, 0.7);
        left: 50px;
        top: 20px;
    }

    .balloonThree {
        background-color: rgb(255, 209, 102, 0.7);
        left: 110px;
        top: 50px;
    }

    .balloonFour {
        background-color: rgb(17, 138, 178, 0.7);
        left: 170px;
        top: 20px;
    }

    .balloonOne:before,
    .balloonTwo:before,
    .balloonThree:before,
    .balloonFour:before {
        content: "";
        position: absolute;
        width: 1px;
        height: 155px;
        background-color: #ffd166;
        top: 95px;
        left: 43px;
    }

    .balloonOne:after,
    .balloonTwo:after,
    .balloonThree:after,
    .balloonFour:after {
        content: "";
        position: absolute;
        border-right: 7px solid transparent;
        border-left: 7px solid transparent;
        top: 94px;
        left: 37px;
    }

    .balloonOne:after {
        border-bottom: 10px solid #ef476f;
    }

    .balloonTwo:after {
        border-bottom: 10px solid #06d6a0;
    }

    .balloonThree:after {
        border-bottom: 10px solid #ffd166;
    }

    .balloonFour:after {
        border-bottom: 10px solid #118ab2;
    }

    .cardInside {
        position: absolute;
        background-color: #fff;
        width: 250px;
        height: 350px;
        z-index: -1;
        left: 0;
        top: 0;
        box-shadow: inset 100px 20px 100px rgba(0, 0, 0, 0.2);
    }

    p {
        font-family: 'Brush Script MT', cursive;
        margin: 40px;
        color: #333;
    }

    .name {
        position: absolute;
        left: 150px;
        top: 200px;
        color: #333;
    }

    .back {
        font-family: Tahoma, sans-serif;
        color: #333;
        text-align: center;
        margin: 30px;
        outline-color: #333;
        outline-style: dotted;
    }

    .not-full-screen {
        display: none;
    }



    .waviy {
        display: none;
        text-align: center;
        -webkit-box-reflect: below -20px linear-gradient(transparent, rgba(0, 0, 0, .2));
        font-size: 60px;
    }

    .waviy span {
        font-family: 'Alfa Slab One', cursive;
        position: relative;
        display: inline-block;
        text-transform: uppercase;
        animation: waviy 2s infinite;
        animation-delay: calc(.5s * var(--i));
    }

    @keyframes waviy {

        0%,
        40%,
        100% {
            transform: translateY(0)
        }

        20% {
            transform: translateY(-20px)
        }
    }

    .birthday-candle {
        position: absolute;
        top: 41%;
        left: 28%;
        width: 10%;
    }

    .fire-1 {
        display: none;
        position: absolute;
        top: 38%;
        left: 29.6%;
        width: 4%;
    }

    .fire-2 {
        display: none;
        position: absolute;
        top: 38%;
        left: 32.5%;
        width: 4%;
    }

    .fire-3 {
        display: none;
        position: absolute;
        top: 28%;
        left: 33.4%;
        width: 4%;
    }

    .fire-4 {
        display: none;
        position: absolute;
        top: 28%;
        left: 38%;
        width: 4%;
    }

    .fire-5 {
        display: none;
        position: absolute;
        top: 27%;
        left: 41%;
        width: 4%;
    }

    .fire-6 {
        display: none;
        position: absolute;
        top: 28%;
        left: 45.5%;
        width: 4%;
    }

    .fire-7 {
        display: none;
        position: absolute;
        top: 20%;
        left: 39.7%;
        width: 4%;
    }

    .fire-8 {
        display: none;
        position: absolute;
        top: 20%;
        left: 44%;
        width: 4%;
    }

    .fire-9 {
        display: none;
        position: absolute;
        top: 21%;
        left: 47%;
        width: 4%;
    }

    .fire-10 {
        display: none;
        position: absolute;
        top: 21%;
        left: 50%;
        width: 4%;
    }

    .fire-11 {
        display: none;
        position: absolute;
        top: 28%;
        left: 48.2%;
        width: 4%;
    }

    .fire-12 {
        display: none;
        position: absolute;
        top: 22%;
        left: 56%;
        width: 4%;
    }

    .fire-13 {
        display: none;
        position: absolute;
        top: 27%;
        left: 53%;
        width: 4%;
    }

    .fire-14 {
        display: none;
        position: absolute;
        top: 28%;
        left: 57.6%;
        width: 4%;
    }

    .fire-15 {
        display: none;
        position: absolute;
        top: 28%;
        left: 62%;
        width: 4%;
    }

    .btn {
        position: absolute;
        top: 70%;
        left: 60%;
    }

    .button-52 {
        font-size: 16px;
        font-weight: 200;
        letter-spacing: 1px;
        padding: 13px 20px 13px;
        outline: 0;
        border: 1px solid black;
        cursor: pointer;
        position: relative;
        background-color: rgba(0, 0, 0, 0);
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
    }

    .button-52:after {
        content: "";
        background-color: #ffe54c;
        width: 100%;
        z-index: -1;
        position: absolute;
        height: 100%;
        top: 7px;
        left: 7px;
        transition: 0.2s;
    }

    .button-52:hover:after {
        top: 0px;
        left: 0px;
    }

}