body {
    font-family: 'Open Sans', sans-serif;
    color: whitesmoke;
    padding: 0;
    line-height: 1.5;
    background: #181a1b;
}

footer {
  position: relative;
  text-align: center;
  padding: 1.2%;
  background-color: #ff0066;
}

.hero-text{
  margin-top: 10px;
}

.hero-buttons{
  padding-top: 5%;
  text-align: center;
  padding-bottom: 5%;
}

.btn{
  color: #dd3f31;
  background-color: whitesmoke;
  border-radius: 16px;
  padding: 10px 20px;
  margin: 1%;
  font-size: 2vw;
  transition: 0.3s;
}

.btn:hover{
  background-color: #dd3f31;
  color: whitesmoke;
}

body .noscroll {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito", sans-serif;
}

header {
    
    background-image: url("/img/herobackground-01.png");
    max-width: 100%;
    background-size: cover;
    min-height: 80vh;
    position: relative;
}

.summary{
  padding-top: 5%;
  font-size: 1.5vw;
  width: 50%;
  position: relative;
  text-align: center;
  margin: auto;
  
}

.highlight{
  color: #dd3f31;
}

.red-link-underline{
  color: #dd3f31;
  text-decoration: underline;
}

.white-link-underline{
  color: white;
  text-decoration: underline;
  font-weight: bold;
}

section{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
  padding: 100px 20vw;
}

.projects-section{
  background-color: #3c31dd;

}

.skills-section{
  background-color: #202731;

}

.education-section{
  background-color: #0F0F10;
}

.contact-section{
  background-color: #dd3f31;
}

section h1{
  text-align: center;
  padding: 10%;
}


header nav {
    width: 100%;
    background-color: #181a1b ;
}

.line{
  width: 100%;
  border-bottom: 2px solid whitesmoke;
  position: absolute;
}
  
header nav .nav-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav .nav-container #logo {
  margin-left: 2rem;
  z-index: 10;
}

header nav .nav-container #logo img {
  width: 250px;
}

header nav .nav-container .nav-links {
  z-index: 1000;
  display: flex;
  justify-content: flex-end; /* Aligns items to the right */
  align-items: center; /* Vertically aligns items */
  list-style: none;
  margin: 1%;
  padding: 1%;
}

header nav .nav-container .nav-links li {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 2rem;
}

header nav .nav-container .nav-links a {
  text-decoration: none;
  letter-spacing: 2px;
  color: white;
}

header nav .nav-container .nav-links .link::after {
  content: "";
  position: relative;
  display: block;
  width: 0%;
  height: 2px;
  top: 3px;
  margin: auto;
  background: #dd3f31;
  transition: width 0.3s ease;
}

header nav .nav-container .nav-links .link:hover::after {
  width: 100%;
}

.wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave svg {
  position: relative;
  display: block;
  width: calc(101% + 1.3px);
  height: 181px;
}

.wave .shape-fill {
  fill: #3c31dd;
}

/* Card Style */
.card {
  min-width: 190px;
  min-height: 1px;

  margin: 0 auto;
  background-color: #F8FBFE;
  border-radius: 8px;
  z-index: 1;
 }

 .card__content{
  width: 100%;
 }

 img {
  max-width: 100%;
  max-height: 100%;
  }
 
 .tools {
  display: flex;
  align-items: center;
  padding: 9px;
 }
 
 .circle {
  padding: 0 4px;
 }
 
 .box {
  display: inline-block;
  align-items: center;
  width: 10px;
  height: 10px;
  padding: 1px;
  border-radius: 50%;
 }
 
 .red {
  background-color: #ff605c;
 }
 
 .yellow {
  background-color: #ffbd44;
 }
 
 .green {
  background-color: #00ca4e;
 }

 /* ----------------- */


 .project-left{
  width: 50%;
  min-height: 20px;
  margin-right: 2rem;

 }

 .project-right{
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
 }

 .project-row{
  display: flex;
  margin-bottom: 10rem;
 }

 .education-row{
  display: flex;
  margin-top: 5rem;
 }

 .education-left{
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  padding-right: 10rem;
  text-align: center;
  font-size: 1.5vw;
 }

 #projects h2{
  margin-bottom: 7rem;
  font-size: 1.5vw;
 }

 #skills h2{
  margin: 2rem;
  font-size: 1.5vw;
 }

 #education h2{
  margin: 1rem;
  font-size: 1.5vw;
 }

 #contact h2{
  margin: 1rem;
  font-size: 1.5vw;
  padding-bottom: 3%;
 }

 .tech-stack-list{
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-height: 40px;
 }

 .tech-stack-list li{
  margin-left: 10px;
 }

 .tech-stack-list li img{
  max-height: 40px;
  max-width: auto;
 }

 .made-with{
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: bold;
 }

 .container{
  margin: auto;
  overflow: hidden;
 }
 

 .container .skills-section{
  padding: 6rem 0;
 }

 .skills-icons{
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  text-align: center;
 }

 .skills-section .skills-icons li{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1rem;

  max-width: 100px;

  margin: 1rem;
 }

 .skills-section .skills-icons img{
  padding-bottom: 10px;

  width: auto;
  height: auto;

  max-width: 100px;
  max-height: 100px;
 }
 .skills-section .skills-icons span{
  min-width: 50px;
 }

 /* Card Education */

 .card-education {
  margin-top: 40px;
  max-width: 1000px;
  max-height: auto;
  transition: all 0.2s;
  position: relative;
  cursor: pointer;
}

.card-education-inner {
  width: inherit;
  height: inherit;
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  border-radius: 8px;
}

.card-education-inner p{
  padding: 20px;
  text-align: center;
}

.card-education:hover {
  transform: scale(1.04) rotate(1deg);
}

.circle-education {
  width: 100px;
  height: 100px;
  background: radial-gradient(#c053ef, #df53ef);
  border-radius: 50%;
  position: absolute;
  animation: move-up6 2s ease-in infinite alternate-reverse;
}

.circle-education:nth-child(1) {
  top: -25px;
  left: -25px;
}

.circle-education:nth-child(2) {
  bottom: -25px;
  right: -25px;
  animation-name: move-down1;
}

@keyframes move-up6 {
  to {
    transform: translateY(-10px);
  }
}

@keyframes move-down1 {
  to {
    transform: translateY(10px);
  }
}

/* ---------- */

.spacer {
  aspect-ratio: 960/200;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.layer1{
  background-image: url(img/layered-waves.svg);
}

/*-------------*/

.form__group input {
  margin: 0.75rem 0;
  width: 100%;
  border-radius: 3px;
  border: 1px solid #afafaf;
  padding: 0.75rem;
  font-size: 1rem;
}

.form__group textarea {
  width: 100%;
  border-radius: 3px;
  margin: 0.75rem 0;
  border: 1px solid #afafaf;
  padding: 0.75rem;
  font-size: 1rem;
  resize: vertical;
}

#contact-form {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  background-color: whitesmoke;
  border-radius: 3px;
  box-shadow: 0 0.15rem 0.6rem rgba(43, 52, 56, 0.15);
  padding: 2rem;
}

button {
  font-family: inherit;
  font-size: 20px;
  background: royalblue;
  color: white;
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
}

button span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
}

button svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

button:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

button:hover svg {
  transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

button:hover span {
  transform: translateX(5em);
}

button:active {
  transform: scale(0.95);
}

@keyframes fly-1 {
  from {
    transform: translateY(0.1em);
  }

  to {
    transform: translateY(-0.1em);
  }
}

