@font-face {
    font-family: 'mcfont';
    src: url('monocraft.ttf') format('truetype');
}

body {
    margin: 0;
    font-family: mcfont, sans-serif;
    background: linear-gradient(to bottom, rgb(10, 177, 228), rgb(1, 42, 112));
    background-attachment: fixed;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100vh;
    font-size: 0.8em;
}
/* body::-webkit-scrollbar {width: 0;height: 0;} */

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: no-repeat center center fixed;
    background-image: url('bg.jpg');
    background-size: cover;
    filter: blur(3px);
    z-index: -2; /* Place it behind all other content */
}

button {
    color: rgb(181, 181, 255);
    border: none;
    padding: 10px;
    border-radius: 10px;
    background: rgb(0,0,0,0.3);
}

td {padding: 5px;}
p { font-size: 1.1em; }

a { color: white; }

h0 {font-size: 3.5em; }
h1 {font-size: 2em;}
h2 {padding: 0px;}

.header { margin-top: 20px; }

.logo {
    position: relative;
    width: 50%;
    max-width: 400px;
}

.box-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 20px 0;
}

.info-box {
    flex: 1;
    margin: 0 10px;
    padding: 8px;
    font-size: 0.9em;
    background-color: rgba(0, 0, 0, 0.5);
    /* background-color: rgb(114, 137, 218, 0.9); */
    text-align: center;
    border-radius: 25px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.info-box:hover {
    background-color: rgba(0, 0, 0, 1);
    /* background-color: rgb(91, 110, 174, 1); */
}

.nav-bar {
    width: 100%;
    background-color: rgb(62, 111, 168, 0.8);
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.nav-bar a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

.nav-bar a:hover {
    color: #b5b7c4;
}


.content-box {
    width: 100%;
    max-width: 65%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin: 20px 0;
}

.shop-box {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    margin: 10px;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.fade-in.once {
    animation: fadeIn 0.5s ease-in forwards; /* forwards keeps the element in the end state */
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeOut {
    100% { opacity: 1; }
    0% { opacity: 0; }
}

.fade-out {
    opacity: 0;
    animation: fadeOut 0.5s ease-out backwards;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
}

.bubble {
    position: fixed;
    pointer-events: none;
    z-index: -1; /* Place it behind all other content */
    /* width: 100px;
    height: 100px;
    transform-origin: center; */
}

video {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 1);
    overflow: hidden;
    outline: none;
}

video::-webkit-media-controls {
    border-radius: 15px;
}