body,
html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'JioType', Arial, sans-serif;
    /* min-height: 100vh; */
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
    src: url();
}

/* @font-face {
    font-family: 'JioType';
    src: url('/JioType-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
} */
/* 
@font-face {
    font-family: 'JioType';
    src: url('/JioType-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
} */

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #1a347b, #d9008d, #1a347b, #d9008d);
    background-size: 400% 400%;
    animation: gradient 30s ease infinite;
    z-index: -1;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.header {
    height: 30%;
    width: 100%;
    text-align: center;
    padding: 0px 0px;
    position: fixed;
}

.fakeheader {
    height: 30%;
    width: 100%;
    text-align: right;
    padding: 0px 0px;
    position: relative;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0px 0px;
    position: relative;
}

h1 {
    font-size: 6rem;
    color: #ffffff;
    font-weight: 700;
    /* background-color: #ae00ff; */
    letter-spacing: -1px;
    margin: 0 0 10px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 2.5s cubic-bezier(0.19, 1, 0.22, 1) 1s forwards;
}

h7 {
    font-size: 1rem;
    color: #ffffff;
    background-color: #ae00ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 100%;
    font-weight: 1;
    letter-spacing: 1px;
    margin: 0 0 4px 0;
    opacity: 0;
    font-style: normal;
    text-align: center;
    transform: translateY(20px);
    animation: revealText 2.5s cubic-bezier(0.19, 1, 0.22, 1) 1s forwards;
}

h8 {
    font-size: 10rem;
    color: #000000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 150%;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0 0 0px 0;
    padding: 0px;
    opacity: 0;
    font-style: normal;
    text-align: center;
    transform: translateY(20px);
    animation: revealText 2.5s cubic-bezier(0.19, 1, 0.22, 1) 1s forwards;
}

.FT1 {
    font-size: 0.75rem;
    color: #ffffff;
    /* background-color: #e9dfee; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* font-size: 100%; */
    font-weight: 1;
    letter-spacing: 0px;
    margin: 0 0 4px 0;
    opacity: 0;
    font-style: normal;
    text-align: center;
    transform: translateY(20px);
    animation: revealText 2.5s cubic-bezier(0.19, 1, 0.22, 1) 1s forwards;
}

.merger-info {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 500;
    margin: 0 0 5px 0;
    opacity: 0;
    transform: translateY(15px);
    animation: revealText 2s cubic-bezier(0.19, 1, 0.22, 1) 2s forwards;
    line-height: 1.4;
    text-align: center;
}

.letter {
    /* height: 10%; */
    background: rgba(255, 255, 255, 0.7);
    padding: 5px;
    margin: 0 auto;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    animation: revealLetter 1.5s cubic-bezier(0.19, 1, 0.22, 1) 2.5s forwards;
}

.letterT {
    background: rgba(255, 255, 255, 0.7);
    padding: 1px;
    margin: 0 auto;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    animation: revealLetter 1.5s cubic-bezier(0.19, 1, 0.22, 1) 2.5s forwards;
    text-align: center;
}

.letterT1 {
    font-size: 4.1rem;
    color: #ae00ff;
    background: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    padding: 0px;
    margin: 0px;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    animation: revealLetter 1.5s cubic-bezier(0.19, 1, 0.22, 1) 2.5s forwards;
    text-align: center;
}

.letter p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
    margin: 0 0 20px 0;
    text-align: left;
}

.letter p:last-child {
    margin-bottom: 0;
}

.email-link {
    text-decoration: none;
    color: #000000;
    border-bottom: 1px dotted rgba(0, 17, 253, 0.959);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: #002855;
    font-size: 1.3rem;
    border-bottom: solid;
    opacity: 0.8;
    border-bottom-color: rgba(0, 0, 0, 0.8);
}

#demo {
    margin: 0%;
    padding: 0%;
    text-align: center;
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealLetter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 4rem;
        margin-bottom: 30px;
    }

    .merger-info {
        font-size: 1.4rem;
        margin-bottom: 50px;
    }

    .letter {
        margin: 0 20px;
        padding: 0px;
    }

    .letter p {
        font-size: 1rem;
    }
}