@font-face {
    font-family: 'satoshi';
    src: url('../fonts/Satoshi-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'satoshi';
    src: url('../fonts/Satoshi-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'satoshi';
    src: url('../fonts/Satoshi-Black.otf') format('opentype');
    font-weight:900;
    font-style:normal;
}

*, ::after, ::before{
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6{
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
}
p{
    margin-top: 0;
}




body {
    margin: 0;
    padding: 0;
    background-color: rgb(6, 6, 6);
    color: #f4f4f4 !important;
    font-family: satoshi;
    font-weight: normal;
}


.landing { grid-area: landing; height: 140vh;}
.skills { grid-area: skills;height: fit-content; padding-bottom: 50px;}


.landing{
    background: rgb(0,0,0);
    background: linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(6,13,25,1) 19%, rgba(19,36,66,1) 35%, rgba(0,44,84,1) 50%, rgba(1,24,64,1) 53%, rgba(3,8,36,1) 57%, rgba(11,14,32,1) 92%);
}
.skills , .design{
    background-color: rgb(10, 10, 10);
}
.skills{
    box-shadow: 0 -10px 150px rgb(16, 37, 96);  

}
.skills-top{
    position: relative;
    top: -20px;
    width: 100%;
    height: 30px;
    background-color:rgb(10, 10, 10);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.desktop{
    display: unset;
}
.mobile{
    display: none;
}
.main-heading{
    position: relative;
    z-index: 1;
    font-family: satoshi ;
    font-weight: 900 ;
    color: white ;
    font-size: 4.7vw ;
}
h1{
    position: relative;
    z-index: 1;
    font-family: satoshi ;
    font-weight: 900 ;
    color: white ;
    font-size: 3.5vw ;
}
.hero-subtext{
    font-family: satoshi !important; font-weight: normal; color: white; font-size: 1.8vw; width: 50%; margin-left: 25%; margin-bottom: 0.8em;
}
.headshot{
    width: 20vw;
    height: 25vw;
    border-radius: 20px;
    background-image: url("../images/headshot.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dots-bg {
    width: 100%;
    height: 140vh;
    position: absolute;
    top: 0;
    background-color: rgba(255, 255, 255, 0);

    /* Dots background */
    background-image: 
        radial-gradient(#33377e 0.9px, transparent 0.9px), 
        radial-gradient(#33377e 0.9px, rgba(255, 255, 255, 0) 0.9px);
    
    background-size: 36px 36px;
    background-position: 0 0, 18px 18px;

    /* Mask for the vignette effect */
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 90%);
    mask-size: 100% 100%;
    mask-position: center;
}

@media screen and (max-width: 600px) { p{font-size: 3vw;}}
@media screen and (min-width: 600px) { .bodyWidth{width: 90%; margin-left: 5%; margin-right: 5%;} p{font-size: 2vw;}}
@media screen and (min-width: 800px) { .bodyWidth{width: 650px;margin-left: auto;margin-right: auto;} p{font-size: 1.5vw;}}
@media screen and (min-width: 900px) { .bodyWidth{width: 750px;margin-left: auto;margin-right: auto;} p{font-size: 1.5vw;}}
@media screen and (min-width: 1000px) { .bodyWidth{width: 850px;margin-left: auto;margin-right: auto;} p{font-size: 1.3vw;}}
@media screen and (min-width: 1100px) { .bodyWidth{width: 950px;margin-left: auto;margin-right: auto;} p{font-size: 1vw;}}

@media screen and (orientation: portrait) and (min-width: 600px) { .bodyWidth{width: 90%; margin-left: 5%; margin-right: 5%;} p{font-size: 1.5vw;}}
@media screen and (orientation: portrait) and (min-width: 800px) { .bodyWidth{width: 650px;margin-left: auto;margin-right: auto;} p{font-size: 2.5vw;}}
@media screen and (orientation: portrait) and (min-width: 900px) { .bodyWidth{width: 750px;margin-left: auto;margin-right: auto;} p{font-size: 2.4vw;}}
@media screen and (orientation: portrait) and (min-width: 1000px) { .bodyWidth{width: 850px;margin-left: auto;margin-right: auto;} p{font-size: 2.3vw;}}
@media screen and (orientation: portrait) and (min-width: 1100px) { .bodyWidth{width: 950px;margin-left: auto;margin-right: auto;} p{font-size: 2.2vw;}}


.glass{
    background: rgba(255, 255, 255, 0.17);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10.7px);
    -webkit-backdrop-filter: blur(10.7px);
    border: 1px solid rgba(255, 255, 255, 0.19);
}
.window{
    background-image: url("../images/window.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 63.10%;
    height: 60.19vh ; /* 100 - 39.81 */
    padding-top: 39.81%; /* (img-height / img-width * container-width) */
                /* (2386 / 3781 * 56.79) */
    position:relative;
    
}
.dark-div{
    background-color: #1b1d1f;
    border-radius: 0.5rem;
}
.stack{
    width: 350px;
    aspect-ratio: 1/1;
    margin-bottom: 5vw;
}
.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
}

.pink-tmp-box{background-color: pink; width: 18vw;border-radius: 10px; background-size: contain; background-repeat: no-repeat; background-size: cover; background-position: center; aspect-ratio: 1/1;}

        .enlarge-hover:hover {
              transform: scale(1.1);
              border-radius: 14px;
            }

        .scroll-container{
          height: 20vw;
          overflow: hidden;
        }

        .carousel-primary, .carousel-secondary {
          top: 0;
          left: 100%;
          width: 100%;
          height: 100%;
          overflow: hidden;
          position: relative;
          white-space: nowrap;
          align-items: center;
        }

        .carousel-secondary{
          top: -100%;
        }

        .carousel-primary{
          display: flex;
          justify-content: space-around;
          
          animation: scroll-horizontal 20s linear infinite;
        }

        .carousel-secondary{
          animation: scroll-horizontal 20s linear infinite;
          animation-delay: 10s;
        }

        @keyframes scroll-horizontal {
          0% {
            left: 100%;
          }

          100% {
            left: -100%;
          }
        }

        .carousel-primary:hover, .carousel-primary:hover~.carousel-secondary{
            -webkit-animation-play-state: paused;
            -moz-animation-play-state: paused;
            -o-animation-play-state: paused;
            animation-play-state: paused;
        }
        
        .carousel-secondary:hover{
          -webkit-animation-play-state: paused;
            -moz-animation-play-state: paused;
            -o-animation-play-state: paused;
            animation-play-state: paused;
        }

        .scroll-container:hover>.carousel-primary:not(:hover) {
          -webkit-animation-play-state: paused;
            -moz-animation-play-state: paused;
            -o-animation-play-state: paused;
            animation-play-state: paused;
        }

@media screen and (min-width: 700px) {
    .non-scroll-projects{
        display: none !important;
    }
    .fav-projects{
        width:47.5%;
        aspect-ratio: 1/1;
    }
    .landing-text{
        font-size: 1vw;
        margin-top: 3em;
    }
}


@media screen and (orientation: portrait), screen and (max-width: 700px) {
    .fav-projects{
        width: 95%; aspect-ratio: 1/1;
    }
    .mobile{display: unset;}
    .desktop{
        display: none;
    }
    h1{
       font-size: 11.5vw !important;
    }
    .hero-subtext{
        font-family: satoshi !important; font-weight: normal; color: white; font-size: 5vw; width: 100%; margin-left: 0%; margin-bottom: 0.8em;
    }
    .window{
        width: 90%;
        height: 70vh
    }
    .headshot{
        width: 98%;
        padding-bottom: 90%;
        margin-left: 1%;
        margin-top: 0;
    }
    .stack{
        margin-left: 0;
        margin-right: 0;
        
    }

    .scroll-container{
        display: none;
    }
    h1{
        margin-left: 0 !important;
        font-size: 8.5vw !important;
    }
    h2{
        font-size: 5vw;
    }
    .main-heading{
        text-align: center !important;
        margin-left: 0 !important;
        font-size: 11vw !important;
    }
    p,h2{
        margin-left: 0 !important;
        margin-right: 0;
    }
    .main-body{
        margin-left: 7.5%;
        margin-right: 7.5%;
    }
    .landing-text{
        margin-top: 20px;
    }
 }



.landing-text{
    position: absolute; /* Absolute positioning to overlay the div */
    top: 0;             /* Position at the top of the container */
    left: 0;            /* Position at the left of the container */
    width: 100%;        /* Make div cover entire width of the image */
    height: fit-content;       /* Make div cover entire height of the image */ /* Semi-transparent background */
    color: white;       /* White text color */
    z-index: 1;
    text-align: center;
    
}

.just-between{
    display: flex;
    justify-content: space-between;
}
.just-around{
    display: flex;
    justify-content: space-around;
}
.just-center{
    display: flex;
    justify-content: center;
}
svg{
    vertical-align: middle;
}
.btn {
    font-family: var(--basic-font);
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.75rem;
    display: inline-block;
}
.btn-outline-landing {
    color: #fff !important;
    background-color: #11121aba;
    font-family: satoshi !important;
    border: 2px orange solid !important;
    border-radius: 8px !important;
}
.btn-outline-landing:hover {
    color: #fff;
    background-color: #ffad31a5;
    border-color: #ea6200;
}
/* Initial style for the highlighted words */
.highlight {
    position: relative;
    display: inline-block;
    padding: 0 10px;
    
    
}

/* Create the highlight effect with a background */
.highlight::before {
content: '';
position: absolute;
left: 0;
bottom: 0%;
width: 100%;
height: 100%;
background-image: linear-gradient(to left, #ff2600d8,#ff9900e4 90%) !important;
z-index: -1;
transform: scaleX(0);
transform-origin: left;
transition: transform 0.9s ease-out;
border-radius: 7px;
}

/* Activate the animation to highlight the text */
.highlight.animate::before {
transform: scaleX(1);
}

/* Optional: delay for different spans */
.highlight:nth-child(1) {
transition-delay: 0.3s;
}
.highlight:nth-child(2) {
transition-delay: 0.5s;
}

.crossBtn{
    position: fixed;
    top: 30;
    right: 30;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-image: url("../images/cross-svgrepo-com.png");
    background-size: contain;
    background-repeat: no-repeat;
    border: none;

}      
.crossBtn:hover{
    background-color: #d0d0d0;
    border: 2px solid #ffffff;
}


footer {
    background: #000000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }
  
  footer p {
    margin: 0;
  }

.browser-warning{
    text-align: center;
    width: 80%;
    margin-left: 10%;
    margin-top: 10%;
    display: block;
}


@media  (pointer:none), (pointer:coarse) {
    object{display: none !important;}
}


