@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;400&family=Roboto:wght@100;300;400;500;700&display=swap');

*,
*::after,
*::before {
    box-sizing: border-box;
}

.navigation-bar-text:hover {
        animation: underline-move 0.5s forwards;
    }

    @keyframes underline-move {
    0% {
      text-decoration: none;
    }
    100% {
      text-decoration: underline;
    }
}

.about-me {
    margin-left: 2%;
}

.link {
    color: white;
    text-decoration: none;
    user-select: none;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    text-decoration-color: white;
}

.button {
    background-color: transparent;
    border: none;
    color: white;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 6px;
    backdrop-filter: blur(1000px);
    cursor: pointer;
    margin: 1%;
}

.loadingcontainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s;
}

.loadingcontainer .loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (prefers-color-scheme: dark) {
    .loadingcontainer {
        background: rgba(0, 0, 0, 1);
    }

    body {
        background-color: black;
        color: white;
    }

    .card {
        background: rgba(15, 15, 15, 0.6);
        color: #fff;
    }

    .button:hover {
        color: #fff;
    }
    
    .button {
        color: #fff;
    }

    .a {
        color: white;
    }

    .loadingcontainer .loading #loading-light {
        display: block;
        animation: 1s ease-out 0s 1 fadeIn;
    }
    
    .loadingcontainer .loading #loading-dark {
        display: none;
    }

}

.textareainput {
    background-color: transparent;
    border: none;
    color: white;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 6px;
    backdrop-filter: blur(1000px);
    cursor: text;
    margin: 1%;
}
.textareainput:hover {
    box-shadow: 0 0 32px 0 rgba(0, 120, 215, 0.3);
}
.textareainput:focus {
    box-shadow: 0 0 32px 0 rgba(0, 120, 215, 0.3);
}

.button:hover {
    transform: scale(1.05);
}

.button:active {
    transform: scale(0.95);
}

.button {
  background-color: transparent;
  border: none;
  color: white;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 6px;
  backdrop-filter: blur(1000px);
  cursor: pointer;
  margin: 1%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    transform: scale(1.05);
}

.button:active {
    transform: scale(0.95);
}

@keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    height: 100%;
    width: 100%
}


.hidden {
  display: none;
}

.card {
    background: rgba(60, 59, 59, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.212);
    padding: 12px;
    width: 50%;
    animation: 1s ease-out 0s 1 fadeIn;
}

.navcard {
    background: rgba(60, 59, 59, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.212);
    padding: 10px;
    width: 40%;
    animation: 1s ease-out 0s 1 fadeIn;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.resource-card {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
      overflow: hidden;
  text-overflow: ellipsis;
}

.subresource-card {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.212);
    padding: 10px;
    margin: 1%;
    text-decoration: none;
    color: white;
    width: 20%;
    min-height: 20vh;
    justify-content: center;
    display:flex;
    align-items: center;
    flex-direction: column;
    font-size: 80%;
}

.portfolio-card {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.212);
    padding: 10px;
    margin: 1%;
    text-decoration: none;
    color: white;
    width: 30%;
    min-height: 20vh;
    justify-content: center;
    display:flex;
    align-items: center;
    flex-direction: column;
    font-size: 80%;
}

.subcard {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.212);
    padding: 12px;
    width: 100%;
}

.card-title {
    font-size: 12px;
    font-weight: lighter;
    margin-bottom: 16px;
    font-family: monospace;
    opacity: 0.5;
}

.back {
    font-size: 12px;
    font-weight: lighter;
    font-family: monospace;
    opacity: 0.5;
}

.navigation-bar-text {
    font-size: 16px;
    font-weight: lighter;
    font-family: monospace;
    opacity: 0.8;
    text-align: center;
    cursor: pointer;
    margin-left:5%;
    margin-right:5%;
    -webkit-user-select: none;
    user-select: none;
    display: flex;
    gap:3px;
    align-items: center;
}

.user-profile {
    display: flex;
    gap: 1em;
}
.Profile-pic {
    position: relative;
}
#pfp {
    width: 128px;
    height: 128px;
    border-radius: 10%;
}
#pfp2 {
    width: 128px;
    height: 128px;
    border-radius: 10%;
}
#status-dot {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background-color: #fff;
    position: absolute;
    top: 0px;
    right: 0px;
    transform: translate(50%, -50%);
    border: 2px solid rgba(60, 59, 59, 0.3);
}

#username {
    font-size: 28px;
    font-weight: bold;
}
#status2,
#status {
    opacity: 0.5;
    transition: all 0.6s ease;
}

.activity-wrapper {
    display: flex;
    gap: 8px;
    width: 100%;
}

.activity-info {
    width: 100%;
}

.activity-images {
    position: relative;
}

#activity-big-image {
    width: 128px;
    height: 128px;
    border-radius: 10%;
}

#activity-small-image {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: -20%;
    right: 0px;
    transform: translate(50%, -50%);
    border: 2px solid rgba(60, 59, 59, 0.3);
}

#activity-name {
    font-size: 25px;
    font-weight: bold;
    margin-left: 15px;
}

#activity-state {
    font-size: 20px;
    opacity: 0.7;
    margin-left: 15px;
}

#activity-detail {
    opacity: 0.5;
    margin-left: 15px;
}

.showmore {
    opacity: 0.5;
    margin-top: 2px;
    text-align: center;
    font-size:x-small;
    text-decoration: none;
    color: white;
    user-select: none;
    -webkit-user-select: none;
}

@media (max-width: 820px) {
    .card {
        width: 98%;
    }
    .navcard {
        width: 90%;
    }
    .heading {
        font-size: 30px;
    }
    .resource-card {
        flex-direction: column;
    }
    .subresource-card {
        max-width: unset;
        width: 90%;
    }
    .portfolio-card {
        max-width: unset;
        width: 90%;
    }
    .navigation-bar-text {
        font-size: 14px;
        gap: 5px
    }

}
ul,
li {
    padding: 0%;
    margin: 0;
    list-style: none;
}
.connections {
    display: contents;
    width: 100%;
}

.connection-icon {
    height: 30px;
    width: auto;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    gap: 10px;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #222222; 
}
 
::-webkit-scrollbar-thumb {
  background: #5c5c5c; 
  border-radius: 100vh;
  margin-block: 10em;
}

::-webkit-scrollbar-thumb:hover {
  background: #363636; 
}

.desc {
  padding: 15px;
  text-align: center;
  color: white;
}

.corner-text {
    position: fixed;
    bottom: 15px;
    right: 15px;
    font-family: monospace;
    font-size: 13px;
    opacity: 0.5;
    color: gray;
    z-index: 99999;
}