/*-----------------------------------*\
 * style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
 * #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

    /**
     * colors
     */
  
    --raw-seinna: hsl(30, 1%, 27%);
    --sizzling-sunrise: hsl(51, 95%, 54%);
    --scarlet: hsl(30, 1%, 36%);
    --black: hsl(0, 0%, 0%);
    --white: hsl(0, 0%, 100%);
  
    /**
     * typography
     */
     
    /* --ff-saira-stencil-one: "Saira Stencil One", sans-serif; 
    --ff-poppins: 'Poppins', sans-serif;
    --ff-roboto: 'Roboto', sans-serif; */

    --ff-space-grotesk: 'Space Grotesk', sans-serif; 
    --ff-space-grotesk: 'Space Grotesk', sans-serif;
    --ff-space-grotesk: 'Space Grotesk', sans-serif;
    
    --fs-1: 2rem;
    --fs-2: calc(1.813rem + 1vw);
    --fs-3: calc(0.313rem + 1vw);
    --fs-4: 1.4rem;
    --fs-5: 1rem;
    --fs-6: 0.813rem;
    --fs-7: 0.75rem;
  
    --fw-400: 400;
    --fw-700: 700;
  
    /**
     * transition
     */
  
    --transition-1: 0.25s ease-in-out;
  
    /**
     * spacing
     */
  
    --section-padding: 80px;
  
    /**
     * radius
     */
  
    --radius-4: 4px;
    --radius-12: 12px;
  
  }
  
  
  
  
  
  /*-----------------------------------*\
   * #THEME COLORS
  \*-----------------------------------*/
  
  body.dark_theme {
  
    --bg-primary: hsl(0, 0%, 12%);
    --bg-secondary: hsl(0, 0%, 19%);
    --color-primary: hsl(0, 0%, 100%);
    --color-secondary: hsl(0, 0%, 62%);
    --card-shadow: hsla(0, 0%, 0%, 0.4);
    --input-bg: hsl(0, 0%, 16%);
  
    --shadow-1: 10px 10px 40px var(--card-shadow);
  
  }
  
  body.light_theme {
  
    --bg-primary: hsl(0, 0%, 90%);
    --bg-secondary: hsl(0, 0%, 100%);
    --color-primary: hsl(0, 0%, 12%);
    --color-secondary: hsl(0, 0%, 37%);
    --card-shadow: hsla(0, 0%, 0%, 0.1);
    --input-bg: hsl(0, 0%, 93%);
  
    --shadow-1: 10px 10px 40px var(--card-shadow);
  
  }
  
  
  
  
  
  /*-----------------------------------*\
   * #RESET
  \*-----------------------------------*/
  
  *, *::before, *::after {
    margin: 0;
    padding: 0;
    padding-top: 2;
    box-sizing: border-box;
  }
  
  li { list-style: none; }
  
  a { text-decoration: none; }
  
  a,
  img,
  time,
  span,
  input,
  label,
  select,
  button,
  textarea,
  ion-icon { display: block; }
  
  input,
  button,
  select,
  textarea {
    background: none;
    border: none;
    font: inherit;
  }
  
  button,
  select { cursor: pointer; }
  
  input,
  textarea { width: 100%; }
  
  ion-icon { pointer-events: none; }
  
  :is(a, button, select) {
    outline-color: var(--scarlet);
    outline-offset: 3px;
  }
  
  ::selection {
    background: var(--color-primary);
    color: var(--bg-primary);
  }
  
  html {
    font-family: var(--ff-space-grotesk);
    scroll-behavior: smooth;
    font-family: 'Space Grotesk', sans-serif;
    scroll-behavior: smooth;
    background-color: #000000;
  }
  
  body {
    
    transition: var(--transition-1);
  }
  
  body.active { overflow: hidden; }
  
  
  
  
  
  /*-----------------------------------*\
   * #REUSED STYLE
  \*-----------------------------------*/
  
  .container { padding-inline: 10px; }
  
  .h1 {
    font-size: var(--fs-1);
    line-height: 1.2;
    font-weight: 400;
  }
  
  .h2,
  .h3,
  .h4 {
    color: var(--color-primary);
    font-family: var(--ff-space-grotesk);
    line-height: 1.2;
  }
  
  .h2 { font-size: var(--fs-2); }
  
  .h3 { font-size: var(--fs-3); }
  
  
  :root {
    --fs-4: 1.3rem; /* Adjust the value as needed */
  }
  
  .h4 {
    font-size: var(--fs-4);
  }
  
  
  .w-100 { width: 100%; }
  
  .btn {
    max-width: max-content;
    color: var(--color-primary);
    font-weight: var(--fw-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 25px;
    border: 1px solid transparent;
    border-radius: var(--radius-4);
    transition: var(--transition-1);
  }
  
  .btn-primary { border-color: var(--color-primary); }
  
  .btn-primary:is(:hover, :focus) {
    background: var(--color-primary);
    color: var(--bg-primary);
  }
  
  .btn-secondary {
    background: var(--raw-seinna);
    border-color: var(--raw-seinna);
    color: var(--black);
  }
  
  .btn-secondary:is(:hover, :focus) { --raw-seinna: hsl(24, 74%, 64%); }
  
  .section-subtitle {
    position: relative;
    color: var(--color-secondary);
    text-transform: uppercase;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-weight: normal;
    
  }
  
  .section-subtitle::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-secondary);
    font-weight: normal;
    
  }
  
  .section-title {
    max-width: 350px;
    
    margin-bottom: 30px;
    font-weight: normal;
  }
  
  .section-text {
    color: var(--color-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: normal;
  }
  
  .tooltip {
    position: absolute;
    top: -40px;
    background: var(--raw-seinna);
    min-width: max-content;
    color: var(--white);
    font-size: 15px;
    font-weight: var(--fw-700);
    padding: 5px 10px;
    border-radius: var(--radius-4);
    box-shadow: var(--shadow-1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-1);
    z-index: 1;
  }
  
  
  /*-----------------------------------*\
   * #ABOUT
  \*-----------------------------------*/
  
  .about { padding-block: var(--section-padding); }
  
  .about-banner {
    max-width: 400px;
    margin-inline: auto;
    margin-bottom: 80px;
  }
  
  .about .btn {
    max-width: unset;
    width: 100%;
  }
  
  .about .btn-secondary { margin-bottom: 10px; }
  
  
  
  
  
  /*-----------------------------------*\
   * #SKILLS
  \*-----------------------------------*/
  
  .skills { padding-block: var(--section-padding); }
  
  .skills-content { margin-bottom: 50px; }
  
  .skills-toggle {
    background: var(--bg-secondary);
    position: relative;
    width: max-content;
    margin-inline: auto;
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 100px;
    box-shadow: var(--shadow-1);
    z-index: 1;
  }
  
  .skills-toggle::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    bottom: 5px;
    width: 93px;
    background: var(--raw-seinna);
    border-radius: 100px;
    transition: var(--transition-1);
    z-index: -1;
  }
  
  .skills-toggle.active::before {
    left: 98px;
    width: 94px;
  }
  
  .skills {
    padding-block: 10px; /* Adjust the value to your preference */
  }
  
  .toggle-btn {
    color: var(--color-primary);
    font-family: var(--ff-space-grotesk);
    padding: 5px 25px;
    transition: var(--transition-1);
  }
  
  .toggle-btn.active { color: var(--white); }
  
  .skills-box.active .skills-list,
  .skills-box .tools-list { display: none; }
  
  .skills-box .skills-list,
  .skills-box.active .tools-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    animation: fadeIn 0.5s ease-out forwards;
  }
  
  @keyframes fadeIn {
  
    0% { opacity: 0; }
    100% { opacity: 1; }
  
  }
  
  .skill-card {
    position: relative;
    background: var(--bg-secondary);
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-12);
    box-shadow: var(--shadow-1);
    cursor: help;
  }
  
  .skill-card:hover .tooltip {
    transform: translateY(0);
    opacity: 1;
  }
  
  
  
  
  
  /*-----------------------------------*\
   * #CONTACT
  \*-----------------------------------*/
  
  .contact { padding-block: var(--section-padding); }
  
  .contact-content { margin-bottom: 50px; }
  
  .contact-list-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .contact-item-icon {
    font-size: 20px;
    color: var(--color-primary);
  }
  
  .contact-item-icon ion-icon { --ionicon-stroke-width: 40px; }
  
  .contact-item-title { margin-bottom: 10px; font-weight: normal;}
  
  .contact-list-item .contact-info {
    color: var(--color-secondary);
    font-style: normal;
    line-height: 1.6;
    transition: var(--transition-1);
  }
  
  .contact-info:not(address):is(:hover, :focus) { color: var(--color-primary); }
  
  .contac-social-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding-inline: 40px;
  }
  
  .contact-social-link {
    position: relative;
    background: var(--color-primary);
    color: var(--bg-primary);
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: var(--transition-1);
  }
  
  .contact-social-link:is(:hover, :focus) {
    background: var(--raw-seinna);
    color: var(--white);
  }
  
  .contact-social-link:is(:hover, :focus) .tooltip {
    transform: translateY(0);
    opacity: 1;
  }
  
  .contact-form {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-12);
    box-shadow: var(--shadow-1);
  }
  
  .form-wrapper { margin-bottom: 25px; }
  
  .form-label {
    color: var(--color-primary);
    font-size: var(--fs-7);
    font-family: var(--ff-space-grotesk);
    margin-bottom: 8px;
    margin-left: 5px;
  }
  
  .input-wrapper { position: relative; }
  
  .input-field {
    background: var(--input-bg);
    color: var(--raw-seinna);
    padding: 10px;
    padding-left: 40px;
    border-radius: var(--radius-12);
    transition: var(--transition-1);
  }
  
  .input-wrapper ion-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--color-secondary);
    font-size: 20px;
    transition: var(--transition-1);
  }
  
  textarea.input-field {
    min-height: 60px;
    height: 120px;
    max-height: 200px;
    resize: vertical;
  }
  
  .input-field:focus { outline: 1px solid; }
  
  .input-field:focus + ion-icon { color: var(--raw-seinna); }
  
  .contact .btn-primary {
    max-width: unset;
    width: 100%;
    background: var(--color-primary);
    color: var(--bg-primary);
  }
  
  
  
  
  
  
  
  
  
  /*-----------------------------------*\
   * #MEDIA QUERIES
  \*-----------------------------------*/
  
  /**
   * responsive for larger than 550px screen
   */
  
  @media (min-width: 550px) {
  
    /**
     * REUSED STYLE
     */
  
    .container {
      max-width: 550px;
      margin-inline: auto;
    }
  
    .section-title { max-width: 380px;font-weight: normal; }
  
  
  
   
  
  }
  
  
  
  
  
  /**
   * responsive for larger than 768px screen
   */
  
  @media (min-width: 768px) {
  
    /**
     * REUSED STYLE
     */
  
    .container { max-width: 720px; }
  
    .section-title { max-width: 430px; }
  
  
  
   
  
  
  
    /**
     * ABOUT
     */
  
    .btn-group {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 20px;
    }
  
    .about .btn { max-width: max-content; }
  
    .about .btn-secondary { margin-bottom: 0; }
  
  
  
  /*Education Section */
  #education{
    display: flex;
    flex-direction: column;
    font-weight: normal;
    
  
  }
  
  #education h1{
    margin: 60px;
    font-weight: normal;
  }
  
  .columns{
    display: grid;
    grid-template-columns: auto auto;
    padding-left: center;
  
  }
  
  .box{
    height: auto;
    width: 500px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin: 10px;
    padding: 20px;
  }
  
  .box h2{
    color: white;
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  
  
  .box p{
    color: white;
    font-size: 1.1rem;
  }
  
  
  
  
    /**
     * CONTACT
     */
  
    .contact-form {
      max-width: 450px;
      margin-inline: auto;
    }
  
  }
  
  
  
  
  
  /**
   * responsive for larger than 992px screen
   */
  
  @media (min-width: 992px) {
  
    /**
     * CUSTOM PROPERTY
     */
  
    :root {
  
      /**
       * typography
       */
  
      --fs-2: 3rem;
  
      /**
       * spacing
       */
  
      --section-padding: 100px;
  
    }
  
  
  
    /**
     * REUSED STYLE
     */
  
    .container { max-width: 980px; }
  
    .section-content {
      position: relative;
      padding-left: 55px;
      padding-top:40px;
    }
  
    .section-subtitle {
      position: absolute;
      top: 0;
      left: 0;
      transform: rotate(0.75turn) translateX(-100%);
      transform-origin: left top;
      margin-bottom: 0;
    }
  
    .section-subtitle::after {
      top: 8px;
      left: auto;
      right: calc(100% + 20px);
    }
  
  
  
    /**
     * HEADER
     */
  
    .header { padding-block: 30px; }
  
    .header.active { padding-block: 15px; }
  
    .navbar-actions {
      order: 1;
      margin-left: 0;
    }
  
    .nav-toggle-btn { display: none; }
  
    .navbar { all: unset; }
  
    .navbar-link {
      transform: translateY(0);
      font-size: unset;
      padding-inline: 5px;
    }
  
    .navbar-list > li {
      margin: 0;
      padding: 0;
      overflow: visible;
    }
  
    .navbar-list {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
    }
  
    .navbar-link::before { height: 2px; }
  
  
  
    /**
     * HERO
     */
  
    .hero {
      position: relative;
      padding-top: 0;
      height: 100vh;
    }
  
    .hero-banner {
      max-width: unset;
      height: 100%;
      margin-bottom: 0;
    }
  
    .hero img {
      height: 100%;
      width: auto;
      margin-inline: auto;
    }
  
    .hero-content {
      --color-primary: var(--white);
  
      position: absolute;
      top: 50%;
      filter: drop-shadow(2px 4px 10px var(--black));
    }
  
    .hero .btn-primary:is(:hover, :focus) { color: hsl(0, 0%, 12%); }
  
    .hero-social-list {
      display: block;
      position: absolute;
      bottom: 92px;
      left: -30px;
    }
  
    .hero-social-list::after {
      content: "";
      position: absolute;
      bottom: -40px;
      left: 13px;
      width: 2px;
      height: 30px;
      background: var(--color-secondary);
    }
  
    .hero-social-link {
      position: relative;
      color: var(--color-secondary);
      margin-block: 5px;
      padding: 5px;
      font-size: 18px;
      transition: var(--transition-1);
    }
  
    .hero-social-link:is(:hover, :focus) { color: var(--color-primary); }
  
    .hero-social-link .tooltip {
      --trans-x: 10px;
  
      left: calc(100% + 10px);
      top: 50%;
      transform: translateY(-50%) translateX(var(--trans-x));
    }
  
    .hero-social-link:is(:hover, :focus) .tooltip {
      --trans-x: 0;
      opacity: 1;
    }
  
    .scroll-down {
      display: block;
      position: absolute;
      bottom: 80px;
      right: -30px;
      color: var(--color-secondary);
      font-size: 1.125rem;
      text-transform: uppercase;
      transform: rotate(90deg);
      transform-origin: top right;
    }
  
    .scroll-down::after {
      content: "";
      position: absolute;
      top: 8px;
      right: -50px;
      width: 30px;
      height: 2px;
      background: var(--color-secondary);
    }
  
  
  
    /**
     * STATS
     */
  
    .stats-list { grid-template-columns: repeat(3, 1fr); }
  
    .stats-card { height: 100%; }
  
  
  
  
    /**
     * ABOUT
     */
  
    .about {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 30px;
    }
  
    .about-banner { margin-bottom: 0; }
  
  
  
  
    /**
     * SKILLS
     */
  
    .skills {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 50px;
    }
  
    .skills-content { margin-bottom: 0; }
  
    .skills-toggle { margin-inline: 0; }
  
  
  
    /**
     * PROJECT
     */
  
    .project-list { column-count: 3; }
  
    .project-list > li:first-child {
      column-span: unset;
      margin: 25px;
      margin-left: 0;
    }
  
  
  
    /**
     * CONTACT
     */
  
    .contact {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }
  
    .contact-content { margin-bottom: 0; }
  
    .contact-form { width: 100%; }
  
    .contact-list { margin-left: -40px; }
  
  
  
    /**
     * FOOTER
     */
  
    .footer .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  
    .footer .logo { margin-bottom: 0; }
  
  }
  
  
  
  
  
  /**
   * responsive for larger than 1200px screen
   */
  
  @media (min-width: 1200px) {
  
    /**
     * REUSED STYLE
     */
  
    .container { max-width: 1150px; }
  
    .section-title { max-width: 460px; font-weight: normal; }
  
  
  
  
    /**
     * HERO
     */
  
    .hero-social-list { left: -80px; }
  
    .scroll-down { right: -80px; }
  
  
  
  
    /**
     * ABOUT
     */
  
    .about-banner { max-width: 450px; }
  
  }

  /*-----------------------------------*\
 * #ABOUT
\*-----------------------------------*/



