@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=ADLaM+Display&display=swap');


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

:root{
  --primary-black: #000000;
  --primary-white: #FFFFFF;
  --primary-gray: #F5F5F5;
  --primary-pink: #FFB6C1;
  --header-size: 12vh;
  --hero-size: 60vh;
}

.main-container {
  background: var(--primary-gray);
  padding-top: 22vh;
  min-height: 100vh;
}

.container {
  width: 100%;
  height: 100vh;
  max-width: 1450px;
  margin: auto;
  padding: 0 2rem;
}

/* Header & Navbar */
header{
  height: var(--header-size);
  position: fixed;
  background: #FFFFFF;
  width: 100%;
}

.navbar{
  width: 85%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  background: #FFFFFF;
}

.navlist,
.list{
  align-items: center;
  display: flex;
  gap: 2rem;
}

input[type="checkbox"]{
  display: none;
}

.hamburger{
  cursor: pointer;
  display: none;
}

.lines {
  background: black;
  width: 2rem;
  height: .2rem;
  margin: .3rem;
}

li{
  list-style: none;
}

a{
  text-decoration: none;
}

.logo {
  color: var(--primary-black);
  font-size: 1.5em;
  font-weight: bold;
}

.navlinks {
  font-size: 1rem;
  color: var(--primary-black);
}

.navlinks:hover {
  color: var(--primary-pink);
}
/* End Hero & Navbar */

/* Hero section */
.hero-section {
  height: var(--hero-size);
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 85%;
  margin: 0 auto;
}

h1{
  font-family: 'ADLaM Display', system-ui;
  font-size: 2.8rem;
  margin: .4rem 0;
}

.profile-container {
  background-image: url(../images/profile.png);
  background-position: center;
  background-size: cover;
  width: 21rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: .2em solid var(--primary-black);
  box-shadow: 0 5px 5px var(--primary-pink);
  animation: 6s blob infinite ease-in-out;
  transition: all 1s ease-in-out;
}

.fa-brands {
  padding-top: 1rem;
  color: var(--primary-black);
  font-size: 1.6rem;
}

.fa-brands:hover { 
  color: var(--primary-pink);
}

.description{
  font-size: 1.1rem;
  margin-top: 1rem;
}

.content {
  width: 100%;
  max-width: 500px;
}
/* End Hero Section */

/* Tech Skills */
.inline{
  width: 65%;
  display: flex;
  margin: 0 auto;
  margin-top: 3rem;
  align-items: center; 
}

.project-scroller{
  width: 75%;
  overflow: hidden;
  position: relative;
}

.tech-title{
  font-size: 1.2rem;
  color: var(--primary-black);
  width: 20%;
  gap: 1rem;
  text-align: center;
  display: flex;
  align-items: center; 
}

.project-scroller::before,
.project-scroller::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5rem;
  height: 100%;
  z-index: 1;
}

.project-scroller::before{
  left: 0;
  background: linear-gradient(to right, var(--primary-gray), transparent);
}

.project-scroller::after{
  right: 0;
  background: linear-gradient(to left, var(--primary-gray), transparent);

}
.scroll-parent {
  position: relative;
  height: 3.1rem;
  overflow-x: hidden;
}

.scroll-element {
  position: absolute;
  animation: primary 15s linear infinite;
}

.primary {
  animation: primary 15s linear infinite;
}

.secondary {
  margin-left: .5rem;
  animation: secondary 15s linear infinite;
}

.scroll-parent:hover .scroll-element{
  animation-play-state: paused;
}

@keyframes primary {
  from {
    transform: translateX(0);
  }
  to{
    transform: translateX(-100%);
  }
}

@keyframes secondary {
  from {
    transform: translateX(100%);
  }
  to{
    transform: translateX(0);
  }
}

@keyframes blob{
  0%, 100%{
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50%{
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

@media screen and (max-width: 580px) {
  .profile-container{
    display: none;
  }
  .project-scroller::before,
  .project-scroller::after{
    width: 4rem;
  }
}

@media screen and (max-width: 680px) {
  .navlist{
    position: absolute;
    top: 10vh;
    left: 0;
    z-index: 1000;
    flex-direction: column;
    background: #FFFFFF;
    width: 100%;
    height: 100vh !important;
    padding: 3rem 2rem;
    transform: translateX(-100%);
    transition: transform .5s ease-in-out;
  }

  .hamburger{
    display: block;
  }

  input[type="checkbox"]:checked ~ .navlist{
    transform: translateX(0%);
  }

  
}