@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans", sans-serif;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  background: #f2f7f5;
  color: #475d5b;
  padding-top: 56px;
}
img {
  overflow-clip-margin: content-box;
}
.noscript-message {
  padding: 10px;
  background-color: #ffcc00;
  color: #000;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 20px;
}

body::-webkit-scrollbar {
  width: 11px;
}
body::-webkit-scrollbar-track {
  background-color: #eef2f0fa;
  border-radius: 10px;
}
body::-webkit-scrollbar-thumb {
  background-color: #475d5b;
  border-radius: 20px;
}

/* ----------------Nav ---------------*/

nav {
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
}
.navbar-name {
  font-size: 3rem;
  color: #00473e;
  font-weight: bolder;
  text-decoration: none;
  transition: color 0.8s ease;
}
.navbar-name:hover {
  color: #faae2b;
}
.nav-link {
  font-size: 1.6rem;
  color: #00473e;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.nav-link::after {
  content: "";
  width: 0;
  height: 3px;
  background: #faae2b;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.6s;
}
.nav-link:hover::after {
  width: 100%;
}
.offcanvas-body .nav-link {
  padding: 0;
  margin-bottom: 12px;
}
#sideMenu {
  cursor: pointer;
}
#sideMenu h3 {
  font-size: 2rem;
  color: #00473e;
  font-weight: bolder;
}

/* ------------------Home---------------*/

.hero {
  display: flex;
  flex-direction: column;
  height: 70vh;
  position: relative;
  width: 100%;
  padding-top: 8rem;
}
.hero-sub {
  margin: 0px auto;
  max-width: 107rem;
  padding: 0 4rem;
}
.hero-main {
  display: flex;
  align-items: center;
  gap: 10rem;
  justify-content: center;
  position: relative;
}
.hero-text {
  display: flex;
  flex-direction: column;
  max-width: 50rem;
  position: relative;
}
.hero-text h1 {
  font-size: 5rem;
  line-height: 1.1;
  margin-top: 3rem;
  font-weight: 600;
  color: #00473e;
}
.hero-text p {
  color: #475d5b;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
}
.hero-text span {
  cursor: pointer;
  display: flex;
  gap: 2rem;
}
.social-media a,
.footer-social a {
  transition: all 0.2s;
  font-size: 2.5rem;
  color: #fa5246;
  text-decoration: none;
}

.social-media a:hover,
.footer-social a:hover {
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(65deg, #fa5246, #fa5246);
  color: transparent;
  transition: all 1s;
  transform: scale3d(1.12, 1.12, 1.12);
}
.hero-img {
  background-image: url(./images/my-profile.jpg);
  height: 35rem;
  width: 35rem;
  border: 2px solid #faae2b;
  border-radius: 60% 40% 30% 70% / 40% 60% 70% 30%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  -webkit-animation: waveee 8s ease-in-out infinite;
  animation: waveee 4s ease-in-out infinite;
  box-shadow: 8px 8px 8px #faae2b;
}
/* .hero-img-container{
    height:30rem;
    width:30rem;
    position: relative;
    padding: 5px;
}

.hero-img{
    height: 100%;
    width:100%;
    object-fit: cover;
    border-radius: 8px;
}
.hero-img-container::before,.hero-img-container::after{
    content: '';
    height: 100%;
    width:100%;
    border-radius:8px;
    padding: 2px;
    background-image: conic-gradient(from var(--angle), #faae2b ,#ce67e3 ,transparent );
    position: absolute;
    top:50%;
    left:50%;
    translate: -50% -50%;
    z-index: -2;
    animation: spin 10s linear infinite;
}
.hero-img-container::before{
    filter: blur(2rem);
    opacity: 0.7;
} */
/*-------------------About--------------------*/
#about {
  padding: 80px 0;
}
.row.about-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.about-col-1 {
  flex: 0 0 35%;
  padding: 1.5rem;
}
.about-col-2 {
  flex: 0 0 60%;
  padding: 1.5rem;
}
.about-col-1 img {
  width: 100%;
  border-radius: 15px;
}
.sub-title {
  font-size: 3.2rem;
  font-weight: 600;
  color: #00473e;
}
.about-col-2 h3 {
  color: #00473e;
  font-size: 1.9rem;
  font-weight: 600;
}
.about-col-2 p {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 550;
}
.resume-btn {
  display: inline-block;
  width: 15rem;
  font-size: 1.5rem;
  border: none;
  padding: 0.8em 1.6em;
  display: flex;
  justify-content: center;
  text-decoration: none;
  background-color: #fa5246;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  transition: all 0.8s;
}
.resume-btn:hover {
  background-color: #000;
  letter-spacing: 1px;
  transition: all 0.8s;
}

