:root {
    --primary: #f2d544;
    --dark-blue: #130c24;
    --black: #232020;
    --gray-dark: #666;
    --gray: #999;
    --gray-light: #bdbdbd;
    --beige: #f5f5f1;
    --gap--lg: 100px;
    --gap: 80px;
    --text-color: white;
    --light-icon: white;
    --dark-icon: var(--black);
    --anchor-color: var(--primary);
  }
  
  html {
    background-color: var(--dark-blue);
    color: var(--text-color);
  }
  
  html.light-theme {
    background-color: var(--beige);
    --text-color: var(--black);
    --gray-light: var(--gray-dark);
    --light-icon: var(--black);
    --dark-icon: white;
    --anchor-color: var(--black);
  }
  html.light-theme #my-social-icons {
    color: black;
  }
  html.light-theme #about-me span{
    color: #f2cc11;
    font-weight: 600;
  }
  
  *, :before, :after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    font-size: 62.5%;
  }
  
  @media (max-width: 600px) {
    :root {
      --gap--lg: 40px;
      --gap: 30px;
    }
  
    html {
      font-size: 48%;
    }
  }
  
  @media (max-width: 440px) {
    html {
      font-size: 43%;
    }
  }
  
  body {
    margin: 0;
    font-size: 1.6rem;
  }
  
  .title--lg {
    font-size: 8rem;
    font-weight: bold;
    line-height: 1.05;
  }
  
  .title {
    font-size: 3.1rem;
    font-weight: normal;
    line-height: 1.77;
  }
  
  .title--sm {
    letter-spacing: .2rem;
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.06;
  }
  
  .text--xl {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.77;
  }
  
  .text--lg {
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.9;
  }
  
  .text--bold {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.77;
  }
  
  .text {
    font-size: 1.8rem;
    font-weight: normal;
    line-height: 1.77;
  }
  
  .text--sm {
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1.77;
  }
  
  .layout-section {
    padding-bottom: 200px;
    scroll-margin-top: 20px;
  }
  
  .layout-section-title {
    margin-bottom: 36px;
  }
  
  .layout-grid-half {
    gap: var(--gap);
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
  .layout-grid-half p span{
    color: #f2d544;
  }
  
  @media (max-width: 600px) {
    .layout-section {
      padding-bottom: 100px;
    }
  
    .layout-grid-half {
      grid-template-columns: 1fr;
    }
  }
  
  .btn {
    all: unset;
    box-sizing: border-box;
    outline: revert;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: transform .18s, opacity .18s;
    display: inline-block;
  }
  
  .btn:hover {
    opacity: .8;
  }
  
  .btn:active {
    transform: translate(1px, 1px);
  }
  
  .btn--raised {
    white-space: pre;
    background-color: var(--primary);
    color: var(--black);
    background-image: url("https://res.cloudinary.com/dbfn5lnvx/image/upload/v1648478882/learnhtmlcss/portfolio/arrow-right.svg");
    background-position: right 20px center;
    background-repeat: no-repeat;
    padding: 12px 53px 12px 24px;
  }
  
  .btn--link {
    color: var(--text-color);
    padding: 12px;
  }
  
  .btn--link:after {
    content: "";
    border: 1px solid var(--primary);
    height: 4px;
    width: 100%;
    display: inline-block;
  }
  
  .btn--nav {
    color: var(--text-color);
    opacity: .7;
    padding: 12px;
  }
  
  .btn--nav:hover {
    opacity: 1;
  }
  
  .tags {
    padding-left: 0;
  }
  
  .tag {
    --tag-color: var(--gray);
    letter-spacing: 1px;
    border: 1px solid var(--tag-color);
    outline: 1px solid #0000;
    margin: 8px 8px 8px 0;
    padding: 12px 16px;
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1.6;
    transition: transform .2s;
    display: inline-block;
    position: relative;
  }
  
  .tag:before {
    content: "";
    border: 1px solid var(--tag-color);
    position: absolute;
    inset: -3px;
  }
  
  .tag:hover {
    --tag-color: var(--primary);
    color: var(--primary);
    outline-color: var(--tag-color);
  }
  
  .nav {
    justify-content: space-between;
    align-items: center;
    padding-block: 25px;
    display: flex;
  }
  
  .nav-links {
    gap: 10px;
    padding-left: 0;
    list-style: none;
    display: flex;
  }
  
  @media (max-width: 800px) {
    .nav-links li {
      display: none;
    }
  
    .nav-links li:last-child {
      display: initial;
    }
  }
  
  .portfolio {
    gap: var(--gap);
    grid-template-columns: 300px 1fr;
    margin-bottom: 100px;
    display: grid;
  }
  .portfolio img:hover{
    border: 2px solid #f2d544;
    border-radius: 50%;
  }
  
  @media (min-width: 601px) {
    .portfolio:nth-child(2n+1) {
      grid-template-columns: 1fr 300px;
    }
  
    .portfolio:nth-child(2n+1) .portfolio-screenshot {
      order: 1;
    }
  }
  
  .portfolio-screenshot {
    border-radius: 50%;
  }
  
  @media (max-width: 600px) {
    .portfolio {
      grid-template-columns: 1fr;
    }
  
    .portfolio-screenshot {
      width: 175px;
      height: 175px;
    }
  }
  
  .input {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--gray);
    color: var(--text-color);
    background-color: #0000;
    margin-bottom: 24px;
    padding: 12px 10px;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.9;
    transition: border-color .2s;
  }
  
  .input:focus {
    border-bottom-color: var(--primary);
    outline: none;
  }
  
  textarea.input {
    resize: vertical;
    min-height: 100px;
  }
  
  .footer {
    justify-content: space-between;
    align-items: center;
    display: flex;
  }
  
  .footer .side {
    align-items: center;
    gap: 16px;
    display: flex;
  }
  
  .footer-sm {
    gap: 16px;
    list-style: none;
    display: flex;
  }
  
  .footer-name {
    margin-bottom: 0;
  }
  
  .footer-rights {
    margin-top: 0;
  }
  
  @media (max-width: 600px) {
    .footer {
      flex-direction: column;
    }
  }
  
  .scroll-down {
    text-align: center;
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
  }
  
  .scroll-down svg {
    --scroll-fill: var(--dark-icon);
    cursor: pointer;
    transition: fill .35s;
    animation: bounce 1.6s cubic-bezier(.445, .05, .55, .95) infinite;
  }
  
  .scroll-down svg:hover {
    --scroll-fill: var(--light-icon);
  }
  
  @keyframes bounce {
    50% {
      transform: translateY(-15px);
    }
  }
  
  #toggle-theme {
    all: unset;
    outline: revert;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 1;
    padding: 5px;
    transition: transform .18s;
    position: fixed;
    top: 5px;
    right: 5px;
  }
  
  #toggle-theme:active {
    transform: translate(1px, 1px);
  }
  
  /* //customised css */

  #intro {
    position: relative;
  }

  .Image-Container{
    max-width: 960px;
    margin-inline: auto;
    /* padding-inline: 20px; */
  }

  #myImage {
    border: 1px solid #dddddd66;
    border-radius: 10%;
    opacity: 0; 
    animation: fadeIn 1.5s ease-in-out forwards; /* Animation for fade-in */
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }


  #intro .container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
  }

  @media (max-width:800px) {
    #intro .container{
        flex-wrap: wrap;
        padding:0 40px;
        margin-top: 0 ;
    }
    .Image-Container{
        margin-top:30px;
    }

    #about-me,#portfolio,#experience,#testimonials,footer,#hire-me,#mynav{
      padding: 20px;
    }
  }
  
  .intro-name {
    margin-bottom: 0;
  }
  
  .intro-tagline {
    overflow-wrap: break-word;
    margin-top: 0;
    margin-bottom: 40px;
  }
  
  .hire-form {
    gap: var(--gap--lg);
    grid-template-columns: 1fr 3fr;
    display: grid;
  }
  
  .hire-action {
    justify-content: flex-end;
    align-items: center;
    display: flex;
  }
  
  .hire-line {
    gap: 16px;
    margin-bottom: 40px;
    display: flex;
  }
  
  .hire-subtitle {
    margin-top: 0;
    margin-bottom: 5px;
  }
  
  .hire-value {
    margin-top: 0;
  }
  
  @media (max-width: 600px) {
    .hire-form {
      grid-template-columns: 1fr;
    }
  }
  
  a {
    color: var(--anchor-color);
    opacity: .85;
    transition: opacity .2s;
  }
  
  a:hover {
    opacity: 1;
  }
  
  p {
    color: var(--gray-light);
  }
  
  textarea, body {
    font-family: Poppins, sans-serif;
  }
  
  address {
    font-style: normal;
  }
  
  figure, blockquote {
    margin: 0;
  }
  
  strong {
    font-weight: inherit;
  }
  
  .container {
    max-width: 960px;
    margin-inline: auto;
    /* padding-inline: 20px; */
  }
  
  ::selection {
    background-color: var(--primary);
    color: var(--black);
  }
  
  #mynav{
    position: sticky;
  }


  /* footer css */

footer .footer-sm li a i{
  size: 2rem;
}

footer .footer-sm li a{
  text-decoration: none;
  color: #f5f5f1;
  font-weight: 300;
}

footer .footer-sm{
  gap: 25px;
}

.up-arrow a{
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10px;
}

.up-arrow{
  height: 10px;
}