:root {
  --primary-color: #101423;
  --secondary-color: #F0D2C7;
  --cards-color: #3B425F;
  --gradient-start: #FFEAC2;
  --gradient-middle: #EED5A2;
  --gradient-end: #745D29;
  --text-color: #f1f1f1;
  --gold-color: linear-gradient(90deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
  --gold-shadow-color: rgba(238, 213, 162, 0.5); /* Adjust the alpha value for transparency */
}

body, html {
  background-color: var(--primary-color);
  color: var(--text-color);
  font-family: 'Jost', sans-serif;
  margin: 0;
  padding: 0;
}
h1{
  font-family: 'Jost', sans-serif;
  font-weight: 100px;
}
.navbar {
  background-color: var(--primary-color);
  color: var(--text-color);
  
}
#jost-text {
  font-family: 'Jost', sans-serif;
  font-weight: 100px;
  
}
span {
  background: var(--gold-color);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
#cevat-text {
  font-family: 'Caveat', cursive;
  font-weight: 100;
  font-size: 2rem;
  background: var(--gold-color);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.competenc{
  
  color: var(--text-color);
}
.navbar-menu {
  background-color: var(--primary-color);
}
#gradient-border {
  border: 0.5px solid transparent;
  border-image: linear-gradient(90deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
  border-image-slice: 1;
}


.hero-img {
  border-radius: 150px 150px 0 0;

  
}
.sideimag {
  display: block;
}

@media (max-width: 768px) {
  .sideimag {
    display: none;
  }
}

.has-bullets {
  list-style-type: disc;
  padding-left: 20px;
  

}
.btn, .custom-button  {
  background-color: var(--cards-color);
  color: var(--gold-color);
  border: 1px solid transparent; /* Ændret til transparent for at bruge border-image */
  border-image: var(--gold-color); /* Tilføj denne linje for at bruge gradienten */
  border-image-slice: 1; /* Tilføj denne linje for at sikre, at hele gradienten bruges */
  padding: 12px 25px; 
  
}
.btn:hover, 
.btn:active  {
  background-image: var(--gold-color); /* Guld baggrund ved hover */
  color: var(--primary-color); /* Mørk farve tekst ved hover */
}
.btn-f {
  background-color: var(--gold-color);
  color: var(--text-color); /* Text color for normal state */
  border: 1px solid transparent; /* Transparent border for gradient */
  border-image: var(--gold-color); /* Use gradient for border */
  border-image-slice: 1; /* Ensure the full gradient is used */
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition for hover/active effects */
}

.btn-f:hover, .btn-f:active {
  background-image: var(--gold-color); /* Gold gradient background */
  color: var(--primary-color); /* Dark text color on hover/active */
  box-shadow: 0 4px 12px var(--gold-shadow-color); /* Add shadow effect */
  transform: scale(1.05); /* Slightly enlarge the button on hover/active */
}

/* Active/Selected state for clicked buttons */
.btn-f.active {
  background-image: var(--gold-color); /* Gold gradient background */
  color: var(--primary-color); /* Dark text color for active state */
  box-shadow: 0 4px 12px var(--gold-shadow-color); /* Add shadow effect */
  transform: scale(1.05); /* Slightly enlarge the button when active */
}
.shadow {
  box-shadow: 0 4px 12px var(--gold-shadow-color);
}
.card-s{
  background-color: var(--cards-color);
  color: var(--text-color);
  
}
.card {
  background-color: var(--cards-color);
  color: var(--text-color);
  height: 100%;
  border: 1px solid transparent;
  display: flex; /* Makes the card a flex container */
  flex-direction: column; /* Stacks children vertically */
  justify-content: space-between; /* Ændret til transparent for at bruge border-image */
}
.card-content {
  flex-grow: 1; /* Ensures the content takes up available space */
  display: flex; /* Makes the content a flex container */
  flex-direction: column; /* Stacks children vertically */
  justify-content: space-between; /* Pushes the last child to the bottom */
}

.card-content .is-flex {
  margin-top: auto; /* Pushes the .is-flex div to the bottom */
}
.icon, a {
  background: var(--gold-color);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.small-text {
  font-size: 1rem; /* Adjust the size as needed */
  background: var(--gold-color);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-family: 'Caveat', cursive;
  font-weight: lighter;
}
.arrow-container {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateX(-50%) translateY(0);
  }
  40% {
      transform: translateX(-50%) translateY(-10px);
  }
  60% {
      transform: translateX(-50%) translateY(-5px);
  }
}

.skils {
  display: flex;
 
}

.play-icon-container {
  position: relative;
  display: inline-block;
}

.play-icon-container {
  position: relative;
  display: inline-block;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem; /* Adjust the size of the play icon */
  color: var(--gold-color); /* Use your gold color variable */
 
}
.icon-card {
  font-size: 1.5rem; /* Passende størrelse for ikoner */
  cursor: pointer; /* Indikerer, at ikonet er klikbart */
  transition: transform 0.2s ease; /* Tilføjer en hover-effekt */
}

.icon-card:hover {
  transform: scale(1.2); /* Forstørrer ikonet lidt ved hover */
}
.modal-content img {
  max-width: 100%; /* Sørger for, at billedet ikke overstiger modalens bredde */
  height: auto; /* Bevarer billedets oprindelige proportioner */
  display: block;
  margin: 0 auto;
  object-fit: contain; /* Sørger for, at billedet passer naturligt inden for containeren */
  border-radius: 0; /* Fjern eventuelle afrundede hjørner, hvis det ikke ønskes */
}

/* Skills Container - Compact Layout */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Main grid for two columns layout */
.skills-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.skills-column {
    display: flex;
    flex-direction: column;
}

.skill-category {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.category-title {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.skill-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.2);
}

.skill-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-header i {
    font-size: 1rem;
    background: var(--gold-color);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-right: 8px;
    min-width: 20px;
}

.skill-name {
    flex-grow: 1;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.8rem;
}

.skill-percentage {
    font-weight: 600;
    background: var(--gold-color);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 0.75rem;
}

.skill-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gold-color);
    border-radius: 6px;
    width: 0%;
    transition: width 1.5s ease-in-out;
    position: relative;
}

