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

@font-face {
    font-family: "DMSans";
    src: url(../fonts/DMSans-VariableFont_opsz\,wght.ttf) format("truetype");
}

/**** variables ****/
/*:root {
    --bg-color: #f7f7f7;
    --font-color: #0c0803;
    --orange: #eca340;
    --l-orange: #ffe9d4;
    --d-orange: #cb4805;

    --primary-font: "Poppins", sans-serif;
    --secondary-font: "DMSans", sans-serif;
} */

:root {
    --bg-color: #f7f7f7;
    --font-color: #0c0803;
    --orange: #eca340;
    --l-orange: #ffe9d4;
    --d-orange: #cb4805;
    --test-blue: #ade0ec;

    --primary-font: "Poppins", sans-serif;
    --secondary-font: "DMSans", sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--primary-font);
}

html {
    scroll-behavior: smooth;
}

body {
    flex-direction: column;
    background-color: var(--bg-color);
    min-height: 100vh;
    position: relative;
    color: black;
    color: var(--font-color);
    overflow-x: hidden;
}

body::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.36;
    background-image: url('../assets/abstract-bg-2.svg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    z-index: -5;
}

h1,
h2,
h3,
h4 {
    font-family: var(--primary-font);
}

h1 {
    font-size: 45px;
    color: var(--d-orange);
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: var(--font-color);
}

p {
    font-family: var(--secondary-font);
}

section {
    /*height: 545px;*/
    height: 100vh;
}

footer {
    color: white;
}

.flex {
    display: flex;
}
.flex-center {
    align-items: center;
    justify-content: center;
}

.justify-center {
    justify-content: center;
}

.container {
    width: 100%;
    height: 100%;
    margin: auto;
    max-width: 1280px;
    justify-content: center;
}

.hidden {
    display: none;
}

.scroll-top {
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    padding: 20px;
    background-color: var(--d-orange);
    border-radius: 50% 50%;
    cursor: pointer;
    z-index: 999;
}

.scroll-top:hover {
    background-color: var(--orange);
}

.scroll-top i {
    color: #fff;
    font-size: 18px;
}

.title {
    margin: 80px 0 40px 0;
}

/********** Navigation START **********/

nav {
    width: 100%;
    height: 75px;
    padding: 20px 0;
    z-index: 99;
}

.bottom-box-shadow {
    box-shadow: 0 3px 10px rgba(201, 177, 156, 0.2);
}

.nav-fixed {
    position: fixed;
    background-color: #fff;
}

.active {
    font-weight: 600;
    color: var(--d-orange);
    border-bottom: 3px solid var(--d-orange);
}

.nav-container {
    width: 100%;
    max-width: 1280px;
    position: relative;
}

.navigation {
    justify-content: flex-end;
}
.navigation li {
    padding: 0 25px;
}
.navigation li a {
    font-size: 15px;
    padding: 3px 0;
}

/******* START resume button ********/
.resume-btn.btn.btn-primary {
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 0;
    padding: 10px 15px;
    border-radius: 45px;
    color: #fff;
}

.navigation li:nth-child(5) {
    padding: 0 5px;
}

/******* END resume button ********/

.logo {
    position: absolute;
    color: var(--d-orange);
    font-size: 20px;
    font-weight: 600;
}

/********** Navigation END **********/


/********** Hero START **********/

.column {
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.left, .right {
    position: relative;
    flex-direction: column;
    width: 100%;
}

/* .name::before, .changing-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 80px;
    background: rgba(255, 255, 255, 0.28); 
    background: rgba(255, 255, 255);
    box-shadow: 0 0 50px 50px rgba(255, 255, 255);
     -webkit-filter: blur(9px);
    filter: blur(9px);
    backdrop-filter: blur(10.8px);
    -webkit-backdrop-filter: blur(10.8px);
    z-index: -1;
} */

.changing-text {
  justify-content: flex-start;
  align-items: center;
}
.changing-text p {
  font-size: 25px;
  font-family: var(--secondary-font);
  text-align: left;
  overflow: hidden;
}
.changing-text p span.typed-text {
  font-weight: 600;
  color: var(--d-orange);
} 
.changing-text p span.cursor {
  display: inline-block;
  background-color: #ccc;
  margin-left: 1px;
  width: 2px;
  animation: blink 0.75s infinite;
}
.changing-text p span.cursor.typing {
  animation: none;
}
@keyframes blink {
  0%  { background-color: #ccc; }
  49% { background-color: #ccc; }
  50% { background-color: transparent; }
  99% { background-color: transparent; }
  100%  { background-color: #ccc; }
}

.name {
    font-size:65px;
}
.name span {
    color: var(--orange);
}

.intro {
    font-size: 25px;
    font-family: var(--secondary-font);
}

.socials {
    margin: 40px 0;
}

.socials a {
    padding-right: 20px;
}

.socials i {
    font-size: 60px;
}

.tech-stack {
    margin-top: 100px;
    align-items: center;
}

.tech-icons {
    padding: 0 15px;
}

.tech-icons li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    padding: 30px;
    margin: 0 8px;
    background-color: var(--bg-color);
    border: 1px solid #ccc;
    border-radius: 50%;
}

.tech-icons li i {
    color: var(--orange);
    font-size: 30px;
}

.fa-tablet-screen-button {
    transform: rotate(90deg);
}

/********** Hero END **********/


/********** section viewheight *********/
#about {
    height: 100%;
    background-color: var(--l-orange);
    padding-bottom: 80px;
}
#about .container {
    flex-direction: column;
    justify-content: flex-start;
}

#contact {
    height: 70vh;
}
#contact .container {
    flex-direction: column;
}

