* {
    box-sizing: border-box;
    align-items: center;
}

body {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    margin-top: 8%;
    justify-content: center;
    align-items: center;
    background-color: lavender;
    flex-direction: column;
}

.titles {
    justify-content: flex-start;
    align-content: flex-start;
    font-family: "Dancing Script";
    margin-bottom: 7%;
    width: 100%;
    height: 40%;
    overflow: none;
}

.send-flowers-regular {
    font-family: "Send Flowers", cursive;
    font-weight: 400px;
    font-style: normal;
  }  

.title {
    color: rgb(51, 12, 88);
    letter-spacing: 0.2vmin;
    margin-top: 1vh;
    justify-items: center;
    text-transform: uppercase;
    font-size: 7vh;
}

h2{
    font-size: 3vh;
    letter-spacing: 2.5vh;
    color: lavender;
}

h3 {
    font-family: 'Times New Roman', Times, serif;
    letter-spacing: 3vh;
    margin-bottom: -7%;
    margin-left: 6%;
    font-size: 5vh;
}

#timerDisplay {
    font-size: 3vh;
    margin-top: 1%;
}

.container {
    background: rgb(146, 139, 162);
    height: 900px;
    width: 900px;
    display: flex;
    flex-direction: column;
}

.image-container {
    perspective: 1000px;
    display: flex;
    flex-wrap: wrap;
    margin-right: 5vh;
}

.image-container img {
    height: 110px;
    width: 110px;
}

.flip-card {
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.flowers {
    border-radius: 8vh;
    width: 100%;
    height: 100%;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.cardselected {
    transform: rotateY(180deg); 
}

.flip-card-front, .flip-card-back {
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    top: 0;
    left: 0;
}

.flip-card-front {
    background-color: #bbb;
    color: black;
    transform: rotateY(180deg);
    z-index: 2;
}

.flip-card-back {
    background-color: #2980b9;
    color: white;
    transform: rotateY(0deg);
    z-index: 1;
}

button {
    color: rgb(62, 23, 92);
    background-color: rgb(210, 174, 221);
    font-size: 3vmin;
    size: 3vh;
    cursor: pointer;
    margin-top: 2vh;
    margin-bottom: -15vh;
}

button:focus {
    color: rgb(241, 234, 247);
    background-color: blueviolet;
}
