:root {
    --animation-duration: 6s;
}
* {
    margin: 0;
    padding: 10px;
    font-family: "Delius", serif;
    box-sizing: border-box;
    font-size: 16px;
    cursor: none;
}
*:hover {
    cursor: none;
}
::selection {
    background: #895dfe;
    color: #feddd0;
}
body {
    background: #feddd0;
    background: linear-gradient(0deg, rgba(254,221,208,1) 0%, rgba(254,238,208,1) 35%, rgba(254,247,208,1) 100%);
}
h1{
    font-size: 20px;
}
h2{
    font-size: 18px;
}
html{
    overflow-x: hidden;
}
.timeline {
    position: relative;
    min-height: 100vh; 
    max-width: 1250px;
    margin: 100px auto;
    width: 100%;
}
.container {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    animation: movedown 1s linear forwards;
    opacity: 0;
}
@keyframes movedown {
    0% {
    opacity: 0;
    transform: translate(-30px);
}
100% {
    opacity: 1;
    transform: translate(0px);
}
}
.text-box {
    text-indent: 10px;
    padding: 30px 15px;
    background-color: #fff;
    position: relative;
    font-size: 17px;
    border: solid 1px #c7c7c7;
    box-shadow: 10px 10px #895dfe;
    text-align: justify;
    text-align-last: center;
    left: 0px;
    top: 0px;
    transition: box-shadow 0.25s ease, left 0.25s ease, top 0.25s ease;
}
.text-box:hover{
    box-shadow: 1px 1px #895dfe;
    left: 9px;
    top: 9px;
    transition: box-shadow 0.7s ease, left 0.7s ease, top 0.7s ease;
}
.text-box .letter small{
    font-size: 10px;
    padding: 0px;
    font-style: italic;
}
sticker{
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: contain !important;
}
.text-box .letter sticker.together {
    background: url(../img/together.webp);
}
sticker.mich {
    background: url(../img/mich.webp);
}
sticker.val {
    background: url(../img/val.png);
}
footer.footer {
    bottom: -100px;
    color: #895dfe;
    position: absolute;
    text-align: center;
    width: 100%;
}
.left-container {
    left: 0;
}
.right-container {
    left: 50%;
}
.timeline::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 100%;
    background: #895dfe;
    top: 0px;
    left: 50%;
    margin-left: -1px;
    z-index: -1;
    border-radius: 5px;
    animation: moveline var(--animation-duration) linear forwards;
}
@keyframes moveline {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}
.text-box h2 {
    color: #563b9d;
    font-weight: 600;
}
.text-box small {
    display: inline-block;
    margin-bottom: 5px;
}
.container:nth-child(1) {
    animation-delay: 0s;
}
.container:nth-child(2) {
    animation-delay: 1s;
}
.container:nth-child(3) {
    animation-delay: 2s;
}
.container:nth-child(4) {
    animation-delay: 3s;
}
.container:nth-child(5) {
    animation-delay: 4s;
}
.container:nth-child(6) {
    animation-delay: 5s;
}
.container:nth-child(7) {
    animation-delay: 6s;
}
.container:nth-child(8) {
    animation-delay: 7s;
}
.container:nth-child(9) {
    animation-delay: 8s;
}

/* pass */
.pass {
    position: fixed;
    top: 0%;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.pass.hide {
    top: -150%;
    transition: top 1s ease-in-out;
}
.pass-content {
    text-align: center;
}
.pass-content input {
    display: inline-block;
    border: none;
    border-bottom: solid 1px;
    width: 90%;
}
.pass-content input:focus {
    outline: none;
    border-color: #895dfe;
}
.pass-content button {
    display: block;
    padding: 15px 30px;
    border: none;
    background-color: #895dfe;
    color: #fff;
    margin: 0 auto;
    margin-top: 15px;
}
.pass-content small {
    color: #fa4134;
    line-height: 40px;
}

/* cursor */
.cursor {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    z-index: 1001;
    background: rgba(136, 93, 254, 0.75);
    transition: background 0.3s ease, transform 0.3s ease;
}

.cursor.expand {
    transform: translate(-50%, 0%) scale(1.5);
    transition: background 0.3s ease, transform 0.3s ease;
}

.cursor.hover {
    background: rgba(106, 65, 195, 0.35);
    transition: background 0.3s ease, transform 0.3s ease;
}

button#gift {
    position: fixed;
    right: 50px;
    z-index: 9999;
    bottom: 50px;
    background: #895dfe;
    color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 0px 0px 7px #895dfe;
    transition: box-shadow 0.3s ease;
}
button#gift:hover {
    box-shadow: 0px 0px 15px 7px #895dfe;
    transition: box-shadow 0.3s ease;
}
.modal-gift.hidden {
    display: none;
}
.modal-gift {
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(137, 93, 254, 0.57);
    width: 100%;
    height: 100%;
}
.modal-gift #close{
    text-decoration: underline;
    color: #895dfe;
}
.modal-content {
    width: 500px;
    max-width: 95%;
    background: #fff;
    padding: 50px 15px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 7px;
    margin: 0 auto;
    margin-top: 7%;
}

@media screen and (max-width: 720px) {
    .cursor {
        display: none !important;
    }
    footer.footer {
        bottom: -70px;
    }
    .timeline {
        margin: 50px auto;
    }
    .timeline::after {
        left: 10px;
    }
    .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 10px;
        margin-bottom: 15px;
    }
    .right-container, .left-container {
        left: 0;
    }
    .left-container img {
        left: 0px;
    }
    .right-container img {
        left: 3px;
    }
}
  