/*--------------------- Projects ----------------------*/
#portfolio {
  padding: 2rem 0 8rem 0;
  min-height: 75vh;
}
.portfolio-container {
  margin: 0 auto;
  max-width: 107rem;
  padding: 0 4rem;
}
.portfolio-container .sub-title {
  border-bottom: 2px solid #00473e;
}
.work-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}
.work {
  margin-top: 3rem;
  border-radius: 15px;
  box-shadow: 5px 5px 5px #475d5b;
  height: 44rem;
  width: 32rem;
  cursor: pointer;
  background-color: #fff;
}
.card-header {
  height: 25rem;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
}
.card-header img {
  width: 100%;
  height: auto;
  transition: transform 1.3s;
}
.card-header img:hover {
  transform: scale(1.08);
}
.card-body {
  margin-top: 5px;
  border-top: 2px solid black;
  padding: 1rem;
  display: flex;
  height: 11rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #000;
}
.card-body h3 {
  margin: 1.2rem 0 0.8rem 0;
  font-weight: 600;
  font-size: 2.4rem;
}
.card-body p {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0px;
}
.card-footer {
  height: 8rem;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 55px;
}
.card-footer a {
  color: #000;
  text-decoration: none;
  font-size: 1.8rem;
  background: #fa5246;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  transition: all 1.2s;
}
.card-footer a:hover {
  background: #000;
  color: #fa5246;
  transform: scale(1.03);
}

/*--------------------Contact me-----------------------*/

#contact {
  display: grid;
  grid-template-columns: 4fr 3.5fr 3fr;
  gap: 15rem;
  padding: 3rem;
  background-color: #000;
  color: #fff;
  font-size: 1.5rem;
}
#contact h2 {
  color: #d3d3d3;
  font-weight: bold;
}
.foot1,
.foot2,
.foot3 {
  padding: 1rem;
  line-height: 1.6;
}
.foot1 p {
  padding-top: 1rem;
}
.footer-social {
  padding-top: 1rem;
  display: flex;
  gap: 2.5rem;
}
.foot2 {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.foot2 a {
  text-decoration: none;
  color: #fff;
}
.foot2 span {
  font-size: 1.6rem;
  color: #fa5246;
}

/*----------------Media Queries -----------------*/

@media (max-width: 500px) {
  .hero-sub {
    padding: 0 1.7rem;
  }
  .hero-text h1 {
    font-size: 4rem;
  }
  .hero-text img {
    height: 4.5rem;
    right: 4rem;
    top: 6.4rem;
    width: 4.5rem;
  }
  .hero-text span {
    display: flex;
    justify-content: center;
  }
  .work {
    height: 32rem;
    width: 23rem;
  }
  .card-header {
    height: 18rem;
  }
  .card-body {
    padding: 0.1rem 0.5rem 0.2rem 0.5rem;
    height: 9rem;
  }
  .card-body h3 {
    font-size: 1.7rem;
  }
  .card-body p {
    font-size: 0.9rem;
    font-weight: 600;
  }
  .card-footer {
    height: 4rem;
    gap: 40px;
    margin-top: 0.7rem;
  }
  .card-footer a {
    font-size: 1.1rem;
    width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 50%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }
  .hero-text span {
    display: flex;
    justify-content: center;
  }
  .work {
    height: 38rem;
    width: 27rem;
  }
  .card-header {
    height: 21rem;
  }
  .card-body {
    padding: 0.2rem 0.7rem 0.3rem 0.7rem;
    height: 11rem;
  }
  .card-body h3 {
    font-size: 2rem;
  }
  .card-body p {
    font-size: 1.15rem;
    font-weight: 500;
  }
  .card-footer {
    height: 6rem;
    gap: 48px;
    margin-top: 0.9rem;
  }
  .card-footer a {
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    text-align: center;
  }
  .work-list {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    padding: 8rem 0;
  }
  .content {
    align-items: center;
    display: flex;
    gap: 10rem;
    height: 65rem;
    justify-content: center;
    position: relative;
  }
  .hero-main {
    flex-direction: column-reverse;
    gap: 3rem;
    height: auto;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 4rem;
  }
  .hero-text p {
    margin-bottom: 5rem;
  }
  .hero-text span {
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 1050px) {
  #contact {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/*--------------- Animation -----------------*/
/* @keyframes spin {
    from{
        --angle: 0deg;
    }
    to{
        --angle: 360deg;
    }
} */

@keyframes waveee {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% /60% 30% 70% 40%;
  }
}
