/* styles.css */
@font-face {
    font-family: "chicagokare";
    src: url("chicagokare.woff2") format("woff2"),
         url("chicagokare.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    background-image: url("azul.avif");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: "chicagokare", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Centering the box on the page */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 20px;
}

/* The Floating Box */
.floating-box {
    aspect-ratio: 1.197 / 1;
    /* width is derived from BOTH viewport limits at once, so the
       box always keeps its ratio, on wide screens and tall screens alike */
    width: min(90vw, 90vh * 1.197);
    /* Background Image Settings - using contain to prevent cropping */
    background-image: url("introduction.avif");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* lets child text scale to the BOX size, not the viewport size */
    container-type: inline-size;
}

/* Content positioning inside the floating box */
.content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Padding to position text within the 'window' area of the background image */
    padding: 18% 8% 8% 8%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: black;
}

.main-heading {
    color: black;
    font-family: "chicagokare", sans-serif;
    font-size: clamp(0.7rem, 4.4cqw, 1.8rem);
    font-weight: bold;
    margin: 0 0 2cqw 0;
    line-height: 1.3;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(0.55rem, 2.6cqw, 1.1rem);
    line-height: 1.5;
}

.info-table td {
    padding: 0.6cqw 0.5cqw;
    vertical-align: middle;
}

.text-cell {
    text-align: left;
    color: black;
}

.link-cell {
    text-align: right;
}

a {
    color: #0000EE; /* Standard link blue to match the retro aesthetic */
    text-decoration: underline;
    font-family: "chicagokare", sans-serif;
}

a:visited {
    color: #551A8B;
}

a:hover {
    color: #FF0000;
}