body {
    margin: 0;
    padding: 0;
    background-color: #F2EFEC;
}

main {
    padding: 84px 0;
}

/* BACKGROUND ELEMENTS */

.background-wave {
    width: 100%;
    overflow: hidden; /* prevents SVG from spilling out */
    height: auto;
    margin: 0;
    z-index: -1;
}

.background-wave .cls-1 {
    fill: #97AB8C;
}

.background-wave img {
    width: 100%;
    height: auto;
    display: block; /* remove inline spacing */
    max-width: 100%; /* extra safety */
}

.background-top-wave {
    margin: 0 0 -5px 0;
}

.background-bottom-wave {
    margin: -5px 0 0 0;
}

.green-divider .cls-1 {
    fill: #97ab8c;
}

/* TYPOGRAPHY */

p, h1, h2, h3, h4, a {
    color: #373534;
    margin: 0;
}

p {
    font-size: 16px;
    color: #373534;
    font-family: 'nunito', sans-serif;
    line-height: 1.55;
    font-weight: 500;
}

h1, h2, h4, a {
    font-family: 'shrikhand', cursive;
    letter-spacing: 1px;
    font-weight: 400;
}

h2 {
    font-size: 28pt;
}

h3 {
    font-family: 'sacramento', cursive;
    font-size: 39pt;
    font-weight: 400;
}

h4 {
    font-size: 18pt;
}

/* RESPONSIVE TYPOGRAPHY */

/* EXTRA BREAKPOINT */

@media screen and (max-width:1150px){
    h1 {
        font-size: 26pt;
    }
    
    h2 {
        font-size: 22pt;
    }
}

 /* RESPONSIVE TABLET L */

@media screen and (max-width:1024px){
  
    h1 {
        font-size: 24pt;
    }
    
    h2 {
        font-size: 20pt;
    }
    
    h3 {
        font-size: 18pt;
    }
    
    h4 {
        font-size: 14pt;
    }
    
    p {
        font-size: 12pt;
    }
}

 /* RESPONSIVE TABLET S TO M */

@media screen and (max-width:768px){

    h1 {
        font-size: 20pt;
    }
    
    h2 {
        font-size: 18pt;
    }
    
    h3 {
        font-size: 15pt;
    }
    
    h4 {
        font-size: 12pt;
    }
    
    p {
        font-size: 11pt;
    }
}

 /* RESPONSIVE M TO L MOBILE */

@media screen and (max-width:430px){
    h1 {
        font-size: 14pt;
    }
    
    h2 {
        font-size: 14pt;
    }
    
    h3 {
        font-size: 13pt;
    }
    
    h4 {
        font-size: 13pt;
    }
    
    p {
        font-size: 10pt;
    }
}
 /* RESPONSIVE S TO M MOBILE */

@media screen and (max-width:360px){
    h1 {
        font-size: 14pt;
    }
    
    h2 {
        font-size: 14pt;
    }
    
    h3 {
        font-size: 13pt;
    }
    
    h4 {
        font-size: 13pt;
    }
    
    p {
        font-size: 10pt;
    }
}

/* BUTTONS */

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #D7A4A6;
    font-family: 'shrikhand', cursive; 
    font-size: 18px;
    text-align: center;
    width: 220px;
    height: 50px;
    border-radius: 10px; 
    border: none;
    color: #F8F8F8;
    text-decoration: none;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out,
        background-color 0.15s ease-in-out;
}

.button:hover {
    cursor: pointer;
    background-color: #BD4B63;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.button:focus-visible {
    box-shadow: 0 0 0 3px rgba(200, 190, 223, 0.6);
}

/* --- SHINE --- */
:root {
    --shine-degree: 120deg; /* Vinkel på shine-effekten */
    --shine-color: rgba(255, 255, 255, 0.25); /* Farven på shine-effekten */
    --shine-effect: linear-gradient(
        var(--shine-degree), 
        rgba(255, 255, 255, 0) 0%,   /* fully transparent start */
        rgba(255, 255, 255, 0.05) 40%, /* soft fade-in */
        var(--shine-color) 50%,       /* brightest middle */
        rgba(255, 255, 255, 0.05) 60%, /* soft fade-out */
        rgba(255, 255, 255, 0) 100%   /* fully transparent end */
    );
    --shine-speed: 4s; /* Hvor lang tid shine-animationen tager */
}

.button-shine {
    position: relative;
    overflow: hidden;
}

.button-shine::before {
    content: "";  /* Shine-laget */
    position: absolute;
    top: 0;
    left: -120%;
    height: 100%;
    width: 100%;
    background: var(--shine-effect); /* Anvender shine-gradienten */
    animation: shine var(--shine-speed) ease-in-out infinite; /* Evig animation frem og tilbage */
    z-index: 500;
}

/* Flytter shine-laget fra venstre til højre hen over knappen */
@keyframes shine {
    0% {
        left: -120%;
    }
    100% {
        left: 120%;
    }
}

/* FRONT-NAV */

