* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
}

header nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: system-ui, -apple-system, sans-serif;
    background: linear-gradient(to right, #000000, #4c037e);
    height: 8vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.title {
    display: flex;
    align-items: center;

}

.logo {
    width: 75px;
    height: auto;
    margin-right: 5px;
    animation: animation-logo1 4s forwards;
}

.jm-text {
    font-size: 17pt;
    color: white;
    margin-right: 1vh;
    animation: animation-logo2 4s forwards;
}

.ofe-text {
    font-size: 8pt;
    color: white;
    margin-top: 3px;
    animation: animation-logo3 4s forwards;
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li {
    letter-spacing: 3px;
    margin-left: 32px;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    opacity: 0.7;
    color: #bc8cf2;
}

.carousel {
    max-width: 1200px;
    margin: 20vh auto 0 auto;
    padding: 0 15px;
}

.carousel-item {
    width: 100%;
   
    aspect-ratio: 16 / 7; 
    max-height: 550px;
    overflow: hidden;
    background-color: #111;
}

.carousel-item img {
    width: 100%;
    height: 100%;
 
    object-fit: cover;
    object-position: center;
}

main {
    min-height: 100vh;
    margin-bottom: 10vh;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: system-ui, -apple-system, sans-serif;
    background: linear-gradient(to right, #000000, #4c037e);
    height: 15vh;
    color: white;
    width: 100%;
}

@keyframes animation-logo1 { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes animation-logo2 { 0% { opacity: 0; } 20% { opacity: 0; } 100% { opacity: 1; } }
@keyframes animation-logo3 { 0% { opacity: 0; } 100% { opacity: 1; } }

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu div {
    width: 32px;
    height: 2px;
    background: #fff;
    margin: 8px;
    transition: 0.3s;
}

@media (max-width: 1050px) {
    .mobile-menu {
        display: block;
    }

    .nav-list {
        position: absolute;
        top: 8vh;
        right: 0;
        width: 60vw;
        height: 92vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }

    .nav-list.active {
        transform: translateX(0);
    }

    .carousel-item {
     
        aspect-ratio: 4 / 3;
    }
}

.mobile-menu.active .line1 { transform: rotate(-45deg) translate(-8px, 8px); }
.mobile-menu.active .line2 { opacity: 0; }
.mobile-menu.active .line3 { transform: rotate(45deg) translate(-5px, -7px); }* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
}

header nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: system-ui, -apple-system, sans-serif;
    background: linear-gradient(to right, #000000, #4c037e);
    height: 8vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.title {
    display: flex;
    align-items: center;
}

.logo {
    width: 75px;
    height: auto;
    margin-right: 5px;
    animation: animation-logo1 4s forwards;
}

.jm-text {
    font-size: 17pt;
    color: white;
    margin-right: 1vh;
    animation: animation-logo2 4s forwards;
}

.ofe-text {
    font-size: 8pt;
    color: white;
    margin-top: 3px;
    animation: animation-logo3 4s forwards;
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li {
    letter-spacing: 3px;
    margin-left: 32px;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    opacity: 0.7;
    color: #bc8cf2;
}

.carousel {
    max-width: 1200px;
    margin: 20vh auto 0 auto;
    padding: 0 15px;
}

.carousel-item {
    width: 100%;
 
    aspect-ratio: 16 / 7; 
    max-height: 550px;
    overflow: hidden;
    background-color: #111;
}

.carousel-item img {
    width: 100%;
    height: 100%;
 
    object-fit: cover;
    object-position: center;
}

main {
    min-height: 100vh;
    margin-bottom: 10vh;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: system-ui, -apple-system, sans-serif;
    background: linear-gradient(to right, #000000, #4c037e);
    height: 15vh;
    color: white;
    width: 100%;
}

@keyframes animation-logo1 { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes animation-logo2 { 0% { opacity: 0; } 20% { opacity: 0; } 100% { opacity: 1; } }
@keyframes animation-logo3 { 0% { opacity: 0; } 100% { opacity: 1; } }

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu div {
    width: 32px;
    height: 2px;
    background: #fff;
    margin: 8px;
    transition: 0.3s;
}

@media (max-width: 1050px) {
    .mobile-menu {
        display: block;
    }

    .nav-list {
        position: absolute;
        top: 8vh;
        right: 0;
        width: 60vw;
        height: 92vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }

    .nav-list.active {
        transform: translateX(0);
    }

    .carousel-item {
  
        aspect-ratio: 4 / 3;
    }
}

.mobile-menu.active .line1 { transform: rotate(-45deg) translate(-8px, 8px); }
.mobile-menu.active .line2 { opacity: 0; }
.mobile-menu.active .line3 { transform: rotate(45deg) translate(-5px, -7px); }