body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -200%;
    left: -200%;
    width: 500%;
    height: 500%;
    background: linear-gradient(
            45deg,
            #679b41,
            #0e528c,
            #679b41,
            #0e528c
    );
    animation: spin 16s linear infinite;
    z-index: -1;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

section img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

#code {
    position: fixed;
    display: inline-block;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    line-height: 75px;
    color: #fff;
    background: linear-gradient(45deg, #0f4c81, #1e6b3b);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    animation: shadowPulse 2s infinite alternate;
}

#pdf {
    position: fixed;
    left: 2%;
    height: 130px;
    top: calc(100vh - 130px);
    width: 96%;
    font-size: 45px;
    border-radius: 30px;
    background-color: #ffffff;
    box-shadow: inset 0 0 15px 4px #063d64;
    color: #0f4c81;
    text-align: center;
    text-decoration: none;
    z-index: 1001;
}

#code span {
    font-size: 32px;
    color: #c3ff15;
}

#pdf span {
    font-weight: bold;
    font-family: ui-monospace;
    text-shadow: 4px 4px #00000024;
    position: relative;
    top: 36px;
    animation: pulseColor 10s ease-in-out infinite;
}

@keyframes pulseColor {
    0% {
        color: #679b41;
    }
    50% {
        color: #0e528c;
    }
    100% {
        color: #679b41;
    }
}

@keyframes shadowPulse {
    0% {
        box-shadow: 0 0 15px rgba(0, 100, 255, 0.8), 0 0 5px rgba(0, 100, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 25px rgba(0, 255, 100, 0.9), 0 0 10px rgba(0, 255, 100, 0.6);
    }
}

button:hover {
    transform: scale(1.05);
    animation: shadowPulse 0.5s infinite alternate;
}

.img {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 11px 11px 20px 0 #152342;;
    margin: auto;
    border-radius: 20px;
}

@media (max-width: 767px) {
    button {
        line-height: 35px;
    }
}
