* {
    padding: 0; margin: 0;
    font-family: Arial;
}

/* MARK: Background */
#cont-background {
    width: clamp(320px, 100%, 100dvw); height: 100dvh;
    background-image: url("./PirateBG.jpg");
    background-repeat: no-repeat; background-position: center;
}

#cont-background::before {
    content: "";
    position: absolute; z-index: 1;
    background-color: rgba(22,22,29,0.9);

    width: 100%; height: 100%;
}

/* MARK: Foreground */
#cont-foreground {
    position: relative; z-index: 2;
}

/* MARK: Nav Bar */
.navbar {
    background: #000000;
    background: linear-gradient(180deg, rgba(0, 0, 153, 0.5) 0%, rgba(114, 199, 251, 0.75) 100%);

    /* MARK: Site Logo */
    & .site-logo {
        width: clamp(128px, 50dvw, 256px);
        margin: 10px 20px;
        opacity: 0;
    }
}

/* MARK: Content Container */
#cont-content {
    background-color: rgba(0, 0, 153, 0.5); color:white;
    border-radius: 20px;
    padding: 20px; margin: 20px;

    text-align:center;
    line-height: 2;

    font-size: clamp(16pt, 5rem, 20pt);

    height: 75dvh;
    overflow: auto;
}

#cont-media {
    display: flex;
    justify-content: center;
}

.message-img {
    height:256px;
}

/* MARK: Loader */
.loader {
    height: 48px;
    animation: infinite 1s spin linear;
    filter:invert();
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* MARK: Flip Animation */
.flip-in {
    transform-origin: left;
    animation: flipIn 0.2s ease-in-out;
}

@keyframes flipIn {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

.flip-out {
    transform-origin: left;
    animation: flipOut 0.2s ease-in-out;
}

@keyframes flipOut {
    0% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

/* MARK: Fade Animation */
.fade-in {
    animation: 1s fadeIn linear;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* MARK: Alignment */
.align-center {
    display: flex;
    align-items: center;
}

/* MARK: Medium Screen Responsive */
@media screen and (min-width:641px) {
    #cont-background {
        background-size: cover;
    }

    #cont-content {        
        width:50dvw; height: 75dvh;
        animation: normal 1s ease-in-out, entry 1s ease-in-out;

        text-align: justify;
    }
}