
/* Menu CSS */
.hamburger {
    position: fixed;
    z-index: 100;
    top: 1rem;
    right: 1rem;
    padding: 4px;
    border: none;

    width: 48px;
    height: 48px;
    border-radius: 50%;

    background: #92D1C3;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    padding: 0;
}

.material-icons {
    color: #4B8C75;
}

.closeIcon {
    display: none;
}

.menu {
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: #92D1C3;
    color: white;
    list-style: none;
    padding-top: 1rem;
    margin-top: -10px;
    margin-bottom: -10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menuItem {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    /* border: black solid 1px; */
    max-width: 800px;
    margin: 0 auto;
    margin-top: 80px;
}

.menuItem a {
    position: relative;
    text-decoration: none;
    color: #4B8C75;
    font-size: 2rem;
}

.menuItem a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: #4B8C75;

    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.menuItem a:hover::after {
    transform: translateX(-50%) ScaleX(1);
}

.showMenu {
    opacity: 1;
    pointer-events: auto;
}


/* Main CSS */
body {
    display: flex;
    min-height: 100vh;
    margin: 0px;
    background-color: #d3e9e4;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
}

h1 {
    color: #4B8C75;
    margin-top: 40px;
    text-align: center;
    font-size: 40px;
}

h2 {
    color: #4B8C75;
}

.wrapper {
    margin-top: 100px;
    margin:20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    z-index: 1;
    position: relative;
}

p {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #4B8C75;
}

footer {
    margin-top: 20px;
    margin-bottom: -20px;
    background: #92D1C3;
    padding: 10px;
    z-index: 0;
}

button {
    background-color: #92D1C3;
    border: none;
    border-radius: 15px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
}

a {
    text-align: center;
}

.pfpImage {
    max-width: 40%;
    border-radius: 50%;
}

.iconImage {
    max-width: 10%;
    /* border-radius: 100%; */
}



.boxContainer {
    display: flex;
    align-items: center;
    gap: 20px;
}

.boxContainer img {
    width: auto;
    height: auto;
}

.boxContent {
    flex: 1;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#container3D {
    position: relative;
    width: 100%;
    height: 100vh;
    flex: 1;
    border-radius: 0;
    overflow: hidden;
}

#container3D canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

#window {
    width: 400px;
    height: 350px;
    border-radius: 10px;
    border: 2px solid #92D1C3;
    background-color: #1e1e1e;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: monospace;

    --window-title: "emotaSentaSedan </>";
}

#window::before {
    content: var(--window-title);
    background-color: #92D1C3;
    color: #4B8C75;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #92D1C3;
}


#loader {
    --loader-bg: #548f82;
    --loader-fill: #92D1C3;
    --loader-text: #ffffff;

    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #69b3a2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#loaderBar {
    width: 60%;
    height: 10px;
    background: var(--loader-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

#loaderFill {
    width: 0%;
    height: 100%;
    background: var(--loader-fill);
    transition: width 0.3s ease;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}