body{
    margin: 0;
    padding: 0;
}

.golden-profpic {
    aspect-ratio: 1/1;
    width: min(100%,192px);
    position: relative;
    padding: 5px;
    margin: 5px 5px;
    z-index: 1;
    overflow: hidden;
}

.golden-profpic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--img-gold) no-repeat fixed;
    background-size: cover;
    background-origin: border-box;
    z-index: -2;
    border-radius: calc(50% + 5px);
}
.golden-profpic::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: url('img/JS_Prof_1280.webp') no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    opacity: 1;
    z-index: -1;
    border-radius: 50%;
}

.testbox {
    position: relative;
    padding: 5px;
    margin: 10px auto;
    z-index: 1;
    overflow: hidden;
}

/*.testbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--img-gold) no-repeat fixed;
    background-size: cover;
    background-origin: border-box;
    z-index: -2;
    border-radius: 15px;
}*/
.testbox::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: var(--img-bg01) no-repeat fixed;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) blur(1px) brightness(10%);
    overflow: hidden;
    opacity: 1;
    z-index: -1;
    border-radius: 10px;
}

.goldentxt {
    font-weight: bold;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: var(--img-gold);
    background-size: cover; /* Ensures the image covers the entire text */
    background-attachment: fixed; /* Keeps the background fixed when scrolling */
    display: inline-block;
    z-index: 1;
}

.golden-img {
    background-image: var(--img-gold); /* The golden texture */
    background-size: cover; /* Ensures the texture covers the element */
    background-position: center; /* Center the golden texture */
    mask-image: var(--img-src); /* Use the image as a mask */
    -webkit-mask-image: var(--img-src); /* Webkit compatibility */
    mask-size: cover; /* Ensure the mask fits the element */
    -webkit-mask-size: cover;
    mask-repeat: no-repeat; /* Prevent repeating */
    -webkit-mask-repeat: no-repeat;
    mask-position: center; /* Center the mask */
    -webkit-mask-position: center;
    display: inline-block; /* For proper sizing */
}

.max-width{
    max-width: 1400px;
    margin: 0 max(calc((100vw - 1400px) / 2), 0px);
}

.txt-center{
    text-align: center;
}
.txt-left{
    text-align: start;
}
.txt-right{
    text-align: end;
}
.res-txt-right{
    text-align: end;
}

.port-left{
    display: flex;
    justify-content: flex-start;
}
.port-right{
    display: flex;
    justify-content: flex-end;
}
.port-center{
    display: flex;
    justify-content: center;
}
.port-center-vertical{
    display: flex;
    align-items: center;
}
.port-center-top{
    display: flex;
    align-items: flex-start;
}
.port-center-bottom{
    display: flex;
    align-items: flex-end;
}

.port-section{
    max-width: 800px;
    margin: 10px 20px;
}
.port-section-minimal{
    max-width: 800px;
    margin: 10px 20px;
}
.port-title{
    font-family: 'PTSans', 'NotoSansSymbols2', serif;
    font-size: 24px;
    font-weight: bold;
}
.port-content{
    font-family: 'PTSansNarrow', 'NotoSansSymbols2', serif;
    font-size: 18px;
    color: var(--c-font-white);
}

