@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
body{
    font-family: monospace;
    margin:0;
}
header {
    width: 100vw;
    height: 100vh;
    position: relative; /* Allows absolute positioning of the video and nav */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensures the video doesn't spill outside the header */
}
.nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    padding: 0 10%;
    border-bottom: 1px solid rgba(115, 114, 114, 0.2);
    display: flex;
    align-items: center;
    color: #eee;
    z-index: 10; /* Ensure it's above the video */
}

.nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    margin-left: 50px;
    display: flex;
    align-items: center;
}

.nav ul li {
    padding: 0 50px;
    font-size: 15px;
}

/* Video background container */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind all other content */
    overflow: hidden; /* Make sure the video stays contained */
}

/* Video fills the entire background */
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}


.tofixed{
    position: fixed;
    top:0;
    color:#555;
    background-color: #ddd;
animation:showfixed 1s ease-in-out 1 forwards

}
@keyframes showfixed{
    from{
        top:-100px;
    }
}
.banner{
    height:110vh;
    width:100%;
    position: relative;
    overflow: hidden;
}
.banner::before{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    filter:brightness(0.5);
    height:100%;
    background-image: url(images/back.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
    background-attachment: fixed;
    z-index: -1;
    content:'';
}
.banner .title{
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color:#fff;
    font-size: 20vh;
    opacity: 0;
   font-family: 'Lora', serif;
    animation:showtitle 3s ease-in-out 5s 1 forwards 
}
.banner img{
    position: absolute;
    left:5%;
    bottom:0;
    transform: translate(-50%,10%);
    width:60%;
    filter:brightness(0.5);
    opacity: 0;
    animation:totopimg ease-in-out 5s 1 forwards;
}
@keyframes totopimg{
    from{
        opacity: 0;
        transform: translate(-50%,20%);
    }to{
        transform: translate(-50%,10%);
        opacity: 1;
    }
}
@keyframes showtitle{
    from{
        filter: blur(33px);
        transform: translate(-50%,-80%);
    }to{
        opacity: 1;
        filter: blur(0px);
        transform: translate(-50%,-50%);
    }
}
.banner::after{
    position: absolute;
    left:0;
    width:100%;
    height:10vh;top:100vh;
    background-image: url(https://livedemo00.template-help.com/wt_prod-20838/images/cloud-2.png);
    background-size: 100%;
    content:'';
    filter:brightness(0.87);

}
.container {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #ddd;
}
.intro {
    padding: 20px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.intro h2 {
    font-size: 4vw; /* Adjust font size based on viewport width */
    margin: 30px 0;
    font-family: 'Great Vibes', cursive;
}
.intro p {
    font-size: 1.5vw;
    padding: 10px;
}
.intro div{
    font-size: 20px;
}
.skills-section {
    text-align: center;
    padding: 50px 0;
}

.skills-section h2 {
    font-size: 2.5vw;
    margin-bottom: 30px;
}
.skills-grid .skill svg text {
    font-size: 24px; /* Default size */
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Flexibly adjust number of columns */
    gap: 20px;
    justify-items: center;
}

.skill {
    text-align: center;
}

.circle {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
}

.circle text {
    font-size: 1.5vw;
    fill: #1976d2;
}

.skill p {
    margin-top: 10px;
    font-size: 1.5vw;
    font-weight: bold;
}
/* General Layout */
.travel {
    padding: 150px 10%;
    background-color: #cfdadb;
    text-align: center;
}

.travel .title {
    padding-bottom: 50px;
    
}

.list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.club-card {
    width: 23%; /* Default width for larger screens */
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.club-card img {
    width: 100%;
    height: 200px; /* Adjusted height for better adaptability */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.club-card .content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7); /* Dark transparent background */
    color: white;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0; /* Hidden by default */
    border-radius: 10px;
    word-wrap: break-word; /* Prevent text from overflowing */
    overflow: hidden; /* Hide any content that overflows */
    height: 100%; /* Ensure it fits inside the card */
}

.club-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.club-card:hover img {
    transform: scale(1.1);
}

.club-card:hover .content {
    transform: translateY(0);
    opacity: 1; /* Fully visible on hover */
}

.club-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.club-card p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0; /* Remove default margins */
}


.darkshow .slider {
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
}

.darkshow .slider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}

.darkshow .slider .list .item {
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc((10s / var(--quantity)) * (var(--position) - 1) - 10s) !important;
}

.darkshow .slider .list .item img {
    width: 100%;
}

@keyframes autoRun {
    from {
        left: 100%;
    }
    to {
        left: calc(var(--width) * -1);
    }
}

.darkshow .slider:hover .item {
    animation-play-state: paused !important;
    filter: grayscale(1);
}

.darkshow .slider .item:hover {
    filter: grayscale(0);
}

.darkshow .slider[reverse="true"] .item {
    animation: reversePlay 10s linear infinite;
}

@keyframes reversePlay {
    from {
        left: calc(var(--width) * -1);
    }
    to {
        left: 100%;
    }
}



.darkshow .title{
    font-size: 40px;
    font-weight: bold;
    padding-bottom:80px;
    width:100%;
}
.darkshow .img{
    width:50%;
    position: relative;
    float: left;
    opacity: 0;
}
.darkshow.active .img{
    animation: showimgdarkshow 1s ease-in-out 1s 1 forwards;
}
@keyframes showimgdarkshow{
    from{
        opacity: 0;
        filter: blur(33px);
        transform: translate(150px);
    }to{
        opacity: 1;
        filter: blur(0);
        transform: translate(0);
    }
}
.darkshow .img img{
   width:50%;
   height:600px;
   object-fit: cover;
}
.darkshow .list{
    width:50%;
    float: left;
}
.contactItem{
    width:36%;
    background-color: #161924;
    padding:40px 5%;
    margin: 0 2% 2% 0;
    float: left;
    text-align: left;
}
.contactItem .icon{
    width:max-content;
    background-color: blueviolet;
    padding:2px 10px;
    font-size: small;
    border-radius: 10px;
    margin-bottom: 20px;
}
.contactItem .titleContact{
    font-weight: 600;
    font-size: 45px;
    margin-bottom: 50px;
}

.contactItem video {
    border-radius: 10px;
    object-fit: cover;
}












/* Site 2's CSS for the 3D ring */




   






.container .item.intro .section.skills {
   
.container .item.intro .section.skills {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background-color: #f4f4f4;
}

.container .item.intro .skills-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.container .item.intro .skills-left {
    flex: 1;
}

.container .item.intro .skills-left h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.container .item.intro .skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.container .item.intro .skill {
    text-align: center;
}

@keyframes progress {
    from {
        stroke-dashoffset: 628;
    }
    to {
        stroke-dashoffset: calc(628 - (628 * var(--percent)) / 100);
    }
}

.container .item.intro .circle {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.container .item.intro .circle svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.container .item.intro .circle .progress-ring {
    fill: none;
    stroke-width: 10;
    stroke: #1976d2; /* Set your stroke color */
    stroke-dasharray: 628; /* Circumference of the circle */
    stroke-dashoffset: 628;
    transition: stroke-dashoffset 1.5s ease-out;
}

.container .item.intro .circle text {
    font-size: 1.5rem;
    fill: #51c5cf;
}


    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background-color: #f4f4f4;
}

.container .item.intro .skills-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.container .item.intro .skills-left {
    flex: 1;
}

.container .item.intro .skills-left h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.container .item.intro .skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.container .item.intro .skill {
    text-align: center;
}

@keyframes progress {
    from {
        stroke-dashoffset: 628;
    }
    to {
        stroke-dashoffset: calc(628 - (628 * var(--percent)) / 100);
    }
}

.container .item.intro .circle {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.container .item.intro .circle svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.container .item.intro .circle .progress-ring {
    fill: none;
    stroke-width: 10;
    stroke: #1976d2; /* Set your stroke color */
    stroke-dasharray: 628; /* Circumference of the circle */
    stroke-dashoffset: 628;
    transition: stroke-dashoffset 1.5s ease-out;
}

.container .item.intro .circle text {
    font-size: 1.5rem;
    fill: #51c5cf;
}








.footer{
    background-color: #161924;
    width:100%;
    text-align: center;
    padding-top: 200px;
    display: block;
    color:#eee;
    overflow: hidden;
}
.footer .title{
    font-family: 'Great Vibes', cursive;
    font-size: 130px;
}
.footer ul{
    padding: 0;
    margin:0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top:30vh;
    border-top:1px solid rgba(115, 114, 114, 0.2);
}
.footer li{
    padding:30px 90px;
    font-size: 30px;
}

.showtotop, .zoomshow{
    opacity: 0;
}
.active .showtotop{
    animation:showtop 1s ease-in-out 1 forwards;
}
.active .zoomshow{
    animation:zoomshow 1s ease-in-out 1 forwards;
}
@keyframes zoomshow{
    from{
       transform: scale(0);
    }
    to{
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes showtop{
    from{
        opacity: 0;
        transform: translate(0,100px);
    }
    to{
        opacity: 1;
        transform: translate(0,0);
    }
}
.delay-02{
    animation-delay: 0.2s!important;
}
.delay-04{
    animation-delay: 0.4s!important;
}
.delay-06{
    animation-delay: 0.6s!important;
}
.delay-08{
    animation-delay: 0.8s!important;
}
.delay-1{
    animation-delay: 1s!important;
}
.delay-12{
    animation-delay: 1.2s!important;
}
.delay-14{
    animation-delay: 1.4s!important;
}
.delay-16{
    animation-delay: 1.6s!important;
}
.delay-18{
    animation-delay: 1.8s!important;
}
.delay-2{
    animation-delay: 2s!important;
}
.delay-12{
    animation-delay: 1.2s!important;
}
.delay-14{
    animation-delay: 1.4s!important;
}
.delay-16{
    animation-delay: 1.6s!important;
}
.delay-18{
    animation-delay: 1.8s!important;
}
/* Responsive Adjustments */
@media (max-width: 1024px) {
    .club-card {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .club-card {
        width: 100%;
    }

      .list {
        grid-template-columns: 2fr; /* Single column on smaller screens */
    }
     .intro h2 {
        font-size: 8vw; /* Adjust font size for smaller screens */
    }

    .intro p {
        font-size: 3vw;
    }

    .skills-section h2 {
        font-size: 6vw;
    }

     .club-card {
        width: 48%; /* Two cards per row */
    }

    .skill p {
        font-size: 3vw;
    }
 .list2 {
        grid-template-columns: 1fr; /* One column on smaller screens */
    }

    .darkshadow .img {
        width: 80%; /* Make the image smaller on mobile */
    }

    .video-card {
        padding: 10px; /* Adjust padding for mobile */
    }



    .skills-grid .skill svg text {
        font-size: 18px; /* Adjust the size for mobile */
    }
}
@media (max-width: 480px) {
    .intro h2 {
        font-size: 10vw;
    }
   .list2 {
        grid-template-columns: 1fr; /* One column on smaller screens */
    }

    .darkshadow .img {
        width: 80%; /* Make the image smaller on mobile */
    }

    .video-card {
        padding: 10px; /* Adjust padding for mobile */
    }

     .club-card {
        width: 100%; /* One card per row */
    }

    .club-card img {
        height: 150px; /* Adjust image height for mobile */
    }

    .intro p {
        font-size: 4vw;
    }

    .skills-section h2 {
        font-size: 7vw;
    }

    .skill p {
        font-size: 4vw;
    }

       .skills-grid .skill svg text {
        font-size: 16px; /* Further reduce size for very small screens */
    }
}
}