@import url('https://fonts.cdnfonts.com/css/graphik-trial');
                
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
    --deep: #061622;
    --deep2: #0b2439;
    --panel: #0e2f4a;
    --line: #1f4a6b;
    --ink: #dcebf5;
    --dim: #e6f4ff;
    --win: #37c6a0;
    --lose: #e05b52;
  --font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
}




body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  align-items: center; 
  min-height: 100vh;
  font-family: 'Graphik', 'Graphik Trial', sans-serif;
  display: block;

}


/* HEADER  */


.header{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    position: fixed;
    top: 40px;
    background-color: white;
    z-index: 99999;
    background-color: rgba(255, 255, 255, 0.8); /* 70% visible */
  backdrop-filter: blur(5px); 
}

.list {
  padding: 0 40px;
  border: 1px solid gray;
  border-radius: 9999px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
  display: flex;
  gap: 20px;
}

li{
  background: transparent;
}

.list>li {
    font-style: 'Helvetica' sans-serif;
   font-weight: bold;
   
  display: flex;                
  justify-content: center;       
  align-items: center;          

  width: 100px;                  
  height: 40px;                  
  border-radius: 9999px;         
  margin: 10px;

  transition: background-color 0.5s ease;                
}

a{
    text-decoration: none;
     color: gray;
}

li:hover{
    background-color: var(--dim); 
}





/* CONTACTS PAGE */

.email{
width: 50%;
min-height: 300px;
background-color: var(--dim);
border:  none;
border-radius: 24px;
display: flex;
flex-direction: column;
align-items: center;
padding-top: 20px;
box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
margin-bottom: 15px;
position: relative;
}

.email-inset{
  width:80%;
  height: 70%;
  background: white;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  align-items: left;
  justify-content: center;
}

.action {
  height: 50px;
  width: 80%;
  margin-top: 15px;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: white;
  border-radius: 9999px;
  border: solid 2px #c1c3c7;             
  cursor: pointer;
 margin-bottom: 15px;
  font-size: 1rem;           
  font-weight: 600;      
}


.email-inset>p {
  margin-left: 20px;
  line-height: 35px;
  
}
.address{
  font-size: 0.9em;
  color: darkgray;
}




.name-contact-icon-container{
 width: 80%;
 display: flex;
 justify-content: space-between;
}

.name-contact{
 width: 80%;
}

.sm-card {
  width: 45%;
  min-height: 300px;
  background-color: var(--dim);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}



.icon {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  height: 50px;
  width: 50px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease, width 0.4s ease;
}

.instagram-colored {
  font-size: 30px; 
  color: transparent;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background-clip: text;
  -webkit-background-clip: text;
}


.sm-wrapper{
  display: flex;
  width: 50%;
  justify-content: space-between;
  margin-top: 15px;
}

.email:hover,.sm-card:hover{
  transform: scale(1.05);
}

.sm-image {
  width: 80%;
  flex: 1 1 auto;   
  min-height: 120px; 
  margin-top: 10px;
  border-radius: 12px;
}
.ig-card{
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
  url('../images/instagram.jpg');
  background-size: cover;      
  background-repeat: no-repeat;  
  background-position: center; 
  
}
.wtsp-card{
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
url('../images/whatsapp.jpg');
background-size: cover;      
background-repeat: no-repeat;  
background-position: center; 

}

.icon {
  transition: transform 0.8s ease, background-color 2s ease;
}

.icon.is-active {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.3);
  background-color: rgb(0 0 0 / 50%);
}

.action.is-hovered, .send-email:hover {
  z-index: 1000;
  border: solid 2px #ff6b00;
  background-color: #000;
  color: #ff6b00 ;
}

.arrow{
  color: gray;
  font-size: 12px;
  margin-left: 12px;
  font-weight: bold;
}


.fa-envelope{
  font-size: 25px;
} 

.whatsapp-btn {
  color: #25D366;            
  font-size: 30px;           
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;        
  text-decoration: none;
}
.contact-main{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 120px;
  margin-top: 40px; 
}







/* ABOUT PAGE */

.about-main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 120px;
  margin-top: 40px;
  gap: 30px;
  flex-direction: column;
}


