/* FOR dev BRANCH */
/* google icon style*/
.material-symbols-outlined {
  color: white;
  display: none;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

@font-face {
  font-family: font1;
  src: url(./assets/fonts/Host_Grotesk/HostGrotesk-VariableFont_wght.ttf) format('woff2');
}

@font-face {
  font-family: druk;
  src: url(./assets/fonts/Druk\ Wide\ Bold\ Regular.ttf) format('woff2');
}

/* =============== BASIC LAYOUT ==============*/

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  list-style: none;
  outline: none;
  text-decoration: none;
  font-family: font1;
  transition: .3s ease-in-out;
}

section {
  padding: 2em clamp(1em, 7vw, 100em);
}

::-webkit-scrollbar {
  display: none;
}


body,
.skills-section,
.proj-section {
  background-image: url(./assets/bg-image/thumb-1920-1318499.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: color-dodge;
  background-attachment: fixed;
  background-color: rgba(1, 12, 28, 0.726);
}

:root {
  --prim-blue: rgb(1, 7, 22);
  --prim-blue-bg: rgba(4, 9, 22, 0.824);
  --white: rgb(172, 208, 231);
  --light-blue: #a1cbf6;
}

::selection {
  color: #fff;
  background-color: rgb(3, 82, 173);
}

:is(h1, .usr-name-handle) {
  font-family: druk;
}

/*=========================================*/

/* HEADER BG IMAGE (HERO SECTION)*/
header {
  background-image: url(./assets/bg-image/thumb-1920-1318499.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: color-dodge;
  background-attachment: fixed;
  background-color: var(--prim-blue-bg);
  height: 100svh;
}

/* NAVBAR*/

nav {
  z-index: 1;
  width: 100%;
  height: 80px;
  line-height: 80px;
  display: inline-flex;
  justify-content: center;
  padding: clamp(.2em, 8vw, .5em);
}

.nav-links a {
  color: var(--light-blue);
  font-size: clamp(.2rem, 8vw, 1.3rem);
  border-radius: 20px;
  padding: 0.2em 0.8em;
  margin: 0 0.2em;
  letter-spacing: 1px;
  font-weight: 600;
}

.nav-links a:hover {
  background-color: #1882eb1f;
  color: #fff;
}

/* only for contact button (last link on navbar)*/

#contact-link {
  border: 1px solid var(--light-blue);
}

#contact-link:hover {
  background-color: #a1cbf6;
  color: var(--prim-blue);
}

/* HERO SECTION (FIRST PAGE)*/

.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80dvh;
  color: var(--light-blue);
  text-align: center;
}

.hero-section h1 {
  font-size: clamp(2.3em, 8vw, 5rem);
  text-align: center;
}

.hero-section p {
  font-weight: 300;
  font-size: clamp(1.3rem, 4vw, 2.3rem);
}

.contin-btn {
  padding: .3em 2em;
  display: block;
  line-height: normal;
  border-radius: 30px;
  font-size: clamp(1rem, 8vw, 1.5em);
  background-color: transparent;
  border: 2px solid var(--light-blue);
  color: var(--white);
  cursor: pointer;
  align-content: center;
  margin-top: 1em;
}

.contin-btn:hover {
  background-color: var(--light-blue);
  color: var(--prim-blue);
   box-shadow: 0px 0px 30px rgba(92, 158, 239, 0.315);
}

/* ABOUT SECTION (SECOND SECTION/PAGE )*/


.about-sect {
  color: var(--light-blue);
  background-color: rgb(12, 29, 77);
  padding: 4em;
 display: grid;
 place-content: center;
 height: auto;
 gap: .5em;
}

.about-sect h1 {
  font-size: clamp(2rem, 8vw, 3rem);
}

.about-sect p {
  line-height: 1.5em;
  font-size: clamp(0.6rem, 0.2vw + 1rem, 1.2rem);
  max-inline-size: 150ch;
}

/* SKILLS/TECH STACK SECTION */

.skills-section {
  height: auto;
  gap: 2em;
  padding: 5em clamp(.3rem, 7vw, 10em);
  justify-content: center;
  align-content: center;
  flex-direction: column;
}

