@import url('https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@200..700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    min-height: 100vh;
    background-color: #000 !important;
    
}

#vid {
    position: fixed; /* Use fixed to cover the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the entire area */
    opacity: 0.3; /* Adjust opacity as needed */
    z-index: -1; /* Place the video behind other content */
}


#logo{
    display: flex;
    justify-content: center;
    padding: 40px;
    color: #fff;
    font-family: "Yanone Kaffeesatz", serif;
    font-size: 150px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.7);
}


header{
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.navbar{
    mask-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, #ffffff 25%, #ffffff 75%, rgba(255, 255, 255, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
}

.navbar ul{
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.2) 75%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
    display: flex;
    gap: 75px;
    list-style: none;
}

.navbar a{
    text-decoration: none;
    color: aliceblue;
    font: bold;
    font-size: 25px;
    transition: all 0.5s;
    font-family: "Open Sans";
  text-transform:uppercase;
  color: white;
}

.navbar a:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
  background: rgb(120, 131, 129);
  color: rgb(92, 206, 221);
  transform: scale(1.06);
}

.carousel-inner {
    padding-left: 90px;
    padding-right: 90px;
    padding-top: 60px;
    padding-bottom: 100px;
    height: 700px;
    overflow: hidden;
}

/* Carousel Items */
.carousel-item {
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Carousel Images */
.carousel-item img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.text{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 35px;
    font-size: 50px;
    color: aqua;
}

.projects{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 55px;
    align-items: center;
    justify-content: center;
    padding-left: 300px;
    padding-right: 300px;
    padding-bottom: 90px;
}

.cards{
    border-radius: 5px;
    padding: 15px;
    background-color: rgb(209, 216, 223);
    box-shadow: 0 0 30px rgb(255, 255, 255);
    display: flex;
    align-items: center;
    gap: 35px;
    transition: all 0.5s;
}

.cards:hover{
    transform: scale(1.1);
}

.single-card{
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: box-shadow 0.3s ease, transform 0.3s ease; 
}

.single-card:hover{
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.7); /* Blue glow effect */
    transform: translateY(-5px);
}

.cards img
{
    max-width: 100%;
    border-radius: 15px;
}

.single-card .info{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 15px;
}

.info h3{
    font-size: 34px;
    color: #23384e;
}

.info p{
    font-size: 20px;
}

.btn-go{
    border: none;
    border-radius: 10px;
    background-color: #23384e;
    padding: 9px;
    transition: all 0.5s;
}

.btn-go a:hover{
    transform: scale(4)
}

.btn-go a{
    text-decoration: none;
    color: rgb(179, 255, 0);
    font-size: 25px;
    font-weight: bold;
    transition: all 0.5s;
}

footer{
    z-index: 1;
        --footer-background:#8291be;
        display:grid;
        position: relative;
        grid-area: footer;
        min-height:12rem;
        .bubbles {
            position: absolute;
            top:0;
            left:0;
            right:0;
            height:1rem;
            background:var(--footer-background);
            filter:url("#blob");
            .bubble {
                position: absolute;
                left:var(--position, 50%);
                background:var(--footer-background);
                border-radius:100%;
                animation:bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s),
                    bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
                transform:translate(-50%, 100%);
            }
        }
        .content {
            z-index: 2;
            display:grid;
            grid-template-columns: 1fr auto;
            grid-gap: 4rem;
            padding:2rem;
            background:var(--footer-background);
            a, p {
                color:#F5F7FA;
                text-decoration:none;
            }
            b {
                color:white;
            }
            p {
                margin:0;
                font-size:.75rem;
            }
            >div {
                display:flex;
                flex-direction:column;
                justify-content: center;
                >div {
                    margin:0.25rem 0;
                    >* {
                        margin-right:.5rem;
                    }
                }
                .image {
                    align-self: center;
                    width:4rem;
                    height:4rem;
                    margin:0.25rem 0;
                    background-size: cover;
                    background-position: center;
                }
            }
        }
    }


@keyframes bubble-size {
    0%, 75% {
        width:var(--size, 4rem);
        height:var(--size, 4rem);
    }
    100% {
        width:0rem;
        height:0rem;
    }
}
@keyframes bubble-move {
    0% {
        bottom:-4rem;
    }
    100% {
        bottom:var(--distance, 10rem);
    }
}


#icons{
    font-size: 25px;
}

#icons i{
    color: aquamarine;
    transition: all 0.5s;
}

#icons i:hover{
    color: #23384e;
    transform: scale(2);
}

#follow{
    font-size: 30px;
    color: aqua;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#copy p{
    font-size: 20px;
    color: antiquewhite;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#txt-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body::-webkit-scrollbar {
    width: 20px;
    }
    
    body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background: #000;
    }
    
    body::-webkit-scrollbar-thumb {
    background-image: url("down.gif"),
    linear-gradient(100deg, transparent, transparent);
    background-repeat: no-repeat, no-repeat;
    background-size: contain, contain;
    }

    .more{
        color: #fff;
        text-shadow: 0 0 20px rgb(255, 255, 255);
    }

    /* Media Queries for Responsive Design */