.wrap-container{
    display: flex;
    flex-wrap: wrap;
}
.wrap-container-column{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.pad-15{
    padding: 15px;
}
.pad-10{
    padding: 10px;
}
.pad-5{
    padding: 5px;
}
.pad-5h{
    padding: 0 5px;
}
.pad-5p{
    padding: 5%;
}
.pad-2p{
    padding: 2%;
}

.pad-top{
    padding: 15px 15px 3px 15px;
}
.pad-center{
    padding: 3px 15px 3px 15px;
}
.pad-bottom{
    padding: 3px 15px 15px 15px;
}

.skill-title{
    font-family: 'PTSans', 'NotoSansSymbols2', serif;
    z-index: 100;
    position: relative;
}
.skill-desc{
    font-family: 'PTSansNarrow', 'NotoSansSymbols2', serif;
    font-size: 16px;
    color: var(--c-font-white);
    z-index: 100;
    position: relative;
}

.aspect-16-9{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
}
.responsive-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.bottom-button{
    /*aspect-ratio: 1/1;
    max-height: 20%;
    max-width: 20%;*/
    background-color: transparent;
    border: 0;
}
.button-icon64{
    width: 64px;
    height: 64px;
}
.button-icon48{
    width: 48px;
    height: 48px;
}

.button-icon32{
    width: 32px;
    height: 32px;
}

.fill{
    height: 100%;
    width: 100%;
}

.height-100{
    height: 100%;
}
.width-100{
    width: 100%;
}
.width-90{
    width: 90%;
}
.width-80{
    width: 80%;
}
.width-75{
    width: 75%;
}
.width-60{
    width: 60%;
}
.width-50{
    width: 50%;
}
.width-40{
    width: 40%;
}
.width-33{
    width: 33%;
}
.width-30{
    width: 30%;
}
.width-25{
    width: 25%;
}
.width-10{
    width: 10%;
}


.res-width-40{
    width: 40%;
}
.res-width-50{
    width: 50%;
}
.res-width-33{
    width: 33%;
}
.res-width-25{
    width: 25%;
}
@media (max-width: 600px) {
    .res-width-50 {
        width: 100%;
    }
    .res-width-40 {
        width: 80%;
    }
    .res-width-33 {
        width: 50%;
    }
    .res-width-25 {
        width: 33%;
    }
    .res-txt-right{
        text-align: start;
    }
}


.port-profpic {
    width: auto;
    height: auto;
    max-width: min(100%, 192px);
    max-height: min(100%, 192px);
    object-fit: cover;
    border-radius: 50%;
}

.some-icon{
    width: 16px;
    height: 16px;
}

.underline{
    border-bottom: 1px solid #A8A8A8;
    margin: 0;
}

.right-scButton {
    position: relative;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    transition: filter 0s ease;
}

.right-scButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--img-bg01) no-repeat fixed;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 1) 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(200%) blur(1px);
    /* transition: -webkit-mask-image 0.5s ease, mask-image 0.5s ease, filter 0s ease; */
    z-index: -1; 
}

.right-scButton:hover::before {
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    filter: grayscale(0%) brightness(100%) blur(0px);
}

.right-scButton .goldentxt {
    position: relative; 
    z-index: 1; 
    text-align: center;
}


.left-scButton {
    position: relative;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    transition: filter 0s ease;
}

.left-scButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--img-bg01) no-repeat fixed;
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 1) 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(200%) blur(1px);
    /* transition: -webkit-mask-image 0.5s ease, mask-image 0.5s ease, filter 0s ease; */
    z-index: -1; 
}

.left-scButton:hover::before {
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    filter: grayscale(0%) brightness(100%) blur(0px);
}

.left-scButton .goldentxt {
    position: relative; 
    z-index: 1; 
    text-align: center;
}

.vh100{
    height: 100vh;
}

.bottomBG {
    position: relative;
    overflow: hidden;
}
.bottomBG::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--img-bg01) no-repeat fixed;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
    background-size: cover;
    background-position: center;
    z-index: -1; 
}
.topBG {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--img-bg01) no-repeat fixed;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
    background-size: cover;
    background-position: center;
    filter: grayscale(50%) blur(10px);
    z-index: -1; 
}


a{
    color: white;
    pointer-events: auto; /* Ensure links are interactive */
    position: relative; /* Prevent pseudo-elements from overlapping */
    z-index: 1; /* Ensure they are on top */
}
a:visited{
    color: white;
    pointer-events: auto; /* Ensure links are interactive */
    position: relative; /* Prevent pseudo-elements from overlapping */
    z-index: 1; /* Ensure they are on top */
}
a:hover {
    color: white;
    pointer-events: auto; /* Ensure links are interactive */
    position: relative; /* Prevent pseudo-elements from overlapping */
    z-index: 1; /* Ensure they are on top */
}

/* Active state (while clicking) */
a:active {
    color: white;
    pointer-events: auto; /* Ensure links are interactive */
    position: relative; /* Prevent pseudo-elements from overlapping */
    z-index: 1; /* Ensure they are on top */
}

#background {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--img-bg01);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  filter: grayscale(100%) blur(1px);
  opacity: 0.3;
  z-index: -20;
}


/*  ----- PTSANS NARROW FONT -----  */
@font-face {
    font-family: 'PTSansNarrow';
    src: url('fonts/PTSansNarrow-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'PTSansNarrow';
    src: url('fonts/PTSansNarrow-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}


/*  ----- PTSANS FONT -----  */
@font-face {
    font-family: 'PTSans';
    src: url('fonts/PTSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'PTSans';
    src: url('fonts/PTSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'PTSans';
    src: url('fonts/PTSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'PTSans';
    src: url('fonts/PTSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}


/*  ----- PTSANS FONT -----  */
@font-face {
    font-family: 'NotoSansSymbols2';
    src: url('fonts/NotoSansSymbols2-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root{
    --c-font-dark: #141E27;
    --c-font-medium: #203239;
    --c-font-black: #070707;
    --c-font-white: #F7F7F7;
    --img-gold: url('img/GoldBG03.webp');
    --img-bg01: url('img/white16.webp');
}