* {
  box-sizing: border-box;
  padding: 0%;
  margin: 0%;
  scroll-behavior: smooth;
}

/* Fonts */

@font-face {
  font-family: recoleta;
  src: url(/fonts/recoleta.otf);
}

:root {
  /* Fonts */

  --logo-font: "Caveat", cursive;
  --feature-font: "recoleta", sans-serif;
  --secondary-font: "Poppins", sans-serif;
  /* --secondary-font: "VT323", monospace; */

  /* Colors */

  --white: #f7f4f5;
  --dark-bg: #18181b;
  --main-txt: #f4f4f5;
  --secondary-txt: #a1a1aa;
}

::selection {
  background-color: #8a00a6;
  color: white
}

/* Animations */

.fadein{
  transition: 0.8s ease-in-out;
}

/* Actual Code */

body {
  font-family: "Poppins", sans-serif;
  color: #ececec;
  background-color: rgb(12, 12, 12);
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5rem;
  width: 100vw;
  padding: 0rem 5rem;
  z-index: 9999;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0rem;
}

.logo-txt {
  font-family: "Caveat", cursive;
  color: #ececec;
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-second {
  display: flex;
  align-items: center;
}

.nav-options {
  backdrop-filter: blur(8px);
  color: #ececec;
  background-color: #3e3e4d75;
  box-shadow: inset 0 0 0 0.3px var(--secondary-txt);
  height: 3.2rem;
  width: 26rem;
  border-radius: 56px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-ul {
  display: flex;
}

.nav-li {
  padding: 0rem 1rem;
  list-style: none;
}

.nav-link {
  font-family: var(--secondary-font);
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--secondary-txt);
  transition: 0.2s ease-in-out;
}

.nav-link:hover {
  color: blueviolet;
}

.animated-underline {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.animated-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: blueviolet;
  transition: width 0.3s ease-in-out;
}

.animated-underline:hover::after {
  width: 100%;
}

/* Header */
.header {
  height: 100vh;
  width: 100%;

  background-image: url(/imgs/header-bg.png);
  background-position: center;
  /* background-size: 62%; */
  background-repeat: no-repeat;
  filter: opacity(80%);

  display: flex;
  justify-content: center;
  align-items: center;
}

.header-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-text {
  font-size: 5rem;
  line-height: 5.4rem;
  /* color: rgb(0, 0, 0); */
  color: #fff;
  font-family: var(--feature-font);
}

/* About Me */

.about-me {
  height: 30rem;
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.content-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.text-part {
  width: 35rem;
}

.name {
  font-family: var(--feature-font);
}

.description {
  margin-top: 1rem;
  margin-bottom: -1rem;
  font-size: 1.1rem;
}

.about-icons {
  display: flex;
}

.about-icon-img {
  height: 2.4rem;
  padding: 0rem 0.5rem;

  margin-top: 2rem;
  margin-left: -10px;
}

.about-link {
  fill: var(--secondary-txt);
  stroke: var(--secondary-txt);
  transition: 0.2s ease-in-out;
  text-decoration: none;
}

.about-link:hover {
  /* fill: var(--main-txt); */
  fill: #59146c;
  stroke: #59146c;
}

.pfp {
  height: 23rem;
  border-radius: 15px;
  transform: rotate(3deg);

  -webkit-box-shadow: 19px 21px 17px -17px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 19px 21px 17px -17px rgba(0, 0, 0, 0.75);
  box-shadow: 19px 21px 17px -17px rgba(0, 0, 0, 0.75);
}

/* Skills */
.skills-section {
  height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.skills-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.skills {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.3rem 1rem;
  margin: 0.21rem;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skills-red {
  background-color: rgb(255, 146, 146);
  color: rgb(161, 0, 0);
}

.skills-blue {
  background-color: rgba(146, 201, 255, 0.849);
  color: rgba(21, 0, 161, 0.951);
}

.skills-voilet {
  background-color: rgba(209, 140, 255, 0.786);
  color: rgb(59, 0, 85);
}

.skills-green {
  background-color: rgba(146, 255, 159, 0.86);
  color: rgb(2, 96, 0);
}

.skills-pink {
  background-color: rgba(255, 146, 233, 0.762);
  color: rgb(70, 0, 40);
}

/* Projects */

.projects-section {
  height: 40rem;
  padding: 4rem 16rem;
}

.projects-heading {
  display: flex;
  align-items: center;
}

.projects-title {
  font-family: var(--feature-font);
}

.dash {
  height: 0.1rem;
  width: 100%;
  margin-left: 1rem;
  margin-right: 1rem;
  background-color: #a1a1aa;
}

.projects-content {
  height: 30rem;
  display: flex;
  align-items: center;
  overflow-x: scroll;
  scrollbar-width: none;
}

.projects-wrapper {
  padding: 0rem 6rem;
  display: flex;
  gap: 3rem;
}

.projects-bg {
  height: 22rem;
  width: 15.9rem;
  border-radius: 12px;
  background-color: #1f1f1f;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  -webkit-box-shadow: 0px 10px 32px 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 10px 32px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 10px 32px 3px rgba(0, 0, 0, 0.5);  
}

:hover.projects-bg {
  background-color: #333333;
}

.project-1{
  transition: all 0.8s ease-in-out;
}
.project-2{
  transition: all 0.5s ease-in-out;
}
.project-3{
  transition: all 0.4s ease-in-out;
}
.project-4{
  transition: all 0.3s ease-in-out;
}
.project-5{
  transition: all 0.2s ease-in-out;
}

:hover.project-1{
  transition: all 0s;
}

:hover.project-2{
  transition: all 0s;
}

:hover.project-3{
  transition: all 0s;
}

.project-img {
  height: 14rem;
  border-radius: 12px;
}

.project-name {
  font-size: 1.6rem;
  font-weight: 600;
  color: #a1a1aa;
}

.project-link-icons {
  margin-top: -1.4rem;
  margin-bottom: -1rem;
  margin-right: -9rem;
}

.project-icon-img {
  height: 2rem;
}

.one-liner {
  font-family: var(--feature-font);
  color: #ccc;
  font-size: 1.4rem;
  text-align: center;
}

/* Contact */

.contact-section {
  height: 40rem;
  padding: 4rem 16rem;
}

.contact-content{
  height: 35rem;
  gap: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-img {
  height: 23rem;
  border-radius: 15px;
  transform: rotate(-3deg);

  -webkit-box-shadow: 19px 21px 17px -17px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 19px 21px 17px -17px rgba(0, 0, 0, 0.75);
  box-shadow: 19px 21px 17px -17px rgba(0, 0, 0, 0.75);
}


.form-container {
  /* background-color: #1f1f1f; */
  color: #a1a1aa;
  padding: 20px;
  border-radius: 10px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  width: 320px;
  /* height: 26rem; */
  text-align: center;
}
.form-title {
  font-size: 24px;
  margin-bottom: 15px;
}
.input-container {
  margin-bottom: 15px;
  text-align: left;
}
label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}
input:focus, textarea:focus {
  border-color: #8a00a6;
  outline: none;
}
.message-container {
  text-align: left;
  margin-bottom: 20px;
}
textarea {
  resize: vertical;
}
.submit-button {
  background-color: #8a00a6;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;

  margin-right: -12.4rem;
}
.submit-button:hover {
  background-color: #8a00a6;
}

.contact-dash{
  margin-top: 4rem;
}

/* Footer */
.footer-section{
  height: 14rem;
  padding: 12rem 17rem;
  padding-bottom: 3rem;
  margin-left: 2rem;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.email{
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
}