@import url('https://fonts.googleapis.com/css?family=Bungee+Shade');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

body {
    /* background-color: white; */
    /* background-image: url('img/donut.gif');
    background-size: 100%;
    background-position: top;
    background-repeat: no-repeat; */
    overflow-x: hidden;
}

button {
    cursor: none !important;
}

a:hover {
    cursor: none !important;
}

.no-highlight {
    user-select: none;
    /* Standard syntax */
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
}

.intro-banner {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.animation-container {
    /* background-color: rgb(230, 230, 230);*/
    overflow-y: hidden;
    color: rgb(0, 0, 0);
    margin: 24px 24px 0px 24px;
    height: calc(100vh - 50px);
    overflow: hidden;
    position: relative;
    border-radius: 30px;
}

.animation-container video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.animation-container button {
    font-family: 'Barlow', sans-serif;
    font-weight: bold;
    font-size: small;
    border: 1px solid black;
    padding: 3px 25px;
}

.codedText {
    padding: 10px 15px;
    margin: 15px;
    background: transparent;
    color: black;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes shrink {
    from {
        font-size: 6rem;
    }

    to {
        font-size: 4rem;
    }
}

@keyframes moveUp {
    to {
        transform: translateY(-10px);
    }
}

.stack {
    display: grid;
    grid-template-columns: 1fr;
}

.stack span {
    position: relative;
    /* font-family: 'Barlow', sans-serif; */
    /* font-family: 'Bungee Shade', cursive, sans-serif; */
    /* font-family: 'Share Tech Mono', monospace; */
    font-size: 6rem;
    font-weight: bold;
    z-index: 2;
    font-family: "Oswald", sans-serif;
    grid-row-start: 1;
    grid-column-start: 1;
    --stack-height: calc(100% / var(--stacks) - 1px);
    --inverse-index: calc(calc(var(--stacks) - 1) - var(--index));
    --clip-top: calc(var(--stack-height) * var(--index));
    --clip-bottom: calc(var(--stack-height) * var(--inverse-index));
    clip-path: inset(var(--clip-top) 0 var(--clip-bottom) 0);
    animation: stack 340ms cubic-bezier(.46, .29, 0, 1.24) 1 backwards calc(var(--index) * 120ms), glitch 1s ease infinite 1s alternate-reverse;
    animation:
        stack 340ms cubic-bezier(.46, .29, 0, 1.24) 1 backwards calc(var(--index) * 120ms),
        glitch 1s ease infinite 2s alternate-reverse,
        shrink 1s forwards 1s;
    /* moveUp 1s forwards 3s; */
}

.stack span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    /* Thickness of the line */
    background-color: white;
    /* Color of the line */
    top: 50%;
    /* Puts it in the center vertically */
    transform: translateY(-50%);
    /* Ensures it's perfectly centered */
    opacity: 0;
    /* Start as invisible */
    animation: slideLine 0.5s forwards 4.5s;
    /* Play after glitch and shrink */
}

.stack span:nth-child(odd) {
    --glitch-translate: 8px;
}

.stack span:nth-child(even) {
    --glitch-translate: -8px;
}

@keyframes stack {
    0% {
        opacity: 0;
        transform: translateX(-50%);
        text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
    }

    ;

    60% {
        opacity: 0.5;
        transform: translateX(50%);
    }

    80% {
        transform: none;
        opacity: 1;
        text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
    }

    100% {
        text-shadow: none;
    }
}

@keyframes glitch {
    0% {
        text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
        transform: translate(var(--glitch-translate));
    }

    2% {
        text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
    }

    4%,
    100% {
        text-shadow: none;
        transform: none;
    }
}

.selffolioText {
    text-align: center;
    font-size: 2rem;
    font-family: 'Barlow', sans-serif;

    /* box-shadow: inset 0 0 0 2px rgb(51, 47, 47); */
    /* text-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2); */
    /* font-size: 2rem; */
    position: relative;
    top: -5px;
    /* To start it hidden above the name */
    opacity: 0;
    animation: swipeDown 1s forwards 1s;
    /* moveUp 1s forwards 3s; */
    z-index: 2;
}

@keyframes swipeDown {
    from {
        top: -85px;
        /* Starts at the same level as the name */
        opacity: 0;
    }

    to {
        top: -15px;
        /* Adjust based on the desired gap after the name */
        opacity: 1;
    }
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -60px;
  }
  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

@media (max-width: 768px) {
    @keyframes shrink {
        from {
            font-size: 3rem;
        }

        to {
            font-size: 2rem;
        }
    }

    .stack span {
        font-size: 3rem;
    }

    .selffolioText {
        font-size: 1rem;
    }

    @keyframes swipeDown {
        from {
            top: -65px;
            /* Starts at the same level as the name */
            opacity: 0;
        }

        to {
            top: -5px;
            /* Adjust based on the desired gap after the name */
            opacity: 1;
        }
    }
}

/* Detail Portfolio */
#message {
    border: 1px solid rgb(188, 188, 189);
    color: rgb(59, 59, 59);
    width: 100%;
}

