/*#region GENERAL*/

/*FONTS - EMBED FROM GOOGLE FONT*/
/*Krub*/
@import url('https://fonts.googleapis.com/css2?family=Krub:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
/*Karla*/
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

@keyframes rollIn {
    0% {
        transform: translateY(0px);

    }

    50%{
        transform: translateY(-10px);
        color: var(--c);
    }

    100% {
        transform: translateY(0px);

    }
}

.ani {
    display: inline-block;
    opacity: 1; /* Initially hidden */
    animation: rollIn 0.50s ease-out forwards;
}

.ani:nth-child(1) { 
    animation-delay: 0s; 
}
.ani:nth-child(2) { animation-delay: 0.105s; }
.ani:nth-child(3) { animation-delay: 0.210s; }
.ani:nth-child(4) { animation-delay: 0.315s; }
.ani:nth-child(5) { animation-delay: 0.420s; }
.ani:nth-child(6) { animation-delay: 0.525s; }
.ani:nth-child(7) { animation-delay: 0.630s; }
.ani:nth-child(8) { animation-delay: 0.840s; }
.ani:nth-child(9) { animation-delay: 0.945s; }


:root { /*Constantes such as colours*/
    --shadow:            drop-shadow(7px 7px 0px black);
    --c-bg-grey:        #2A2628;
    --c-text-grey:      #A5A5A5;
    --c-bright-white:   #FAFAFA;
    --c-light-grey:     #6b6b6b;
    --c-dark-grey:      #505050;
    --c-gold:           #fdd14d;
    --c-dark-gold:      #c49d5e;  

    --c-green:          #439958;
    --c-red:            #af303d;
    --c-orange:         #da7348;
    --c-blue:           #307faf;

    --c-link-blue:      #668ec2;
    --c-link-purple:    #867ca1;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Krub' ,  sans-serif;
    background-color: var(--c-bg-grey);
    margin-left: 10vw;
    margin-right: 10vw;
    /*flex for footter*/
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-bottom: 0;
}
.shadow {
    filter: var(--shadow);
}
img {
width: 100%;
}
/*#endregion GENERAL*/

/*#region TEXTS*/

.spacer {
    margin-bottom: 70px;
}
.half-spacer {
    margin-bottom:50px;
}


.title { /*TITLE*/
    display: flex;
    font-family: 'krub' ,  serif;
    font-weight: 700;
    font-style: normal;
    color: var(--c-bright-white);
    font-size: 44px;
    margin-bottom: -0.5em;
    letter-spacing: 3px ;
    margin-left: -3px;
}

.sub-title { /*SUB TITLE*/
    font-family: 'krub' ,  serif;
    font-weight: 500;
    font-style: normal;
    color: var(--c-bright-white);
    font-size: 18px;
    margin-bottom: 0.1em;
    letter-spacing:1px;
}

#full-nav {
    display: flex;
    gap: 20px;
    font-family: 'krub' ,  serif;
    font-weight: 500;
    font-style: normal;
    color: var(--c-bright-white);
    font-size: 18px;
    margin-bottom: 0.1em;
    letter-spacing:1px;
    margin-top: 41px;
    margin-right: 20px;
    position: absolute;
    right: 0;
}

h4 { /*Lower heading - gold*/
    font-family: 'krub' ,  serif;
    font-weight: 600;
    font-style: normal;
    color: var(--c-dark-gold);
    font-size: 17px;
    letter-spacing: 0.5px;
    margin-bottom: 0px;
    margin-top: 40px;
}
h5 { /*Lower sub-heading - white?*/
    font-family: 'krub' ,  serif;
    font-weight: 600;
    font-style: normal;
    color: var(--c-text-grey);
    font-size: 17px;
    letter-spacing: 0px;
    margin-bottom: 0px;
    margin-top: 10px;
}

p{ /*BODY TEXT*/
    font-family: 'krub' ,  serif;
    font-weight: 400;
    font-style: normal;
    color: var(--c-text-grey);
    font-size: 17px;
    letter-spacing: 0px;
    margin-top: 0px;
    margin-bottom: 20px;
}

.p-bold{
    font-weight: 600;
}

li { /*BODY TEXT*/
    font-family: 'krub' ,  serif;
    font-weight: 400;
    font-style: normal;
    color: var(--c-text-grey);
    font-size: 17px;
    letter-spacing: 0px;
    margin-top: 0px;
    margin-bottom: 20px;
}

