@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

/*scroll bar color */
html::-webkit-scrollbar {
    width: 0.5rem;
    background: #f1eaff;
}

html::-webkit-scrollbar-thumb {
    background: #392467;
    border-radius: 5rem;
}

body {
    background: #f1eaff;
    color: #392467;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

html {
    height: 100%;
}

/* Thanks Content */
.thanks {
    margin-top: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
}

.thanks-content {
    width: 30vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thanks-content #header {
    position: relative;
    font-size: 56px;
    font-weight: 700;
    text-decoration: none;
}

.thanks-content #header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #F1EAFF;
    animation: showRight 1s ease forwards;
    animation-delay: 1s;
}

.thanks-content #paragraph {
    position: relative;
    font-size: 30px;
    font-weight: 400;
}

.thanks-content #paragraph::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #F1EAFF;
    animation: showRight 1s ease forwards;
    animation-delay: 1.3s;
}

.thanks-content .btn-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    height: 50px;
    margin: 20px auto;
}

.thanks-content .btn-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 120%;
    background: #F1EAFF;
    animation: showRight 1s ease forwards;
    animation-delay: 1.9s;
    z-index: 2;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    margin-right: 5px;
    background: #392467;
    border: 2px solid #392467;
    border-radius: 8px;
    font-size: 19px;
    color:#FDBF60;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
}

.btn-box a:hover {
    color:#02265B;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FDBF60;
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover::before {
    width: 100%;
}

/* Footer */

.footer {
    align-items: center;
    flex-shrink: 0;
    padding: 2rem 9%;
    background: #392467;
    margin-top: auto;
}

.footer-text p {
    font-size: 1rem;
    color:#f1eaff;
    text-align: center;
}

@keyframes showRight {
    100% {
        width: 0;
    }
}
