/* ===== GLOBAL IMPORTS & RESETS ===== */
@import url('./components.css');
@import url('./utilities.css');
@import url('./colour.css');

html {
    margin: 0;
    padding: 0;
    height: 100%;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-weight: 400;
    margin: 0 !important;
    padding: 0;
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #333;
}

.flex {
    display: flex;
}

.none {
    display: none;
}

.flex-wrap{
    display: flex;
    flex-wrap: wrap;
}

.overflow-wrap{
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(1.6rem, 3.2vw, 3.2rem);
    font-weight: 700;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.4rem, 2.6vw, 2.6rem);
    font-weight: 700;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    line-height: 1.15;
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.9rem);
    font-weight: 600;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    line-height: 1.2;
}

h4 {
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    font-weight: 600;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    line-height: 1.3;
}

h5 {
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 500;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    line-height: 1.3;
}

p {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    line-height: 1.65;
    font-weight: 400;
}

.normal {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    line-height: 1.65;
    font-weight: 400;
}

a {
    font-size: inherit;
    text-decoration: none;
}

td {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    font-weight: 400;
}

.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 1vw auto;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

#welcome {
    margin-top: 6%;
    text-align: center;
    justify-content: center;
}

@media (min-width: 2000px) {
    h1 {
        font-size: 80px;
    }

    h2 {
        font-size: 72px;
    }

    h3 {
        font-size: 50px;
    }

    h4 {
        font-size: 36px;
    }

    h5 {
        font-size: 24px;
    }

    p {
        font-size: 22px;
    }

    .normal {
        font-size: 22px;
    }

    a {
        font-size: inherit;
    }

    td {
        font-size: 22px;
    }
}


@media (max-width: 1000px) {
    h1 {
        font-size: clamp(1.4rem, 2.8vw, 2.4rem);
    }

    h2 {
        font-size: clamp(1.3rem, 2.2vw, 2rem);
    }

    h3 {
        font-size: clamp(1.05rem, 1.8vw, 1.6rem);
    }

    h4 {
        font-size: clamp(1rem, 1.3vw, 1.3rem);
    }

    h5 {
        font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    }

    p {
        font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    }

    .normal {
        font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    }

    a {
        font-size: inherit;
    }

    td {
        font-size: clamp(0.9rem, 1.1vw, 1rem);
    }

    .flex {
        display: block;
    }

    .wrapper {
        display: block;
    }

    #welcome {
        margin-top: 10%;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: clamp(1.5rem, 5.5vw, 2.2rem);
    }

    h2 {
        font-size: clamp(1.3rem, 4vw, 1.9rem);
    }

    h3 {
        font-size: clamp(1.1rem, 3.5vw, 1.6rem);
    }

    h4 {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
    }

    h5 {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
    }

    p {
        font-size: clamp(1rem, 2.5vw, 1.05rem);
        line-height: 1.7;
    }

    .normal {
        font-size: clamp(1rem, 2.5vw, 1.05rem);
        line-height: 1.7;
    }

    a {
        font-size: inherit;
    }

    td {
        font-size: clamp(0.95rem, 2vw, 1rem);
    }

    #welcome {
        margin-top: 15%;
    }
}