/* For tablets and smaller devices */
@media (max-width: 1024px) {
    #logo {
        font-size: 100px; /* Reduce logo size */
        padding: 20px; /* Adjust padding */
    }

    .navbar ul {
        gap: 40px; /* Reduce gap between navbar items */
    }

    .navbar a {
        font-size: 20px; /* Reduce font size for navbar links */
    }

    .carousel-inner {
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 40px;
        padding-bottom: 80px;
        height: 500px; /* Adjust carousel height */
    }

    .carousel-item img {
        width: 70%; /* Adjust image width */
    }

    .text {
        font-size: 40px; /* Reduce font size for text */
    }

    .projects {
        padding-left: 100px;
        padding-right: 100px; /* Adjust padding for projects section */
    }

    .cards {
        gap: 20px; /* Reduce gap between cards */
    }

    .info h3 {
        font-size: 28px; /* Reduce font size for card titles */
    }

    .info p {
        font-size: 18px; /* Reduce font size for card descriptions */
    }

    .btn-go a {
        font-size: 20px; /* Reduce font size for button text */
    }

    footer .content {
        grid-template-columns: 1fr; /* Stack footer content vertically */
        grid-gap: 2rem;
        padding: 1rem;
    }

    #icons {
        font-size: 20px; /* Reduce icon size */
    }

    #follow {
        font-size: 24px; /* Reduce font size for follow text */
    }

    #copy p {
        font-size: 16px; /* Reduce font size for copyright text */
    }
}

/* For mobile devices */
@media (max-width: 768px) {
    #logo {
        font-size: 60px; /* Further reduce logo size */
        padding: 10px; /* Further adjust padding */
    }

    .navbar ul {
        gap: 20px; /* Further reduce gap between navbar items */
    }

    .navbar a {
        font-size: 16px; /* Further reduce font size for navbar links */
    }

    .carousel-inner {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 20px;
        padding-bottom: 40px;
        height: 300px; /* Further adjust carousel height */
    }

    .carousel-item img {
        width: 90%; /* Further adjust image width */
    }

    .text {
        font-size: 30px; /* Further reduce font size for text */
    }

    .projects {
        padding-left: 20px;
        padding-right: 20px; /* Further adjust padding for projects section */
    }

    .cards {
        flex-direction: column; /* Stack cards vertically */
        gap: 15px; /* Further reduce gap between cards */
    }

    .info h3 {
        font-size: 24px; /* Further reduce font size for card titles */
    }

    .info p {
        font-size: 16px; /* Further reduce font size for card descriptions */
    }

    .btn-go a {
        font-size: 18px; /* Further reduce font size for button text */
    }

    footer .content {
        grid-template-columns: 1fr; /* Stack footer content vertically */
        grid-gap: 1rem;
        padding: 0.5rem;
    }

    #icons {
        font-size: 18px; /* Further reduce icon size */
    }

    #follow {
        font-size: 20px; /* Further reduce font size for follow text */
    }

    #copy p {
        font-size: 14px; /* Further reduce font size for copyright text */
    }
}

/* For very small mobile devices */
@media (max-width: 480px) {
    #logo {
        font-size: 40px; /* Further reduce logo size */
        padding: 5px; /* Further adjust padding */
    }

    .navbar ul {
        gap: 10px; /* Further reduce gap between navbar items */
    }

    .navbar a {
        font-size: 14px; /* Further reduce font size for navbar links */
    }

    .carousel-inner {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 20px;
        height: 200px; /* Further adjust carousel height */
    }

    .carousel-item img {
        width: 100%; /* Full width for images */
    }

    .text {
        font-size: 24px; /* Further reduce font size for text */
    }

    .projects {
        padding-left: 10px;
        padding-right: 10px; /* Further adjust padding for projects section */
    }

    .cards {
        gap: 10px; /* Further reduce gap between cards */
    }

    .info h3 {
        font-size: 20px; /* Further reduce font size for card titles */
    }

    .info p {
        font-size: 14px; /* Further reduce font size for card descriptions */
    }

    .btn-go a {
        font-size: 16px; /* Further reduce font size for button text */
    }

    footer .content {
        grid-template-columns: 1fr; /* Stack footer content vertically */
        grid-gap: 0.5rem;
        padding: 0.25rem;
    }

    #icons {
        font-size: 16px; /* Further reduce icon size */
    }

    #follow {
        font-size: 18px; /* Further reduce font size for follow text */
    }

    #copy p {
        font-size: 12px; /* Further reduce font size for copyright text */
    }
}