*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: #ccc6c6;
    overflow: hidden;
}

/* Navbar */
#navbar {
    background-color: #fff;
    color: #fff;
    position: relative;
    max-height: 67px;
    top: 0;
    z-index: 100;
    animation: slideInFromTop 1s ease-out;
    
}

#navbar a {
    color
    : #000000;
    transition: all 1s ease;
}

#navbar h1 {
    float: left;
    padding-top: 20px;
}

#navbar ul {
    list-style: none;
    float: right;
}

#navbar ul li {
    float: left;
}

#navbar ul li a {
    display: block;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: top;
}

#navbar ul li a:hover {
    background: #444;
    color: #f59e47;
}

#navbar ul li a.current {
    background: #222;
    color: #f59e47;
}

#navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #f7c08a;
    transition: width 0.3s ease;
}

#navbar ul li a:hover::after {
    width: 100%;
}

.container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
}

.container .slide .item{
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}


.slide .item:nth-child(3){
    left: 50%;
}
.slide .item:nth-child(4){
    left: calc(50% + 220px);
}
.slide .item:nth-child(5){
    left: calc(50% + 440px);
}

/* here n = 0, 1, 2, 3,... */
.slide .item:nth-child(n + 6){
    left: calc(50% + 660px);
    opacity: 0;
}



.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}


.slide .item:nth-child(2) .content{
    display: block;
}


.content .name{
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}


@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}



.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
}

.button button:hover{
    background: #ababab;
    color: #fff;
}

/* Navbar */
#navbar {
    background-color: #fff;
    color: #fff;
    position: relative;
    max-height: 67px;
    top: 0;
    z-index: 100;
    animation: slideInFromTop 1s ease-out;
    
}

#navbar a {
    color: #000000;
    transition: all 1s ease;
}

#navbar h1 {
    float: left;
    padding-top: 20px;
}

#navbar ul {
    list-style: none;
    float: right;
}

#navbar ul li {
    float: left;
}

#navbar ul li a {
    display: block;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: top;
}

#navbar ul li a:hover {
    background: #444;
    color: #f59e47;
}

#navbar ul li a.current {
    background: #222;
    color: #f59e47;
}

#navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #f7c08a;
    transition: width 0.3s ease;
}

#navbar ul li a:hover::after {
    width: 100%;
}

/* Showcase */
#showcase {
    
    height: 600px;
    position: relative;
    animation: fadeIn 2.5s ease;
}

.logo {
    
    margin-bottom: 0;
    padding-bottom: 0;
    vertical-align: middle;
    height: 125px ;
    width: 125px;
    position: relative;
    top: -35px;
    margin-top: -12px;
}


footer {
    background: #0d0d0d;
    color: #f1f1f1;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
}

.footer-logo img {
    
    margin-top: -50px;
    margin-bottom: -50px;
    width: 150px;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: #f1f1f1;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #feb47b;
}

.footer-socials a {
    color: #f1f1f1;
    font-size: 20px;
    margin: 0 10px;
    transition: transform 0.3s, color 0.3s;
}

.footer-socials a:hover {
    color: #feb47b;
    transform: scale(1.1);
}

.xdev-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 999;
    font-family: 'Segoe UI', sans-serif;
}

.xdev-navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.xdev-navbar-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.xdev-navbar-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.xdev-navbar-links li a:hover {
    color: #ffd700;
}

.xdev-navbar-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .xdev-navbar-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 30px;
        width: 100%;
        display: none;
    }

    .xdev-navbar-links.show {
        display: flex;
    }

    .xdev-navbar-toggle {
        display: block;
    }
}