*{
    margin: 0;
    padding: 0;
}

body {
    font-family: 'DM Sans', sans-serif;
    /* background-color: #111; */
    background-color: #131313;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}


.headernav {
    border-bottom: 1px solid #2C2C2C;
    background: #141414;
    overflow: hidden;
  }
  
  .headernav ul{
    width: 100%;
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
    align-content: center;
  }
  
  .headernav li{
    height: 50px;
  }
  
  .headernav a{
    height: 100%;
    padding: 0 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
  }
  
  .headernav a:hover {
    background-color: #222222;
  }
  
  .headernav li:first-child {
    margin-right: auto;
    font-size: 24px;
    font-weight: 600;
    
  }


  @property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }

  .contact-container {
    position: relative;
    background-color: #282828;
    border-radius: 16px;
    padding: 15px 30px;
    display: inline-block;
    
  }

  .contact-container::after, .contact-container::before {
    content: '';
    position: absolute;
    height: 100%;
    padding: 2px;
    width: 100%;
    background-image: conic-gradient(from var(--angle), transparent 90%,#FFDB00FF);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 18px;
    animation: 3s spin linear infinite;
  }

  .contact-container::before {
    filter: blur(.5rem);
    opacity: 0.5;
  }

 

  @keyframes spin {
    from {
      --angle: 0deg;
    }
    to {
      --angle: 360deg;
    }
  }

  #header-nav .sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    z-index: 999;
    background-color: white; /* White background */
    display: none; /* Flexbox layout */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

/* Specific styling for the "X" button to position it top-right */
#header-nav .sidebar li:first-child {
    position: absolute;
    top: 20px; /* Move to top */
    right: 20px; /* Move to the right */
    margin: 0; /* Remove margins */
}



#header-nav .sidebar li span{
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  display: none;
}

#header-nav .sidebar li {
    width: auto;
    list-style: none;
    margin: 1.5rem 0;
}

#header-nav .sidebar a {
    text-decoration: none;
    color: black; /* Black text */
    font-size: 2rem; /* Larger font size */
    font-weight: normal;
    text-align: center;
}



#header-nav .sidebar a:hover {
    color: gray; /* Subtle hover effect */
}

