body {
    margin: 0;
    overflow: hidden;
}

.popup {
    position: fixed;
    font-size: 2rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 50px 20px 20px 20px;
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 1);
    font-family: 'AyeMatey', sans-serif;
    display: none;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    font-family: 'AyeMatey', sans-serif;
}


.popup-text {
    margin: 0;
    text-align: center;
}


.mobile-text {

    display: none;

}

.parrot {
    position: fixed;
    bottom: -10px;
    right: -60px;
    width: 400px;
    height: auto;
    z-index: 10;
    transform-origin: bottom center;
    animation: rotate 4s ease-in-out infinite;
}

.pirate {
    position: fixed;
    bottom: -10px;
    left: -100px;
    width: 400px;
    height: auto;
    z-index: 10;
    transform-origin: bottom center;
    animation: rotate-2 4s ease-in-out infinite;
}

.hover-pointer {
    cursor: pointer;
}

.parrot-flying {
    position: absolute;
    display: none;
    width: 100px;
    height: auto;
    transition: transform 6s linear;
    will-change: transform;
}

.parrot-flying-left {
    position: absolute;
    display: none;
    width: 100px;
    transition: transform 6s linear;
}


@keyframes rotate {
    0% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(-15deg);
    }
    100% {
        transform: rotate(-10deg);
    }
}

@keyframes rotate-2 {
    0% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(15deg);
    }
    100% {
        transform: rotate(10deg);
    }
}

@font-face {
    font-family: 'AyeMatey';
    src: url('https://promotions.progenix.co.za/fonts/Ayematey.ttf') format('truetype');
}

.full-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 134px);
    background-image: url('../imgs/bf2024-week4.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.popup-skullcove,
.popup-sunsetbay,
.popup-sharktoothridge,
.popup-bansheespoint,
.popup-emeraldcanopy,

.popup-blackrockmountain,

.popup-fogsreach,
.popup-witheredfells,
.popup-fangstonecrag,
.popup-solituderidge,
.popup-ravensperch,
.popup-eaglesrest,
.popup-vortexcove,
.popup-cannonballpoint {
    position: absolute;
    cursor: pointer;
    width: 10%;
    height: 10%;
}

.popup-skullcove {
    top: 42%;
    left: 21%;
}

.popup-skullcove:hover::after {
    content: "The beaches of Skull Cove be hidin' the first bounty o' savings, just waitin' fer ye to uncover it!";
}

.popup-sunsetbay {
    top: 11%;
    left: 30%;
}

.popup-sunsetbay:hover::after {
    content: "The views from Sunset Bay be the only treasures to be found here, matey!";
}

.popup-sharktoothridge {
    top: 13%;
    left: 55%;
}

.popup-sharktoothridge:hover::after {
    content: "Sharktooth Ridge be too dangerous fer even the bravest pirate to tread!";
}

.popup-bansheespoint {
    top: 13%;
    left: 74%;
}

.popup-bansheespoint:hover::after {
    content: "Banshee's Point be filled with nothin' but the hauntin' screams of drowned pirates, cryin' out fer vengeance!";
}

.popup-emeraldcanopy {

    top: 33%;

    left: 42%;

}



.popup-emeraldcanopy:hover::after {

    content: "The wood from Emerald Canopy be great fer buildin' mighty pirate ships, but terrible fer findin' treasure, aye!";

}



.popup-blackrockmountain {

    top: 54%;

    left: 41%;

}



.popup-blackrockmountain:hover::after {

    content: "Blackrock Mountain be holdin' the second week's savings, if ye dare to claim 'em!";

}



.popup-fogsreach {

    top: 39%;

    left: 51%;

}



.popup-fogsreach:hover::after {

    content: "The mist at Fog's Reach makes findin' anythin' impossible, shroudin' yer path in mystery!";

}

.popup-witheredfells {
    top: 71%;
    left: 22%;
}

.popup-witheredfells:hover::after {
    content: "Withered Fells be no man's land, with not even a drop o' water to quench yer thirst!";
}

.popup-fangstonecrag {
    top: 71%;
    left: 63%;
}

.popup-fangstonecrag:hover::after {
    content: "Fangstone Crag be likely to shipwreck ye, so steer clear if ye value yer vessel!";
}

.popup-solituderidge {
    top: 86%;
    left: 14%;
}

.popup-solituderidge:hover::after {
    content: "Solitude Ridge be too lonely fer even the hardest o' pirates to venture, arrr!";
}

.popup-ravensperch {
    top: 52%;
    left: 59%;
}

.popup-ravensperch:hover::after {
    content: "Raven's Perch holds the third week's bounties, ready fer those bold enough to claim 'em!";
}

.popup-eaglesrest {
    top: 10%;
    left: 15%;
}

.popup-eaglesrest:hover::after {
    content: "Eagle's Rest be the first obstacle to navigate. Be careful the waves don't crash ye into the rough edges, matey!";
}

.popup-vortexcove {
    top: 37%;
    left: 64%;
}

.popup-vortexcove:hover::after {
    content: "Vortex Cove might be the quickest route to Cannonball Point, but the treacherous tides be impossible to survive!";
}

.popup-cannonballpoint {
    top: 35%;
    left: 77%;
}

.popup-cannonballpoint:hover::after {
    content: "Cannonball Point holds the final bounty, with plenty to go around fer all ye swashbucklers!";
}

.popup-skullcove:hover::after,
.popup-sunsetbay:hover::after,
.popup-sharktoothridge:hover::after,
.popup-bansheespoint:hover::after,
.popup-emeraldcanopy:hover::after,

.popup-blackrockmountain:hover::after,

.popup-fogsreach:hover::after,
.popup-witheredfells:hover::after,
.popup-fangstonecrag:hover::after,
.popup-solituderidge:hover::after,
.popup-ravensperch:hover::after,
.popup-eaglesrest:hover::after,
.popup-vortexcove:hover::after,
.popup-cannonballpoint:hover::after {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1.4rem;
    z-index: 4;
    min-width: 200px;
    max-width: 250px;
    font-family: 'AyeMatey', sans-serif;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4)
}