.skill-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 25%, 
        rgba(255, 255, 255, 0.2) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 50%, 
        transparent 75%, 
        rgba(255, 255, 255, 0.2) 75%);
    background-size: 12px 12px;
    animation: progressStripes 1s linear infinite;
}

@keyframes progressStripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 12px 0;
    }
}

/* Animation for skill bars on scroll */
.skill-item.animate .skill-progress {
    animation: fillProgress 1.5s ease-in-out forwards;
}

@keyframes fillProgress {
    from {
        width: 0%;
    }
    to {
        width: var(--target-width, 0%);
    }
}

/* Custom Skills Section Styling */
.skills-section .progress {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    height: 8px;
}

.skills-section .progress::-webkit-progress-bar {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.skills-section .progress::-webkit-progress-value {
    background: var(--gold-color);
    border-radius: 4px;
}

.skills-section .progress::-moz-progress-bar {
    background: var(--gold-color);
    border-radius: 4px;
}

/* Override Bulma's warning color */
.skills-section .progress.is-warning::-webkit-progress-value {
    background: var(--gold-color);
}

.skills-section .progress.is-warning::-moz-progress-bar {
    background: var(--gold-color);
}

.skills-section .box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.skills-section .box:hover {
    border-color: rgba(238, 213, 162, 0.3) !important;
    box-shadow: 0 4px 20px var(--gold-shadow-color);
    transform: translateY(-2px);
}

.skills-section .icon i {
    background: var(--gold-color);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.skills-section .has-text-weight-bold {
    background: var(--gold-color);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.skills-section .title {
    color: var(--text-color) !important;
}

.skills-section .has-text-weight-medium {
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .skills-main-grid {
        gap: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}

@media (max-width: 768px) {
    .skills-container {
        padding: 8px;
    }
    
    .skills-main-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skill-category {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .skill-item {
        padding: 8px;
    }
    
    .category-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .skill-header i {
        font-size: 0.9rem;
        margin-right: 6px;
        min-width: 18px;
    }
    
    .skill-name {
        font-size: 0.75rem;
    }
    
    .skill-percentage {
        font-size: 0.7rem;
    }
    
    /* Mobile-friendly spacing for Tools & Technologies section */
    .level-item {
        margin-right: 0.5rem !important;
    }
    
    .level-item .icon {
        margin-right: 0.25rem !important;
    }
    
    /* Reduce spacing between tool items on mobile */
    .columns.is-multiline .column {
        padding: 0.25rem;
    }
}

@media (max-width: 480px) {
    .skill-category {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .skill-item {
        padding: 6px;
    }
    
    .skill-header {
        margin-bottom: 6px;
    }
    
    .skill-bar {
        height: 3px;
    }
    
    .category-title {
        font-size: 0.85rem;
    }
    
    .skill-name {
        font-size: 0.7rem;
    }
    
    .skill-percentage {
        font-size: 0.65rem;
    }
}

/* Video modal styling */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.modal-card {
    max-width: 800px;
    margin: 0 auto;
}

/* Progress bar with text inside */
.progress-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Desktop: Hide the progress text inside the bar */
.progress-container .progress-text {
    display: none;
}

/* Mobile: Show the progress text inside the bar */
@media screen and (max-width: 768px) {
    .progress-container .progress-text {
        display: block;
        position: absolute;
        top: 50%;
        right: 8px;
        transform: translateY(-50%);
        color: var(--text-color);
        font-weight: bold;
        font-size: 0.875rem;
        z-index: 1;
    }
}

@media screen and (max-width: 768px) {
    .modal-card {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
}