.about-personal{
  width: 60%;
  padding: 40px;
  background-color: #f7f7fa;
  border-radius: 20px;
  background-image: radial-gradient(at top right, #b2d1ff, #f1dce8, white);


}



.aside-about{
width: 35%;
background-color: red;
}


.main-heading{
  margin-bottom: 20px;
}

.para{
  line-height: 32px;
  font-family: 'Graphik', 'Graphik Trial', sans-serif;
  font-weight: 400;
  font-size: 16px;
  font-style: normal;
  color: rgb(112, 112, 112);
}

.hidden-div{
  overflow: hidden;
}


.headings{
  text-transform: uppercase;
  font-size: medium;
  font-family: 'Graphik', 'Graphik Trial', sans-serif;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 5px;
  color: rgb(112, 112, 112);
  font-weight: 700;
  cursor: pointer;
}

.about-section{
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 500ms ease;
}
.about-section.open {
  grid-template-rows: auto 1fr;
}

.hidden-div {
  overflow: hidden;
  min-height: 0;   /* needed so the 0fr row can fully collapse */
}



/* Optional: your own custom marker */
.headings::after {
  content: "\f0d9";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  float: right;
}

.about-section.open .headings::after {
  content: "\f0d7";
}

.about-main{
  border-image: linear-gradient(to right, #0066ff, #ff32d6) 1 1  1 1;
}

/* HOME PAGE */

.home {
  min-height: 100vh;
  margin-top: 200px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-areas:
    "hero pic"
    "skills skills";
  gap: 32px;
  align-items: start;
  margin-left: 40px;
  margin-right: 40px;
border-radius: 8px;
background-image: radial-gradient(at top right, #b2d1ff, #f1dce8, white);
background-color: darkolivegreen;

}

.about-me {


  align-self: stretch;   /* fills tagline's full height regardless of content */
  box-sizing: border-box;
  width: 100%;
  padding: 25px;
  padding-left: 20px;
  line-height: 48px;
}


.intro {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}


/* From Uiverse.io by iZOXVL */ 
.boton-elegante {
  padding: 10px 15px;
  border: 2px solid #2c2c2c;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.4s ease;
  outline: none;
  position: relative;
  overflow: hidden;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
}

.boton-elegante::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: scale(0);
  transition: transform 0.5s ease;
}

.boton-elegante:hover::after {
  transform: scale(4);
}

.boton-elegante:hover {
  border-color: #666666;
  background: #292929;
}

/* .portfolio-pic {
  grid-area: pic;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background-color: #000;
  background-color: white;
  margin-top: 45px;
  margin-right: 30px;
  border-radius: 8px;
}


.my-image {
  width: 350px;
  aspect-ratio: 3 / 4;
  background-image: url('../images/wellfoundprofile.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
} */
.portfolio-pic {
    grid-area: pic;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
    margin: 45px 30px 0 0;

    background: #f5f5f5;
    border-radius: 16px;
}

.my-image {
    width: 100%;
    aspect-ratio: 3 / 4;

    object-fit: cover;
    object-position: center 30%;

    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

    transition: transform 0.3s ease;
}

.my-image:hover {
    transform: scale(1.02);
}

.handles {
   width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 15px;

    margin-top: 25px;
}

.handle-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 20px;

    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;

    color: #333;
    background: #fff;

    border: 1px solid #d6d6d6;
    border-radius: 30px;

    transition: all 0.3s ease;
}

.handle-link i {
    font-size: 1.1rem;
}

.handle-link:hover {
    background: #222;
    color: #fff;
    border-color: #222;

    transform: translateY(-3px);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Resume link */

.resume-link {
    background: #222;
    color: #fff;
    border-color: #222;
}

.resume-link:hover {
    background: #444;
    border-color: #444;
}

/* Mobile */

@media (max-width: 480px) {
    .handles {
        gap: 10px;
    }

    .handle-link {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}




.my-skills {
  grid-area: skills;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
  background-color: #FFF;
}


.skills-section{
  text-align: center; height: 6rem; font-size: 2rem; padding-top: 2rem;margin-bottom: 40px;font-weight: 600;

}




.skill-set {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.skill {
   position: relative;
  height: 200px;
  width: 300px;
  margin: 10px auto;
  background-color: var(--dim);
  border-radius: 8px;
  transition: filter 0.25s ease, transform 0.25s ease;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  background-size: 45%;
  background-position: center;
  background-repeat: no-repeat;

}


#react{
background-image: url('../images/reactlogo.jpg');
}
#node{
background-image: url('../images/jslogo.jpg');
}

#fastapi{
background-image: url('../images/fastapi.svg');
}
#express{
background-image: url('../images/expressjs.png');
}
#linux{
background-image: url('../images/linux.gif');
}
#mongodb{
background-image: url('../images/la1a1agcxt7ppntea-logo-marks.svg');
}

#docker{
background-image: url('../images/docker-mark-ocean-blue.png');
}
#django{
background-image: url('../images/django.svg');
}
#postgres{
  background-image: url('../images/elephant.png');
}

.skill:hover{
  transform: scale(1.1);
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;

}

.skill > .fas {
  position: absolute;
  right: 30px;
  bottom: 30px;
  color: black;}


  .skill>span{
    color: black;
    position: absolute;
    top: 25px;
    left: 30px;
    font-weight: 700;
  }



