/* Fonts */
@font-face {
    font-family: AlexBrush;
    src: url(../fonts/AlexBrush-Regular.ttf);
}

@font-face {
    font-family: AnthoniSignature;
    src: url(../fonts/AnthoniSignature.ttf);
}

@font-face {
    font-family: Apajarita;
    src: url(../fonts/aparajita.ttf);
}

@font-face {
    font-family: Caramel;
    src: url(../fonts/Caramel-Regular.ttf);
}

@font-face {
    font-family: AbhayaLibre;
    src: url(../fonts/Abhaya_Libre/AbhayaLibre-Medium.ttf);
}

@font-face {
    font-family: NanumMyeongjo;
    src: url(../fonts/Nanum_Myeongio/NanumMyeongjo-Regular.ttf);
}

body {
    padding: 0; margin: 0;
    box-sizing: border-box;
    height: 100vh;
}

/* Main Content Start */

.anniversary-title {
    color: #748597;
    font-family: Apajarita;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subtitle-main {
    color: #748597;
    font-family: Apajarita;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.main-names {
    color: #748597;
    font-family: Apajarita;
    font-size: 30px;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.main-and {
    color: #74859787;
    font-family: Caramel;
    font-size: 120px;
    margin-left: -15px;
    position: absolute;
    margin-top: -48px;
}

.image-circle img {
    max-width: 250px;
}

.hz-line {
    height: 1.5px;
    background-color: #748597;
    width: 50px;
}

.congrats-title {
    color: #748597;
    font-family: AbhayaLibre;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Main Content End */

.card-main {
    position: relative;
    height: 550px;
    width: 400px;
    box-shadow: inset 10px 0px 15px 0px rgba(0, 0, 0, 0.1);
    background: #F2F2F2;
    /* background-image: linear-gradient(to bottom, rgb(211, 209, 209), rgba(188, 185, 185, 0.5)), url("https://scontent.fcen4-1.fna.fbcdn.net/v/t1.6435-9/201379678_1494096804265448_5165857414249189318_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=5f2048&_nc_ohc=EccceIxbT78Q7kNvgEw9Pks&_nc_ht=scontent.fcen4-1.fna&oh=00_AYDIRFcxQUqye51szQ1Ay2Jssm5f2MoUcRym9OBraFX6UQ&oe=669BEC18");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #3b3d3b; */
}

.card-main .front {
    position: absolute;
    backface-visibility: hidden;
    background-size: contain;
    transform-style: preserve-3d;
    transform-origin: 0% 50%;
    transform: perspective(1500px) rotateY(0deg);
    transition: all 0.8s ease-in-out;
}

.card-main:hover .front {
    transform: perspective(1500px) rotateY(-170deg);
    background-color: #41718d;
}

.card-main:hover .back {
    transform: perspective(1500px) rotateY(-170deg);
    box-shadow: 7px 0px 5px 0px rgba(0, 0, 0, 0.3), inset 2px 0px 15px 0px rgba(0, 0, 0, 0.1);
    background-color: #748597;
}

.card-main .back {
    position: absolute;
    background: #F2F2F2;
    height: 550px;
    width: 400px;
    backface-visibility: visible;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, .5));
    transform-style: preserve-3d;
    transform-origin: 0% 50%;
    transform: perspective(1500px) rotateY(0deg);
    transition: all 0.8s ease-in-out;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
}

.content-rectangle {
    background: #F2F2F2;
    height: 550px;
    width: 200px;
}

.names {
    color: #6D7C8B;
    font-family: Aparajita;
    font-size: 30px;
    letter-spacing: 9px;
    text-transform: uppercase;
}

.letter-and {
    margin-left: -50px; 
    margin-top: -190px; 
    position: absolute;
    color: rgba(116, 133, 151, 0.10);
    font-family: Caramel;
    font-size: 200px;
    text-align: center;
    text-transform: uppercase;
}

.years {
    margin-top: -3em;
}
.years-number {
    color: #748597;
    font-size: 90px;
    font-family: AlexBrush;
    height: 100px;
}
.years-text {
    color: #748597;
    font-size: 60px;
    font-family: AnthoniSignature;
}

.date-wedding_number,
.date-wedding_separator {
    color: #919191; 
    font-family: NanumMyeongjo;
    font-size: 18px;
    margin-bottom: 0;
}

.rectangle-Medium {
    width: 52px;
    height: 110px;
    /* margin-left: 320px; */
    bottom: 30px;
    position: absolute;
    z-index: 3;
    background: rgba(255, 149, 117, 0.8);
}

.image-rectangle {
    height: 550px;
    overflow: hidden;
    position: relative;
    width: 200px;
}

.image-rectangle img {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}