/* Basic Reset */
* {
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Nohemi', 'Open Sans', 'Helvetica Neue', sans-serif;
}
/* Main Container */
.container {
    min-height: 100vh; /* Full height */
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow: hidden;
    background-color: #010e11;
    animation: colorAnimate 8s linear infinite;
}
@keyframes colorAnimate {
    100% {
        filter: hue-rotate(360deg);
    }
}
/* Centered Div Styling */
.centered-div {
    position: relative;
    width: 250px; /* Set width */
    height: 250px; /* Set height */
    background-color: #0ef;
    padding: 20px;
    border-radius: 50%;
}
.centered-div .image img {
    position: relative;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    max-width: 350px;
    left: -55px;
    z-index: 2;
}
.centered-div span {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    opacity: 0.8;
    animation: pulseAnimate 4s ease-out infinite;
    animation-delay: calc(1s * var(--i));
}

@keyframes pulseAnimate {
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Menu Item Styling */
.menu {
    width: 50px; /* Set width */
    height: 50px; /* Set height */
    margin: 35px;
    border-radius: 50%; /* Rounded edges to make it a circle */
    background-color: #007BFF; /* Background color */
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    position: absolute;
    color: white;
    cursor: pointer;
}

.icon {
    padding: 0;
    text-align: center;
    font-weight: 300;
    font-size: 18px;
}

/* Position Each Menu Item */
.top-left {
    top: 10px;
    left: 10px;
}

.top-right {
    top: 10px;
    right: 10px;
}

.bottom-left {
    bottom: 10px;
    left: 10px;
}

.bottom-right {
    bottom: 10px;
    right: 10px;
}

.bottom-center {
    position: absolute;
    bottom: 50px;
}
.bottom-center h4 {
    color: aliceblue;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.2rem;
}

@media only screen and (max-width: 800px) {
    .bottom-center {
        bottom: 150px;
    }
}

/* Page Styles */
.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: red;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 10;
    transform: translateY(-100%); /* Start off screen */
    transition: transform 0.7s ease; /* Animation for slide effect */
}

.page.active {
    transform: translateY(0); /* Slide into view */
    transition-delay: 250ms; /* Animation for slide effect */
}

/* Layout Container */
.layout-container {
    width: 100%; /* Full width */
    max-width: 1200px; /* Max width for larger screens */
    margin: 20px auto; /* Center the container */
    padding: 20px;
    background-color: #21373b;
    border-radius: 2rem ;
}

/* Header and Footer */
.layout-header,
.layout-footer {
    width: 98%; /* Full width */
    padding: 10px;
    color: white;
    text-align: center; /* Center text */
}

/* Main Content Area */
.layout-content {
    display: flex; /* Use flexbox for columns */
    justify-content: space-between; /* Space between columns */
    margin-top: 20px; /* Space above content */
}
.layout-footer h4 {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.2rem;
}
.layout-footer p {
    font-weight: 100;
    font-size: .8rem;
    letter-spacing: .1rem;
    line-height: 1.8rem;
    padding: 10px 5px;
}
.layout-footer {
    bottom: 50px;
    display: flex; /* Use flexbox for centering */
}
.center {
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}
.close-panel {
    border: 0;
    position: relative;
    display: inline-block;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
}
.close-panel::after {
    content: '';
    position: absolute;
    z-index: -1;
    opacity: 0;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease-in-out;
  }
.close-panel:hover {
    transform: scale(1.2, 1.2);
}
.close-panel:hover::after {
    opacity: 1;
}

/* Columns */
.column {
    width: 48%; /* 48% width to allow spacing */
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .layout-content {
        flex-direction: column; /* Stack columns on smaller screens */
    }
    .column {
        width: 100%; /* Full width for each column */
        margin-bottom: 10px; /* Space between columns */
    }
}

/* error 404 */
.error_section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    background-image: linear-gradient(-225deg, #1a1a1a, #343434);
}
.error_section_subtitle {
    color: #25f193;
    text-transform: uppercase;
    letter-spacing: 5pt;
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: -5em;
}
.error_section .error_title {
    --x-shadow: 0;
    --y-shadow: 0;
    --x: 50%;
    --y: 50%;
    font-size: 15rem;
    transition: all 0.2s ease;
    position: relative;
    padding: 2rem;
}
.error_section .error_title:hover {
    transition: all 0.2s ease;
    text-shadow: var(--x-shadow) var(--y-shadow) 10px #1a1a1a;
    cursor: pointer;
}
.error_section .error_title p {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background-image: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.05), transparent);
    background-position: var(--x) var(--y);
    background-repeat: no-repeat;
    text-shadow: none;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.1s ease;
}
.btn {
    padding: 0.8em 1.5em;
    border-radius: 99999px;
    background-image: linear-gradient(to top, #32c983, #25f193);
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2), inset 0px -2px 5px 0px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    text-shadow: 0px 1px #343434;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5pt;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    transition: ease-out 0.2s all;
}
.btn:hover {
    text-shadow: 0px 1px 1px #99ff00;
    transform: translateY(-5px);
    box-shadow: 0px 4px 15px 2px rgba(0, 0, 0, 0.1), inset 0px -3px 7px 0px rgba(0, 0, 0, 0.2);
    transition: ease-out 0.2s all;
}