/********** Works START *********/

#works .container {
    flex-direction: column;
}
/* .works-container {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 45px;
    padding: 0 65px 65px;
} */

.works-container {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: 390px 390px;
    gap: 45px;
}

.works-container .work-item {
    /* transform: skew(-10deg); */
    transition: 0.25s;
}
.works-container .work-item:before {
    content: '';
    left: 0;
    top: 0;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    border-radius: 6px;
    opacity: 0;
    border: 2px solid var(--d-orange);
    position: absolute;
    z-index: -1;
    transition: 0.5s 0.05s;
}

.works-container .work-item:hover:before {
    opacity: 1;
    transform: translateY(25px) translateX(25px);
}
/********* START works/portfolio images **********/
.works-container .work-item:nth-child(1) .card:after {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('../assets/portfolio-cover-1.png');
    background-size: cover;
    background-color: #373f51;
    background-blend-mode: screen;
    transition: 0.25s;
}

.works-container .work-item:nth-child(2) .card:after {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('../assets/portfolio-cover-2.png');
    background-size: cover;
    background-color: #373f51;
    background-blend-mode: screen;
    transition: 0.25s;
}

.works-container .work-item:nth-child(3) .card:after {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('../assets/portfolio-cover-5.png');
    background-size: cover;
    background-color: #373f51;
    background-blend-mode: screen;
    transition: 0.25s;
}

.works-container .work-item:nth-child(4) .card:after {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('../assets/portfolio-cover-6.png');
    background-size: cover;
    background-color: #373f51;
    background-blend-mode: screen;
    transition: 0.25s;
}

.works-container .work-item:nth-child(5) .card:after {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* background-image: url('../assets/portfolio-cover-6.png'); */
    background-size: cover;
    background-color: var(--l-orange);
    background-blend-mode: screen;
    transition: 0.25s;
}

/********* END works/portfolio images **********/

.work-item {
    width: 390px;
}

.works-container .work-item:hover {
  transform: translateX(-8px) translateY(-8px);
}
.works-container .work-item:hover .card {
  box-shadow: 8px 8px 15px rgba(0,0,0,0.1);
}
.works-container .work-item:hover .card::after {
  background-blend-mode: normal;
}
.works-container .work-item:hover .card .fa-solid {
  bottom: 30px;
  background-color: rgba(255,255,255,0.8);
}

.works-container .work-item:hover .card .work-desc {
    bottom: 30px;
}

.works-container .card {
  background-color: #fff;
  border-radius: 6px;
  height: 390px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.works-container .card:after {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.works-container .card .fa-solid,.works-container .card .fa-github {
  position: absolute;
  bottom: -45px;
  right: 30px;
  border-radius: 100%;
  padding: 15px;
  font-size: 18px;
  color: #373f51;
  z-index: 1;
  text-align: center;
  transition: 0.25s;
}
.works-container .card .fa-solid.fa-github {
  position: absolute;
  bottom: -45px;
  right: 90px;
  border-radius: 100%;
  padding: 15px;
  font-size: 18px;
  color: #373f51;
  z-index: 1;
  text-align: center;
  transition: 0.25s;
}

.works-container .card .work-desc {
    position: absolute;
    bottom: -65px;
    left: 20px;
    border-radius: 100%;
    width: 270px;
    padding: 15px;
    font-size: 25px;
    color: #fff;
    z-index: 1;
    text-align: left;
    font-size: 20px;
    font-weight: 200;
    mix-blend-mode: exclusion;
    transition: 0.25s;
}
/********** Works START *********/


/********** Footer START *********/

footer {
    flex-direction: column;
    background-color: #000;
    color: #fff;
    padding: 35px 0 15px 0;
    margin-top: 40px;
}

.footer {
    justify-content: flex-start;
    padding: 20px 0;
}

.copyright {
    flex-direction: column;
    text-align: center;
    padding: 10px;
}

.copyright p {
    flex-direction: column;
    margin-bottom: 5px;
}
/********** Footer START *********/


/********** Scrollbar *********/

/* width */
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  /* background: var(--bg-color);  */
  background: none;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--d-orange); 
}