@font-face {
    font-family: 'NewRodin';
    src: url('NewRodin.otf');
}

@font-face {
    font-family: 'RodinPro';
    src: url('RodinProM.otf');
}

html {
    background: repeat url(assets/photos/bg/edmonton.jpeg);
    background-size: cover;
    background-position: center;
    background-origin: padding-box;
    background-attachment: fixed;
    backdrop-filter: blur(10px);
    transition: background-size 0.25s;
}
.glass-panel {
  background: rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(10px);           
  -webkit-backdrop-filter: blur(10px);  
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
}
.top-bar {
    position: fixed;
    top: 20px;
    z-index: 1000;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 800px;
    width: 90%;
    background-color: rgba(26, 27, 39);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.logo {
    font-weight: bold;
    font-size: 24px;
    color: white;
}
.nav-links a {
    text-decoration: none;
    color: white;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: aqua;
}

body {
    background-color: rgba(26, 27, 39, 0.9);
    color: white;
    font-family: NewRodin;
    max-width: 800px;
    margin: 120px auto 30px auto;
    border-radius: 30px;
    padding: 20px 20px;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

h2 {
    margin: 0px;
}
p {
    font-family:  RodinPro;
}



@media (max-width: calc(800px + 32px)) {
    html {
        height: 100%
    }
    body {
        margin: 0px 0px;
        padding: 16px 16px;
        height: 100%;
    }
}

.Header {
    padding: 0px;
    text-align: left;
    color: black;
    font-size: 30px;
}
.SubHeader {
    margin: 0px;
}

.Dialogue {
    float: right;
    width: 550px;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(to bottom, #f5f5f5 0%, #dcdcdc 100%);
    border: 4px solid aqua;
    box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -2px 5px rgba(0, 0, 0, 0.05),
    0 4px 6px rgba(0, 0, 0, 0.1);
}

.Dialogue::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.9) 0%,
                                rgba(255, 255, 255, 0.4) 100%
    );
    border-radius: 15px 15px 30px 30px;
    z-index: -1;
}

.DialogueImage {
    float: left;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 25px 0 0;
    position: relative;
    overflow: hidden;
    border: 4px solid aqua;
    background-color: white;
    box-shadow:
    inset 0 0 15px rgba(255, 255, 255, 0.5),
    0 8px 20px rgba(0, 0, 0, 0.25);
}
.DialogueImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.DialogueImage::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.7) 0%,
                                rgba(255, 255, 255, 0) 40%,
                                rgba(255, 255, 255, 0) 100%
    );
    border-radius: 50%;
    pointer-events: none;
}

.Image {
    border-radius: 20px;
    overflow: hidden;
    width: 100%
    height: 100%
    object-fit: cover;
    display: inline-block;
    border: 4px solid aqua;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}




.DialogueContainer {
    margin-top: 25px;
    margin-bottom: 25px;
    display: inline-block;
}
.Timestamp {
    color: darkgrey;
    margin-bottom: 20px;
}

z {
    font-size: 20px;
    margin-bottom: 5px;
    margin-top: 0px;
    font-family: RodinPro;
}

y {
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-family: RodinPro;
}

.ImageInfo {
    color: dimgray;
    margin-bottom: 20px;
}

z {
    font-size: 20px;
    margin-bottom: 5px;
    margin-top: 0px;
    font-family: RodinPro;
}

y {
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-family: RodinPro;
}


.page-container {
    position: relative;
    max-width: 800px; 
    margin: 0 auto;  
}

.sidebar-decoration {
    position: absolute;
    left: -160px; 
    top: 50px;
    z-index: 10;
}

.floating-img {
    width: 120px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.center {
    margin: auto;
}

.buttons img {
    position: relative;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s, z-index 0s 0.4s;
    z-index: 1;
}


.buttons img:hover{
    transform: scale(1.5);
    z-index: 10;
    transition: transform 0.4s, z-index 0s 0s;
}

.buttons a:hover ~ a img {
    z-index: 1;
    /* Force instant drop (0s delay) */
    transition: transform 0.4s, z-index 0s 0s;
}

@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css);

/* ===== AUTOPLAY ===== */
.buttondiv {
    cursor: pointer;
    position: fixed;
    height: 35px;
    bottom: 5px;
    width: 35px;
    left: 5px;
    color: white;
    z-index: 1;
}

.autoplayer button {
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    color: black;
    border: none;
    padding: 1px 4px 0px 4px;
    font-size: 18px;
    position: fixed;
    height: 35px;
    bottom: 5px;
    width: 35px;
    left: 5px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 20px;


}

.autoplayer a {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 2px 10px;
    position: fixed;
    font-size: 14px;
    bottom: 5px;
    z-index: 1;
    left: 50px;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    font-family:  RodinPro;


}



