@import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
@import url('https://fonts.cdnfonts.com/css/poppins');

.banner{
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.banner .slider{
    position: absolute;
    width: 200px;
    height: 250px;
    top: 10%;
    left: calc(50% - 100px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
    z-index: 2;
}
@keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
}

.banner .slider .item{
    position: absolute;
    inset: 0 0 0 0;
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(550px);
}
.banner .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner .content{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 100vw);
    height: max-content;
    padding-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}
.banner .content h1{
    font-family: 'ICA Rubrik';
    font-size: 16em;
    line-height: 1em;
    color: #25283B;
    position: relative;
}
.banner .content h1::after{
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 2px #d2d2d2;
    color: transparent;
}
.banner .content .author{
    font-family: Poppins;
    text-align: right;
    max-width: 200px;
}
.banner .content h2{
    font-size: 3em;
}
.banner .content .model{
    background-image: url(images/model.png);
    width: 100%;
    height: 75vh;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: auto 130%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
}
@media screen and (max-width: 1023px) {
    .banner .slider{
        width: 160px;
        height: 200px;
        left: calc(50% - 80px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(300px);
    }
    .banner .content h1{
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 7em;
    }
    .banner .content .author{
        color: #fff;
        padding: 20px;
        text-shadow: 0 10px 20px #000;
        z-index: 2;
        max-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 30px;
    }
}
@media screen and (max-width: 767px) {
    .banner .slider{
        width: 100px;
        height: 150px;
        left: calc(50% - 50px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(180px);
    }
    .banner .content h1{
        font-size: 5em;
    }
}

/*Footer*/
/* Footer */
footer {
    background-color: #000000;
    width: 100%;
    padding: 20px;
    color: rgb(0, 0, 0);
}
.footerContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.socialIcons {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}
.socialIcons a i {
    font-size: 2em;
    color: rgb(3, 125, 255);
    opacity: 0.9;
}
/* Hover effect on social media icons */
.socialIcons a:hover {
    background-color: #111;
    transition: 0.5s;
}
.socialIcons a:hover i {
    color: white;
    transition: 0.5s;
}
.footerNav {
    margin: 20px 0;
}
.footerNav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}
.footerNav ul li a {
    color: rgb(0, 0, 0);
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}
.footerNav ul li a:hover {
    opacity: 1;
}
.footerBottom {
    background-color: #000000;
    padding: 20px;
    text-align: center;
}
.footerBottom p {
    color: white;
}
.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}


/*Header*/
/*For the Header*/
.glass-navbar {
    background: rgba(117, 118, 65, 0.33); /* Slight white background for glass effect */
    backdrop-filter: blur(10px); /* Blurring effect */
    border-radius: 10px; /* Rounded corners */
    padding: 10px 20px; /* Padding around the navbar */
    position: fixed; /* Fix the navbar to the top */
    top: 0; /* Align to the top */
    left: 50%; /* Center it horizontally */
    transform: translateX(-50%); /* Adjust to perfectly center it */
    z-index: 1000; /* Ensure it stays above other elements */
    width: 90%; /* Set a width */
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space between logo and links */
    align-items: center; /* Center vertically */
}

.glass-navbar .logo {
    color: #000000; /* Logo text color */
    font-size: 1.5rem; /* Font size for the logo */
}

.glass-navbar .nav-links {
    list-style: none; /* Remove list styling */
    display: flex; /* Use flexbox for horizontal layout */
    gap: 20px; /* Space between links */
}

.glass-navbar .nav-links li {
    display: inline; /* Inline for list items */
}

.glass-navbar .nav-links a {
    text-decoration: none; /* Remove underline from links */
    color: #000000; /* Link color */
    font-size: 1rem; /* Font size for links */
    padding: 5px 10px; /* Padding for clickable area */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.glass-navbar .nav-links a:hover {
    background-color: rgb(0, 0, 0); /* Light background on hover */
    border-radius: 5px; /* Rounded corners on hover */
    color: #ffffff;
}

/* Add some margin to the content to prevent overlap with navbar */
.content {
    margin-top: 80px; /* Space for the fixed navbar */
    padding: 20px; /* Padding for content */
}
.logo img {
    max-width: 100%; /* Ensure the logo is responsive */
    height: auto; /* Maintain aspect ratio */
    width: 50px; /* Set a fixed width for the logo */
    border-radius: 5px; /* Optional: rounded corners */
}

.logo img:hover{
    color: green;
    background-color: #080a0b;
}