.no-margin{
    margin: 0;
}

.caption{
    font-size: 16px;
    font-weight: 500;
    color: var(--c-light-grey);
}

ol: li {
    list-style-type: decimal-leading-zero;
    margin-bottom:0px;
    }   

 ol ol > li{
    list-style-type: lower-alpha;
    margin: 0px;
    }

.sub-heading{
    margin-top: 50px;
}

.par-heading{ /*parralell*/
    color: var(--c-dark-gold);
    font-weight: 600;
}

.top {
display: flex;
position: relative;
width : 80vw;
}

a {
    text-decoration: none;
}

a:hover{
    color: var(--c-gold);
    cursor: pointer;
    transition: all 0.3s ease-in-out
}

.link{
 color: var(--c-link-blue);
}
.link:visited{
    color: var(--c-link-purple);
}
.link:hover{
    color: var(--c-dark-gold);
    transition: all 0.3s ease-in-out;
}

main {
    flex: 1;
}

footer {
    display: flex;
    justify-content: flex-end;
    color: var(--c-dark-grey);
    padding-bottom: 18px;
}

.line-break {
    background-color: var(--c-dark-grey);
    height: 2px;
    width: 20;
}
/*#endregion TEXTS*/

/*#region FUN*/
.fun {
    margin-right: 0;
    margin-left: 0;
    transition: all 0.3s ease-out;
}

.fun:hover{
    position: relative;
    transform: translatey(-10px);
    cursor: pointer;
}

.fun-red:hover {
    color: var(--c-red);
}
.fun-orange:hover {
    color: var(--c-orange);
}
.fun-gold:hover {
    color: var(--c-gold);
}
.fun-green:hover {
    color: var(--c-green);
}
.fun-blue:hover {
    color: var(--c-blue);
}
.fun-spacer{
    width: 10px;
}
/*#endregion FUN*/

/*#region MOBIL-NAV*/

#mobile-nav {
    display: none;
    justify-content: space-between;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-right: 0;
    margin-left: 0;
}

.mobile-linebreak-top {
    display: none;
    background-color: var(--c-dark-grey);
    height: 2px;
    width: 20;
    margin-top: 18px;
    margin-bottom: -36px;
}

.mobile-linebreak-bottom {
    display: none;
    background-color: var(--c-dark-grey);
    height: 2px;
    width: 20;
    margin-top: -36px;
}

#mobile-nav a {
    margin-right: 0;
}

/*#endregion MOBILE-NAV*/

/*#region PROJECTS */


.projects-container {
    display:flex;
    margin-top: 0px;
    gap: 3%;
}

.project {
    margin-top: 0px;
    margin-bottom: 0px;
    width: 50%;
    height: 50%;
}

.project-description {
    margin-top: 3px;
    margin-bottom: 0px;
}

.project-linebreak {
    display: flex;
    background-color: var(--c-dark-grey);
    height: 2px;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 10px;
}

.project a :hover {
    color: var(--c-gold);
    transition: all 0.3s ease-in-out;
}

.project_banner {
    margin-top:10px;
    margin-bottom: 40px;
}


.info {
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    width: 100%;
    height: 24px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .project:hover .info {
    opacity: 1;
  }


/*#endregion PROJECTS*/

/*#region MEDIA*/

.youtube{
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.images-container {
    display:flex;
    margin-top: 0px;
    gap: 0.3%;
}
.image{
    margin-top: 0px;
    margin-bottom: 0px;
    width: 50%;
    height: 50%;
}



/*#endregion MEDIA*/

/*#region GALLERY*/
    /* Masonry Grid */
    .masonry {
        column-count: 3; /* Adjust for more or fewer columns */
        column-gap: 10px;
    }

    .masonry img {
        width: 100%;
        margin-bottom:8px;
        cursor: pointer;
        transition: 0.3s;
        break-inside: avoid; /* Prevent images from breaking across columns */
    }

    .masonry img:hover {
        transform: scale(1.00);
    }

    /* Lightbox Modal */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
    }

    .modal img {
        max-width: 95vw; /* Ensures image never overflows screen width */
        max-height: 95vh; /* Ensures image never overflows screen height */
        object-fit: contain; /* Keeps aspect ratio */
    }


/*#endregion GALLERY*/