#front-nav-buttons a.button-shine:nth-child(1)::before {
    animation-delay: 0s;  /* First button starts immediately */
}

#front-nav-buttons a.button-shine:nth-child(2)::before {
    animation-delay: 1s;  /* Second button starts 1 second later */
}

#front-nav-buttons a.button-shine:nth-child(3)::before {
    animation-delay: 2s;  /* Third button starts 2 seconds later */
}

/* PROJECTS */

.project-buttons button.button-shine:nth-child(1)::before {
    animation-delay: 0s;  /* First button starts immediately */
}

.project-buttons button.button-shine:nth-child(2)::before {
    animation-delay: 1s;  /* Second button starts 1 second later */
}

.project-buttons button.button-shine:nth-child(3)::before {
    animation-delay: 2s;  /* Third button starts 2 seconds later */
}

.somebutton {
    filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, 0.2));
    transition:
        transform 0.15s ease,
        filter 0.15s ease;
}

.somebutton:hover {
    cursor: pointer;
    transform: translateY(-2px);
    filter: drop-shadow(6px 6px 5px rgba(0, 0, 0, 0.3));
}

.somebutton:active {
    transform: translateY(0);
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.25));
}

.somebutton:hover .cls-2 {
    fill: #BD4B63;
    transition: fill 0.3s ease-in-out;
}

/* HEADER */

header {
    display: flex;
    position: fixed;
    width: 100%;
    height: auto;
    justify-content: space-between;
    align-items: center;
    top: 0;
    z-index: 1000;
    background-color: #97AB8C95;
    filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, 0.2));
    transition: background-color 0.3s ease-in-out;
}

header.header-beige {
  background-color: #F2EFEC95;
}

header.header-beige a {
    color: #373534;
}

header.header-beige #rc-logo .cls-10 {
        fill: #BD4B63;
}

#header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 55px;
    flex-wrap: nowrap;
    width: 100%;
}

#rc-logo {
    height: auto;
    width: 55px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: transform 0.3s ease-in-out;           
}

#rc-logo .cls-10 {
    fill: #f8f8f8;
    transition: fill 0.3s ease-in-out;
}

#rc-logo:hover .cls-10 {
    fill: #BD4B63;
}

#rc-logo:hover {
    cursor: pointer;
    transform: scale(1.1);
}

header a {
    text-decoration: none;
    color: #F8F8F8;
    font-size: 22px;
    transition: color 0.3s ease-in-out;
}

.pc-nav-links a:hover {
    color: #BD4B63;
    border-bottom: 2px solid #BD4B63;
    transition: color 0.3s ease-in-out,
                border-bottom 0.3s ease-in-out;
}

#rc-logo a:hover {
    border-bottom: none;
}

.pc-nav-links {
    gap: 40px;
    list-style: none;
    display: flex;
}

.pc-nav-links a.active-nav {
    color: #BD4B63;
    border-bottom: 2px solid #BD4B63;
}


/* EXTRA BREAKPOINT */

@media screen and (max-width:1150px){

}

 /* RESPONSIVE TABLET L */

@media screen and (max-width:1024px){
  
}

 /* RESPONSIVE TABLET S TO M */

@media screen and (max-width:768px){

}

 /* RESPONSIVE M TO L MOBILE */

@media screen and (max-width:430px){

}
 /* RESPONSIVE S TO M MOBILE */

@media screen and (max-width:360px){

}

/* FOOTER */

footer {
    background-color: #97AB8C;
    padding: 30px 0 20px 0;
    filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, 0.2));
}

#footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 50px;
}

#footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#footer-contact a {
    color: #f8f8f8;
    text-decoration: none;
    font-family: 'nunito', sans-serif;
    font-size: 25px;
}

#footer-contact h4 {
    color: #F8F8F8;
}

#footer-contact a:hover {
    color: #BD4B63;
    border-bottom: 2px solid #BD4B63;
    transition: color 0.3s ease-in-out,
                text-decoration 0.3s ease-in-out,
                border-bottom 0.3s ease-in-out;
}

#footer-socials {
    display: flex;
    flex-direction: row;
    gap: 5%;
    list-style-type: none;
}

#footer-socials svg {
    width: 50px;
    height: auto;
    fill: #373534;
}

footer h4 {
    font-size: 18px;
    color: #373534;
    font-family: 'shrikhand', cursive;
}

footer p {
    font-size: 14px;
    color: #373534;
    font-family: 'nunito', sans-serif;
    text-align: center;
}

/* EXTRA BREAKPOINT */



 /* RESPONSIVE TABLET L */

@media screen and (max-width:1024px){

}

 /* RESPONSIVE TABLET S TO M */

@media screen and (max-width:768px){
    #footer-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #footer-socials {
        padding: 0;
        width: 100%;
        justify-content: center;
        gap: 3%;
    }
}

 /* RESPONSIVE M TO L MOBILE */

@media screen and (max-width:430px){

}
 /* RESPONSIVE S TO M MOBILE */

@media screen and (max-width:360px){

}