/* General Styles */
img {
    pointer-events: none;
}

#background {
    pointer-events: auto;
}

/* Loader Styles */
.loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #cdcdcd;
}

.loader img {
    width: 10%;
    height: auto;
    margin: 250px auto;
    display: block;
    animation: rotate 2s infinite linear;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Hidden Content */
.hidden {
    display: none;
}

/* Fonts */
.comfortaa {
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
}

h1, h2, h3, p, span {
    text-align: center;
    font-weight: 300;
}

h1 {
    color: #3f3f3f;
    font-family: Baskerville, serif;
    font-size: 60pt;
    margin-top: 0;
    padding-top: 25px;
    opacity: 0.75;
    text-decoration: underline;
}

h2 {
    color: #3f3f3f;
    font-family: Comfortaa, sans-serif;
    font-size: 30pt;
    padding-top: 20px;
    margin: 0;
}

h3 {
    color: #3f3f3f;
    font-family: Comfortaa, sans-serif;
    font-size: 20pt;
    margin: 0;
}

p {
    color: #ebebeb;
    font-family: Baskerville, serif;
    font-size: 13pt;
    padding-top: 10px;
}

/* Links */
a {
    text-decoration: none;
    color: #4b4b4b;
}

/* Body */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #159be9;
    box-sizing: border-box;
}

/* Container */
.container {
    position: relative;
    width: 100%;
    height: 2000px;
    background: url("../images/index/via.png") no-repeat center center / cover;
    box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
}

/* Frame */
.frame {
    position: sticky;
    top: 300px;
    width: 100%;
    height: 150px;
    overflow: hidden;
    z-index: 5;
    box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
}

.frame-image {
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    height: 2000px;
    background: url("../images/index/via3d.png") no-repeat center center / cover;
    z-index: 4;
}

/* Frosted Glass Effect */
.frosted-glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: rgba(205, 205, 205, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
}

/* Portfolio Container */
.portfolio-container {
    display: flex;
    justify-content: center;
    height: 75px;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Menu Containers */
.menu-container-top, .menu-container-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    background: #073a67;
    overflow: hidden;
}

.menu-container-top {
    padding-top: 5px;
    padding-bottom: 0;
    height: 250px;
    box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
}

.menu-container-bottom {
    padding-top: 0;
    padding-bottom: 5px;
    height: 275px;
    box-shadow: 0 0 0;
}

/* Menu Image Container */
.menu-image-container {
    position: relative;
    width: 31%;
    height: 225px;
    margin: 25px auto;
    padding: 0;
    overflow: hidden;
}

.menu-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Button Container */
.button-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 25px;
    width: auto;
    height: 175px;
    overflow: hidden;
    object-fit: cover;
    border-radius: 25px;

    
    
}

/* Button Image */
.button-image {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 125%;
    height: 125%;
    display: flex;
    justify-content: center;
    z-index: 2;

        
}

/* Button */
.button {
    position: absolute;
    margin: 0;
    width: 100%;
    height: 100%;
    padding-top: 75px;
    background: rgba(205, 205, 205, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    font-family: Comfortaa, sans-serif;
    font-size: 20pt;
    text-align: center;
    z-index: 5;

    
}

/* Layers */
.red-layer, .cyan-layer, .original-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.red-layer {
    filter: grayscale(100%) contrast(100%) sepia(100%) hue-rotate(-50deg) saturate(500%);
    opacity: 0.65;
    transform: translateX(-3%) rotate(3deg);
    z-index: 3;
}

.cyan-layer {
    filter: grayscale(100%) contrast(100%) sepia(100%) hue-rotate(180deg) saturate(500%);
    opacity: 0.5;
    transform: translateX(3%) rotate(-3deg);
    z-index: 4;
}

.original-layer {
    opacity: 0;
    transform: translateX(0);
    z-index: 2;
}