.skills-section h2 {
  text-align: left;
  font-size: clamp(.5rem, 8vw, 2.5rem);

  color: var(--light-blue);
  font-family: druk;
  margin-bottom: .8em;
}

.tech-stack {
  display: grid;
  place-content: center;
  gap: 2em;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}



.item {
  border-radius: 10px;
  height: auto;
  background-color: rgba(5, 61, 173, 0.395);
  border: 1px solid rgba(0, 162, 255, 0.08);
  box-shadow: 0px 10px 30px rgba(0, 5, 11, 0.231);
  backdrop-filter: blur(14px);
  height: 100px;
  padding: .5em 1em;
  display: flex;
  align-items: center;
  gap: .5em;
  color:  var(--light-blue);
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.item:hover {
  transform: scale(1.02);
  background-color: rgba(0, 119, 255, 0.406);
  box-shadow: 0px 0px 30px rgba(1, 112, 248, 0.443);
}

.item img {
  float: left;
  width: 50px;
  height: 50px;
  clear: left;
  margin-right: 3px;
}

.item h5 {
  margin-bottom: 2px;
  font-size: clamp(.5rem, 8vw, 1.3rem);
}

.item p {
  font-weight: 400;
  font-size: clamp(.3rem, 8vw, .9rem);
  opacity: 70%;
}




/* PROJECTS SECTION (THIRD PAGE/SECTION)*/

.proj-section {
  color: var(--white);
  /*padding: 2em clamp(.3em, 8vw, 30em);*/
  height: auto;
  border-top: 1px solid #a1ccf63e;

}

.proj-section h1 {
  color: var(--light-blue);
  font-size: clamp(2em, 8vw, 2.5rem);
  text-align: left;
  margin-bottom: 1em;

}

.projects-sect {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2em;
  padding-bottom: 3em;
  margin-top: 2rem;
}

.card {
  cursor: pointer;
  height: auto;
  background-color: rgba(5, 61, 173, 0.395);
  box-shadow: 0px 10px 30px rgba(0, 5, 11, 0.183);
  backdrop-filter: blur(14px);
  overflow: hidden;
  border-radius: 10px;
  flex-grow: 0;
}

.card h3 {
  font-size: clamp(1rem, 8vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 1em;
}

.card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card-details {
  text-align: left;
  padding: 1.3em 1.2em;
  height: auto;
}

.card-options {
  display: flex;
  gap: 0.5em;
}

.card-options .btn {
  padding: 0.3em .8em;
  border-radius: 25px;
  font-size: clamp(0.6rem, 8vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid var(--light-blue);
  color: var(--light-blue);
}


.card-options .btn:hover {
  background-color: var(--light-blue);
  color: var(--prim-blue);
}

.card:hover {
  transform: scale(1.02);
  background-color: rgba(0, 119, 255, 0.406);
  box-shadow: 0px 0px 30px rgba(1, 112, 248, 0.228);
  color: white;
}

.back-top-btn {
  display: block;
  color: var(--light-blue);
  background-color: transparent;
  border: 1px solid var(--light-blue);
  padding: .6em 2em;
  font-size: clamp(.5rem, 8vw, 1.3em);
  text-align: center;
  line-height: 1em;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 200;
  justify-self: center;
  align-self: center;
}

.back-top-btn span {
  margin-right: 5px;
}




.back-top-btn:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 30px rgba(92, 158, 239, 0.315);
  background-color: var(--light-blue);
  color: var(--prim-blue);
}

/* Email form ****(MOVED TO SEPARATE PAGE)**** 





/* FOOTER (WITH LINKS ONLY)*/

.footer {
  display: flex;
  flex-direction: column;
  padding: 2em clamp(.5em, 8vw, 4em);
  height: auto;
  width: 100%;
  right: 0;
  backdrop-filter: blur(14px);
  background-color: rgba(4, 4, 17, 0.352);
}

.footer h1 {
  color: var(--white);
  font-size: clamp(.5rem, 8vw, 1.2rem);
  margin-bottom: .5em;
  padding: 1em 0;
  border-bottom: 1px solid rgba(126, 192, 249, 0.393);
  margin-top: 0.5em;
  letter-spacing: 1px;
  text-align: center;
  width: 80%;
  align-self: center;
}


.scl-med {
  margin-top: 1em;
  padding: 0;
  width: fit-content;
  display: flex;
  align-self: center;
  gap: 1em;
  line-height: 50px;
}

.scl-med a {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  width: fit-content;
  width: 20px;
  height: 20px;
  display: grid;
  place-content: center;
  padding: 1em;
  border-radius: 50%;
  border: 1px solid var(--light-blue);
}

.scl-med a:hover {
  color: var(--prim-blue);
  background-color: var(--light-blue);
  opacity: 100%;
}



.get-in-touch {
  padding: 0.5em 1em;
  position: fixed;
  width: 80px;
  height: 80px;
  margin: 1em .5em;
  right: 0;
  bottom: 0;
  font-size: 1rem;
  line-height: 1em;
  border-radius: 50%;
  border: 1px solid #a1ccf62e;
  z-index: 1;
  cursor: pointer;
  box-shadow: 5px 5px 25px rgba(16, 36, 58, 0.635);
  background-color: rgba(5, 79, 240, 0.45);
  backdrop-filter: blur(14px);
  color: white;
  display: none;
}

.get-in-touch:hover {
  box-shadow: 0px 0px 25px rgba(49, 114, 183, 0.422);
  background-color: rgb(12, 61, 168);
  border: transparent;
}

/* CONTACT FORM STYLESHEET MOVED AS OF 6.19.25 */


/*  med */

@media screen and (max-width: 768px) {
  .material-symbols-outlined {
    display: block;
  }

  .get-in-touch {
    display: block;
  }

  nav {
    top: 0;
    position: fixed;
    height: 50px;
    display: flex;
    justify-content: right;
    padding: 0 clamp(0.2em, 4vw, 19%);
  }

  #contact-link {
    /* this should only be visible on Desktop or screens larger than 600 pixels.*/
    border: none;
    color: rgb(38, 96, 254);
  }

  #Hamburg-menu {
    margin-top: 10px;
    font-size: 1.5rem;
    line-height: 20px;
    cursor: pointer;
    height: 40px;
    width: 40px;
    background-color: rgb(3, 82, 173);
    border-radius: 25px;
    text-align: center;
    align-content: center;
  }



  #Hamburg-menu:hover {
    color: var(--light-blue);
  }

  .nav-links {
    box-shadow: 0px 0px 15px rgba(11, 22, 35, 0.422);
    background-color: rgb(1, 19, 35);
    position: absolute;
    top: 60px;
    right: 20px;
    flex-direction: column;
    width: 50%;
    display: none;
    overflow: hidden;
    border-radius: 10px;
  }


  .nav-links a {
    font-family: druk;
  }


  .nav-links a,
  #active {
    background-color: transparent;
    height: 50px;
    margin: 0;
    line-height: 42px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
  }

  .nav-links a:nth-child(-n + 4) {
    border-bottom: 1px solid rgba(163, 218, 241, 0.349);
  }



  /* this color is a bit lighter than the active id on link.*/

  .nav-links a:hover {
    background-color: rgba(16, 99, 233, 0.925);
  }

  /* hero section */

  .hero-section {
     display: grid;
     place-content: center;
     height: 100svh;
     text-align: center;
  }


  .hero-section button {
    justify-self:  center;
  }

  /* about section */

  .about-sect {
    padding: clamp(1rem, 8vw, 7%);
  }

  /* CONTACT FORM ****(MOVED)**** */

  .bck-to-home button {
    top: 2%;
    left: 2%;
  }



  /* projects*/
  .projects-sect .card {
    flex-grow: 1;
  }


  /* footer */

  #contact-foot-link {
    display: none;
  }

}

/* Larger screens */

@media screen and (max-width: 1024px) {
  .projects-sect .card {
    flex-grow: 0;
  }
}