.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}
.montserrat-thin {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100; /* Thin */
}

.montserrat-extrathin {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200; /* Extra Thin */
}

.montserrat-light {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Light */
}

.montserrat-regular {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; /* Regular */
}

.montserrat-medium {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Medium */
}

.montserrat-semibold {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; /* Semi Bold */
}

.montserrat-bold {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Bold */
}

.montserrat-extrabold {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; /* Extra Bold */
}

.montserrat-black {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900; /* Black */
}

body {
    margin: 0;
    height: 100vh; /* Use full viewport height */
    background-color: #1E3E62;
    /* overflow: hidden; */
}

glass{
    background: rgba(255, 255, 255, 0.1);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(3.9px);
-webkit-backdrop-filter: blur(3.9px);
border: 1px solid rgba(255, 255, 255, 0.3);

}

footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 0;
}

.solar-container {
    position: relative; /* Ensure positioned elements are relative to this container */
    width: 50vw; /* Take half the width of the viewport */
    height: 100vh; /* Take the full height of the viewport */
    padding: 50px; /* Add some padding */
    background-color: none; /* Optional: Background color */
    min-height: 100vh;
}

img {
    height: 130%;
    width: 130%;
}

.sun {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    width: 10em;
    height: 10em;
    border-radius: 50%;
    box-shadow: 0 0 3em rgb(255, 128, 0);
    /* animation: orbit 50s linear infinite; */
}

.mercury,
.venus,
.earth,
.moon,
.mars,
.jupiter,
.saturn,
.uranus,
.neptune,
.pluto {
    position: absolute;
    border-style: solid;
    border-color: white transparent transparent transparent;
    border-width: 0.1em 0.1em 0 0;
    border-radius: 50%;
    z-index: 0;
}

.mercury {
    top: 12.5em;
    left: 12.5em;
    width: 15em;
    height: 15em;
    animation: orbit 68.7s linear infinite;
}

.venus {
    top: 10em;
    left: 10em;
    width: 20em;
    height: 20em;
    animation: orbit 48.7s linear infinite;
}

.earth {
    top: 6em;
    left: 6em;
    width: 28em;
    height: 28em; 
    animation: orbit 36.5s linear infinite;   
}
.moon {
    top: 2em;
    right: -1em;
    width: 7em;
    height: 7em; 
    animation: orbit 2.7s linear infinite;
}
.mars {
    top: 2em;
    left: 2.5em;
    width: 36em;
    height: 36em; 
    animation: orbit 26.5s linear infinite;
}
.jupiter {
    top: -2em;
    left: -2em;
    width: 45em;
    height: 45em; 
    animation: orbit 21s linear infinite;
}
.saturn {
    top: -7em;
    left: -7em;
    width: 55em;
    height: 55em; 
    animation: orbit 17s linear infinite;
}
.uranus {
    top: -12em;
    left: -12em;
    width: 65em;
    height: 65em; 
    animation: orbit 19s linear infinite;
}
.neptune {
    top: -17em;
    left: -17em;
    width: 75em;
    height: 75em; 
    animation: orbit 15s linear infinite;
}
.pluto {
    top: -22em;
    left: -22em;
    width: 85em;
    height: 85em; 
    animation: orbit 18s linear infinite;
}

.mercury::before,
.venus::before,
.earth::before,
.moon::before,
.mars::before,
.jupiter::before,
.saturn::before,
.uranus::before,
.neptune::before,
.pluto::before{
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: orbit 30s linear infinite;
}
.mercury::before {
    top: 1.5em;
    right: 0.8em;
    width: 2em;
    height: 2em;
    background-image: url('../assets/2d_interactive/mercury.png');
    background-size: cover;
}
.venus::before {
    top: 2em;
    right: 2em;
    width: 2em;
    height: 2em;
    background-image: url('../assets/2d_interactive/venus.png');
    background-size: cover;
}
.earth::before {
    top: 3em;
    right: 0em;
    width: 5em;
    height: 5em;
    background-image: url('../assets/2d_interactive/earth.png');
    background-size: cover;
}

.moon::before {
    top: 0.8em;
    right: 0.2em;
    width: 1.2em;
    height: 1.2em;
    background-image: url('../assets/2d_interactive/moon.png');
    background-size: cover;
}
.mars::before {
    top: 5em;
    right: 3em;
    width: 3em;
    height: 3em;
    background-image: url('../assets/2d_interactive/mars.png');
    background-size: cover;
}
.jupiter::before {
    top: 6em;
    right: 3em;
    width: 5em;
    height: 5em;
    background-image: url('../assets/2d_interactive/jupiter.png');
    background-size: cover;
}
.saturn::before {
    top: 7.5em;
    right: 5em;
    width: 4.5em;
    height: 4.5em;
    background-image: url('../assets/2d_interactive/saturn.png');
    background-size: cover;
}
.uranus::before {
    top: 9em;
    right: 6.5em;
    width: 4em;
    height: 4em;
    background-image: url('../assets/2d_interactive/uranus.png');
    background-size: cover;
}
.neptune::before {
    top: 10em;
    right: 8em;
    width: 4em;
    height: 4em;
    background-image: url('../assets/2d_interactive/neptune.png');
    background-size: cover;
}
.pluto::before {
    top: 11em;
    right: 10em;
    width: 4em;
    height: 4em;
    background-image: url('../assets/2d_interactive/pluto.png');
    background-size: cover;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    z-index: -1;
}

@keyframes orbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes move {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100vh); 
    }
}

.text-hover {
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for scaling and color */
    display: inline-block; /* Allows scaling to work properly */
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
    z-index: 1;
    position: relative;
}

.text-hover:hover {
    transform: scale(2); /* Enlarge the text to 120% on hover */
    color: #6A9AB0; /* Optional: Change color on hover for better visibility */
}

.text-column {
    position: relative; /* Allow z-index to work for this container */
    z-index: 1; /* Higher z-index to ensure it appears in front */
}

/* navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    background-color: none;
    position: relative; /* Allow z-index to work for this container */
    z-index: 1; /* Higher z-index to ensure it appears in front */
    
}

.titlehome, .middle a, .profile {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-style: normal;
    color: #EAD8B1;;
    text-align: center;
    text-decoration: none;
    padding: 14px 16px;
}

.titlehome {
    font-size: 30px;
}

.middle {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.middle a {
    margin: 0 10px;
}

.profile {
    font-size: 23px;
}

.titlehome, .middle a, .profile {
    color: #EAD8B1;; 
    text-decoration: none; 
}

.titlehome:hover, .middle a:hover, .profile:hover {
    color: #6A9AB0; 
}

#userIcon{
    padding-right: 10px;
}

.cont {
    background-color: #EAD8B1;
            color: #001F3F;
            padding: 20px;
            border-radius: 20px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            margin: 20px 0; /* Add vertical spacing between containers */
            width: 100%; /* Make the container full width */
            max-width: 800px; /* Limit max width for larger screens */
            text-align: center;
           
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            opacity: 0; /* Start hidden */
            transform: translateY(20px); /* Start slightly below */
            visibility: hidden; /* Hide initially */
}

.cont:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.cont.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
    visibility: visible; /* Make visible */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Animation on reveal */
}

.glass{
    background: rgba(255, 255, 255, 0.11);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5.7px);
-webkit-backdrop-filter: blur(5.7px);

}

.wrapper {
    display: flex;
    flex-direction: column; /* Stack containers vertically */
    justify-content: space-around;
    width: 100%;
    align-items: center;
    position: relative; /* Allow z-index to work for this container */
    z-index: 1; /* Higher z-index to ensure it appears in front */
}

