@import url('https://fonts.googleapis.com/css2?family=Outfit&family=Pacifico&family=Unbounded&display=swap');

*,
*::after,
*::before{
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: #ff00cc;
    background: -webkit-linear-gradient(to right, #333399, #ff00cc);
    background: linear-gradient(to right, #333399, #ff00cc);
}

.card {
    display: flex;
    flex-direction: column;
    width: 85rem;
    height: 54rem;
    padding: 3rem;
    position: absolute;
    z-index: 5;
}

.main {
    display: flex;
}

.main__img-wrapper {
    height: 20rem;
    width: 20rem; 
    min-width: 20rem;   
}

.main__img {
    width: 100%;
    height: 100%;
    animation: goey 8s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transition: all 1s ease-in-out;
    box-shadow: 0 0 1.5rem -0.2rem rgba(0, 0, 0, 0.7);
}

.main__text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin-left: 3rem;
}

.splide {
    user-select: none;
    overflow: hidden;
}

.splide__slide {
    font-size: 4.5rem;
    font-weight: 800;
    font-family: 'Unbounded', cursive;
    word-break: keep-all;
    overflow: hidden;
}

.init {
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: -0.8rem;
}

.init-less {
    letter-spacing: 0.2rem;
}

.name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 0.25rem;
    display: flex;
    flex-direction: column;
    font-size: 4.2rem;
    font-weight: 400;
}

span.K, span.V {
    font-size: 6.2rem;
    font-weight: 700;
}

.info {
    display: flex;
    width: 100%;
    flex: 1;
}

.contact {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 2rem 0 0;
}                 

.line {
    position: relative;
    top: 0.5rem;
    width: 28rem;
    height: 2rem;
    overflow: hidden;
}

.line::before {
    content: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
    position: absolute;
    top: -0.6rem;
    left: 0;
    font-size: 2rem;
    color: transparent;
    text-decoration-style: wavy;
    text-decoration-color: #fff;
    text-decoration-line: underline;
    /* animation: move 1s linear infinite; */
}

@keyframes move {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-20px);
    }
}

.tabs {
    flex: 1;
    margin-top: 2rem;
    border-radius: 0.5rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tab {
    padding: 1rem;
    border-radius: 0 !important;
    height: 3.6rem;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.tab-hover {
    flex: 1;
}

.tab__heading {
    font-family: 'Unbounded', cursive;
    font-size: 1.2rem;
    color: #fff;
    padding-bottom: 1rem;
}

.tab__link {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    transition: all 0.2s;
    font-family: 'Unbounded', cursive;
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
}

.tab__info {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    color: #fff;
}

.tab__link:hover {
    transform: translateY(-0.2rem);
}

.tab__icon  {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}

.work {
    flex: 1;
    padding: 1rem;
}

.work__heading {
    font-family: 'outfit', cursive;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
}

.soon {
    display: flex;
    align-items: center;
    font-family: 'Unbounded', cursive;
    font-size: 5rem;
    color: #fff;
    height: 100%;
}

@media only screen and (max-width: 800px) {
    .card {
        width: 100%;
        height: 100vh;
        overflow: hidden;
        border-radius: 0 !important;
    }
    .info {
        flex-direction: column;
    }
}

#canvas {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

svg {
    width: 0;
    height: 0;
}

.beeds {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}

span.beed {
    position: fixed;
    border-radius: 50%;
    bottom: 0%;
    animation: wiggle 6s;
    transform: translateY(110%) rotate(0deg);
    background: transparent;
    box-shadow: inset 0 0 20px #ffffffa0, inset 10px 0 46px #eaf5fcb0;
}

@keyframes wiggle {
    0% {
        transform: translateY(110%) rotate(0deg);
        bottom: 0%;
    }
    100% {
        transform: translateY(0%) rotate(90deg);
        bottom: 100%;
    }
}

.d-none {
    display: none;
}

.glassy {
    background: rgba(12, 0, 0, 0.11);
    border-radius: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5.7px);
    -webkit-backdrop-filter: blur(5.7px);
    border: 1px solid rgba(12, 0, 0, 0.13);
}

@keyframes goey {
    0% {
        border-radius:  60% 40% 30% 70% / 60% 30% 70% 40%;
    } 
    
    50% {
        border-radius:  30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    
    100% {
      border-radius:  60% 40% 30% 70% / 60% 30% 70% 40%;
    } 
}

@media only screen and (max-width: 650px) {
    html {
        font-size: 50%;
    }
    .info {
        flex-direction: column;
    }
    .tab {
        height: 4.6rem;
    }
    .tab.tab-hover {
        height: 22rem;
    }
    .tab__heading {
        font-size: 1.8rem;
    }
    .tab__link, .tab__info {
        font-size: 2rem;
    }
    .contact {
        padding-right: 0;
    }
    .soon {
        font-size: 4rem;
    }
}

@media only screen and (max-width: 500px) {
    .main {
        flex-direction: column;
        align-items: center;
    }
    .main__text-wrapper {
        margin-left: 0;
        align-self: flex-start;
    }
}

/* Carousel container */
.carousel {
    position: relative;
    width: 100%;
    height: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1000px;
}

/* Carousel cards */
.carousel__card {
    position: absolute;
    width: 100%;
    height: 96%;
    background: rgba(255, 255, 255, 0.195);
    border-radius: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transform: scale(0.8) translateY(10rem);
    transition: all 0.8s ease-in-out;
}

/* Active card */
.carousel__card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 3;
}

/* Next card */
.carousel__card.next {
    opacity: 0.8;
    transform: scale(0.9) translateY(5rem);
    z-index: 2;
}

/* Previous card */
.carousel__card.prev {
    opacity: 0.6;
    transform: scale(0.8) translateY(10rem);
    z-index: 1;
}

/* Project card styles */
.project {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

.project__image {
    width: 80%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.project__info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project__title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 1px #000;
}

.project__link {
    font-family: 'Unbounded', cursive;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.442);
    padding: 0.8rem 1.6rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
    text-shadow: 0 0 1px #000;
}

.project__link:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-0.2rem);
}
