:root {
    --primary: #ae1883;
    --secondary: #852143;
}

* {
    box-sizing: border-box;
}

body {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
}

nav {
    background-color: var(--secondary);
    height: 50px;
}

.logo {
    width: 30px;
    padding: 10px 20px;
}

.nav-links {
    color: #fff;
    display: flex;
    float: right;
    font-size: 18px;
    gap: 30px;
    margin-right: 60px;
}

.hero {
    background-image: url(images/bg.jpg);
    width: 100vw;
    background-repeat: no-repeat;
    background-size: cover;
    height: 93vh;
}

.hero-content {
    padding-top: 25px;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}

.hero-title {
    width: 30%;
    margin-left: 35%;
}

.hero h2 {
    color: #852143;
    margin-left: 32%;
    font-family: 'Ms Madi', cursive;
    font-size: 40px;
}

.hero p {
    color: var(--primary);
    margin-left: 400px;
    font-family: 'Commissioner', sans-serif;
}


.card-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #faddf4;
    width: 100vw;
    overflow: hidden;
}

.letter-container {
    position: relative;
    width: 800px;
    max-width: 95vw;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

.paper-img {
    width: 100%;
    height: auto;
    display: block;
}


.letter-paper {
    position: absolute;
    top: 12%;
    left: 22%;
    width: 60%;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 30px;
    color: var(--secondary);
    box-sizing: border-box;
    text-align: center;
}


.letter-paper p, 
.letter-paper h2 {
    margin: 0;
}

.dear {
    text-align: left;
    font-size: 18px;
    font-style: italic;
    font-family: 'Commissioner', sans-serif;
    color: var(--secondary);
}

.letter-heading h2 {
    font-family: 'Commissioner', sans-serif;
    font-size: 26px;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 4px;
}



.letter-icon {
    font-size: 20px;
    margin: 8px 0;
    color: var(--primary);
}

.letter-message {
    font-family: 'Commissioner', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    color: #4a1525;
    word-wrap: break-word;
    margin: 10px 0 !important;
}

.letter-signature {
    text-align: center;
    font-family: 'Ms Madi', cursive;
    font-size: 24px;
    color: var(--secondary);
}

.letter-signature p {
    color: var(--secondary);
}


button {
    background-color: var(--secondary);
    border: none;
    color: #fff;
    padding: 12px 30px;
    margin-top: 25px;
    font-size: 18px;
    font-family: 'Commissioner', sans-serif;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-left: 600px;
}

button:hover {
    transform: translateY(-3px);
}



