@font-face {
    font-family: 'CustomFont';
    src: url('/Fonts/IBMPlexSansSC-Thin.woff');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    overflow: hidden;
    font-family: 'CustomFont', sans-serif;
    height: 200vh;
    background-image: url("/assets/vecteezy_antique-columns-and-temple-clipart-design-illustration_9399375.png");
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-size: cover; /* Scales the background image to cover the entire area */
    background-position: center; /* Centers the image */
}

html {
    background-color: #333;
}
.box {
    position: absolute;
    font-family: monospace;
    font-size: 1.5rem;
    color: rgba(0, 255, 0, 0.7); /* Matrix green color */
    animation: moveToTopLeft 5s linear infinite;
}

@keyframes moveToTopLeft {
    0% {
        transform: translate(100vw, 100vh);
    }
    100% {
        transform: translate(-50px, -50px);
    }
}

.text-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    margin: 5px;
    text-align: center;
    z-index: 1;
    color: aliceblue;
    font-size: 22px;
    overflow-y: auto; /* Allow scrolling for large content */
}

.text-box h1 {
    margin: 0;
    font-size: 2rem;
}

.text-box p {
    margin: 10px 0 0;
    font-size: 1rem;
}

/* Dynamic resizing */
.text-box.dynamic {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    white-space: pre-wrap; /* Wrap text properly */
}


.img {
    margin-left: 20px;
    margin-right: 20px;
    max-width: 700px;
    border: 1px solid white;
}

.divimg {
    display: flex;
    align-items: center;
    justify-content: center;
}