@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* CHAT LOGGING */

/* CARD */
.chatlog-card {
    max-width: 80vw;
    margin: 1vw auto;
    background: linear-gradient(145deg, #2b4e2b, #244224);
    border-radius: 2vw;
    padding: 1.5vw;
    box-shadow: 0 0.5vw 1vw rgba(0,0,0,0.3);
    transition: 0.2s ease;
    margin-bottom: 0.5vw;
}

.chatlog-card:hover {
    transform: translateY(-0.2vw);
    box-shadow: 0 1vw 2vw rgba(0,0,0,0.4);
}

/* ROW LAYOUT */
.chat-row {
    display: flex;
    gap: 1.2vw;
    align-items: flex-start;
}

/* AVATAR */
.chat-avatar img {
    width: 4.5vw;
    height: 4.5vw;
    border-radius: 50%;
    border: 0.2vw solid #04afec;
    object-fit: cover;
}

/* CONTENT */
.chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4vw;
}

/* HEADER LINE */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* USERNAME */
.chat-username {
    font-size: 1.4vw;
    font-weight: 700;
    color: white;
}

.chat-username.admin { color: gold; }
.chat-username.staff { color: red; }

/* 🔥 IMPORTANT CARD HIGHLIGHT */
.chatlog-card.important {
    border-left: 0.5vw solid #ff3b2f;
    background: linear-gradient(145deg, #3a1f1f, #2b4e2b);
}

/* subtle glow */
.chatlog-card.important {
    box-shadow: 0 0 1vw rgba(255, 60, 60, 0.3);
}

.important-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-avatar img {
    width: 3.5vw;
    height: 3.5vw;
}

/* META (important + time) */
.chat-meta {
    display: flex;
    align-items: center;
    gap: 0.8vw; /* 🔥 THIS is what you were missing */
}

/* IMPORTANT TAG */
.chat-important {
    padding: 0.2vw 0.6vw;
    border-radius: 0.5vw;
    font-size: 0.8vw;
    font-weight: 600;
    margin-left: 0.5vw;
}

.chat-important.imp {
    background: rgba(255, 60, 60, 0.2);
    color: #ff4d4d;
}

.chat-important.unimp {
    background: rgba(255,255,255,0.1);
    color: #ccc;
}

.important-btn {
    background: #c4281c;
    color: white;
    border: none;
    padding: 0.4vw 0.8vw;
    border-radius: 0.6vw;
    cursor: pointer;
    font-size: 0.85vw;
    transition: 0.2s;
}

.important-btn:hover {
    opacity: 0.8;
    background: #ff3b2f;
}

/* TIME */
.chat-time {
    font-size: 0.9vw;
    color: #c4281c;
    /* margin-left: 0.5vw; */
}

/* MESSAGE */
.chat-message {
    font-size: 1.1vw;
    color: #ffffff;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.delete-btn {
    background: #2b2b2b;
    color: #ff4d4d;
    border: none;
    padding: 0.4vw 0.6vw;
    border-radius: 0.5vw;
    cursor: pointer;
    font-size: 0.9vw;
    transition: 0.2s;
}

.delete-btn:hover {
    background: #ff4d4d;
    color: white;
}

/* animation */
.log-card {
    transition: 0.2s ease;
}

.chat-actions {
    display: flex;
    gap: 0.5vw;
    align-items: center;
}

/* ========================= */
/* CHAT - MOBILE REFACTOR    */
/* ========================= */

@media (max-width: 768px) {

    /* CARD */
    .chatlog-card {
        max-width: 95%;
        width: 95%;
        padding: 3vw;
        margin-bottom: 0.5vw;
    }

    /* ACTION CONTAINER */
    .chat-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 2vw;
        margin-top: 1vw;
    }

    /* ROW LAYOUT */
    .chat-row {
        gap: 3vw;
    }

    /* AVATAR */
    .chat-avatar img {
        width: 12vw;
        height: 12vw;
        border-width: 0.5vw;
    }

    /* CONTENT */
    .chat-content {
        gap: 1.5vw;
    }

    /* HEADER STACK */
    .chat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1vw;
    }

    /* USERNAME */
    .chat-username {
        font-size: 4.5vw;
    }

    /* META (tag + time + button) */
    .chat-meta {
        flex-wrap: wrap;
        gap: 2vw;
        width: 100%;
        justify-content: space-between;
    }

    /* TAG */
    .chat-important {
        font-size: 3vw;
        padding: 0.6vw 1.5vw;
        border-radius: 1.5vw;
    }

    /* TIME */
    .chat-time {
        font-size: 3vw;
    }

    /* BUTTON */
    .important-btn,
    .delete-btn {
        font-size: 3.5vw;
        padding: 1vw 2vw;
        border-radius: 2vw;
    }

    .important-btn {
        flex: 1; /* grows nicely */
    }

    .delete-btn {
        flex: 0 0 auto;
        padding: 2vw;
    }

    /* MESSAGE */
    .chat-message {
        font-size: 3.8vw;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .chat-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .chat-avatar img {
        width: 14vw;
        height: 14vw;
    }
}