#desktop-links {
    display: none;
}





  .desktopnav span{
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    display: none;
  }

  .desktopnav {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .desktopnav li {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .desktopnav button {
    border-radius: 25px;
    border: 1px solid #0A0A0A;
    background: #282828;
    color: white;
    padding: .5rem 1.2rem;
    width: fit-content;
  }

 button:hover {
    background: linear-gradient(90deg, #AB42D5 0%, #FF6FE5 100%);
    box-shadow: 0px 0px 11.9px -2px #571752;
  }

  .container-first {
    color: #D8D8D8;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 82px;
    width: 100%;
  }


  .container-first span {
    color: #D8D8D8;
    font-size: 82px;
    width: fit-content;
    margin-left: 15rem;
  }

  .container-first  h1 {
      font-size: 82px;
      width: 90%;
      max-width: 1200px;
      justify-content: center;
      align-items: center;
      display: flex;
      flex-wrap: wrap;
  }

  
  
  @keyframes move-dot {
    0% {
      top: -6px;  /* Moves the dot outside the top edge */
      left: -6px; /* Moves the dot outside the left edge */
    }
    25% {
      top: -6px;
      left: calc(100% - 6px); /* Aligns the dot on the right border */
    }
    50% {
      top: calc(100% - 6px); /* Aligns the dot on the bottom border */
      left: calc(100% - 6px);
    }
    75% {
      top: calc(100% - 6px);
      left: -6px; /* Moves the dot back to the left border */
    }
    100% {
      top: -6px;
      left: -6px; /* Moves the dot back to the top-left corner */
    }
  }


  .sayhello {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* Proportions for even spacing */
    gap: 40px; /* Larger gap for even spacing */
    align-items: center; /* Vertically align items */
    justify-items: center; /* Horizontally center items */
    padding: 40px; /* Padding around the whole section */
    background-color: rgba(17, 17, 17, 0.2); /* Dark background color */
}

.connect {
    display: flex;
    justify-content: center;
    align-items: center;
}

.connect-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}


.connect-container h3 {
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.connect-circle {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    fill: #262626;
    box-shadow: 1px 2px 5.3px 0px rgba(94, 94, 94, 0.25) inset;
    filter: drop-shadow(0px 3px 9.2px rgba(0, 0, 0, 0.76));
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.connect-circle {
  background-color: #262626;
  border-radius: 50%;
}

.connect-circle:hover {
  transform: translateY(-5px);
}



.connect-circle img {
    width: 24px; /* Adjust icon size */
    height: 24px;
    object-fit: contain;
}

.aboutme {
    color: white;
    font-size: 16px;
    line-height: 1.5;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: left; /* Align the text to the left */
    background-color: transparent; /* Match the background of the section */
    max-width: 900px;
}


.case-study {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  padding: 40px;
  background: url(../images/Frame\ 216.svg);
  background-size: cover;
}

.project-container {
  background-color: #131313;
}

.container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
border: 1px solid #2B2B2B;
background: #151515;
box-shadow: 0px 2px 48.2px 0px #070707;
}

.left-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.right-section {
  color: white;
  display: flex;
  flex-direction: column;
  width: 60%;
  margin: 2rem;
  padding: 0 4rem 0 4rem;
}


.case-study-btn {
  font-family: "DM Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 84px; /* 350% */
  letter-spacing: -1.2px;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 236px;
  text-decoration: none;
  height: 58px;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 2rem;
}

.travme-btn {
  background: linear-gradient(180deg, #FFC181 0%, #EBA53B 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-radius: 24px;
  border: 1px solid #EBA53B;
}

.travme-btn:hover {
  color: #151515; /* Text color on hover */
  background: linear-gradient(94deg, #FFC181 9.42%, #EBA53B 91.16%); /* Gradient background */
  -webkit-background-clip: padding-box; /* To make sure the background color applies to the whole button */
  -webkit-text-fill-color: #151515;
  border-color: transparent; /* You can optionally change the border color */
}

.nsa-btn:hover{
  color: #151515; /* Text color on hover */
  background: linear-gradient(94deg, #C4E856 9.42%, #55BE24 91.16%); /* Gradient background */
  -webkit-background-clip: padding-box; /* To make sure the background color applies to the whole button */
  -webkit-text-fill-color: #151515;
  border-color: transparent; /* You can optionally change the border color */
} 

.nsa-btn {
  background: linear-gradient(94deg, #C4E856 9.42%, #55BE24 91.16%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-radius: 24px;
  border: 1px solid #55BE24;
}

.fitbud-btn:hover{
  color: #151515; /* Text color on hover */
  background: linear-gradient(94deg, #F15CFE 9.42%, #7229A3 91.16%); /* Gradient background */
  -webkit-background-clip: padding-box; /* To make sure the background color applies to the whole button */
  -webkit-text-fill-color: #151515;
  border-color: transparent; /* You can optionally change the border color */
} 

.hope4kids-btn {
  background: linear-gradient(94deg, #61F0F6 9.42%, #28598E 91.16%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-radius: 24px;
  border: 1px solid #61F0F6;
}

.hope4kids-btn:hover{
  color: #151515; /* Text color on hover */
  background: linear-gradient(94deg, #61F0F6 9.42%, #28598E 91.16%); /* Gradient background */
  -webkit-background-clip: padding-box; /* To make sure the background color applies to the whole button */
  -webkit-text-fill-color: #151515;
  border-color: transparent; /* You can optionally change the border color */
} 

.fitbud-btn {
  background: linear-gradient(94deg, #F15CFE 9.42%, #7229A3 91.16%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-radius: 24px;
  border: 1px solid #EF5BFD;
}

.case-study-image {
  max-width: 100%;
  border-radius: 15px;
}

.text-content h2 {
  font-family: "DM Sans";
font-size: 48px;
font-style: normal;
font-weight: 700;
line-height: normal;
  margin-bottom: 20px;
  text-transform: uppercase;  
}

.text-content p {
  font-size: 18px;
  line-height: 1.6;
}

.details-content {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.details-content ul {
  list-style-type: none;
  padding: 0;
}

.details-content ul li:first-child {
  font-weight: bold;
  margin-bottom: 10px;
}

.details-content ul li {
  font-size: 16px;
  line-height: 1.4;
}


  
.button-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  color: #F5F5F5;
  margin: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}


  .aboutme {
    color: #E2DFDF;
font-family: "DM Sans";
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: 30px; /* 150% */
letter-spacing: -1px;
max-width: 500px;
  }
  

  .first-section {
    background: url(../images/View_of_Dallas_from_Reunion_Tower_August_2015_05_edge\ 1.svg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    height: 55vh;
  }

  .first-section img {
    display: flex;
    margin-left: 20rem;
  }


  .tools {
    display: flex;
    padding: 1rem .5rem;
    justify-content: center;
    align-items: center;
    gap: .3rem;
    border-top: 0.75px solid #2B2B2B;
    border-bottom: 0.75px solid #2B2B2B;
    background: #151515;
  }

  .svglinks {
    transform: scale(.8);
  }

  .project-container {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .details-content li{
    margin-top: .5rem;
  }


  footer {
    background: #1E1E1E;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    justify-content: center;
    gap: 2rem;
  }

  footer ul {
    list-style-type: none;
  }

  footer a {
    text-decoration: none;
    color: #9D9D9D;
  } 

  footer h4 {
    font-size: 1.5rem;
    color: white;
  }

  .resume {
    text-decoration: underline;
    font-style: italic;
  }

  .link-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }

  .round-links {
  border-radius: 200px;
  border: 0.5px solid #606060;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  }

  .round-links:hover {
    transform: translateY(-5px);
    cursor: pointer;
  }

  .round-links a {
    height: 20px;

  }

  .copyright {
    display: inline-flex;
    padding: 0px 4px;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #FFF;
    color: white;
  }

  .copycontainer {
    display: flex;
    gap: .5rem;
    color: white;
  }

  .container-two {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  footer li {
    margin-top: .5rem;
  }

  footer li:hover {
    font-weight: 600;
  }

  @media only screen and (min-width: 800px){
    #desktop-links{
      display: flex;
      font-size: 1.2rem;
    }

    footer {
      flex-direction: row;
      justify-content: space-around;
    }
  
    .desktopnav span{
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      display: flex;
      align-self: flex-end;
      margin-bottom: .8rem;
      margin-left: .2rem;
    }

    #menuButton-on {
      display: none;
    }

    .headernav button {
      margin: 0 1rem;
  }

  
  .container-first {

    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;

  }


  .first-section {
    background-color: #0A0A0A;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    height: 55vh;
  }

  .first-section img {
    display: flex;
  }

  /* .container-first h1 {
    font-size: 4rem;
  } */

  .container-first p {

    font-size: 1.5rem;
  }

  .first-section img {
    display: flex;
    transform: scale(.8);
    justify-content: center;
    align-items: center;
    margin-left: 4rem;
  }

  .first-section span {
    margin-left: 2rem;
  }


}

@media only screen and (min-width: 1400px){
  .first-section img {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  

footer {
  flex-direction: row;
  justify-content: space-around;
}


}

@media only screen and (max-width: 800px){
  .first-section {
    background-color: #0A0A0A;
  }


  .container-first h1 {
    font-size:  42px;
  }

  .first-section img {
    display: none;
    transform: scale(.6);
    justify-content: center;
    align-items: center;
    margin-left: 0;
  }

  .first-section span {
    margin-left: 0;
    font-size: 31px;
    text-wrap: nowrap
}

  .sayhello {
    display: flex;
    flex-direction: column;
    background-color: rgba(17, 17, 17, 0.2);
    background-size: cover;
    
  }

  .aboutme {
    max-width: 78%;
  }

  .container {
    flex-direction: column;
  }

  .right-section {
    justify-content: center;
    align-items: center;
    width: 90%;
  }
    
  .details-content {
    gap: 1rem;
    width: 100%;
  }
}