.about-banner {
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 80px;
}

.about .btn {
  max-width: unset;
  width: 100%;
}

.about .btn-secondary {
  margin-bottom: 10px;
}


  /*navbar 
.navbar{
  display: flex;
  justify-content: center;
  height: 50px;
  align-items: center;
  position: sticky;
  top: 0;

}

.navbar::before{
  content: "";
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  z-index: -1; 
}

.navbar ul{
  display: flex;
  list-style: none;
}

.navbar ul li { 
  font-size: 1.1rem; 

}

.navbar ul li a{ 
  padding: 5px 20px;
  text-decoration: none;
  color: white;
}

.navbar ul li a:hover{
  border-bottom: 2px solid white;

}
*/

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  height: 50px;
  align-items: center;
  position: fixed; /* Change to fixed to keep it at the top */
  top: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Add background color for the navbar */
  width: 100%;
  z-index: 1000; /* Ensure it's on top of other content */
  font-weight: normal;
}

.navbar ul {
  display: flex;
  list-style: none;
  font-weight: normal;
}

.navbar ul li {
  font-size: 1.1rem;
  font-weight: normal;
}

.navbar ul li a {
  padding: 5px 20px;
  text-decoration: none;
  color: white;
  font-weight: normal;
}

.navbar ul li a:hover {
  border-bottom: 2px solid white;
  font-weight: normal;
}

#portfolio{
  display: flex;
  flex-direction: column;
  background-color: #000000;
}


#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}




/*-----------------------------------*\
 * #FOOTER
\*----------------------------

.footer {
  background: var(--bg-secondary);
  padding-block: 20px;
  text-align: center;
  box-shadow: var(--shadow-1);
}

.footer .logo { margin-bottom: 15px; }

.copyright {
  color: var(--color-secondary);
  line-height: 1.6;
}

.copyright a {
  display: inline-block;
  color: var(--raw-seinna);
}

-------*/






.footer {
  /* background: var(--bg-secondary); */
  padding-block: 30px;
  text-align: center;
  box-shadow: var(--shadow-1);
}

.footer .logo { margin-bottom: 15px; }


html {
  font-family: 'Space Grotesk', sans-serif;
  scroll-behavior: smooth;
  background-color: #000000;
}