/* MY DKK MEMBERS */

.members-user-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Always 3 columns */
    gap: 0.5vw;
    padding: 0vw 0vw;
    justify-items: center; /* centers content in each cell */
}

@media screen and (max-width: 768px) {
  .members-user-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .members-user-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

.members-avatar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5vw;
    cursor: pointer;
}

.members-avatar {
  width: 6.5vw;           /* increased size */
  height: 6.5vw;
  border-radius: 50%;
  object-fit: cover;
  border: 0.3vw solid #04afec;
  box-shadow: 0 0 0.6vw rgba(0, 0, 0, 0.2);
  margin-bottom: 0.8vw;
}

.members-avatar-red {
  width: 6.5vw;           /* increased size */
  height: 6.5vw;
  border-radius: 50%;
  object-fit: cover;
  border: 0.3vw solid #c4281c;
  box-shadow: 0 0 0.6vw rgba(0, 0, 0, 0.2);
  margin-bottom: 0.8vw;
}

.members-name-position {
    font-size: 2vw;
    font-weight: bold;
    color: #1e3a8a;
    text-decoration: none;
}

.members-role {
    font-size: 1vw;
    font-weight: light;
    color: #04afec;
    text-decoration: underline #8c4e2b
}

/* MY DKK */

.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 13vw;
    margin-top: 2vw;
}

.avatar {
    width: 5vw;
    height: 5vw;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #04afec;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.profilelogo-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 0vw;
}

.profilelogo {
    margin-left: 1vw;
    margin-top: 0.6vw;
    width: 2.5vw;
    height: 2.5vw;
    object-fit: cover;
    vertical-align: middle;
}

/* Status dot */
.status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 1.5vw;
    height: 1.5vw;
    border: 0.25vw solid white;
    border-radius: 50%;
}

/* Status colors */
.status-indicator.online {
    background-color: #43b581; /* green */
}

.status-indicator.offline {
    background-color: #747f8d; /* gray */
}

.name-position {
    position: absolute;
    font-size: 2.5vw;
    bottom: 2.75vw;
    right: 0vw;
    left: 6vw;
    width: 1.5vw;
    height: 1.5vw;
    color: #2b4e8c;
    border-radius: 50%;
}

.job-card-flex {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    
}

.job-container {
    display: flex;
    gap: 2vw;
    padding: 2vw 10.5vw;
}

.left-section, .right-section {
  border: 0.2vw solid #2b4e8c;
  padding: 1vw;
  flex: 1; /* split space equally */
  min-height: 30vw; /* or whatever fits your content */
}

.scroll-section {
  border: 0.2vw solid #2b4e8c;
  padding: 1vw;
  flex: 1; /* split space equally */
  height: 30vw; /* or whatever fits your content */
  overflow-y: auto;
}

.info-container {
    padding: 1vw 10.5vw;
}

.job-container-title {
    margin-left: 2vw;
    margin-bottom: 1vw;
    font-size: 2.25vw;
    color: #c4281c;
}

.info-container-title {
    margin-left: 25vw;
    margin-bottom: 1vw;
    font-size: 2.25vw;
    color: #c4281c;
}

.job-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    width: 100%;  /* Set image width in vw */
    height: auto;
    margin-bottom: 0.5vw;
}

.job-card-img {
    width: 12.5vw;   /* Match wrapper width */
    height: auto;
    display: block;
}

.job-card-img-2 {
    width: 3.25vw;   /* Match wrapper width */
    height: 3.25vw;
    display: block;
}

.job-card-title {
    position: absolute;
    top: 0vw;      /* Position from top of image */
    left: 2vw;     /* Position from left of image */
    font-size: 1.75vw;
    color: #8c4e2b;
    font-family: monospace;
    /* background-color: rgba(255, 255, 255, 0.5); Optional: contrast */
    padding: 0.5vw 1vw;
    /* border-radius: 0.3vw; */
}

