@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500&display=swap');

body {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-image: url('../images/bg.png'); */
    background-image: url('../images/gurupurnima-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: 'Barlow', sans-serif;
    overflow: hidden;
}

.card {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    box-shadow: 0px 0px 10px 5px black;
    border-radius: 5px;
    overflow: hidden;
    max-width: 1000px;
    max-height: var(--max-height);
    background-color: rgba(255, 255, 255, 0.5);
    /* backdrop-filter: blur(7px); */
    backdrop-filter: blur(5px);
    z-index: 999;
}

.left {
    /* background-color: #edf2c9; */
    background-color: #fe9d28;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right {
    width: 100%;
    overflow: auto;
}

img {
    width: 100%;
    object-fit: cover;
    pointer-events: none;
}

.header {
    width: 100%;
    text-align: center;
    font-size: 30px;
    font-weight: bolder;
    margin-top: 20px;
}

.quote {
    width: calc(100% - 50px);
    max-width: 300px;
    margin-top: 40px;
}

.quote:first-child {
    margin-top: 0;
}

.left-side {
    text-align: left;
}

.right-side {
    text-align: right;
}

.quotes {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 50px;
}

.cover-top,
.cover-bottom {
    width: 100%;
    height: 50%;
    position: fixed;
    left: 0;
    color: white;
    background-color: maroon;
    transition: all .20s linear;
    z-index: 9999;
}

.cover-top {
    top: 0;
    border-bottom: 0.5px solid;
}

.cover-bottom {
    bottom: 0;
    border-top: 0.5px solid;
}

.gift {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    transition: all .10s linear;
    z-index: 9999;
}

.gift:active {
    scale: 0.95;
}

.method {
    position: fixed;
    text-align: center;
    top: calc(50% + 50px);
    color: white;
    font-weight: bolder;
    z-index: 9999;
}

a {
    all: unset;
    color: blue;
    cursor: pointer;
}

.scrolldown-request {
    width: 240px;
    position: fixed;
    flex: 0;
    bottom: 20px;
    left: 50%;
    display: flex;
    translate: -50%;
    font-size: 20px;
    gap: 10px;
    background-color: white;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    border: 1px solid black;
}

.scrolldown-request img {
    width: 30px;
}

* {
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

@media screen and (max-width:600px) {
    img {
        width: 100%;
        height: 100%;
    }

    .card {
        overflow: auto;
    }
}

@media screen and (min-width:600px) {
    .card {
        display: flex;
        max-height: 550px;
    }

    .scrolldown-request {
        display: none;
    }
}

@keyframes open-card {
    from {
        max-height: unset;
        height: var(--max-height);
    }

    to {
        max-height: none;
        height: calc(100% - 20px);
    }
}

@keyframes close-card {
    from {
        max-height: calc(100% - 20px);
        height: calc(100% - 20px);
    }

    to {
        max-height: var(--max-height);
        height: var(--max-height);
    }
}