:root {
    --primary-color: #ffffff;
    --secondary-color: #dadada;
    --accent-color: #83DDFF;
    --text-color: #ffffff;
    --font-family: 'Inter-Medium', sans-serif;
}

@font-face {
    font-family: 'Inter-Medium';
    src: url('fonts/Inter-Medium.ttf');
}

@font-face {
    font-family: 'Inter-Bold';
    src: url('fonts/Inter-Bold.ttf');
}

body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    background-color: white;
    font-family: var(--font-family);
    color: var(--text-color);
    overflow: hidden;
}

.splashBackground {
    background-image: url(imgs/Background.jpg);
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splashContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
    width: 90vw;
    max-width: 1200px;
    padding: 3vh 0vh 13vh 0vh;
    box-sizing: border-box;
}

.splashLoadingImgDiv {
    display: flex;
    justify-content: center;
    width: 100%;
}

.splashLoadingImg {
    width: clamp(50px, 50vh, 250px);
    min-width: 50px;
}

.splashFunFact {
    width: 100%;
    text-align: center;
    font-family: var(--font-family);
    color: var(--primary-color);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2vh 0;
}

.splashFunFact p {
    transition: font-size 0.3s ease;
    max-width: 80%;
}

.progressOuter {
    width: 100%;
    margin-top: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress {
    width: 80%;
    max-width: 25vh;
    height: clamp(20px, 3.3vh, 40px);
    background-color: transparent;
    border: 0.2vh solid var(--accent-color); 
    position: relative;
    overflow: hidden; 
}

.progress::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--width, 0%);
    background-color: var(--accent-color); 
    transition: width 0.3s ease; 
}

.loadProgressText {
    display: none;
    font-family: var(--font-family);
    font-size: 2.5vh;
    margin-top: 3vh;
    
}    

.splashFunFactContainerTitle {
    font-family: 'Inter-Bold', sans-serif;
    font-size: clamp(1.5rem, 4.0vh, 4.5rem);
    margin-bottom: 1vh ;
}

.splashFunFactContainer{
    color: var(--accent-color);
    font-family: 'Inter-Bold', sans-serif;
    margin: 1vh auto 0; 
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 1vh;
    column-gap: 1vh;
    justify-content: center;
    font-size: clamp(1.5rem, 3vh, 2.5rem);
    margin-bottom: 10vh;
    line-height: 3.3vh;
}

@media (max-height: 500px) {
    .splashLoadingImg {
        max-height: 25vh;
    }
    .splashFunFact p {
        font-size: clamp(0.8rem, 2vh, 1.8rem);
    }
}

@media (max-width: 400px) {
    .splashLoadingImg {
        width: clamp(50px, 50vh, 200px);
        max-height: 30vh;
    }
    .splashFunFactContainer {
        font-size: clamp(1rem, 2vh, 2rem);
    }
}

@media (max-height: 300px) {
    .splashLoadingImg {
        width: clamp(25px, 50vh, 50px);
        max-height: 15vh;
    }
    .splashFunFactContainerTitle {
        font-size: clamp(1rem, 1.5vh, 3rem);
    }
    .splashFunFactContainer {
        font-size: clamp(0.8rem, 1.5vh, 2rem);
        line-height: 2.5vh;
    }
}