/* ==================== Effects ==================== */
    @-webkit-keyframes fadeIn {
        0% {
            opacity: 0;
            transform: translatey(4px);
        }
        100% {
            opacity: 1;
        }
    }

    @keyframes fadeIn {
        0% {
            opacity: 0;
            transform: translatey(4px);
        }
        100% {
            opacity: 1;
        }
    }

    

/* ==================== Card ==================== */
    .card {
        position: fixed;

        top: 10%;
        bottom:10%;
        overflow: hidden;
        background-color: rgb(255, 255, 255);

        display: flex;
        flex-direction: column;
        transition: 0.3s;

        border-radius: 10px;
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.3);

        transform-style: preserve-3d;
        opacity: 0.40;
        z-index: 10;
        filter: blur(7px);

        transform: scale(0.01);
        animation: blur-breathe 3s ease-in-out infinite;

    }

    .card:hover {
        opacity: 0.80;
        filter: blur(0px);

        transform: scale(1);
        animation: none;
    }

    @keyframes blur-breathe {
        0%, 100% { filter: blur(7px); opacity: 0.40; }
        50% { filter: blur(1px); opacity: 0.55; }
    }

    /* ==================== Card states ==================== */
        .card[data-state="#about"] {
            width: 85vw;
            height: 60vh;
        }

        .card[data-state="#about"] .card-main {
            padding-top: 0;
        }

        .card[data-state="#contact"] {
            width: 85vw;
            height: 50vh;
        }

        .card[data-state="#servers"] {
            width: 75vw;
            height: 65vh;
        }

        .card[data-state="#maps"] {
            width: 85vw;
            height: 60vh;
        }

        .card[data-state="#video"] {
            top: 4%;
            width: 91vw;
            height: 91%;
        }

        .card[data-state="#video"] .card-main {
            padding-top: 0;
        }

        .card[data-state="#score"] {
            width: 85vw;
            top: 3%;
            height: 75vh;
        }

        .card.is-active .card-header {
            height: 12vh;
        }

        .card.is-active .card-cover {
            height: 85px;
            top: 65px;
        }
        
        .card.is-active .card-avatar {
            transform: none;
            left: 5%;
            width: 7vh;
            height: 7vh;
            bottom: 1vh;
        }

        .card.is-active .card-fullname,
        .card.is-active .card-jobtitle {
            left: 27%;
            transform: none;
        }
        
        .card.is-active .card-fullname {
            bottom: 2vh;
            font-size: 2.5vh;
        }
        
        .card.is-active .card-jobtitle {
            bottom: 1vh;
            letter-spacing: 1px;
            font-size: 2vh;
        }
        
        .card-section {
            display: none;
            padding-left: 1vw;
        }
        
        .card-section.is-active {
            display: block;
            -webkit-animation: fadeIn 0.6s both;
                    animation: fadeIn 0.6s both;
        }

        .card-item {
            position: relative;
            padding-left: 60px;
            padding-right: 20px;
            padding-bottom: 30px;
            z-index: 2;
        }
        
        .card-item:last-child {
            padding-bottom: 5px;
        }

        .card-item:after {
            content: attr(data-year);
            width: 10px;
            position: absolute;
            top: 0;
            left: 37px;
            width: 8px;
            height: 8px;
            line-height: 0.6;
            border: 2px solid #fff;
            font-size: 1.8vh;
            text-indent: -35px;
            border-radius: 50%;
            color: rgba(134, 134, 134, 0.7);
            background: linear-gradient(to bottom, #a0aee3 0%, #516acc 100%);
        }


/* ==================== Header ==================== */
    .card-cover {
        width: 100vw;
        height: 100%;
        position: absolute;
        height: 12vh;
        top: -20%;
        left: 0;
        will-change: top;
        background-size:contain;
        background-position: center;
        filter: blur(40px);
        transform: scale(2.5);
        transition: 0.5s;
        z-index: 0;
    }

    .card-header {
        position: relative;
        display: flex;
        height: 45%;
        flex-shrink: 0;
        width: 100%;
        transition: 0.3s;
        z-index: 0;
    }

      .card-header * {
        transition: 0.3s;
    }

    .card-avatar {
        width: 14.5vh;
        height: 14.5vh;
        box-shadow: 0 8px 8px rgba(0, 0, 0, 0.486);
        border-radius: 50%;
        -o-object-position: center;
            object-position: center;
        -o-object-fit: cover;
            object-fit: cover;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    .card-fullname {
        position: absolute;
        bottom: 1%;
        font-size: 2.5vh;
        font-weight: 700;
        text-align: center;
        white-space: nowrap;
        transform: translateY(-50%) translateX(-50%);
        left: 50%;
    }

    .card-jobtitle {
        position: absolute;
        bottom: 0;
        font-size: 2vh;
        white-space: nowrap;
        font-weight: 500;
        opacity: 0.7;
        /*text-transform: uppercase;*/
        letter-spacing: 1.5px;
        margin: 0;
        left: 50%;
        transform: translateX(-50%) translateY(0%);
    }

    .card-subtitle {
        font-weight: 700;
        font-size: 2vh;
        margin-top: 2vh;
        margin-bottom: 4vh;
    }

    .card-desc {
        line-height: 1.6;
        color: #8797a1;
        font-size: 1.8vh;
        margin: 0;
        font-weight: 400;
        font-family: "DM Sans", sans-serif;
    }


/* ==================== Main ==================== */
    .card-main {
        position: relative;
        flex: 1;
        display: flex;
        padding-top: 1%;
        flex-direction: column;
        min-height: 0;
        overflow-y: auto;
    }

    .card-item-title {
        font-weight: 500;
        font-size: 1.8vh;
        margin-bottom: 0.2vh;
    }

    .card-item-desc {
        font-size: 1.8vh;
        color: #6f6f7b;
        line-height: 1.5;
        font-family: "DM Sans", sans-serif;
    }


/* ==================== Card buttons ==================== */
    .card-buttons {
        display: flex;
        background-color: rgba(255, 255, 255, 0.37);
        margin-top: auto;
        position: sticky;
        bottom: 0;
        left: 0;
    }

    .card-buttons button {
        flex: 1 1 auto;
        -webkit-user-select: none;
          -moz-user-select: none;
            -ms-user-select: none;
                user-select: none;
        background: 0;
        font-size: 1.8vh;
        border: 0;
        padding: 15px 5px;
        cursor: pointer;
        color: #5c5c6d;
        transition: 0.3s;
        font-family: "Jost", sans-serif;
        font-weight: 500;
        outline: 0;
        border-bottom: 3px solid transparent;
    }

    .card-buttons button.is-active {
        color: #2b2c48;
        border-bottom: 3px solid #8a84ff;
        background: linear-gradient(to bottom, rgba(127, 199, 231, 0) 0%, rgba(207, 204, 255, 0.2) 44%, rgba(211, 226, 255, 0.4) 100%);
    }

    @media (hover: hover) {
        .card-buttons button:hover {
            color: #2b2c48;
            border-bottom: 3px solid #8a84ff;
            background: linear-gradient(to bottom, rgba(127, 199, 231, 0) 0%, rgba(207, 204, 255, 0.2) 44%, rgba(211, 226, 255, 0.4) 100%);
        }
    }


/* ==================== Items ==================== */
    /* ==================== About ==================== */

    /* ==================== Video ==================== */
    #vid-player-bonus {
        position: relative;
        width: 100%;
        border-radius: 10px;
    }
    
    #video-desc{
        padding: 20px;
    }

    /* ==================== Map ==================== */
    #map{
        position: absolute;
        display:block;
        top:0px;
        left:0px;
        height: 60vh;
        width: 90vw;
    }

    /* ==================== Servers ==================== */
    #servers >.card-content {
        padding: 3%;
        z-index: 1;
    }

    .card-servers-wrapper {
        margin-top: 0px;
    }


    /* ==================== Contact ==================== */
    #contact >.card-content {
        padding: 3%;
        z-index: 1;
    }

    .card-contact-wrapper {
        margin-top: 0px;
    }



    .card-contact {
        display: flex;
        align-items: center;
        font-size: 1.8vh;
        color: #6f6f7b;
        font-family: "DM Sans", sans-serif;
        line-height: 3vh;
        cursor: pointer;
    }

    .card-contact + .card-contact {
        margin-top: 2vh;
    }

    .card-contact svg {
        flex-shrink: 0;
        width: 4vh;
        min-height: 4vh;
        transition: 0.3s;
        padding-right: 2vh;
    }

    #about >.card-content {
        padding: 3%;
        z-index: 1;
    }

    #email img {
        width: 25vh;
        transition: 0.3s;
    }

    /* ==================== Score ==================== */
    #score > .card-content {
        padding: 3%;
        z-index: 1;
    }

    .card-score-wrapper {
        margin-top: 0;
    }

