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

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

html, body {
    width: 100%;
    height: 100%;
}

.main {
    overflow: hidden;
    position: relative;
}

.page1 {
    width: 100vw;
    height: 100vh;
    position: relative;
    background-image: url(./logo/wedding-background.498442cd.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000009f;
}

.content h1 {
    font-family: h;
    text-align: center;
    margin-top: 10.9vw;
    color: rgb(13, 153, 208);
    font-size: 4vw;
}

.content h3 {
    color: #fff;
    font-size: 1.5vw;
    text-align: center;
    margin-top: 1.4vw;

    position: relative;
    display: center;
    overflow: hidden;
    background: linear-gradient(100deg, red, orange, #59df11);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3.5s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}



.time {
    width: 250px;
    height: 230px;
    margin: 0 auto;
    margin-top: 3.5vw;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.circle {
    width: 100px;
    height: 100px;
    border: 2px solid #59df11;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.9vw;
    animation: spin 2s linear infinite;
    transition: background-color 0.5s ease, transform 1s ease;
}

.circle:hover {
    background-color: black;
    border: 2px solid white;
    transform: rotateZ(360deg) ;
     color: rgb(17, 161, 217);
    box-shadow: 0 0 20px rgba(255, 255, 255, 10);
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 0 0 20px white;
}


.day, .hour {
    color: white;
}

.minute {
    color: white;
}

.second {
    color: white;
}

.content button {
    padding: .7vw 2vw;
    font-size: 15px;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    border: none;
    color: #000000c9;
    cursor: pointer;
}

.content button:hover {
    background-color: black;
    border: 2px solid white;
    transform: rotateZ(360deg) ;
     color: rgb(17, 161, 217);
    box-shadow: 0 0 20px rgba(255, 255, 255, 10);
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 0 0 20px white;
}

.page2 {
    width: 100vw;
    height: 70vh;
    position: relative;
}

.page2 h1 {
    text-align: center;
    color: #EC4899;
    margin-top: 3vw;
    font-size: 2.9vw;
    font-weight: 500;
    font-family: h;
}

.group {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 5vw;
}

.group .dulha img,
.group .dulhan img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.group .heart {
    width: 110px;
    height: 110px;
    margin-top: 7vw;
}

.group h2 {
    margin-top: 2vw;
    font-family: h;
    text-align: center;
    font-size: 1.7vw;
}

.group p {
    font-family: h;
    margin-top: 2vw;
    text-align: center;
    line-height: 2;
    font-size: 1.4vw;
}

.page3 {
    width: 100vw;
    height: 450px;
    position: relative;
}

.page3 h1 {
    font-family: h;
    text-align: center;
    color: #F472B6;
    font-weight: 500;
    font-size: 3vw;
}

.card-container {
    display: flex;
    justify-content: space-around;
    position: relative;
    margin-top: 2vw;
}

.card {
    height: 280px;
    width: 361px;
    background-color: #F472B6;
    border-radius: 20px;
}

.img-container {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background-color: white;
    border-radius: 50%;
    margin-top: 1vw;
}

.card img {
    width: 50px;
    height: 50px;
}

.card h2 {
    text-align: center;
    font-family: h;
    margin-top: 1vw;
    font-weight: 400;
}

.card hr {
    width: 50%;
    margin: 0 auto 1.5vw;
    background-color: #fff;
    border: none;
    height: 2px;
}

.card p {
    margin-left: 6vw;
    line-height: 2;
    font-family: h;
}

.page4 {
    background-color: #111827;
    height: 280px;
    width: 100vw;
    padding-top: 2vw;
}

.page4 p {
    color: #fff;
    text-align: center;
    font-family: h;
    line-height: 2;
    font-size: 1.3vw;
}

.page4 h5 {
    text-align: center;
    color: #fff;
    box-shadow: 0.5px -14px 10px -6.5px #000000;
    margin: 2vw 0;
}

.page4 .contact {
    width: 100vw;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.page5 {
    width: 100vw;
    height: 50px;
    background-color: #000;
    color: #fff;
    padding-top: 1vw;
}

.page5 .p {
    text-transform: capitalize;
    text-align: center;
    font-size: 1.2vw;
}

/* ---------------------------------------
   RESPONSIVE STYLES FOR MOBILE DEVICES
------------------------------------------ */

@media (max-width: 768px) {

    .content h1 {
        font-size: 8vw;
        margin-top: 25vw;
    }

    .content h3 {
        font-size: 4vw;
    }

    .time {
        width: 90%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 5vw;
        margin-top: 6vw;
    }

    .circle {
        width: 80px;
        height: 80px;
        font-size: 3vw;
        margin: 1vw;
    }

    .content button {
        font-size: 2vw;
        padding: 2vw 3vw;
        margin-top: 4vw;
    }

    .page2 {
        height: auto;
        padding-bottom: 6vw;
    }

    .group {
        flex-direction: column;
        gap: 5vw;
    }

    .group .heart {
        width: 60px;
        height: 60px;
        margin-top: 2vw;
    }

    .group h2 {
        font-size: 5vw;
    }

    .group p {
        font-size: 4vw;
        padding: 0 4vw;
    }

    .page3 {
        height: auto;
        padding: 6vw 0;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
        gap: 5vw;
    }

    .card {
        width: 90%;
        height: auto;
        padding-bottom: 5vw;
    }

    .card p {
        margin-left: 5vw;
        font-size: 3.5vw;
    }

    .page4 p {
        font-size: 3.5vw;
        padding: 0 4vw;
    }

    .page4 h5 {
        font-size: 3vw;
    }

    .page5 .p {
        font-size: 3.5vw;
    }

    .page4 .contact {
        flex-direction: row;
        gap: 5vw;
        margin-top: 2vw;
    }

    .card h2 {
        font-size: 5vw;
    }

    .page3 h1,
    .page2 h1 {
        font-size: 6vw;
    }
}

