/* ===== MOBILE FIRST (default) ===== */

@font-face {
  font-family: "cavquor";
  src: url("Cav.ttf") format("truetype"),
       url("Cav2.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "techno";
    src:  url("Techno.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "cartesian";
  src: url("Cartesian.ttf") format("truetype"),
       url("Cartesian.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}


* {margin: 0; padding: 0; font-size: 16px; color: #eaeaea;}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  display: none;
}

/* Firefox */
html {
  scrollbar-width: none;
}

/* IE / old Edge */
body {
  -ms-overflow-style: none; 
  background-image: url("mobilegb.png");
  font-family: "cartesian", sans-serif;
}

.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    /* padding: 2rem 1.2rem; */
    display: flex;
    align-items: center;
    justify-content: center;
}

section {
    margin: 128px auto;}
    #hero-section {margin-top: 0;
}

.hero-content {
    text-align: center;
    max-width: 100%;
}

.hero-content p {
    padding: 8px;
}

/* Profile image (mobile) */
.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.25);
}

/* Text */
.hero-text h1 {
    font-family: "cavquor";
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 8px;
    color: #d7ff00;
}

h2 {
    font-family: techno;
    color: #d7ff00;
    font-size: 2em;
    margin-bottom: 16px;
    opacity: 0.9;
    font-weight: 800;
    text-align: center;
    font-size: 2em;
}

.hero-text p {
font-size: 1em;
line-height: 1.6;
color: #eaeaea;
}

#hero-subhead {
    font-family: techno;
    font-size: 1.4em;
    color: #8e8e8e;
}


/* ===== TOOLS SECTION ===== */
.tools-section {
padding: 8px 8px;
}

.tools-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
justify-items: center;
}

/* Icon container */
.tool-icon {
    width: 70px;
    height: 70px;
    background: #8e8e8e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon img {
    width: 55px;
}

/* Highlighted tool (like Kubernetes in your image) */
.tool-icon.active {
    outline: 2px solid rgba(255, 255, 255, 0.25);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding: 3rem 1.2rem 4rem;
}

/* Carousel container ONLY */
.projects-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

/* Hide scrollbar (mobile-friendly) */
.projects-carousel::-webkit-scrollbar {
    display: none;
}

/* Placeholder rule for future cards */
.projects-carousel > * {
    scroll-snap-align: start;
}

/* ====================================== PROJECT SECTION STYLE ============================================ */
#projects-section {
    color: black;
    margin: 128px auto;
    width: 100%;

}
#project-cards {
    width: 100%;
    display: flex;
    overflow-y: scroll;
}

.project-cards {
    position: relative;
    padding: 8px;
    min-width: 250px;
    height: 250px;
    max-width: 250px;
    background-color: #eaeaea;
    margin: 16px;
    border-radius: 16px;
}



.project-cards li {
    color: black;
}

.project-card-head {
    font-size: 1.5em;
    margin: 8px auto;
    text-align: center;
}

.project-card-head a {color: blue;}

#project1-bigtext {
    color: black;
    margin-bottom: 12px;
}
#project1-smalltext {
    color: black;
    display: inline-block;
    color: antiquewhite;
    z-index: 1;
    position: absolute;
    top: 55%;
    left: 8px;
    font-size: .8em;
    line-height: 16px;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    max-width: 200px;
    border-radius: 10px;
}

#project2-bigtext {
    color: black;
}
.card-bg-img {
    width: 100px;
    position: absolute;
}

#project1-card-img {
    bottom: -30px;
    right: 10px
}

#project2-head {
    margin-top: 16px;
    color: #eaeaea;
    position: relative;
    padding: 8px;
}

#project2-smalltext {
    font-size: .8em;
    position: absolute;
    bottom: 32px;
    left: 24px;

}

#project2-smalltext li {
    font-size: .8em;
}

#project2-card-img {
    width: 90px;
    bottom: 110px;
    left: 78px;
}

#project1-link-icons {
    display: flex;
    position: absolute;
    bottom: 0px;
    left: 8px;
}

#project2-link-icons {
    display: flex;
    position: absolute;
    flex-direction: column;
    bottom: 8px;
    right: 8px;
}

.project-icons {
    cursor: pointer;
    width: 20px;
    margin: 8px;
}   

/* -------------------------  EXPERIENCE SECTION----------------------------- */

.experience {
    margin: 32px auto;
}

h4 {
    text-align: center;
    font-size: 1.4em;
    color: #8e8e8e;
    margin: 64px auto 16px;
}

.experience ul {
    width: 90%;
    margin: auto;
    max-width: 500%;
}

.experience ul li { margin: 8px auto}


/* ======================== CERTIFICATES SECTION */


#cert-section {
    color: black;
    margin: 128px auto;
    width: 100%;

}
#cert-cards {
    width: 100%;
    display: flex;
    overflow-y: scroll;
}

.cert-cards {
    position: relative;
    min-width: 250px;
    max-width: 250px;
    height: 250px;
    background-color: #eaeaea;
    margin: 16px;
    border-radius: 16px;
}

.cert-img {width: 100%;}

/* ======================== CONTACTS SECTION */
.contact {
    display: flex;
    width: 90%; max-width: 400px; 
    background-color: #eaeaea;  
    border-radius: 20px; padding: 4px; 
    min-height: 30px; margin: 32px auto;
}
    
.contact .link-icon {
    width: 40px; height: 40px; 
    border-radius: 50%; 
    background-color: #565656;
}

.contact a {
    padding: 8px; color: black;
    text-decoration: none;
}




/* ======================== CERTIFICATES SECTION */