.banner-img {
    display: none;
}

.content-container {
    margin: 0px 10px 0px 10px;
}

.portfolio {
    color: black;
    overflow-y: auto;
    overflow-x: hidden;
    
}

.navbar-brand {
    margin: 0 !important;
    /* position: relative; */
}

.navbar-brand img {
    max-height: 160px;
    max-width: 160px;
    margin: 0 !important;
    position: absolute;
    top: 0;
    left: 0;
}

.hover-logo {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover .hover-logo {
    opacity: 1;
}

.navbar-brand:hover .static-logo {
    opacity: 0;
}

.background-img {
    /* z-index: -1; */
    max-height: 150px;
    overflow: hidden;
    width: 100%;
}

.background-img img {
    width: 100%;
    position: relative;
    cursor: pointer;
}

.avatar {
    border-radius: 50%;
    margin: auto;
    width: 130px;
    height: 130px;
    overflow: hidden;
    transform: translateY(-50%);
    margin-bottom: -60px;
}

.avatar img {
    border: solid 10px;
    border-color: white;
    width: 130px;
    height: 130px;
    border-radius: 50%;
}

.card {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0;
    padding-top: 0;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    background-color: transparent !important;
    background-image: url('');
}

.card-header {
    background-color: transparent !important;
    display: flex;
    flex-direction: column;
    padding: 8px 0px !important;
}


.card-header h1 {

    word-wrap: break-word;
}

.button-group {
    display: flex;
    flex-direction: column;
}   

.button-group button {
    font-family: "acumin-pro", "Acumin Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    padding: 15px 25px;
    border-radius: 35px;
    border: solid 1px;
    margin: 5px 0px;
    background-color: black;
    color: white;
}

.button-group button:hover {
    background-color: rgb(121, 121, 121);
    color: rgb(237, 236, 236);
}

.content-nav {
    padding: 60px 0px 30px 0px;
}

.subnav-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 8px;
    padding: 0;
    overflow-x: auto;
}

.subnav-menu button {
    border-radius: 35px;
    padding: 10px 20px;
    margin: 0;
    border: none;
    font-size: 14px;
    font-weight: bold;
    color: rgb(59, 59, 59);
}

.subnav-menu button:hover {
    color: rgb(121, 121, 121);
}

.inactive {
    background-color: white;
}

.active {
    background-color: rgb(243, 242, 242);
}

.footer-container {
    display: flex;
    flex-direction: column;
    padding: 0px 24px;
    align-items: center;
}

.footer-upper {
    display: flex;
    flex-direction: column;
    padding: 44px 0px;
    align-items: center;
}

.footer-upper img {
    max-height: 200px;
    max-width: 200px;
    margin: 0 !important;
}

.footer-lower {
    display: flex;
    flex-direction: column;
    padding: 32px 0px;
}

/* Tablet view */
@media (min-width: 768px) {
    .content-container {
        margin: 0px 10px 0px 10px;
    }

    .footer-container {
        padding: 0px 32px;
    }

    .footer-lower {
        flex-direction: row;
        padding: 44px 0px
    }
}

/* Desktop view */
@media (min-width: 1118px) {
    .animation-container button {
        padding: 5px 50px;
        background: black;
        color: white;
        border: none;
    }

    #stamp{
        width: 150px;
        height: 150px;
        position: absolute;
        top: 20px;
        left: -75px;
        z-index: 10;

    }

    .banner {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        justify-content: space-between;
        position: relative;
    }

    .banner-text {
        display: flex;
        flex-direction: column;
        width: 50%;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .banner-img {
        display: flex;
        flex-basis: auto;
        /* align-self: flex-end; */
        max-height: 434px;
        max-width: 800px;
        overflow: visible;
        width: 1000px;
        height: 434px;
        position: relative;
    }

    .banner-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 35px;
    }

    .background-img {
        /* max-height: 266px; */
        display: none;
    }

    .avatar {
        margin-left: 0px;
        margin-bottom: 0px;
        transform: translateY(0%);
        width: 84px;
        height: 84px;
        margin-bottom: 20px;
    }

    .avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: none;
    }

    .card {
        display: flex;
        text-align: left;
        margin-top: 0;
        padding: 0px 0px 10px 0px;
    }

    .button-group {
        display: flex;
        flex-direction: row;
    }

    .card-header {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    .card-header h1 {
        font-size: 48px;
        max-width: 600px;
    }

    .card-header button {
        margin-right: 10px;
        margin-left: 0px;
    }

    .content-container {
        margin: 120px 0px 0px 0px !important;
        padding: 0px 72px;
        background-color: white!important;
    }

    .navbar-brand img {
        max-height: 150px;
        max-width: 150px;
        margin: 0 !important;
    }

    .footer-container {
        flex-direction: row;
        padding: 0px 32px;
    }

    .footer-upper {
        flex-direction: row;
        padding: 72px 0px 44px 0px;
    }

    .footer-lower {
        flex-direction: row;
    }
}