body {
    font-family: arial, serif;
    min-width: 950px;
    position: relative;
    overflow: hidden;
}

/* High-tech animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: -2;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-30px) translateX(5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}


#background_wrapper {
    width: 100%;
    position: absolute;
    overflow: hidden;
    max-height: 5000px;
}

#background {
    width: 100%;
    margin: 0 auto;
}

#background div {
    width: 200px;
    height: 200px;
    display: inline-block;
    float: left;
    opacity: 0;
}

#background div img {
    width: 100%;
}

#background div:hover {
    opacity: 1;
}

.more-photos {
    display: none;
    width: 100%;
    height: 50px;
    padding-top: 20px;
    position: absolute;
    text-align: center;
    font-size: 20px;
    background-color: white;
    z-index: 100;
    text-decoration: none;
    top: 100px;
    border-top: 1px solid #e4e4e4;
    color: black;

}
.more-photos:hover{
    text-decoration: none;
}

#content_wrapper {
    width: 100%;
    height: 100vh;
    text-align: center;
    position: absolute;
    overflow: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
}

#content {
    width: 900px;
    background: #ffffff;
    margin: 0 auto;
    box-shadow: 0 0 20px #000000;
    z-index: 10;
    transform: translateY(-8vh);
}
#header {
    color: #7c7c7c;
    padding-top: 50px;
    font-size: 43px;
}
img#logo {
    width: 450px;
    margin: 75px auto 15px;
}

#subtitle {
    width: 450px;
    margin: 0 auto 40px;
    font-size: 19px;
    color: #676565;
    text-align: center;
    letter-spacing: 0.5px;
    font-family: arial, serif;
    white-space: nowrap;
}

#video {
    height: 507px;
    margin-bottom: 50px;   
}

#links{
    margin-bottom: 75px;
    margin-top: 25px;    

}

#links img {
    width: 61px;
    margin: 0 0;
    padding: 0;
}

#links a {
    text-decoration: none;
}

#footer {
    color: #7c7c7c;
    padding-bottom: 75px;
    font-size: 13px;
    padding-top: 5px;
}

#labels {
    text-decoration: none;
    width: 0;
    height: 0px;
    font-size: 15px;
    overflow: visible;
    position: relative;
    left: 914px;
    top: -150px;
}

#labels-content{
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
}

#labels a {
    border-bottom: 1px solid white;
    color: white;   
    padding: 7px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    opacity: 0.9;
    padding: 7px;
}
#labels a:hover {
    opacity: 1;
}


#labels a.articles{
    width: 90px;
    background: black;
}
#labels a.favs{
    width: 20px;
    background: #e84e4e;
}


a {
    color: #514f4d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#labels-mobile {
    display: none;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 965px) {
    html, body {
        min-width: 0;
        overflow: hidden;
        height: 100vh;
        position: fixed;
        width: 100%;
    }
    
    #background_wrapper {
        display: none;
    }
    
    .more-photos {
        display: none !important;
    }
    
    #content_wrapper {
        overflow: hidden;
        height: 100vh;
    }
    
    #content {
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        background: transparent;
        transform: translateY(-100px);
        padding: 20px;
        box-sizing: border-box;
    }
    
    img#logo {
        width: 80%;
        max-width: 350px;
        margin: 40px auto 10px;
    }
    
    #subtitle {
        width: auto;
        max-width: 90%;
        font-size: min(3.5vw, 15px);
        margin: 0 auto 30px;
        white-space: nowrap;
    }
    
    #links {
        margin-bottom: 50px;
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    #links a {
        flex-shrink: 1;
        display: inline-block;
    }
    
    #links img {
        width: 45px;
        max-width: 12vw;
        margin: 0;
    }
    
    #labels {
        display: none !important;
    }
    
    #labels-mobile {
        display: block;
        position: fixed;
        right: 14px;
        bottom: 25vh;
        width: 0;
        height: 0;
        z-index: 1000;
    }
    
    #labels-content-mobile {
        transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
    }
    
    #labels-mobile a {
        border-bottom: 1px solid white;
        color: white;   
        padding: 7px;
        display: inline-block;
        text-align: center;
        text-decoration: none;
        opacity: 0.9;
        width: 90px;
        background: black;
    }
}

@media screen and (max-width: 480px) {
    #content {
        padding-left: 5px;
        padding-right: 5px;
    }
    img#logo {
        width: 90%;
        margin: 30px auto 10px;
    }
    
    #subtitle {
        width: auto;
        font-size: min(3vw, 14px);
        margin: 0 auto 20px;
        white-space: nowrap;
    }
    
    #links {
        margin-bottom: 40px;
        margin-top: 15px;
        gap: 6px;
    }
    
    #links img {
        width: 40px;
        max-width: 11vw;
    }
}

