@font-face {
    font-family: "Arial Black";
    src: url("fonts/Arial-Black.woff") format("woff");
}

@font-face {
    font-family: "Arial Narrow";
    src: url("fonts/Arial\ Narrow.ttf") format("ttf");
}

a:hover {
    cursor: pointer;
}

body {
    background-color: #f51059;
    overflow: hidden;
    font-family: "Arial Black";
}

img {
    z-index: -1;
}

.top {
    display: flex;
    justify-content: space-between;
}

.top p:hover {
    cursor: pointer;
}

.bottom p:hover {
    cursor: pointer;
}

p {
    margin: 0;
}

.bottom {
    display: flex;
    justify-content: space-between;
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.top a {
    text-decoration: none;
    color: black;
}

.bottom a {
    text-decoration: none;
    color: black;
}

.textbox p{
    font-size: 16px;
}

.textbox a {
    color: white;
}

.textbox a:hover {
    color: #f51059;
}

.back a {
    color: black;
}

.back a:hover {
    color: white;
}

.back {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 90%;
    width: 95%;
}

.textbox {
    overflow-y: scroll;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    align-items: center;
    text-align: center;
    width: 50vw;
    height: 60%;
    z-index: -1;
}

.textbox::-webkit-scrollbar {
    display: none;
}

.mid-text::-webkit-scrollbar {
    display: none;
}

.text {
    color:white;
    font-family: "Arial Narrow";
    text-align: center;
    display: none;
    height: 100%;
}

#talks_text {
    padding: 2%;
}

.text img {
    width: 30%;
    height: 30%
}

#plate {
    visibility: hidden;
}

.flex {
    text-align: left;
    display : flex;
    justify-content: space-between;
    align-items: center;
    gap: 5%;
}

.middle-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.left {
    width: 30%;
    object-fit: contain;
    max-height: 90vh;
}

.left > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 90vh;
}

.right {
    width: 20%;
    object-fit: contain;
    max-height: 90vh;
}

.right > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 90vh;
}

.mid-text {
    width: 35%;
    overflow-y: scroll;
    max-height: 100%;
}

.return {
    text-decoration: underline;
}

.return:hover {
    color: #f51059;
    cursor: pointer;
}