.license-card-title {
    position: absolute;
    top: 0vw;      /* Position from top of image */
    left: 2vw;     /* Position from left of image */
    font-size: 1.75vw;
    color: #2b4e8c;
    font-family: monospace;
    /* background-color: rgba(255, 255, 255, 0.5); Optional: contrast */
    padding: 0.5vw 1vw;
    /* border-radius: 0.3vw; */
}

.stact-card-alert {
    width: auto;
    max-width: 80vw;
    height: auto;
    background-color: #04afec;
    margin-left: 0vw;
    border-radius: 3vw;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0.5vw;
    margin-bottom: 0.2vw;
}

.stact-card {
    width: auto;
    max-width: 80vw;
    height: auto;
    background-color: #2b4e2b;
    margin-left: 0vw;
    border-radius: 3vw;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0.5vw;
    margin-bottom: 0.2vw;
}

.stact-card-content {
    display: flex;
    flex-direction: column;
    margin: 1.5vw;
    justify-content:space-between;
}

.stacting {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: -0.75vw;
}

.stacted {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

/* SHIFTS */
.questions {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    
}

.logs {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    
}

.chatlogs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5vw;
    
}

.chatlog-card {
    width: 100%;
    max-width: 80vw; /* consistent width */
    margin: 0 auto;  /* center horizontally */
    background: linear-gradient(145deg, #2b4e2b, #244224);
    border-radius: 2vw;
    padding: 1.5vw;
    box-shadow: 0 0.5vw 1vw rgba(0,0,0,0.3);
    transition: 0.2s ease;
    margin-bottom: 0.5vw;
}

.question-card {
    width: auto;
    max-width: 80vw;
    height: auto;
    background-color: #2b4e2b;
    margin-left: 10vw;
    border-radius: 3vw;
    word-wrap:break-word;
    overflow-wrap: break-word;
}

.log-card {
    width: auto;
    max-width: 80vw;
    height: auto;
    background-color: #2b4e2b;
    margin-left: 10vw;
    border-radius: 3vw;
    word-wrap:break-word;
    overflow-wrap: break-word;
}

.question-card-content {
    display: flex;
    flex-direction: column;
    margin: 1.5vw;
    height: auto;
    justify-content:space-between;
}

.log-card-content {
    display: flex;
    flex-direction: column;
    margin: 1.5vw;
    justify-content:space-between;
}

.card-info-content {
    margin-left: 1vw;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    font-size: 1.25vw;
    color: #c4281c;
}

.question-title {
    font-size: 2vw;
    font-weight: 600;
    color: #04afec;
    margin-bottom: 1.75vw;
}

.question-info {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    align-items: center;
}

.question-info-col {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.options {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: -2vw;
    width: auto;
    max-width: 80vw;
}

.logging {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: -0.75vw;
}

.option {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    width: auto;
    max-width: 70vw;
}

.logged {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.logged-blue {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    color: #04afec;
}

.logged-red {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    color: #c4281c;
}

.content-title {
    font-size: 3vw;
    font-weight: 600 !important;
    margin-top: 1vw;
    margin-bottom: 1vw;
    margin-left: 1vw;
    color: blueviolet !important;
}

.pagination-container {
    display: flex;
    flex-direction: row;
    gap: 0.5vw;
    margin-bottom: 1vw;
    justify-content: center;
}

.pagination {
    display: flex;
    flex-direction: row;
    gap: 1vw;
}

.pagination-center {
    font-size: 1vw;
    font-weight: 400;
    word-wrap:break-word;
    overflow-wrap: break-word;
}


/* MAIN */
body, html {
    background-color: lightgray;
    color: #FFFAFF;
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0vw;
}

.container {
    padding: 0vw 10.5vw; /* 10.5vw */
}

.navcontainer {
    padding: 0vw 10.5vw; /* 10.5vw */
}

.navbar {
    /* background-color: lightgray; */
    color: #FFFAFF;
    font-family: 'Outfit', sans-serif;
    padding: 0.5vw 2.5vw;
    font-size: 2vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* optional, in case screen gets narrow */
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1vw;
}

.nav-right {
    display: flex;
    /* flex-wrap: wrap; */
    align-items: center;
    gap: 0.2vw;
    margin-top: 0.5vw;
    justify-content: center;
}

.navbar-img {
    width: 5vw;
    height: 5vw;
    border-radius: 3vw;
    margin-right: 0.75vw;
}

.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vw; /* full height for vertical centering */
}

.wip-img {
    width: 75vw;
    height: 50vw;
    /* margin-top: 10%; */
}

.nav-left {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav-left a {
    font-size: 3vw;
    font-weight: 500;
}

.nav-item {
    font-size: 1.5vw;
    font-weight: 500;
    padding: 0.5vw 1.5vw;
    color: black;
    background-color: orange;
    text-decoration: none;
    white-space: nowrap;
    min-width: 8vw;
    display: flex;
    justify-content: center;
}

.portal-item {
    font-size: 1.5vw;
    font-weight: 500;
    padding: 0.5vw 1.5vw;
    color: blueviolet;
    background-color: white;
    text-decoration: none;
    white-space: nowrap;
    min-width: 8vw;
    display: flex;
    justify-content: center;
}

.welcome-text {
    color: purple;
}

.shift-item {
    font-size: 1.5vw;
    font-weight: 250;
    padding: 0.75vw 1.5vw;
    color: #04afec;
    background-color: #8c4e2b;
    text-decoration: none;
    border-radius: 2vw;
    white-space: nowrap;
}

a {
    color: blueviolet;
    text-decoration: none;
    font-weight: 700;
}

.auser {
    color: #c4281c;
    text-decoration: none;
    font-weight: 700;
}

.auser:hover {
    color: #c4281c;
    cursor: pointer;
}

.option-title {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 1vw;
    margin: 0;
    word-wrap:break-word;
    overflow-wrap: break-word;
}

.footer-section {
  background-color: #2b4e2b;
  color: #c4281c;
  padding: 2vw 5vw;
  font-size: 1.2vw;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1vw;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3vw;
  justify-content: center;
}

.footer-link {
  color: blueviolet;
  text-decoration: none;
  font-weight: 500;
}

.footer-link:hover {
  text-decoration: underline;
  color: orange;
}

.footer-section a:hover {
    color: #c4281c;
    cursor: pointer;
}

.footer-meta {
    text-align: center !important;
  font-size: 1vw;
  color: #cccccc;
  margin-top: 1vw;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.error-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 8vw 0vw;
}

.error-section h2 {
    font-size: 3vw;
    font-weight: 700;
    color: black;
}

.error-section h1 {
    font-size: 10vw;
    font-weight: 900;
    color: red;
    margin: 0;
}

.privacy-section {
    display: flex;
    flex-direction: column;
    margin: 4vw 0vw;
}

.privacy-section h1 {
    font-size: 2.75vw;
    font-weight: 700;
    color: blueviolet;
}

.privacy-section p {
    font-size: 1vw;
    font-weight: 400;
    color: black;
}

.privacy-content {
    margin-top: 2rem;
}

.privacy-dot {
    color: green;
    font-size: 1vw;
    font-weight: 600;
    margin-right: 0.75vw;
}

*, *::before, *::after {
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .container {
        padding: 4vw;
    }

    .question-card,
    .log-card {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        border-radius: 6vw;
    }

    .question-card-content,
    .log-card-content {
        margin: 4vw;
    }

    .question-title {
        font-size: 5.5vw;
    }

    .option-title,
    .pagination-center,
    .privacy-section p,
    .privacy-section h1,
    .privacy-dot {
        font-size: 4vw;
    }

    .question-info-col {
        width: 100%;
    }

    .options,
    .logging {
        gap: 3vw;
    }

    .navbar {
        font-size: 5vw;
        padding: 2vw;
    }

    .nav-item,
    .shift-item {
        font-size: 5vw;
        padding: 3vw 5vw;
    }

    .footer-section a {
        font-size: 5vw;
        margin-left: 2vw;
    }

    .wip-img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 640px) {
    .question-card,
    .log-card {
        width: 90%;
        max-width: 90%;
        margin-left: 5%;
        border-radius: 5vw;
    }

    .question-title {
        font-size: 5vw;
    }

    .option-title {
        font-size: 3.75vw;
    }

    .privacy-section h1 {
        font-size: 4.5vw;
    }

    .privacy-section p {
        font-size: 3.5vw;
    }

    .navbar {
        font-size: 4.25vw;
    }

    .nav-item,
    .shift-item {
        font-size: 4.25vw;
        padding: 2vw 3vw;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 2vw; /* reduced from 10.5vw for tighter mobile layout */
    }

    .question-card,
    .log-card {
        margin-left: 10;
        max-width: 80%;
        border-radius: 5vw;
        width: 80%;
    }

    .question-card-content,
    .log-card-content {
        margin: 3vw;
    }

    .question-title {
        font-size: clamp(1.25rem, 5vw, 2rem);
        margin-bottom: 2vw;
    }

    .card-info-content,
    .option-title,
    .pagination-center,
    .privacy-section p,
    .privacy-section h1,
    .privacy-dot {
        font-size: clamp(1rem, 3.5vw, 1.25rem);
    }

    .question-info {
        flex-direction: column;
        gap: 3vw;
    }

    .question-info-col {
        gap: 2vw;
        width: 80%;
    }

    .option {
        max-width: 80%;
    }

    .options,
    .logging {
        flex-direction: column;
        gap: 2vw;
    }

    .logged,
    .logged-blue,
    .logged-red {
        gap: 2vw;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        font-size: 4vw;
        padding: 2vw;
    }

    .nav-item,
    .shift-item {
        font-size: 4vw;
        padding: 2vw 4vw;
    }

    .footer-section a {
        font-size: clamp(1.25rem, 4vw, 2rem);
        margin-left: 2vw;
    }

    .privacy-section {
        margin: 4vw 2vw;
    }

    .error-section h1 {
        font-size: 15vw;
    }

    .error-section h2 {
        font-size: 6vw;
    }

    .wip-img {
        width: 80%;
        height: auto;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 6vw;
    }

    .question-card,
    .log-card {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }

    .question-title {
        font-size: 3.5vw;
    }

    .card-info-content {
        font-size: 2.25vw;
    }

    .navbar {
        font-size: 3vw;
    }

    .nav-item,
    .shift-item {
        font-size: 3vw;
    }

    .footer-section a {
        font-size: 2.75vw;
    }
}



.nav-item:hover, .shift-item:hover, .question-title:hover {
    opacity: .5;
    cursor: pointer;
}

/* ADDITIONAL */

@media (max-width: 768px) {
    .members-avatar,
    .members-avatar-red {
        width: 14vw;
        height: 14vw;
        border-width: 0.6vw;
    }

    .members-name-position {
        font-size: 3.5vw;
    }

    .members-role {
        font-size: 2.5vw;
    }
}

@media (max-width: 768px) {
    .avatar-wrapper {
        margin-left: 5vw;
    }

    .avatar {
        width: 12vw;
        height: 12vw;
    }

    .status-indicator {
        width: 3vw;
        height: 3vw;
        border-width: 0.5vw;
    }

    .name-position {
        position: static; /* stops overlap */
        font-size: 4vw;
        margin-top: 2vw;
        width: auto;
        height: auto;
    }
}

@media (max-width: 768px) {
    .job-container {
        flex-direction: column;
        gap: 4vw;
        padding: 4vw;
    }

    .left-section,
    .right-section,
    .scroll-section {
        min-height: unset;
        height: auto;
    }
}

@media (max-width: 768px) {
    .job-card-img {
        width: 40vw;
    }

    .job-card-img-2 {
        width: 10vw;
        height: 10vw;
    }

    .job-card-title,
    .license-card-title {
        font-size: 3.5vw;
        padding: 1vw 2vw;
    }
}

@media (max-width: 768px) {
    .info-container-title {
        margin-left: 0;
        text-align: center;
        font-size: 4.5vw;
    }

    .job-container-title {
        margin-left: 0;
        text-align: center;
        font-size: 4.5vw;
    }
}

@media (max-width: 768px) {
    .stacting {
        flex-direction: column;
        gap: 2vw;
        margin-top: 1vw;
    }

    .stact-card,
    .stact-card-alert {
        padding: 2vw;
        border-radius: 4vw;
    }
}

@media (max-width: 768px) {
    .navcontainer {
        padding: 2vw;
    }
}

@media (max-width: 480px) {
    .members-user-grid {
        gap: 3vw;
    }

    .members-avatar-wrapper {
        gap: 2vw;
    }
}

@media (max-width: 768px) {
    .img-container {
        height: auto;
        padding: 5vw 0;
    }
}

/* ADDITIONAL 2 */

@media (max-width: 768px) {
    .members-avatar-wrapper {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .members-avatar,
    .members-avatar-red {
        max-width: 80px;
        max-height: 80px;
    }
}

@media (max-width: 768px) {
    .scroll-section {
        height: auto;
        max-height: 60vh;
    }
}

@media (max-width: 768px) {
    .profilelogo {
        width: 6vw;
        height: 6vw;
    }
}

@media (max-width: 768px) {
    .stact-card-content {
        margin: 3vw;
    }
}

@media (max-width: 768px) {
    .question-card,
    .log-card {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .pagination-center,
    .privacy-dot {
        font-size: max(12px, 3vw);
    }
}

@media (max-width: 768px) {
    .job-card-wrapper {
        min-width: 0;
    }
}