.countdown {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: 'AyeMatey', sans-serif;
    font-size: 3rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 0px 20px;
    border-radius: 10px;
    display: inline-block;
    text-align: center;
    margin-bottom: 10px;
}

.countdown div {
    font-size: 1.5rem;
    color: white;
}

.separator {
    font-weight: bold;
    color: white;
    font-size: 3.5rem;
}

.save-button {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    background-color: orange;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 15;
    animation: breathe 3s infinite;
    text-decoration: none;
    font-family: 'AyeMatey', sans-serif;
}

.save-button:visited {

    color: white;

}

.save-button:hover {
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.8);
}

.newsletter-button {
    position: absolute;
    bottom: 13%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #48b301;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 15;
    animation: breathe-2 3s infinite;
    text-decoration: none;
    font-family: 'AyeMatey', sans-serif;
}

.newsletter-button:visited {

    color: white;

}

.newsletter-button:hover {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    transform: translateX(-50%) rotateY(180deg);
}

@keyframes breathe {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes breathe-2 {
    0%, 100% {
        transform: translateX(-50%) scale(1.05);
    }
    50% {
        transform: translateX(-50%) scale(1);
    }
}

@media (max-width: 768px) {
    .full-container {
        height: calc(100vh - 134px);
        background-size: contain;
        background-position: center;
    }

    .countdown {
        position: relative;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.5rem;
        padding: 5px;
        margin: 10px;
    }

    .separator {
        font-size: 2rem;
    }

    .save-button {
        font-size: 1rem;
        padding: 8px 16px;
        bottom: 20%;
    }

    .newsletter-button {
        font-size: 1rem;
        padding: 8px 16px;
        bottom: 30%;
    }

    .popup-skullcove,
    .popup-eaglesrest,
    .popup-sunsetbay,
    .popup-sharktoothridge,
    .popup-bansheespoint,
    .popup-emeraldcanopy,
    .popup-fogsreach,
    .popup-vortexcove,
    .popup-cannonballpoint,
    .popup-blackrockmountain,
    .popup-ravensperch,
    .popup-witheredfells,
    .popup-solituderidge,
    .popup-fangstonecrag {
        display: none;
    }

    .parrot {
        width: 45vw;
        bottom: 20px;
    }

    .pirate {
        width: 35vw;
        bottom: 20px;
        left: -15px;
    }

    .mobile-text {

        display: block;
        font-family: 'AyeMatey', sans-serif;

        color: black;

        text-align: center;

        margin-top: 20px;

        font-size: 1.6rem;

        font-weight: bold; 
    }


    .popup {
        font-size: 1.5rem;
        width: 80%;
    }
}
