@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@800&display=swap");


/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body styling */
body {
    font-family: cursive;
    line-height: 1.6;
    background-color: #1a1a27;
    color: #efe4e4;
    display: flex;
    justify-content: center;
}

/* Main container styling */
.container {
    width: 100%;
    max-width: 1400px;
    padding: 20px;
    position: relative;
    z-index: 1; /* Ensure it stays above the background */
}

/* Full-Screen Spline Viewer Background */
spline-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Place behind content */
}

/* Header styling */
header {
    text-align: center;
    padding: 20px;
    background-color: transparent; /* Semi-transparent for better contrast */
    color: #fff;
    border-radius: 5px;
}

/* Navigation styling */
/* Base Navigation Styles */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: transparent;
    padding: 10px;
    border-radius: 5px;
    flex-wrap: wrap; /* Ensures wrapping on smaller screens */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
}

nav ul li a:hover {
    background-color: rgba(85, 85, 85, 0.8);
    border-radius: 5px;
}

/* Responsive for mobile screens */
@media (max-width: 768px) {
    nav ul {
        justify-content: space-around; /* Adjust spacing for smaller view */
    }

    nav ul li a {
        padding: 5px 8px; /* Optional: Adjust padding for mobile */
    }
}

/* Main section styling */
main {
    margin: 20px 0;
}

section {
    margin-bottom: 20px;
    padding: 20px;
    background-color: transparent;
    border: 1px transparent;
    border-radius: 5px;
}

/* Footer styling */
footer {
    text-align: center;
    padding: 10px;
    background-color: transparent;
    color: #fff;
    font-size: 0.9rem;
    border-radius: 5px;
}

.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(470px);
}
.banner .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner .content{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(800px, 50vw);
    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;
    }
}

.btn {
    padding: 40px 90px;
    border: none;
    outline: none;
    color: #6f3131;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    
}
.btn::after{
    content: "";
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    left: 0;
    top: 0;
    border-radius: 10px;
}
.btn::before {
    content: "";
    background: linear-gradient(
        45deg,
        #ff0000, #ff7300, #fffb00, #48ff00,
        #00ffd5, #002bff, #ff00c8, #ff0000
    );
    position: absolute;
    top: -1px;
    left: -1px;
    background-size: 600%;
    z-index: -1;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    filter: blur(8px);
    animation: glowing 20s linear infinite;
    transition: opacity .3s ease-in-out;
    border-radius: 20px;
    opacity: 1;
}
@keyframes glowing {
    0% {background-position: 0 0;}
    50% {background-position: 400% 0;}
    100% {background-position: 0 0;}
}
.btn:hover::before{
    opacity: 1;
}
.btn:active::after{
    background: transparent;
}
.btn:active{
    color: transparent;
    font-weight: bold;
}


/* Main H3 Styling */
h3 {
    position: relative;
    font-size: 10em;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #222 0%, #222 50%, #111 50%, #111 100%);
    -webkit-background-clip: text;
    color: transparent; /* Enables gradient visibility */
    text-align: center;
}

/* First Glow Shadow */
h3::before {
    content: "welcome to meow"; /* Direct text instead of using attr */
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: -1;
    font-size: inherit;
    font-weight: inherit;
    color: transparent;
    background: linear-gradient(45deg, #ff0, #0f0, #f00, #00f, #0f0);
    -webkit-background-clip: text;
}

/* Second Glow Shadow with Blur */
h3::after {
    content: "welcome to meow"; /* Direct text instead of using attr */
    position: absolute;
    top: 30px;
    left: 20px;
    z-index: -2;
    font-size: inherit;
    font-weight: inherit;
    color: transparent;
    background: linear-gradient(45deg, #ff0, #0f0, #f00, #00f, #0f0);
    -webkit-background-clip: text;
    filter: blur(10px); /* Adjust for softer glow */
}

.tab img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Hover effect for tabs */
.tab:hover {
    transform: scale(1.02);
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    #home {
        flex-direction: column;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: linear-gradient(to bottom, black 0%, #000080 50%, blue 100%);
}

  
  @keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    overflow: hidden;
    padding: 60px 0;
    background: transparent;
    white-space: nowrap;
    position: relative;
  }
  
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  
  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), black);
  }
  
  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), black);
  }
  
  .logos:hover .logos-slide {
    animation-play-state: paused;
  }
  
  .logos-slide {
    display: inline-block;
    animation: 30s slide infinite linear;
  }
  
  .logos-slide img {
    height: 150px;
    margin: 0 20px;
  }

  .glow {
    font-size: 80px;
    color: #fff;
    text-align: center;
    animation: glow 1s ease-in infinite alternate;
  }

  @-webkit-keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
        {
            to {
                text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6 ;

            }
        }
    }
  }
