/* Additional class attribute to modify behavior of elements. */
.center-h{ /* add to element to horizontally center it */
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.center-v{ /* add to container to center its elements */
    display: flex !important; 
    justify-content: center; 
    align-items: center; 
}

.inherit{ /* make image same size as container */
    width: 100%;
    height: 100%;
}

.size-100{ /* use to adjust length of .page class, crucial for controlling sticky .label */
    height: 100vh;
}

.size-200{ /* use to adjust length of .page class, crucial for controlling sticky .label */
    height: 200vh;
}

.size-300{ /* use to adjust length of .page class, crucial for controlling sticky .label */
    height: 300vh;
}

.size-400{ /* use to adjust length of .page class, crucial for controlling sticky .label */
    height: 400vh;
}

.size-500{ /* use to adjust length of .page class, crucial for controlling sticky .label */
    height: 500vh;
}

.size-600{ /* use to adjust length of .page class, crucial for controlling sticky .label */
    height: 600vh;
}

.size-full{ /* control horizontal length with .line-v */
    width: 50%;
}

.size-partial{ /* control horizontal length without .line-v */
    width: calc((100% - 5% - 2px)/2);
}

.order-reverse{ /* reverse order of flex container, ensure correct wrapping on mobile */
    flex-direction: row-reverse;
}

/* Special space control elements. */
.spacer{ /* add fix amount of space */
    height: 5vh;
    width: 100%;
    display: block;
    min-height: 5vh;
}

.fill{ /* fill remaining space in flex */
    flex: 1;
    height: 1%;
    object-fit: cover;
}

/* Shared elements across different pages. */
a{
    text-decoration: none;
}

.page{
    display: block;
    width: 100%;
    display:flex;
    flex-direction: column;
    /* use with size- classes */
}

.logo-main{
    width: 20vw;
    margin-top: 20vh;
}

h1{
    font-family: jockey;
    color: #c7e2ffc0;
    font-size: 3rem;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.header-main{
    width: 50vw;
}

.header-main-large{
    font-size: 4rem;
}

.shadow-white{
    border: 1px solid #000000;
    transition: 0.5s;
}

.shadow-white:hover{
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 0px 47px -12px #FFFFFF;
}

.button-a{
    font-family: jockey;
    background-color: #000000;
    border-radius: 20px;
    width: 30vw;
    height: 10vh;
    cursor: pointer;
    text-decoration: none;
}

.button-a span{
    color: #F9B7B7;
    font-size: 2rem;
    display: block;
    text-align: center;
    width: fit-content;
    height: fit-content;
}

.label{
    position: sticky;
    top: 1rem;
    left: 0;
    font-family: jockey;
    background-color: #000000;
    border: 1px solid #000000;
    border-radius: 0 20px 20px 0;
    width: 20vw;
    height: 10vh;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 0px 24px -12px #FFFFFF;
    z-index: 10;
    min-width: fit-content;
    padding-left: 1rem;
    padding-right: 1rem;
}

.label span{
    color: #F9B7B7;
    font-size: 2rem;
    display: block;
    text-align: center;
    width: fit-content;
    height: fit-content;
}

.pagebox{
    display: flex;
    width: 80%;
    height: 85vh;
    /* background-color: red; */
}

.pagebox-fill{
    display: flex;
    width: 80%;
    height: calc(85vh - 4rem);
}

.pagebox-fill-extend{
    height: calc(85vh - 4rem - 2.5% - 2px) !important;
}

.line-v{
    margin-left: 2.5%;
    margin-right: 2.5%;
    width: 2px; 
    height: 80%;
    margin-top: 5%;
    background-color: #c7e2ff;
}

.contentbox{
    position: relative;
    /* use with size-full or size-partial, depending on if line-v is used */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contentbox img{
    height: 80%;
    width: 100%;
    object-fit: contain;
}

.contentbox h2{
    /* max-width: 60%; ??? different monitor issue?*/
    max-width: 75%;
    width: fit-content;
    height: fit-content;
    font-family: jockey;
    color: #c7e2ffc0;
    /* font-size: 3.5rem; ??? different monitor issue?*/
    font-size: 2.8rem;
    text-align: center;
    margin-top: 10%;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: #c7e2ff solid 2px;
}

.underline{
    border-bottom: #c7e2ff solid 2px;
    padding-bottom: 2.5%;
}

.contentbox p{
    height: fit-content;
    font-family: jockey;
    color: #FFFFFF;
    /* font-size: 2.5rem; ??? different monitor issue?*/
    font-size: 1.8rem;
    text-align: center;
    margin-top: 5%;
    margin-bottom: 0.5rem;
    width: 90%;
}

.image-label{
    position: relative;
    color: #F9B7B7 !important;
    font-size: 2rem !important;
    margin: 0 !important;
    top: -15vh;
    text-align: left !important;
}

.hover-enlarge{
    cursor: pointer;
}

.enlarge{
    transition: 0.5s;
}

.hover-enlarge:hover .enlarge{
    font-size: 2.1rem !important;
    
}

.hover-enlarge:hover img.enlarge {
    transform: scale(1.1);
}

.header--red{
    color:#F9B7B7;
}