.tagline {
  grid-area: hero;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;

  width: 100%;
  height: 100%;
  margin-top: 45px;
  margin-left: 30px;
  padding: 25px;
  box-sizing: border-box;
  line-height: 1.5;
  gap: 10px;}

.tag {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: auto;
  min-height: 50px;

  margin: 0;
  padding: 10px 45px;
  box-sizing: border-box;

  font-size: large;
}

.about-me {
  width: 100%;
  box-sizing: border-box;
  padding: 25px;
  padding-left: 20px;
  line-height: 42px;
}


@media (max-width: 768px) {

  .home {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "pic"
      "skills";

    gap: 24px;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
  }

  .tagline {
    width: 100%;
    min-height: auto;

    margin: 0;
    padding: 70px 15px 25px;

    box-sizing: border-box;
  }

  .tag {
    width: 100%;
    font-size: 1.1rem;
  }

  .about-me {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }

  .portfolio-pic {
        margin: 30px 0;
        padding: 15px;
    }

    .my-image {
        max-width: 280px;
    }

  .skill-set {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {

  .tagline {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 65px 10px 20px;
  }

  .tag {
    font-size: 1rem;
    padding: 10px;
  }

  .about-me {
    padding: 10px;
  }

  .intro {
    font-size: 20px;
  }

  .my-image {
    width: 100%;
    max-width: 300px;
  }

  .portfolio-pic {
    margin: 0;
    padding: 15px;
  }

  .skill {
    height: 100px;
    width: 100px;
  }

  .skill > .fas {
    right: 14px;
    bottom: 14px;
  }

  .skill > span {
    top: 10px;
    left: 10px;
  }
}

@media screen and (max-width: 768px) {
  .list {
    padding: 0;
    gap: 10px;
    justify-content: center;
  }

  .list>li {
    width: 60px;
    margin: 5px;
  }

  .header {
    position: fixed;
    bottom: 20px;
    top: auto;          
    height: 50px;
    align-items: center;
  }
  .email{
    min-height: 250px;
    min-width: 75%;
    margin-bottom: 0;
  }
  .sm-wrapper{
    flex-direction: column;
    width: 75%;
    gap:15px;
  }
  .sm-card{
    min-height: 0px;
    width: 100%;
  }
  .icon{
    height: 45px;
    width: 45px;

  }
  .action{
    margin-bottom: 20px;
    height: 40px;
    
  }
  h3{
    font-size: small;
  }
  main {
    padding-bottom: 100px;
  }
  .sm-card-wtsp{
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .about-main{
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .about-personal{
    width: 100%;
    padding: 30px;
    border-radius: 0;
  }
  .para{
    text-align: justify;
  }
  
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tagline {
  animation: fadeUp 0.8s ease-out 0.1s both;
}

.portfolio-pic {
  animation: fadeUp 0.8s ease-out 0.3s both;
}

.my-skills {
  animation: fadeUp 0.8s ease-out 0.5s both;
}

.skill {
  opacity: 0;
  animation: fadeUp 0.6s ease-out forwards;
}

.skill:nth-child(1) {
  animation-delay: 0.6s;
}

.skill:nth-child(2) {
  animation-delay: 0.7s;
}

.skill:nth-child(3) {
  animation-delay: 0.8s;
}

.skill:nth-child(4) {
  animation-delay: 0.9s;
}

.skill:nth-child(5) {
  animation-delay: 1s;
}

.skill:nth-child(6) {
  animation-delay: 1.1s;
}

.skill:nth-child(7) {
  animation-delay: 1.2s;
}

.skill:nth-child(8) {
  animation-delay: 1.3s;
}

.skill:nth-child(9) {
  animation-delay: 1.4s;
}

.works {min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 120px;
  margin-top: 40px;
  gap: 30px;
}
.works{
  margin-top: 120px;
}

.project {
   position: relative;
  height: 400px;
  width: 400px;
  margin: 10px auto;
  background-color: var(--dim);
  border-radius: 8px;
  transition: filter 0.25s ease, transform 0.25s ease;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  background-size: 45%;
  background-position: center;
  background-repeat: no-repeat;
}


/* Core Collage Grid Layout */
.collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  grid-gap: 15px;
  grid-auto-flow: dense; /* Instructs grid to backfill empty gaps */
  padding: 15px;
}

/* Base Style for Collage Items */
.collage .item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

/* Image Fitting Configuration */
.collage .item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps aspect ratios clean without distortion */
  transition: transform 0.4s ease;
}

/* Asymmetric Grid Spanning Rules */
.collage .item.wide {
  grid-column: span 2;
}

.collage .item.tall {
  grid-row: span 2;
}

.collage .item.big {
  grid-column: span 2;
  grid-row: span 2;
}

/* Interactive Hover Feedback Effect */
.collage .item:hover img {
  transform: scale(1.05);
}


