body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #131212;
    background: url("../assets/city.jpg") no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(32, 38, 45, 0.8);
    z-index: 0;
}

.snowflake {
  color: #fff;
  font-size: 1em;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 5px #000;
}
 
.snowflake,.snowflake .inner{animation-iteration-count:infinite;animation-play-state:running}@keyframes snowflakes-fall{0%{transform:translateY(0)}100%{transform:translateY(110vh)}}@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;user-select:none;cursor:default;pointer-events:none;animation-name:snowflakes-shake;animation-duration:3s;animation-timing-function:ease-in-out}.snowflake .inner{animation-duration:10s;animation-name:snowflakes-fall;animation-timing-function:linear}.snowflake:nth-of-type(0){left:1%;animation-delay:0s}.snowflake:nth-of-type(0) .inner{animation-delay:0s}.snowflake:first-of-type{left:10%;animation-delay:1s}.snowflake:first-of-type .inner,.snowflake:nth-of-type(8) .inner{animation-delay:1s}.snowflake:nth-of-type(2){left:20%;animation-delay:.5s}.snowflake:nth-of-type(2) .inner,.snowflake:nth-of-type(6) .inner{animation-delay:6s}.snowflake:nth-of-type(3){left:30%;animation-delay:2s}.snowflake:nth-of-type(11) .inner,.snowflake:nth-of-type(3) .inner{animation-delay:4s}.snowflake:nth-of-type(4){left:40%;animation-delay:2s}.snowflake:nth-of-type(10) .inner,.snowflake:nth-of-type(4) .inner{animation-delay:2s}.snowflake:nth-of-type(5){left:50%;animation-delay:3s}.snowflake:nth-of-type(5) .inner{animation-delay:8s}.snowflake:nth-of-type(6){left:60%;animation-delay:2s}.snowflake:nth-of-type(7){left:70%;animation-delay:1s}.snowflake:nth-of-type(7) .inner{animation-delay:2.5s}.snowflake:nth-of-type(8){left:80%;animation-delay:0s}.snowflake:nth-of-type(9){left:90%;animation-delay:1.5s}.snowflake:nth-of-type(9) .inner{animation-delay:3s}.snowflake:nth-of-type(10){left:25%;animation-delay:0s}.snowflake:nth-of-type(11){left:65%;animation-delay:2.5s}

@font-face {
    font-family: Inter;
    font-weight: 400;
    src: url(../assets/NeueUltraBold.otf) format("truetype")
}

.card {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    margin: 20px;
    padding: 20px; 
    text-align: center;
    background: rgba(17, 20, 27, 0.83);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 4px 4px rgba(32, 32, 32, 0.3);
    margin-bottom: 10px;

    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #323335;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.himsg {
    color: orangered;
    cursor: default;
}

p {
    color: #ffffff
}

.typewriter h3 {
  color: #84868a;
  font-family: Inter;
  overflow: hidden;
  border-right: .15em solid orange;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .15em;
  animation: 
    typing 3.5s steps(30, end),
    blink-caret .5s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange }
}


.tabs-separator {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}


.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 30px;
}

.tab {
    font-family: Inter;
    font-size: 20px;
    color: #84868a;
    cursor: pointer;
    padding: 0;
    border: none;
    background: none;
    position: relative;
    transition: color 0.2s ease;
}

.tab:hover {
    color: #ffffff;
}

.tab.active {
    color: #ffffff;
}

.tab.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4da3ff;
    border-radius: 2px;
}

.tab-content {
    margin-top: 30px;
    color: #dcdcdc;
    font-size: 16px;
    line-height: 1.5;
}

.tab-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    height: 70px;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-bottom: 15px;
}

.tab-item:hover {
    background-color: rgba(120, 122, 124, 0.15);
}

.tab-image {
    width: 50px;
    height: 50px;
    background-color: rgba(31, 101, 222, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    margin-top: 10px;
    flex-shrink: 0;
}

.tab-image img {
    width: 30px;
    height: 30px;
}

.tab-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 11px;
}

.tab-text h2 {
    margin: 0;
    font-size: 16px;
    color: #ffffff;
}

.tab-text p {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #7a7878;
    line-height: 1.4;
}

.source {
    font-family: Arial;
    font-size: 10px;
    color: lightgray;
    font-weight: bold;
    text-decoration: none;
    cursor: default;
    transition: all 0.3s ease;
}

.source:hover {
    cursor: pointer;
    color: skyblue;
    font-size: 13px;
    transform: translateY(3px) scale(1.1);
}

@media (max-width: 768px) {
    .card {
        width: 90%;
        padding: 15px;
        margin: 10px;
    }

    .profile-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .himsg {
        font-size: 20px;
    }

    .typewriter h3 {
        font-size: 14px;
    }

    .tabs {
        gap: 30px;
        margin-top: 20px;
    }

    .tab {
        font-size: 16px;
    }

    .tab-item {
        height: auto;
        padding: 10px 12px;
        gap: 10px;
    }

    .tab-image {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        margin-top: 5px;
    }

    .tab-image img {
        width: 24px;
        height: 24px;
    }

    .tab-text h2 {
        font-size: 14px;
    }

    .tab-text p {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .card {
        padding: 10px;
    }

    .tabs {
        gap: 20px;
    }

    .tab {
        font-size: 14px;
    }

    .typewriter h3 {
        font-size: 12px;
        letter-spacing: .1em;
    }
}
